rob thijssen
1a267c58f3
support manta author lookup ( #5561 )
...
* support manta author lookup
* handle scenarios where queuedKeys is not of the expected type
* add catchError to imports
* should it be square?
* resolve combineLatest deprecation issue
* type safe nimbus author mappings
* precise var names
* remove reference to deprecated combineLatest
* stay simple, that's what works
* implicit type for session.validators
we don't want to change this aspect of the implementation
* clearer comments on the code paths
* explicit variable names
2023-03-28 07:51:25 +03: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
84621a26cb
Adjust derive definitions for no reexport of types ( #5536 )
...
* Adjust derive definitions for no reexport of types
* Additional for hasProposals
2023-03-11 17:49:27 +02:00
Jaco
a37045036e
10.1.2 ( #5535 )
...
* 10.1.2
* USe /*#__PURE__*/ exports in derives
2023-03-11 13:20:14 +02:00
Jaco
611ff12a3d
Align tsconfig to allow moduleResolution: nodenext ( #5530 )
...
* Align tsconfig to allow moduleResolution: nodenext
* Small adjustments (revert nodenext req. changes)
* Adjust for current compilation
* Read metadata compare from file
* Adjust
* Fix assertions
2023-03-09 20:10:53 +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
e759d32bcf
Revert all recent $ renames ( #5429 )
...
* Revert "[CI Skip] bump/beta 9.11.4-6-x"
This reverts commit 7ee4f7aaf8 .
* Revert "Rename Code .registry to .$registry (#5428 )"
This reverts commit dd6826fadd .
* Revert "[CI Skip] bump/beta 9.11.4-5-x"
This reverts commit abc68bf2e2 .
* Revert "Convert encodedLength to $encodedLength (#5426 )"
This reverts commit ccab89304b .
* Revert "[CI Skip] bump/beta 9.11.4-4-x"
This reverts commit 044465eee4 .
* Revert "Rename inspect() to inspectU8a() (#5425 )"
This reverts commit 42af205546 .
* Revert "[CI Skip] bump/beta 9.11.4-3-x"
This reverts commit 545ad50097 .
* Revert "Move .isEmpty to $isEmpty (#5424 )"
This reverts commit 6f19084a4d .
* Revert "[CI Skip] bump/beta 9.11.4-2-x"
This reverts commit 4688291ecf .
* Revert "Warn on deprecated getter usage (#5423 )"
This reverts commit da1cf9d64e .
* Revert "[CI Skip] bump/beta 9.11.4-1-x"
This reverts commit 96a3ef51f0 .
* Revert "Revert "[CI Skip] bump/beta 9.11.4-1-x""
This reverts commit 2eca0730a630d587878f12c141e21ea631dcdd19.
* Revert "Revert "[CI Skip] bump/beta 9.11.4-2-x""
This reverts commit 66284b40692071aa03a1064997c9402fc0b0987c.
* Revert "Revert "[CI Skip] bump/beta 9.11.4-3-x""
This reverts commit 9b820eaefccdb7b51d893000e5480d11e5195e22.
* Revert "Revert "[CI Skip] bump/beta 9.11.4-4-x""
This reverts commit cb5149adf98a5eefd8da61b8793707f85deb7c09.
* Revert "Revert "[CI Skip] bump/beta 9.11.4-5-x""
This reverts commit 489a64439860fefba163695ec36b319dcb1eeddc.
* Revert "Revert "[CI Skip] bump/beta 9.11.4-6-x""
This reverts commit 34a0fd4e2784a1b40ea8e06534d1f39328250e7a.
* Adjust linebreaks
* Adjust isStorageFallback naming
* Fix build
2023-01-19 15:06:29 +02:00
Jaco
dd6826fadd
Rename Code .registry to .$registry ( #5428 )
...
* Adapt $registry getter, deprecate registry
* warnGet adjustments
* Additional adjustments
2023-01-19 13:54:34 +02:00
Jaco
923f569d77
Add $isStorageFallback on Codec interface ( #5421 )
...
* Add $isStorageFallback on Codec interface
* Rename in CHANGELOG
* Update specs with new naming
* Small formatting adjustments
* Abstract values
* Adjust initialU8a expectation
* Mark old interface as deprecated (& type to never)
* Adjust @deprecated comments
* Add deprecated interfaces to all
2023-01-18 21:58:06 +02:00
Jaco
2c949e0fc5
Update headers for 2023 ( #5392 )
2023-01-01 10:25:51 +02:00
Jaco
60384ad850
Adjust blockNumber extract (w & w/o Compact) ( #5066 )
...
* Adjust blockNumber extract (w & w/o Compact)
* Adjust unused test file
2022-07-13 16:59:39 +03:00
Jaco
551a081990
Support for Moonbeam author extraction in derive.chain.* ( #5065 )
...
* Support for Moonbeam author extraction in derive.chain.*
* use unwrapOr
* Adjust logic
2022-07-13 12:18:07 +03:00
Jaco
1f5e939b73
derive.subscribeFinalizedBlocks w/ events & author ( #5064 )
...
* derive.subscribeFinalizedBlocks w/ events & author
* Apply createdAtHash (some)
* Pass through events registry
* Throw on use
2022-07-13 09:44:47 +03:00
Jaco
cfec580956
derive.chain.subscribeFinalizedHeads ( #5063 )
...
* derive.chain.subscribeFinalizedHeads
* Remove extra map
2022-07-13 08:02:49 +03:00
Jaco and mergify[bot]
3b0c8887d7
Add chain.getBlockByNumber ( #4598 )
...
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2022-02-24 05:42:58 +00:00
Jaco
500e2022c3
Augment Registry (w/o CodecRegistry & CreateRegistry) ( #4463 )
...
* Augment Registry (w/o CodecRegistry & CreateRegistry)
* Build fixes
* Final build fixes
* licence headers
2022-01-18 12:52:01 +02:00
Jaco
8ba4ed5377
2022 ( #4404 )
2022-01-01 09:28:18 +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
59c2327768
Add firstMemo (dedupes) ( #4321 )
...
* Add firstMemo (dedupes)
* Adjust
* flatten
* Readability
* Readability
2021-12-12 08:47:58 +02:00
Jaco
63a55d2f8a
Cleanups for bestNumber derives ( #4318 )
...
* Cleanups for bestNumber derives
* Unused imports
* Re-exports of types for *.d.ts outputs
2021-12-11 09:35:52 +02:00
Jaco
969151c4a7
Additional derive cleanups ( #4308 )
...
* Additional derive cleanups
* unwrapNumber
* Adjust
2021-12-09 12:54:51 +02:00
Jaco
7cfad3b1c4
Derive combineLatest order adjustments ( #4186 )
2021-11-08 16:24:27 +02:00
Jaco
affa6ab1bd
Mark api.query.<section>.<method>.at as deprecated ( #4023 )
...
* Use api.at internally for sizeAt/entriesAt/keysAt
* Remove debug logs
* Mark api.query.<section>.<method>.at as deprecated
* formatting
* @deprecated formatting
* commenting
2021-10-06 08:53:50 +03:00
Jaco
d45a9cfe58
Rework derives to ensure cached registries ( #4021 )
2021-10-05 08:57:30 +03: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 Greeff
f52e518b7b
Adjust extended derives with as-defined instances ( #3336 )
2021-03-18 17:08:18 +01:00
Jaco Greeff
c6785c533f
Use at-block registry/types for derive block/header ( #3320 )
...
* Use at-block registry/types for derive block/header
* Also apply to subscribe
2021-03-15 12:08:25 +01:00
Jaco Greeff
3c9b7de6c7
Add createdAtHash to Codec interface ( #3276 )
...
* Add createdAtHash to Codec interface
* Adjust linkedHash (also on )
* createdAtHash
2021-03-07 16:00:30 +01:00
Jaco Greeff
1c86333b5f
derive.chain.getBlock() now maps events to extrinsics ( #3020 )
...
* derive.chain.getBlock() now maps events to extrinsics
* Also apply to subscribeNewBlocks
* Cleanup
* breaking
2021-01-05 12:21:58 +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
Lovesh Harchandani
dd2dde5701
Fix name of "getBlock" in package "api-derive" and export it in "index.ts" ( #2857 )
...
Signed-off-by: lovesh <lovesh.bond@gmail.com >
2020-11-17 15:31:01 +01:00
Jaco Greeff
fb82db382e
Add derive.chain.subscribeNewBlocks ( #2765 )
...
* Add derive.chain.subscribeNewBlocks
* Expand
2020-10-22 19:52:03 +02: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
6f092a1818
api.derive.chain.getBlock(<hash>) with author getter ( #2555 )
...
* api.derive.chain.getBlock<hash>) with author getter
* Update CHANGELOG.md
2020-08-31 21:12:14 +02:00
Jaco Greeff
4ec42f1750
Ensure non-destructive registry swap ( #2543 )
...
* Ensure non-destructive registry swap
* Update packages/api/src/base/Init.ts
2020-08-31 08:59:20 +02:00
Jaco Greeff
dd217f82b2
Chunk keys & values retrievals on keys()/entries() ( #2046 )
...
* Chunk keys & values retrievals on keys()/entries()
* Bump chunk sizes
* Fix concatMap index
* Update mock
2020-03-13 19:40:57 +01:00
Jaco Greeff
d9dad3566a
Use asyncScheduler for all derives ( #2043 )
2020-03-13 12:32:42 +01:00
Jaco Greeff
4e756704ea
Some minor cleanups ( #1966 )
...
* Some minor cleanups
* Small additions
* Cleanup ExtrinsicEra decoding
* Minor adjustments
* Remove support for metadata v0 parsing
* Adjust refCountDelay
* refCountDelay comments
* Adjust Metadata tests
* Metadata default creation
* Funky lines
* Cleanup as AccountIdAndIndex
* Some derive returns
* Try and cleanup info extraction
2020-02-27 15:01:20 +01:00
Jaco Greeff
458dec53dc
Session validators availability detection ( #1759 )
2020-01-28 18:10:06 +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
2875fdf2cf
Wrap all derives in memo (like rpc-core) ( #1564 )
2019-11-11 14:25:07 +01:00
Jaco Greeff
022c7ea645
Swap internal derives to use api.derive.* ( #1553 )
...
* Swap internal derives to use api.derive.*
* Rx vs normal decorate
* Small cleanups
* Res-use sessions
* Cleanup types
* Fix refCount lost subs
* Small cleanups
2019-11-07 17:34:53 +01:00
Jaco Greeff
3998b1bcbd
Whack derive memo ( #1546 )
...
* Whack derive memo
* Bump common
2019-11-05 14:36:53 +01:00
Jaco Greeff
2371d6a29c
Remove double-up-drr (memo vs rpc) ( #1541 )
...
* Remove inner memo (no double-up on stringify)
* Validators-specific query
2019-11-03 23:47:55 +01:00