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