@0xsequence/account 2.0.25 → 2.0.26

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.
@@ -695,7 +695,7 @@ class Account {
695
695
  // Add wallet deployment if needed
696
696
  if (!status.onChain.deployed) {
697
697
  let gasLimit;
698
- switch (chainId) {
698
+ switch (BigInt(chainId)) {
699
699
  case BigInt(network.ChainId.SKALE_NEBULA):
700
700
  gasLimit = 10000000n;
701
701
  break;
@@ -695,7 +695,7 @@ class Account {
695
695
  // Add wallet deployment if needed
696
696
  if (!status.onChain.deployed) {
697
697
  let gasLimit;
698
- switch (chainId) {
698
+ switch (BigInt(chainId)) {
699
699
  case BigInt(network.ChainId.SKALE_NEBULA):
700
700
  gasLimit = 10000000n;
701
701
  break;
@@ -691,7 +691,7 @@ class Account {
691
691
  // Add wallet deployment if needed
692
692
  if (!status.onChain.deployed) {
693
693
  let gasLimit;
694
- switch (chainId) {
694
+ switch (BigInt(chainId)) {
695
695
  case BigInt(ChainId.SKALE_NEBULA):
696
696
  gasLimit = 10000000n;
697
697
  break;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsequence/account",
3
- "version": "2.0.25",
3
+ "version": "2.0.26",
4
4
  "description": "tools for migrating sequence wallets to new versions",
5
5
  "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/account",
6
6
  "source": "src/index.ts",
@@ -12,21 +12,21 @@
12
12
  "ethers": ">=6"
13
13
  },
14
14
  "dependencies": {
15
- "@0xsequence/abi": "2.0.25",
16
- "@0xsequence/core": "2.0.25",
17
- "@0xsequence/migration": "2.0.25",
18
- "@0xsequence/network": "2.0.25",
19
- "@0xsequence/relayer": "2.0.25",
20
- "@0xsequence/sessions": "2.0.25",
21
- "@0xsequence/utils": "2.0.25",
22
- "@0xsequence/wallet": "2.0.25"
15
+ "@0xsequence/abi": "2.0.26",
16
+ "@0xsequence/core": "2.0.26",
17
+ "@0xsequence/migration": "2.0.26",
18
+ "@0xsequence/network": "2.0.26",
19
+ "@0xsequence/relayer": "2.0.26",
20
+ "@0xsequence/sessions": "2.0.26",
21
+ "@0xsequence/utils": "2.0.26",
22
+ "@0xsequence/wallet": "2.0.26"
23
23
  },
24
24
  "devDependencies": {
25
25
  "@istanbuljs/nyc-config-typescript": "^1.0.2",
26
26
  "ethers": "6.13.4",
27
27
  "nyc": "^15.1.0",
28
- "@0xsequence/signhub": "2.0.25",
29
- "@0xsequence/tests": "2.0.25"
28
+ "@0xsequence/signhub": "2.0.26",
29
+ "@0xsequence/tests": "2.0.26"
30
30
  },
31
31
  "files": [
32
32
  "src",
package/src/account.ts CHANGED
@@ -701,7 +701,7 @@ export class Account {
701
701
  // Add wallet deployment if needed
702
702
  if (!status.onChain.deployed) {
703
703
  let gasLimit: bigint | undefined
704
- switch (chainId) {
704
+ switch (BigInt(chainId)) {
705
705
  case BigInt(ChainId.SKALE_NEBULA):
706
706
  gasLimit = 10000000n
707
707
  break