Jaco
d8136a8e61
Bump dev (w/ ts-eslint updates) ( #5691 )
2023-08-16 11:00:52 +03:00
Jaco
e89212b435
Remove some eslint overrides ( #5676 )
...
* Remove some eslint overrides
* Use noop
2023-06-17 13:27:51 +03:00
Jaco
3d0a1701fa
Bump dev & adjust duplicated exports ( #5651 )
2023-05-21 12:40:07 +03:00
Jaco
1ba4c0c277
Allow switching on/off of isPedantic checks ( #5620 )
...
* Allow switching on/off of isPedantic checks
* CHANGELOG
* typos
2023-04-28 10:37:27 +03:00
Jaco
efbbde74fc
Bump dev deps ( #5547 )
...
* Bump dev deps
* Bump dev
2023-03-16 21:31:57 +02:00
Jaco
058edbe9c5
Bump dev ( #5544 )
...
* Bump dev
* Change ref types
* Fix build
2023-03-15 17:14:35 +02:00
Jaco
5145a0c181
Bump dev ( #5537 )
...
* Bump dev
* Adjust dev/node/test/node.d.ts imports
* Fix types-support imports
* Adjust extensionless imports
2023-03-12 12:05:43 +02: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
baf681e98d
Bump dev deps ( #5520 )
2023-03-06 14:28:28 +02:00
Jaco
0faddf1df6
Remove done callback usage from it(...) ( #5514 )
...
* Remove done callback usage from it(...)
* Bump deps
* continue-on-error: true
2023-03-01 13:13:38 +02:00
Jaco
a8d7566186
Adjust tests for node:test env ( #5509 )
2023-02-25 11:48:26 +02:00
Jaco
2c949e0fc5
Update headers for 2023 ( #5392 )
2023-01-01 10:25:51 +02:00
Jaco
e573c26df3
Bump dev ( #4679 )
2022-03-23 07:19:33 +02:00
Jaco
8ba4ed5377
2022 ( #4404 )
2022-01-01 09:28:18 +02:00
Jaco
6d1b9cbfb2
Split rpc augmentation ( #4349 )
...
* Split rpc augmentation
* CC
* Split augmentation trigger
* Exports
2021-12-18 13:15:15 +02:00
Jaco
6fb7989b41
Lazy decoration (part 9, rpc) ( #4165 )
...
* Lazy decoration (part 9, rpc)
* Flatten
* Cleanups (& bump dev, fix copy-to)
* Only RPC methods are lazy
* Decorate rpc-core lazily
* Adjust import
* Remove (now) invalid test
2021-11-04 15:59:05 +02:00
Jaco
ff3882f5f7
Bump common (w/ rxjs 7) ( #3736 )
...
* Bump common (w/ rxjs 7)
* Adjust
* pre bump
* Cleanup imports
* Add missing switchMap
* CHANGELOG
* Remove duplicate imports
* Bump common
* Direct rxjs import
2021-07-07 09:26:30 +02:00
Jaco
2d02f61fa7
Align Data.Raw decoding with Substrate (32-bytes) ( #3573 )
...
* Align Data.Raw decoding with Substrate (32-bytes)
* CHANGELOG
* Encoding test updates
* provider.disconnect
* Adjust provider tests
* Unique connection URLs
* Dangling tests
* detectOpenHandles
* Additional
* Remove rx test (catered for by Promise wrap)
* Additional cleanups to tests
2021-05-27 10:18:56 +02:00
Jaco Greeff
6e28760da4
Remove explicit RpcCore interface (apply in API itself) ( #3284 )
...
* Remove explicit RpcCore interface (apply in API itself)
* Simplify
* Adjust test linting
* casting
* Remove stray eslint
* Re-add enable
2021-03-09 09:17:30 +01:00
Jaco Greeff
a9c9fb5769
2021 ( #3015 )
2021-01-03 11:26:46 +01:00
Jaco Greeff
208fbb24d5
Build esm (& add x-rxjs package) ( #2942 )
2020-12-11 18:44:23 +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
5a1fd4a1bb
Adjust internal generic imports ( #2838 )
2020-11-11 09:40:35 +01:00
Jaco Greeff
af9437f80a
Adjust create imports ( #2834 )
...
* Adjust create imports
* Restore create root exports
* Adjust unsafe creation
2020-11-10 11:14:38 +01:00
Jaco Greeff
21d0622f84
Bump common ( #2832 )
...
* Bump common
* Update for new common non-default exports
* Don't export createSubmittable
* Adjust exports
* default export adjustments
* Some additional non-default exports
2020-11-09 19:41:29 +01:00
Jaco Greeff
cdd6544e20
SPDX ( #2619 )
2020-09-17 16:31:06 +02:00
Jaco Greeff
b6d1be6ee5
Only memomize via instanceId ( #2572 )
...
* Add memoizee instanceId
* Gotcha.
* linitng
2020-09-02 17:13:38 +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
58de0b8b9c
Rewrite yarn.lock ( #2127 )
2020-04-01 23:49:56 +02:00
Jaco Greeff
3db15e73a5
Bump deps ( #1745 )
...
* Bump deps
* Fix test expectation
* Mark doc internal
2020-01-26 10:27:44 +01:00
Jaco Greeff
b7eeb992cd
Bump deps ( #1699 )
2020-01-06 14:12:49 +01:00
Jaco Greeff and Amaury Martiny
011e24bd49
Pass registry to all codec types ( #1592 )
...
* Pass registry to all codec types
* Pass through registry inside API (where the rubber meets the road)
* Small additions
* Derive w/ registry
* Types are more-or-less covered
* Some test adjustments (guided by linting)
* Rid the world of some ../injector
* Additional cleanups, merge injector into registry
* Cleanup extrinsics (always passing registry)
* Remove injector imports (not all replaced)
* Typ spec cleanups
* Phase 1 - types seem lint-free
* rpc-{core,provider} lint free
* Start working through metadata
* Small metadata additions
* Some e2e tests (out-of-order)
* Down to a handful
* Fixup tests for packages/types/src/codec/*.spec.ts
* packages/types/src/codec passes all tests
* packages/types ok (Convert storage with registry fn)
* progress (sort out injection, dreaded find-before msg)
* Down to 1 lint issue...
* Linting done... along with on-demand import
* Exposed ordering
* Remove global injects
* Cleanup comments
* Add CHANGELOG & UPGRADING
* Apply suggestions from code review
Co-Authored-By: Amaury Martiny <amaury.martiny@protonmail.com >
* Update Metadata description
2019-11-21 16:32:39 +01:00
Jaco Greeff
dc105e6b31
Sub/unsub cleanups ( #1535 )
...
* Sub/unsub cleanups
* drr full idAndIndex
* Memo on nick call
* refCountDelay
* Remove scheduler param, always asap
* Flatten
* Test cleanups
* Make tests pass
* Remove logs
* Drop nick memo
* sourceConnection.unsubscribe
* Small cleanups
2019-11-01 14:17:47 +01: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
895ed80449
subscribeNewHeads ( #1338 )
...
* subscribeNewHeads
* Update CHANGELOG
* Rebuild interfaces
* Sort interfaces, really expose plural
* Fix mocks
2019-08-24 12:10:42 +02:00
Amaury Martiny
92044d471c
Make api.rpc.*.* typed ( #1237 )
...
* Generate correctly
* Fix rpc-core
* Flexible types
* Make types work!
* Lint
* Fix grumble
* Re generate
* Fix lint
* Fix small bugs
* Maybe really fix lint?
* Fix lint again
* Fix lint
* Small ordering & formatting changes while playing...
2019-08-01 10:46:28 +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
Amaury Martiny
fe16c09f01
refactor: Remove rpc-rx ( #1037 )
...
* Remove rpc-rx
* Make some stuff work
* Fix tests
* Update Base
* Change some stuff
* Remove rpc-rx mentions
* Add correct tests
* Make cache work
* Fix little bugs
* Rename to spec
* Fix lint
* Fix little bugs
* Add comment
* Add correct test
* Update header
* Add test
* Add comments
* Indentation
2019-06-20 11:06:13 +02:00