Ermal Kaleci
ea2c942ece
fix cache key (rpc-provider) ( #5745 )
2024-03-04 11:57:45 -05:00
Tarik Gul
c5371c146b
feat(rpc-provider): allow cacheCapacity option for WsProvider ( #5778 )
...
* feat(rpc-provider): allow cacheCapacity option for WsProvider
* change args ordering to avoid breaking change
2024-01-26 09:36:51 +02:00
Jaco
3bdf49b042
2024 ( #5777 )
2024-01-08 15:07:13 +02:00
Jaco
d8136a8e61
Bump dev (w/ ts-eslint updates) ( #5691 )
2023-08-16 11:00:52 +03:00
Jaco
e89212b435
Remove some eslint overrides ( #5676 )
...
* Remove some eslint overrides
* Use noop
2023-06-17 13:27:51 +03:00
Jaco
c277b3d865
Adjust object index typings ( #5671 )
...
* Adjust object index typings
* CHANGELOG
* Remove dot-notation overrides
* Align overrides
* Ordering
* Revert lint formatting changes
* Bump common
2023-06-11 09:58:20 +03:00
Jaco
f4c2b150d3
Adjust rpc coder types ( #5630 )
2023-05-04 15:00:43 +03:00
Jaco
9e98f81dc0
Attempt to fix Deno check ( #5626 )
...
* Attemp to fix Deno check
* Adjust
2023-05-01 19:30:58 +03:00
Jaco
09222d9055
Bump util ( #5622 )
...
* Bump util
* Adjust to fix build
2023-04-29 09:31:52 +03:00
Jaco
976d708fae
Adjust Deno WebSocket check ( #5608 )
2023-04-23 09:13:09 +03:00
Jaco
a7526ba5f3
Bump dev ( #5591 )
...
* Bump dev
* Adjust
* Adjust
2023-04-13 13:10:36 +03:00
Jaco
cf1fabaecf
Bump deps (& remove unused overrides) ( #5549 )
2023-03-18 11:59:42 +02:00
Jaco
abb802bc92
Bump to TS 5.0 ( #5548 )
2023-03-17 08:00:08 +02:00
Jaco
fcdb31dc3c
Bump metadata ( #5534 )
...
* Bump metadata
* Adjust with rebuild & runtime bumps
* Remove root babel deps
* 10.1.1
2023-03-11 10:30:55 +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
033fc4f480
Adjust x-ws usage ( #5511 )
2023-03-04 17:13:41 +02:00
Julien
dacf2875b7
General WsProvider extensibility improvements ( #5467 )
...
* Make endpoints index selection extensible
* Expose endpoint
* Ensure events happen last
* Added endpoint stats
2023-03-03 08:23:25 +02:00
Jaco
40810f2fdb
Cleanup tests (& fix ws.connect()) ( #5493 )
...
* Cleanup tests (& fix ws.connect())
* Await mock
* Adjust sc connect ordering
2023-02-17 11:57:34 +02:00
Jaco
2eb453c4ce
Cleanup class variable linebreaks ( #5422 )
2023-01-19 08:52:14 +02:00
Julien
d90ac68e29
Clarified WsProvider constructor parameters documentation ( #5404 )
2023-01-07 14:27:29 +02:00
Jaco
2c949e0fc5
Update headers for 2023 ( #5392 )
2023-01-01 10:25:51 +02:00
Jaco
d9aa61c786
Add isClonable getter on providers ( #5317 )
...
* Add isClonable getter on providers
* Use isClonable in API constructor
* mock clonable
2022-11-04 10:52:51 +02:00
Jaco
aa5cc1eef1
Use ReturnType<typeof setInterval> for timerIds ( #5060 )
...
* Use ReturnType<typeof setInterval> for timerIds
* Remove as number casts for clearInterval
2022-07-12 08:31:50 +03:00
Jaco
617a03ec05
Additional CI actions ( #5036 )
2022-07-06 00:22:36 +03:00
Jaco
5c6294b71c
Improve type argument generation for Option<...> types ( #5035 )
2022-07-05 16:01:10 +03:00
Jaco
75bbd042a9
Adjust NodeJS.Timout type usage ( #5026 )
2022-07-04 16:15:50 +03:00
Jaco
3a8b1c5683
Adjust assert usage ( #4966 )
...
* Adjust assert usage
* Adjust assert
* Apply suggestions from code review
2022-06-20 20:37:17 +03:00
Jaco
e7beb2d46f
Expose provider errors & .stats on API ( #4878 )
...
* Expose provider errors & .stats on API
* Expose WS errors
2022-05-31 10:24:17 +03:00
Jaco
a208cc9bb5
LRU Sizing ( #4872 )
2022-05-30 08:36:28 +03:00
serge
09a8d80144
make WS provider timeout configurable ( #4758 )
...
* make WS provider timeout configurable
* minor
2022-04-22 08:05:42 +03:00
Jaco
a392025a15
Adjust default "no RPC response" timeout to 60s ( #4746 )
2022-04-14 16:43:53 +03:00
Jaco
ba188dcc0d
JSONRPC request/response handler opts ( #4722 )
...
* JSONRPC request/response handler opts
* Fix test
* CHANGELOG
2022-04-08 08:51:44 +03:00
Jaco
63ba84a641
Clear connection timeout on disconnect ( #4681 )
2022-03-23 16:09:25 +02:00
Jaco
d8ad237b00
Add total.bytes{Recv, Sent} to provider stats ( #4671 )
2022-03-22 08:54:42 +02:00
Jaco
9dfb5cb237
state_trieMigrationStatus RPC ( #4664 )
2022-03-18 09:40:37 +02:00
Jaco
d63108a4b4
Add basic provider stats ( #4662 )
...
* Add basic provider stats
* Add timeout counter
* Make stats() optional for providers (don't break what is out there)
* Update packages/rpc-provider/src/types.ts
2022-03-17 17:33:40 +02:00
Jaco
f108d16d1b
RPC timeouts ( #4661 )
...
* RPC timeouts
* for loop
2022-03-17 10:14:26 +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
Joey
094382373c
don't throw error at onSocketClose ( #4363 )
2021-12-20 10:19:44 +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
15ed0723f1
Adjust Node Websocket options (frame sizes) ( #4087 )
2021-10-21 12:54:25 +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
445a080f7d
Adjust Ws .disconnect() logic to always clear auto-connect ( #3749 )
2021-07-09 06:14:30 +02:00
Jaco
b0de692147
Under Node.js allow for WS receiving up to 16MB messages ( #3562 )
2021-05-23 17:40:13 +02:00
Jaco
a7b4fe4dd0
Adjust internal TS definitions for providers ( #3503 )
2021-05-07 09:16:10 +02:00
Jaco
53fca2406a
Cleanup WebSocket handlers when close event has been received ( #3469 )
2021-05-02 09:24:10 +02:00
Jaco
378f359a76
add known upgrade block for Polkadot v30 ( #3468 )
2021-05-02 09:04:48 +02:00