@injectivelabs/wallet-turnkey 1.15.40 → 1.15.41

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.
@@ -201,8 +201,8 @@ class TurnkeyWalletStrategy extends wallet_base_1.BaseConcreteStrategy {
201
201
  }
202
202
  async getEvmTransactionReceipt(txHash, ethereumChainId) {
203
203
  const options = this.ethereumOptions;
204
- const maxAttempts = 5;
205
- const interval = 1000;
204
+ const maxAttempts = 10;
205
+ const interval = 3000;
206
206
  const chainId = ethereumChainId || options.ethereumChainId;
207
207
  const url = options.rpcUrl || options.rpcUrls?.[chainId];
208
208
  if (!url) {
@@ -198,8 +198,8 @@ export class TurnkeyWalletStrategy extends BaseConcreteStrategy {
198
198
  }
199
199
  async getEvmTransactionReceipt(txHash, ethereumChainId) {
200
200
  const options = this.ethereumOptions;
201
- const maxAttempts = 5;
202
- const interval = 1000;
201
+ const maxAttempts = 10;
202
+ const interval = 3000;
203
203
  const chainId = ethereumChainId || options.ethereumChainId;
204
204
  const url = options.rpcUrl || options.rpcUrls?.[chainId];
205
205
  if (!url) {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@injectivelabs/wallet-turnkey",
3
3
  "description": "Turnkey wallet strategy for use with @injectivelabs/wallet-core.",
4
- "version": "1.15.40",
4
+ "version": "1.15.41",
5
5
  "sideEffects": false,
6
6
  "publishConfig": {
7
7
  "access": "public"
@@ -59,11 +59,11 @@
59
59
  "start": "node dist/index.js"
60
60
  },
61
61
  "dependencies": {
62
- "@injectivelabs/exceptions": "^1.15.37",
63
- "@injectivelabs/sdk-ts": "^1.15.40",
64
- "@injectivelabs/ts-types": "^1.15.38",
65
- "@injectivelabs/utils": "^1.15.38",
66
- "@injectivelabs/wallet-base": "^1.15.40",
62
+ "@injectivelabs/exceptions": "^1.15.38",
63
+ "@injectivelabs/sdk-ts": "^1.15.41",
64
+ "@injectivelabs/ts-types": "^1.15.39",
65
+ "@injectivelabs/utils": "^1.15.39",
66
+ "@injectivelabs/wallet-base": "^1.15.41",
67
67
  "@turnkey/sdk-browser": "5.2.3",
68
68
  "@turnkey/viem": "^0.9.9",
69
69
  "viem": "^2.31.3"
@@ -77,5 +77,5 @@
77
77
  "tsconfig-paths": "^4.2.0",
78
78
  "typescript": "^5.0.0"
79
79
  },
80
- "gitHead": "b85c4cad0795ce96fa9831f7ea3648fe0876ddb2"
80
+ "gitHead": "df725078e865f07678eaad5084324929a8a75d41"
81
81
  }