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
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
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
05cf0cba8a
Bump @polkadot/util & use nextTick ( #4882 )
2022-06-01 08:31:13 +03: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
e32ac213b9
Additional derive cleanups ( #4307 )
...
* Additional derive cleanups
* Adjust
* Multi cache set
* Adjust mapping
2021-12-09 12:12:05 +02:00
Jaco
7cfad3b1c4
Derive combineLatest order adjustments ( #4186 )
2021-11-08 16:24:27 +02:00
Jaco
e918aa8b14
Lazy decoration (part 10, Import lazy* from @polkadot/util) ( #4166 )
...
* Impot lazy* from @polkadot/util
* Bumps
2021-11-04 14:51:06 +02:00
Jaco
f5f67e795e
Lazy decoration (part 8, consistent call order) ( #4153 )
...
* Lazy decoration (part 8, consistent call order)
* Dedupe
* Flatten, no extra calls
* Dedupe more
* Adjust lazyVariants
* Additional flatten
* Adjust lazyVariants
* Reorder name/index
* Deupe strings
* Flatten createkeys
* Adjust
2021-11-03 10:47:04 +02:00
Jaco
fd027f452c
Lazy decoration (part 3, derives) ( #4142 )
...
* Lazy decoration (part 3, prep for derives)
* Derives are lazy
* ... it should have derives
* dedupe api-derive lazy
* function -> inline
* Cleanup defineProperty
* Adjust
* Final readability tweaks
* ... I lied, alignment tweaks
* Exportable lazyDeriveSection
* lazy from @polkadot/types
* Adjust
2021-11-02 12:10:30 +02:00
Jaco
5eb3534d8e
Bump dev (w/ eslint 8) ( #4070 )
...
* Bump dev (w/ eslint 8)
* Additional linting
* Additional
* More lint fixes
* Last batch
* Additional
* Cleanups
2021-10-17 14:49:26 +03:00
Jaco
81be70e15b
Introduce bundle exports ( #3742 )
...
* Introduce bundle exports
* Move memo
* Cleanup imports
* Move DoNotConstruct
2021-07-07 11:35:30 +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 Greeff
a0d6384b01
Cleanup exports (less indirection) ( #3226 )
...
* Cleanup exports (less indirection)
* packageInfo import
2021-02-27 13:17:07 +01:00
Jaco Greeff
a9c9fb5769
2021 ( #3015 )
2021-01-03 11:26:46 +01:00
Jaco Greeff
e2911a33c4
Replace memoizee with memoize from @polkadot/util ( #2946 )
2020-12-13 14:15:13 +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
f810e65ea2
Additional enum tests ( #2842 )
...
* Additional enum tests
* Adjust compare files
* Remove debug log
2020-11-12 14:45:32 +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
d47faa4687
Fix memomization on BigInt values ( #2728 )
2020-10-15 08:59:48 +02:00
Jaco Greeff
b56c1a8282
Explicit tie of metadata to registry (not implicit) ( #2621 )
...
* Explicit tie of metadata to registry (not implicit)
* Update type generation
* Test updates
* Revert non-problematic
* Cleanup mocks
* Updata metadata tests
* CHANGELOG
* linting
2020-09-17 23:15:09 +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
76da2638c1
Ensure subscriptions always unsubscribe as required ( #2380 )
...
* Ensure single-shot calls always unsubscribe
* memo/refCount cleanups
* Fix unsubscriptions
* Cleanup linting types
* CHANGELOG
2020-06-23 13:47:28 +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
67a3376ef8
POC for a rough derive cache ( #2293 )
...
* POC for a rough derive cache
* With expiry
* Cache cleanups
* Memory cache
* Small cleanups
2020-05-19 10:29:40 +02:00
Jaco Greeff
58de0b8b9c
Rewrite yarn.lock ( #2127 )
2020-04-01 23:49:56 +02:00
Jaco Greeff
bcbd4b8d40
linked maps with getStorage only
2020-03-09 21:42:56 +01:00
Jaco Greeff
e947c638ff
Fix remove deprecated api 'Observable.create' ( #1998 )
2020-03-05 07:00:59 +01:00
Jaco Greeff
8598002801
Swap to registry.createType ( #1947 )
2020-02-26 11:17:11 +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 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
8cc256fdcf
Derive drr doesn't have delay ( #1548 )
2019-11-06 17:19:12 +01:00
Jaco Greeff
7cc961f789
Staking overview derive ( #1537 )
...
* Staking overview derive
* Expand derives
* Extract currentIndex/currentEra
* WIP
* Controllers opt
* Add memo
* Memomize the whole lot
* Doc building fixes
* Doc fixes #2
2019-11-02 23:10:10 +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
bf8bed36ef
Update drr equality ( #1469 )
...
* Update drr equality
* null === null
* Array length compare
* isFunction(next.eq)
* Just JSON.stringify on compare
* Add distinctUntilChanged in rpc-core
* prev/next -> a/b
2019-10-10 20:41:57 +02:00
Jaco Greeff
82a1c25f17
Tests for approvalFlagToBool ( #1251 )
...
* Tests for approvalFlagToBool
* Merge master
2019-08-02 20:44:25 +02:00
Jake Naviasky
58993042c1
Fixing approvalFlagsToBools. ( #1250 )
2019-08-01 17:18:18 +02:00