Jaco
987a2ec2df
Adjust multi to infer return types ( #4002 )
...
* Adjust multi to infer return types
* some linting
* Additional
* Dedupe
2021-09-29 14:07:29 +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
a3c283cdf3
combineLatest type fixes (remove deprecated) ( #3739 )
2021-07-07 06:30:56 +02:00
Jaco
cbc255b4e7
Cater for new phragmenElection module ( #3528 )
2021-05-14 19:07:47 +03:00
Jeremías Díaz
66b1108c5c
feat(types): add correct tuple type to storage key ( #3054 )
...
* feat(types): add correct tuple type to storage key
* refactor(types): remove unneeded type assertions
2021-01-15 16:06:23 +01:00
Jaco Greeff
a9c9fb5769
2021 ( #3015 )
2021-01-03 11:26:46 +01:00
Jaco Greeff
d6b2b4a1a3
Remove support for pre-v2 staking ( #2980 )
...
* Remove support for pre-v2 staking
* Adjust with util array functions
* Remove old enumset support
* Empty controller
* withController flag
2020-12-24 08:32:03 +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
94e57f6dcf
hasIndentities extract base ( #2900 )
2020-12-02 19:23:30 +01:00
Jaco Greeff
895d44fe9f
Optimize use of derive staking.query (with full results) ( #2897 )
2020-12-02 14:49:14 +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
90cc148383
Correct hasIdentity parentId extraction ( #2884 )
2020-11-29 16:08:39 +01:00
Jaco Greeff
f6942cc0f0
Extract identity-only derive from accounts.info ( #2882 )
...
* Extract identity-only derive from accounts.info
* Add hasIdentity
* hasIdentityMulti
2020-11-29 15:16:54 +01:00
Jaco Greeff
b6ff8a400e
Swap accountId check (Ethereum-addr chains have === 20) ( #2816 )
2020-11-03 19:27:39 +01:00
Jaco Greeff
1f6c8c2eb8
Use assertReturn to cleanup ( #2804 )
...
* Use assertReturn to cleanup
* Remove Uint/Int duplication
* Adjust
* ws errors, part 2
* .
* Adj. manual
* adj
* switchMap
* Revert "switchMap"
This reverts commit edfa4a2258f09042b61a27fd3812f0c53039fe4f.
* Revert.
* Revert.
* protected constructor
* Correct isHexJson flag
* Remove isHexJson (always detect)
* Adjust
* Flags
2020-10-29 17:17:22 +01:00
Jaco Greeff
94ebb321f1
Complexity adjustments ( #2803 )
...
* Complexity adjustments
* cleanups
* Small cleanups
* Additional
* revert era
* ExtrinsicEra
2020-10-29 14:20:10 +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
5a90da5df8
accountId-only lookups on paymentInfo ( #2569 )
2020-09-02 15:13:45 +02:00
Jaco Greeff
73eaa9fe17
Cleanup id from index lookups ( #2479 )
2020-08-10 16:42:27 +02:00
Jaco Greeff
bbbd82eb4a
Move indices cache to indices list ( #2390 )
2020-06-23 22:19:13 +02:00
Jaco Greeff
bf472fdcf4
Optimize accountId -> accountIndex lookups ( #2389 )
2020-06-23 20:25:58 +02:00
Jaco Greeff
45786b31da
Bump deps ( #2286 )
...
* Bump deps
* Linting cleanups
2020-05-15 13:35:15 +02:00
Jaco Greeff
a135abaea2
Fix flags (council may not exist) ( #2207 )
2020-04-25 09:47:46 +02:00
Keith Ingram
b18bdc37f9
Add api.derive.accounts.flags ( #2195 )
...
* account flags in new call
* Fix
2020-04-21 07:31:00 +02:00
Jaco Greeff
a97cb6e25d
Return all identity hashes (not just as subset) ( #2179 )
2020-04-16 10:36:37 +02:00
Jaco Greeff
165179ebf2
Remove flags on derive.accounts.info ( #2167 )
...
* Remove flags from derive.account.info
* adjust types
2020-04-14 13:40:12 +02:00
Jaco Greeff
0dc46445bc
Bump dev (incl. lint fixes) ( #2126 )
...
* Bump dev (incl. lint fixes)
* Fix call encoding (stepped into that one)
* Event struct order
* Update with missing tuple type (getTypeDef type)
2020-04-01 22:44:34 +02:00
Keith Ingram and Jaco Greeff
aa37e372dd
Derived account info flags ( #2068 )
...
* Derived account info flags
* Update packages/api-derive/src/accounts/info.ts
Co-Authored-By: Jaco Greeff <jacogr@gmail.com >
* Apply suggestions from code review
* Cleanups
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
2020-03-22 18:16:43 +01: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
99d4806a0d
Enable new indexes queries ( #2022 )
...
* Enable new indexes queries
* update mock for state_getKeys
2020-03-10 17:56:20 +01:00
Jaco Greeff
77d894dd00
reset identityOf
2020-03-09 14:21:06 +01:00
Jaco Greeff
5b40d95b0f
Disbale identity ( #2016 )
2020-03-09 14:12:52 +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
85ae6f949b
Allow construction of HashMap ( #1955 )
...
* Allow construction of HashMap
* WIP... add Map to codec, extend BTreeMap & HashMap from it
* Rework various map tests
* registry.createClass
* createClass in tests
2020-02-26 21:30:38 +01:00
Jaco Greeff
253e48f7bb
Return all additional identity fields ( #1943 )
2020-02-25 15:10:47 +01:00
Jaco Greeff
bec6dba14a
Move primitive/Extrinsic -> extrinsic ( #1905 )
...
* Move primitive/Extrinsic -> extrinsic
* mv primitive/Generic -> generic
* Update registry with BitVec
* ove BitVec back to primitive
* Remove unused import
* Rebuild interfaces
2020-02-20 12:51:06 +01:00
Jaco Greeff
2ac3640900
Update AccountIndex derive ( #1820 )
2020-02-07 15:43:21 +01:00
Jaco Greeff
e6e96aa9c9
Make indices module optional ( #1812 )
...
* Make indices optional
* Updtae contracts with optional creation
* Flatten contract fees
2020-02-06 14:09:29 +01:00
Jaco Greeff
7ac3043f83
Extract sub identities (via accounts derive) ( #1713 )
...
* Extract sub identities
* Cleanups
2020-01-12 14:42:42 +01:00
Jaco Greeff
b7eeb992cd
Bump deps ( #1699 )
2020-01-06 14:12:49 +01:00
Jaco Greeff
9196ce85a0
Expand identity derive fields (incl. all) ( #1680 )
2019-12-19 11:00:47 +01:00
Jaco Greeff
c4e553ad80
Add identity names to derive.accounts.info ( #1673 )
2019-12-15 12:16:17 +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
f080d6ed1c
Bump common ( #1563 )
2019-11-11 11:34:08 +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