starknet 9.2.2 → 9.3.0
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.
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.global.js +4 -3
- package/dist/index.global.js.map +1 -1
- package/dist/index.js +4 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -515,7 +515,8 @@ var DEFAULT_GLOBAL_CONFIG = {
|
|
|
515
515
|
options: {
|
|
516
516
|
headers: { "Content-Type": "application/json" },
|
|
517
517
|
blockIdentifier: BlockTag.LATEST,
|
|
518
|
-
retries: 200
|
|
518
|
+
retries: 200,
|
|
519
|
+
transactionRetryIntervalFallback: 5e3
|
|
519
520
|
},
|
|
520
521
|
methods: {
|
|
521
522
|
simulateTransaction: {
|
|
@@ -6008,7 +6009,7 @@ var RpcChannel = class {
|
|
|
6008
6009
|
this.headers = { ...channelDefaults.options.headers, ...headers };
|
|
6009
6010
|
this.retries = retries ?? channelDefaults.options.retries;
|
|
6010
6011
|
this.specVersion = specVersion;
|
|
6011
|
-
this.transactionRetryIntervalFallback = transactionRetryIntervalFallback;
|
|
6012
|
+
this.transactionRetryIntervalFallback = transactionRetryIntervalFallback ?? channelDefaults.options.transactionRetryIntervalFallback;
|
|
6012
6013
|
this.waitMode = waitMode ?? false;
|
|
6013
6014
|
this.requestId = 0;
|
|
6014
6015
|
if (isNumber(batch)) {
|
|
@@ -6606,7 +6607,7 @@ var RpcChannel2 = class {
|
|
|
6606
6607
|
this.headers = { ...channelDefaults.options.headers, ...headers };
|
|
6607
6608
|
this.retries = retries ?? channelDefaults.options.retries;
|
|
6608
6609
|
this.specVersion = specVersion;
|
|
6609
|
-
this.transactionRetryIntervalFallback = transactionRetryIntervalFallback;
|
|
6610
|
+
this.transactionRetryIntervalFallback = transactionRetryIntervalFallback ?? channelDefaults.options.transactionRetryIntervalFallback;
|
|
6610
6611
|
this.waitMode = waitMode ?? false;
|
|
6611
6612
|
this.requestId = 0;
|
|
6612
6613
|
if (isNumber(batch)) {
|