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
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
4913cf65fd
Move api-derive to correct location ( #4343 )
...
* Move api-derive to correct location
* Adjust (linting ok)
* No composite
* ApiDerive split
* Adjust
* Still WIP, getting closer
* It lints
* derive build issues sorted
* It builds :)
* Add system_health to mock
* api-augment usage
* Cleanups
* Adjust paths
* linting
* Some <'s
* Revert <>'s
* linting
* ordering
* Augmentation tweaks
* yarn.lock
* export
2021-12-18 09:18:55 +02:00
Jaco
736fd536f9
Use tsconfig references ( #4328 )
...
* Use tsconfig references
* Move types-known (temp until lower-level split)
* Sources
* Adjust
* tesconfig.eslint.json
* Bumps
* AdjustAdjust
* Linting passing... a start...
* Adjust
* Merge derive
* Merge
* api-contract-support
* It builds?
* compare locations
2021-12-14 12:04:50 +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
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
533f9ce249
Explicit delay for per-hash single queries ( #2548 )
...
* Explicit delay for per-hash single queries
* Expand delay
* Update packages/rpc-core/src/index.ts
2020-08-31 15:20:06 +02:00
Jaco Greeff
2f5e2537a3
Align single-shot memoization ( #2546 )
...
* Align single-shot memoization
* Small tweaks
* Test for delayed creates
* With actual sub
* Expand delay test
* Bump delay
2020-08-31 14:31:44 +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
8598002801
Swap to registry.createType ( #1947 )
2020-02-26 11:17:11 +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
02cd1331aa
Move Event, Address, AccountId, AccountIndex to generic ( #1202 )
...
* Move Event, Address, AccountId, AccountIndex to generic
* Move AccountId, AccountIndex, Address & Event to generic
* Move Vote
2019-07-26 16:39: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