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 CHANGED
@@ -1,3 +1,9 @@
1
+ # [9.3.0](https://github.com/starknet-io/starknet.js/compare/v9.2.2...v9.3.0) (2025-12-19)
2
+
3
+ ### Features
4
+
5
+ - add transactionRetryIntervalFallback to the global config ([9014c3c](https://github.com/starknet-io/starknet.js/commit/9014c3c6725d7c0b12d2d369f7c57cb73b9e45af))
6
+
1
7
  ## [9.2.2](https://github.com/starknet-io/starknet.js/compare/v9.2.1...v9.2.2) (2025-12-17)
2
8
 
3
9
  ### Bug Fixes
package/dist/index.d.ts CHANGED
@@ -3903,6 +3903,7 @@ type ChannelDefaultOptions = {
3903
3903
  headers: Record<string, string>;
3904
3904
  blockIdentifier: BlockTag;
3905
3905
  retries: number;
3906
+ transactionRetryIntervalFallback: number;
3906
3907
  };
3907
3908
  /**
3908
3909
  * Channel defaults configuration
@@ -1222,7 +1222,8 @@ var starknet = (() => {
1222
1222
  options: {
1223
1223
  headers: { "Content-Type": "application/json" },
1224
1224
  blockIdentifier: BlockTag.LATEST,
1225
- retries: 200
1225
+ retries: 200,
1226
+ transactionRetryIntervalFallback: 5e3
1226
1227
  },
1227
1228
  methods: {
1228
1229
  simulateTransaction: {
@@ -15068,7 +15069,7 @@ ${indent}}` : "}";
15068
15069
  this.headers = { ...channelDefaults.options.headers, ...headers };
15069
15070
  this.retries = retries ?? channelDefaults.options.retries;
15070
15071
  this.specVersion = specVersion;
15071
- this.transactionRetryIntervalFallback = transactionRetryIntervalFallback;
15072
+ this.transactionRetryIntervalFallback = transactionRetryIntervalFallback ?? channelDefaults.options.transactionRetryIntervalFallback;
15072
15073
  this.waitMode = waitMode ?? false;
15073
15074
  this.requestId = 0;
15074
15075
  if (isNumber2(batch)) {
@@ -15666,7 +15667,7 @@ ${indent}}` : "}";
15666
15667
  this.headers = { ...channelDefaults.options.headers, ...headers };
15667
15668
  this.retries = retries ?? channelDefaults.options.retries;
15668
15669
  this.specVersion = specVersion;
15669
- this.transactionRetryIntervalFallback = transactionRetryIntervalFallback;
15670
+ this.transactionRetryIntervalFallback = transactionRetryIntervalFallback ?? channelDefaults.options.transactionRetryIntervalFallback;
15670
15671
  this.waitMode = waitMode ?? false;
15671
15672
  this.requestId = 0;
15672
15673
  if (isNumber2(batch)) {