starknet 9.2.1 → 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 +12 -0
- package/dist/index.d.ts +102 -97
- 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.mjs
CHANGED
|
@@ -338,7 +338,8 @@ var DEFAULT_GLOBAL_CONFIG = {
|
|
|
338
338
|
options: {
|
|
339
339
|
headers: { "Content-Type": "application/json" },
|
|
340
340
|
blockIdentifier: BlockTag.LATEST,
|
|
341
|
-
retries: 200
|
|
341
|
+
retries: 200,
|
|
342
|
+
transactionRetryIntervalFallback: 5e3
|
|
342
343
|
},
|
|
343
344
|
methods: {
|
|
344
345
|
simulateTransaction: {
|
|
@@ -5831,7 +5832,7 @@ var RpcChannel = class {
|
|
|
5831
5832
|
this.headers = { ...channelDefaults.options.headers, ...headers };
|
|
5832
5833
|
this.retries = retries ?? channelDefaults.options.retries;
|
|
5833
5834
|
this.specVersion = specVersion;
|
|
5834
|
-
this.transactionRetryIntervalFallback = transactionRetryIntervalFallback;
|
|
5835
|
+
this.transactionRetryIntervalFallback = transactionRetryIntervalFallback ?? channelDefaults.options.transactionRetryIntervalFallback;
|
|
5835
5836
|
this.waitMode = waitMode ?? false;
|
|
5836
5837
|
this.requestId = 0;
|
|
5837
5838
|
if (isNumber(batch)) {
|
|
@@ -6429,7 +6430,7 @@ var RpcChannel2 = class {
|
|
|
6429
6430
|
this.headers = { ...channelDefaults.options.headers, ...headers };
|
|
6430
6431
|
this.retries = retries ?? channelDefaults.options.retries;
|
|
6431
6432
|
this.specVersion = specVersion;
|
|
6432
|
-
this.transactionRetryIntervalFallback = transactionRetryIntervalFallback;
|
|
6433
|
+
this.transactionRetryIntervalFallback = transactionRetryIntervalFallback ?? channelDefaults.options.transactionRetryIntervalFallback;
|
|
6433
6434
|
this.waitMode = waitMode ?? false;
|
|
6434
6435
|
this.requestId = 0;
|
|
6435
6436
|
if (isNumber(batch)) {
|