@0xsequence/account 0.0.0-20240123145607 → 0.0.0-20240123145919

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.
@@ -143,7 +143,6 @@ class AccountSigner {
143
143
  nonceSpace: this.options.nonceSpace
144
144
  } : undefined); // Will always have a transaction response
145
145
  }
146
-
147
146
  getBalance(blockTag) {
148
147
  return this.provider.getBalance(this.account.address, blockTag);
149
148
  }
@@ -825,7 +824,7 @@ class Account {
825
824
  const status = pstatus || (await this.status(chainId));
826
825
  this.mustBeFullyMigrated(status);
827
826
  const decoratedBundle = await this.decorateTransactions(signedBundle, status, chainId);
828
- callback == null ? void 0 : callback(decoratedBundle);
827
+ callback == null || callback(decoratedBundle);
829
828
  return this.relayer(chainId).relay(decoratedBundle, quote);
830
829
  }
831
830
  async fillGasLimits(txs, chainId, status) {
@@ -856,7 +855,6 @@ class Account {
856
855
  entrypoint: this.address,
857
856
  nonce: 0 // The relayer also ignored the nonce
858
857
  };
859
-
860
858
  const decoratedBundle = await this.decorateTransactions(signedBundle, wstatus);
861
859
  const data = core.commons.transaction.encodeBundleExecData(decoratedBundle);
862
860
  const res = await this.relayer(chainId).getFeeOptionsRaw(decoratedBundle.entrypoint, data, options);
@@ -143,7 +143,6 @@ class AccountSigner {
143
143
  nonceSpace: this.options.nonceSpace
144
144
  } : undefined); // Will always have a transaction response
145
145
  }
146
-
147
146
  getBalance(blockTag) {
148
147
  return this.provider.getBalance(this.account.address, blockTag);
149
148
  }
@@ -825,7 +824,7 @@ class Account {
825
824
  const status = pstatus || (await this.status(chainId));
826
825
  this.mustBeFullyMigrated(status);
827
826
  const decoratedBundle = await this.decorateTransactions(signedBundle, status, chainId);
828
- callback == null ? void 0 : callback(decoratedBundle);
827
+ callback == null || callback(decoratedBundle);
829
828
  return this.relayer(chainId).relay(decoratedBundle, quote);
830
829
  }
831
830
  async fillGasLimits(txs, chainId, status) {
@@ -856,7 +855,6 @@ class Account {
856
855
  entrypoint: this.address,
857
856
  nonce: 0 // The relayer also ignored the nonce
858
857
  };
859
-
860
858
  const decoratedBundle = await this.decorateTransactions(signedBundle, wstatus);
861
859
  const data = core.commons.transaction.encodeBundleExecData(decoratedBundle);
862
860
  const res = await this.relayer(chainId).getFeeOptionsRaw(decoratedBundle.entrypoint, data, options);
@@ -139,7 +139,6 @@ class AccountSigner {
139
139
  nonceSpace: this.options.nonceSpace
140
140
  } : undefined); // Will always have a transaction response
141
141
  }
142
-
143
142
  getBalance(blockTag) {
144
143
  return this.provider.getBalance(this.account.address, blockTag);
145
144
  }
@@ -821,7 +820,7 @@ class Account {
821
820
  const status = pstatus || (await this.status(chainId));
822
821
  this.mustBeFullyMigrated(status);
823
822
  const decoratedBundle = await this.decorateTransactions(signedBundle, status, chainId);
824
- callback == null ? void 0 : callback(decoratedBundle);
823
+ callback == null || callback(decoratedBundle);
825
824
  return this.relayer(chainId).relay(decoratedBundle, quote);
826
825
  }
827
826
  async fillGasLimits(txs, chainId, status) {
@@ -852,7 +851,6 @@ class Account {
852
851
  entrypoint: this.address,
853
852
  nonce: 0 // The relayer also ignored the nonce
854
853
  };
855
-
856
854
  const decoratedBundle = await this.decorateTransactions(signedBundle, wstatus);
857
855
  const data = commons.transaction.encodeBundleExecData(decoratedBundle);
858
856
  const res = await this.relayer(chainId).getFeeOptionsRaw(decoratedBundle.entrypoint, data, options);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsequence/account",
3
- "version": "0.0.0-20240123145607",
3
+ "version": "0.0.0-20240123145919",
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",
@@ -10,20 +10,20 @@
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "ethers": "^5.5.2",
13
- "@0xsequence/abi": "0.0.0-20240123145607",
14
- "@0xsequence/core": "0.0.0-20240123145607",
15
- "@0xsequence/network": "0.0.0-20240123145607",
16
- "@0xsequence/relayer": "0.0.0-20240123145607",
17
- "@0xsequence/utils": "0.0.0-20240123145607",
18
- "@0xsequence/migration": "0.0.0-20240123145607",
19
- "@0xsequence/wallet": "0.0.0-20240123145607",
20
- "@0xsequence/sessions": "0.0.0-20240123145607"
13
+ "@0xsequence/abi": "0.0.0-20240123145919",
14
+ "@0xsequence/core": "0.0.0-20240123145919",
15
+ "@0xsequence/migration": "0.0.0-20240123145919",
16
+ "@0xsequence/network": "0.0.0-20240123145919",
17
+ "@0xsequence/relayer": "0.0.0-20240123145919",
18
+ "@0xsequence/sessions": "0.0.0-20240123145919",
19
+ "@0xsequence/utils": "0.0.0-20240123145919",
20
+ "@0xsequence/wallet": "0.0.0-20240123145919"
21
21
  },
22
22
  "devDependencies": {
23
23
  "@istanbuljs/nyc-config-typescript": "^1.0.2",
24
24
  "nyc": "^15.1.0",
25
- "@0xsequence/signhub": "0.0.0-20240123145607",
26
- "@0xsequence/tests": "0.0.0-20240123145607"
25
+ "@0xsequence/signhub": "0.0.0-20240123145919",
26
+ "@0xsequence/tests": "0.0.0-20240123145919"
27
27
  },
28
28
  "files": [
29
29
  "src",