Jaco
f4c2b150d3
Adjust rpc coder types ( #5630 )
2023-05-04 15:00:43 +03:00
Jaco
9fe2798b70
Use .js imports in src ( #5526 )
...
* Use .js imports in src
* Adjust
* Fix imports
* Bump dev
* Adjust with .js imports for typegen
* Adjust
* Adjust
* Remove target override
2023-03-09 12:19:12 +02:00
Jaco
2c949e0fc5
Update headers for 2023 ( #5392 )
2023-01-01 10:25:51 +02:00
Jaco
3a8b1c5683
Adjust assert usage ( #4966 )
...
* Adjust assert usage
* Adjust assert
* Apply suggestions from code review
2022-06-20 20:37:17 +03:00
Jaco
ba188dcc0d
JSONRPC request/response handler opts ( #4722 )
...
* JSONRPC request/response handler opts
* Fix test
* CHANGELOG
2022-04-08 08:51:44 +03:00
Noah Corona
cccd512d70
Add rpc error fields ( #4637 )
...
* [WIP] Add RpcError
Currently located in rpc-core at request of maintainer. However unclear as to how it should be used, because the error
needs to be thrown in rpc-provider, and depending on it causes a dependency loop.
* Move `RpcError` to `rpc-provider`
Also add tests
2022-03-15 08:20:16 +02:00
Jaco
8ba4ed5377
2022 ( #4404 )
2022-01-01 09:28:18 +02:00
Jaco
5eb3534d8e
Bump dev (w/ eslint 8) ( #4070 )
...
* Bump dev (w/ eslint 8)
* Additional linting
* Additional
* More lint fixes
* Last batch
* Additional
* Cleanups
2021-10-17 14:49:26 +03:00
Jaco
557283a3d1
Struct decoding error messaging ( #3425 )
...
* Struct decoding error messaging
* Error adjust
* Tests
* Bump common, use stringify
* Linting
* Adjust
* Bumps
* Rebump
* Assert cleanups
* Don't modify original value on encoding
* util bump, fixe compact encoding
2021-04-22 15:02:54 +02:00
Jaco Greeff
a9c9fb5769
2021 ( #3015 )
2021-01-03 11:26:46 +01:00
Jaco Greeff
8e6a1c8fb1
Bump dev (sort imports) ( #2923 )
...
* Bump dev (sort imports)
* Resort
* Adjust ApiInterfaceRx
2020-12-07 16:26:19 +01:00
Jaco Greeff
0e52e8fe23
Some type imports (interfaces) ( #2887 )
...
* Some type imports (interfaces)
* Additional
* Additional
* Small movements/fixes
* Additional
* Additional
* Unsaved...
2020-12-02 10:12:19 +01:00
Jaco Greeff
98a2ef9d72
Support ABI files with wasm (.contract output) ( #2841 )
...
* Support ABI files with wasm (.contract output)
* AbiBase exports
* Additional default exports
* Remove any
* Fix build
2020-11-12 12:23:28 +01:00
Jaco Greeff
27c58b930b
Reformat RPC errors (with less trimming) ( #2668 )
...
* Reformat RPC errors (with less trimming)
* Adjust decoding
2020-10-02 13:38:48 +02:00
Jaco Greeff
cdd6544e20
SPDX ( #2619 )
2020-09-17 16:31:06 +02:00
Jaco Greeff
7310ea825e
Allow for string subids ( #2335 )
2020-06-07 19:16:16 +02:00
Jaco Greeff
47fc4a2b3c
Bump deps w/ eslint ( #2302 )
...
* Bump deps w/ eslint
* Additional cleanups
* Additional
* @polkadot/types done
* Additional
* @polkadot/typegen done
* Additional
* @polkadot/rpc-core done
* Additional
* Additional
* Additional
* docs
* @polkadot/api-derive done
* @polkadot/api done
* @polkadot/api-contracts done
* Update tests
2020-05-24 09:24:45 +02:00
Jaco Greeff
a833dccdaf
All private prefixed with _ ( #2157 )
...
* All private prefixed with _
* Fix test
2020-04-11 22:21:55 +02:00
Jaco Greeff
a0979a9ce3
Only format error log, upstream error from core ( #2089 )
...
* Only format error log, upstream error from core
* Remove (now unused) wrapping info
2020-03-25 08:00:14 +01:00
Jaco Greeff
ca9f671553
Re-format jsonrpc errors ( #2014 )
2020-03-09 08:27:00 +01:00
Jaco Greeff
3bf4c3fac5
Adjust class privates via #, where applicable ( #1921 )
...
* Adjust class priates via #, where applicable
* Remove stray log
* Cleanup rpc-provider
* Small adjustments
* No private access in tests
* Submittable privates
* Use derive for nonce derivation
* Tweak observers
* Alphabetical privates
2020-02-22 11:29:50 +01:00
Jaco Greeff
854a520517
Mark some function @internal (no doc extraction) ( #1746 )
2020-01-27 09:38:02 +01:00
Jaco Greeff
b7eeb992cd
Bump deps ( #1699 )
2020-01-06 14:12:49 +01:00
Jaco Greeff
921e329d18
Cleanup decode errors ( #1567 )
...
* Cleanup decode errors
* Expand RPC error message
* Extract RPC createSignature method
* Flatten formatError
* Formatting
* Update test string match
2019-11-13 22:18:07 +01:00
Jaco Greeff
25f78a7354
Stringify error data structs ( #1426 )
2019-09-28 09:44:35 +02:00
Jaco Greeff
bed3f9f4c5
Add rpc_methods ( #1397 )
...
* Add rpc_methods
* Adjust interface tests
* Add account_nextIndex & contracts_call, filter
* Rework AbstractArray includes with some
* Adjust tests
* Ordering
* Correct definitions (pull in from methods)
* Be agressive on filtering, regardless of isOptional
* async/await in filterRpcMethods
* map Text[] -> string[]
* Correct naming for account_nextIndex
* Remove/don't remove rpc_methods as applicable
* Cleanup method handling errors
2019-09-16 11:40:54 +02:00
Jaco Greeff
2dd7cc0e69
Typescript-eslint 2 ( #1353 )
...
* Make a start
* More minor cleanups
* Some more cleanups
* Last round?
* Exclude build folders
2019-09-02 07:01:32 +02:00
Jaco Greeff
71c5920b1f
eslint rules ( #1099 )
...
* Off to the races - 3760 problems (1794 errors, 1966 warnings)
* Convert Array<T> -> T[] (not all correct, eg. extends)
* () => { -> (): void => {
* get is/as -> public get is/as
* public for getters, constructors & base Codec
* Some cleanups from previous overzealous search & replace
* Under 2k, 1874 problems (649 errors, 1225 warnings)
* ^^^ check that commit for details ;)
* Minor.
* rm config header
* Minor cleanups
* Default to tslint, eslint as option
* Trigger
* Update jsonrpc
* 1494 problems (433 errors, 1061 warnings)
* 1103 problems (135 errors, 968 warnings)
* 899 problems (9 errors, 890 warnings)
* 483 problems (9 errors, 474 warnings) (ignore any... for now)
* 366 problems (9 errors, 357 warnings)
* 336 problems (9 errors, 327 warnings)
* 148 problems (9 errors, 139 warnings)
* 31 problems (8 errors, 23 warnings)
* 0, 0
2019-07-14 12:15:14 +02:00
Jaco Greeff
3d49194a47
Add extra data error field ( #785 )
...
* Add error data field to Error (contains sub-code)
* Trim data length
* Data display
* Data type
2019-03-18 15:13:45 +01:00
Jaco Greeff
6678d7255c
Remove api-observable ( #530 )
...
* 2019
* Remove api-observable
* tuples (SomeLonelyType) -> SomeLonelyType
* Bump to 0.37.0
2019-01-04 16:18:44 +01:00
Jaco Greeff
4805f9cb36
Update LICENSE and README ( #408 )
...
* Update LICENSE and README
* Bump
2018-11-21 13:37:27 +01:00
Jaco Greeff
d6b6713418
Classify JSONRPC coder ( #341 )
2018-10-25 14:04:26 +02:00