@parity/dotns-cli 0.5.2 → 0.5.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +6 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -252659,6 +252659,8 @@ var WAVE_TIMEOUT_MS = 60000;
252659
252659
  var STORE_CALL_TIMEOUT_MS = 60000;
252660
252660
  var FINAL_STORE_CALL_TIMEOUT_MS = 180000;
252661
252661
  var FETCH_NONCE_TIMEOUT_MS = 15000;
252662
+ var WS_HEARTBEAT_TIMEOUT_MS = 300000;
252663
+ var WS_CONNECT_TIMEOUT_MS = 1e4;
252662
252664
  var rxUnhandledErrorGuardInstalled = false;
252663
252665
  function formatDispatchError(dispatchError) {
252664
252666
  if (dispatchError.type === "Module") {
@@ -252917,7 +252919,10 @@ async function runWaveWithRetries(parameters) {
252917
252919
  }
252918
252920
  function createBulletinClient(rpc) {
252919
252921
  installRxUnhandledErrorGuard();
252920
- return createClient3(withPolkadotSdkCompat(getWsProvider(rpc)));
252922
+ return createClient3(withPolkadotSdkCompat(getWsProvider(rpc, {
252923
+ heartbeatTimeout: WS_HEARTBEAT_TIMEOUT_MS,
252924
+ timeout: WS_CONNECT_TIMEOUT_MS
252925
+ })));
252921
252926
  }
252922
252927
  async function storeContentOnBulletin(parameters) {
252923
252928
  const {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@parity/dotns-cli",
3
3
  "module": "index.ts",
4
- "version": "0.5.2",
4
+ "version": "0.5.3",
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.2.6",
7
7
  "files": [