Scott Twiname and Jaco
5da8f21947
Add support for historical BlockNumber rpc methods ( #4574 )
...
* Add support for historical BlockNumber rpc methods
* Update function description
* Apply suggestions from code review
Co-authored-by: Jaco <jacogr@gmail.com >
2022-02-20 07:50:41 +02:00
r0t0r-r0t0r
0660d0cf15
Fix memory leak on raw rpc call ( #4505 )
...
* Fix memory leak on raw rpc call
While processing a raw rpc call an observable is removed from the wrong cache. It causes a memory leak.
* Fix memory leak on raw rpc subscription, fix types
Fixed similar memory leak on raw rpc subscription.
Also added proper type declaration for the return value of the _memomize function to address build error.
2022-01-29 12:41:02 +02:00
Jaco
392d447b99
Adjust LRU historic size (clarify isCachable flag) ( #4419 )
2022-01-06 09:31:13 +02:00
Jaco
8ba4ed5377
2022 ( #4404 )
2022-01-01 09:28:18 +02:00
Jaco
6de4293f9f
Remove @polkadot/ts dependency ( #4391 )
...
* Remove @polkadot/ts dependency
* Remove VoidCallback
* Bump dev
2021-12-24 16:42:12 +02:00
Jaco
5e1670dbae
Provider-level caching for historic requests ( #4195 )
...
* Provider-level caching for historic requests
* LRUCache
* Adjust
* Adjust
* Adjust
* Opts
* private variables
* Implementation link
* lru .entries adjustment (using .keys)
* Adjust expectations
2021-11-10 14:46:13 +02:00
Jaco
e132330c0b
Update rpc mappings ( #4168 )
...
* Update rpc mappings
* spread
2021-11-05 08:07:57 +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
891a6106f0
Ensure rpcCore correctly decorates .raw ( #4091 )
...
* Ensure rpcCore correctly decorates .json/.raw
* .raw encoding changes + memoization
2021-10-22 14:25:46 +03: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
7920565b97
Bump deps ( #3929 )
...
* Bump deps
* linting
2021-09-05 10:59:03 +02:00
Jaco
0be1d46be9
RPC-core createType swap ( #3786 )
...
* RPC-core createType swap
* CHANGELOG
* createType complexity
2021-07-21 11:36:10 +02:00
Jaco
3c59a4d417
Single module bundle via rollup ( #3731 )
...
* Single module bundle via rollup
* use createBundle
* override all
* Update rollup.config.mjs
* Add bundle import
* Remove x-* packages
* Adjust
* Adjust
* Rebuild
* Internal helpers
* Adjust locations
* Bump common
* CHANGELOG
* Update rollup.config.mjs
2021-07-07 20:39:49 +02:00
Jaco
81be70e15b
Introduce bundle exports ( #3742 )
...
* Introduce bundle exports
* Move memo
* Cleanup imports
* Move DoNotConstruct
2021-07-07 11:35:30 +02:00