Github Actions
296842858f
[CI Skip] release/beta 3.10.3-3
...
skip-checks: true
2021-02-24 09:26:06 +00:00
Github Actions
e333c3d8d9
[CI Skip] release/beta 3.10.3-2
...
skip-checks: true
2021-02-23 15:19:38 +00:00
Github Actions
0abedb81c6
[CI Skip] release/beta 3.10.3-1
...
skip-checks: true
2021-02-23 14:46:56 +00:00
Ian He
08eda72d4b
clean ws-provider's states on disconnected ( #3197 )
...
* clean ws-provider's states on disconnected
* per comments
2021-02-23 15:36:10 +01:00
Github Actions
70d4126c84
[CI Skip] release/beta 3.10.3-0
...
skip-checks: true
2021-02-23 14:34:49 +00:00
Github Actions
e45ff6d026
[CI Skip] release/stable 3.10.2
...
skip-checks: true
2021-02-23 08:23:24 +00:00
Github Actions
0ac085756a
[CI Skip] release/beta 3.10.2-0
...
skip-checks: true
2021-02-22 16:00:25 +00:00
Github Actions
ff23ead797
[CI Skip] release/stable 3.10.1
...
skip-checks: true
2021-02-22 08:45:21 +00:00
Github Actions
b17412163d
[CI Skip] release/beta 3.9.4-4
...
skip-checks: true
2021-02-21 12:18:23 +00:00
Github Actions
193dfcc32f
[CI Skip] release/beta 3.9.4-3
...
skip-checks: true
2021-02-21 09:42:58 +00:00
Github Actions
d43a8b2e11
[CI Skip] release/beta 3.9.4-2
...
skip-checks: true
2021-02-20 11:47:18 +00:00
Jaco Greeff
dff859ba68
Don't send unsubscribe when already disconnected ( #3192 )
...
* Don't send unsubscribe when already disconnected
* Small cleanups
2021-02-20 12:37:05 +01:00
Github Actions
5169b6ee69
[CI Skip] release/beta 3.9.4-1
...
skip-checks: true
2021-02-20 10:59:13 +00:00
Github Actions
49ff636305
[CI Skip] release/beta 3.9.4-0
...
skip-checks: true
2021-02-16 12:00:27 +00:00
Jaco Greeff
d77d686c76
Update detectPackage to use packgeInfo.ts ( #3182 )
2021-02-16 12:50:45 +01:00
Jaco Greeff
94d26c76ec
Check for autoConnectMs on reconnect ( #3151 )
...
* Check for autoConnectMs on reconnect
* Update packages/rpc-provider/src/ws/index.ts
2021-02-05 22:03:31 +01:00
Jaco Greeff
2ee3242f41
Remove global ref, use x-global ( #3102 )
2021-01-24 16:11:43 +01:00
Jaco Greeff
a9c9fb5769
2021 ( #3015 )
2021-01-03 11:26:46 +01:00
Jaco Greeff
926d1e55d1
Parallel RPC calls (metadata/methods alongside chain details) ( #3011 )
...
* Parallel metadata retrieval
* Update
* Parallel genesisHash
* Checks
* rpc_methods in mock provider (now required)
2021-01-02 09:44:08 +01:00
Jaco Greeff
987896e323
Adjust for last remaining circular deps ( #2971 )
...
* Adjust for last remaining circular deps
* Remove RegistryMetadata duplication
* Update packages/typegen/scripts/polkadot-types-internal-interfaces.js
* typo
* Direct decorateExtrinsics import
2020-12-21 17:17:20 +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
09aa046ab4
Remove send queue, always require connection ( #2881 )
...
* Remove send queue, always require connection
* Adjust tests for non-queued
2020-11-28 12:57:24 +01:00
Jaco Greeff
98a2ef9d72
Support ABI files with wasm (.contract output) ( #2841 )
...
* Support ABI files with wasm (.contract output)
* AbiBase exports
* Additional default exports
* Remove any
* Fix build
2020-11-12 12:23:28 +01:00
Jaco Greeff
5a1fd4a1bb
Adjust internal generic imports ( #2838 )
2020-11-11 09:40:35 +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
21d0622f84
Bump common ( #2832 )
...
* Bump common
* Update for new common non-default exports
* Don't export createSubmittable
* Adjust exports
* default export adjustments
* Some additional non-default exports
2020-11-09 19:41:29 +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
ea3ee428d8
Rework asLatest update ( #2802 )
...
* Revert "[CI Skip] release/beta 2.4.2-10"
This reverts commit 5cb1c2d33a .
* Revert "Use asLatest in metadata extraction (#2800 )"
This reverts commit 600666de1c .
* Bumps
* Expansion
* Flatten
* Metadata class imports
* Cleanup Decorate exports
* Move Metadata to top-level
* Swap logger on ABI
* Adjust imports
* Cleanups
* Updates
2020-10-29 11:59:37 +01:00
Jaco Greeff
600666de1c
Use asLatest in metadata extraction ( #2800 )
...
* User asLatest in metadata extraction
* Cleanup Decorated, bump
* linting
* cleanup decorate
* Remove registry arg from Decorated
2020-10-29 09:05:53 +01:00
Jaco Greeff
fb377fb0d4
Adjust index WS imports ( #2785 )
2020-10-26 22:36:03 +01:00
Mokhtar Naamani and Jaco Greeff
773618acfb
Disable websocket outgoing message fragmentation for w3cwebsocket ( #2738 )
...
* Disable websocket outgoing message fragmentation for w3cwebsocket
* Message fragmentation with 256K fragment size
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
2020-10-16 21:57:26 +02:00
Jaco Greeff
27c58b930b
Reformat RPC errors (with less trimming) ( #2668 )
...
* Reformat RPC errors (with less trimming)
* Adjust decoding
2020-10-02 13:38: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
c10e4d3fc1
Use polyfills from polkadot-js ( #2616 )
...
* Use polyfills from polkadot-js
* no empty catch
* Non-working asjustments
* Adjust WS mocking
* Bump polyfills
* Bumps
* Restore common
2020-09-17 10:05:34 +02:00
Jaco Greeff
2a36987140
Bump deps (incl. isomorphic-fetch replacement) ( #2614 )
...
* Bump deps (incl. isomorphic-fetch replacement)
* Bump ts
2020-09-16 08:53:50 +02:00
Jaco Greeff
e425a38a7c
Cleanups for WebSocket class detection and creation ( #2604 )
...
* Cleanups for WebSocket class detection and creation
* Create change
2020-09-14 13:08:28 +02:00
Jaco Greeff
ad8ad42344
Map Websocket error codes to short descriptions ( #2601 )
2020-09-13 14:23:00 +02:00
Jaco Greeff
5af98cc89e
Retry WS on initial connection failures ( #2585 )
2020-09-05 14:30:55 +02:00
Jaco Greeff
00bc441f0e
Add connected() to API interface ( #2580 )
...
* Add connected() to API interface
* Slight doc update
* Align ApiRx
* isConnected() usage
* Updates
* Retrieve isConnected for API via observable
* Remove (now) useless Rx test
2020-09-04 17:57:02 +02:00
Brad Larson and Brad Larson
f821ab8ecd
[NEW] Support for custom headers with providers ( #2423 )
...
* [NEW] Support for custom headers with providers
This allows the user to supply arbitrary headers when constructing the
providers.
* [FIX] null -> undefined, use isChildClass
Co-authored-by: Brad Larson <brad@polychain.capital >
2020-07-14 14:49:42 +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
7310ea825e
Allow for string subids ( #2335 )
2020-06-07 19:16:16 +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
c35f31bfbd
Adjust mock timeouts ( #2244 )
...
* Adjust mock timeouts
* Play with timeouts some more...
* Ooops, overzealous search-and-replace
2020-05-06 15:36:20 +02:00
Hoani Bryson and Jaco Greeff
102a06b0f2
Multiple Endpoint support for WsProvider ( #2234 )
...
* Fix incorrect ws connect test cases
* Make endpoint an array of endpoints
* Add requirement that WsProvider endpoint arrays must not be empty
* Simple endpoint increment
* Add multi-endpoint test for endpoint closing its connection
* Implement endpoint round robin
* Revert change to mock's TEST_WS_URL
* Address Lint errors
* Change endpoint variable to plural in WsProvider
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
* Review corrections to WsProvider
* Grouping improvement in WsProvider connect
* Correct endpoint logging to only show the specific endpoint involved
* Correct ordering of endpoint increment on connect
Co-authored-by: Jaco Greeff <jacogr@gmail.com >
2020-05-06 14:42:30 +02:00
Jake Naviasky
04c8d49e9d
Add configurable provider auto-reconnect time. ( #2215 )
2020-04-29 17:39:31 +02:00