@0xsequence/account 0.0.0-20240123145607 → 0.0.0-20240123153410
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
|
|
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
|
|
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
|
|
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-
|
|
3
|
+
"version": "0.0.0-20240123153410",
|
|
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-
|
|
14
|
-
"@0xsequence/core": "0.0.0-
|
|
15
|
-
"@0xsequence/
|
|
16
|
-
"@0xsequence/
|
|
17
|
-
"@0xsequence/
|
|
18
|
-
"@0xsequence/
|
|
19
|
-
"@0xsequence/
|
|
20
|
-
"@0xsequence/
|
|
13
|
+
"@0xsequence/abi": "0.0.0-20240123153410",
|
|
14
|
+
"@0xsequence/core": "0.0.0-20240123153410",
|
|
15
|
+
"@0xsequence/migration": "0.0.0-20240123153410",
|
|
16
|
+
"@0xsequence/network": "0.0.0-20240123153410",
|
|
17
|
+
"@0xsequence/relayer": "0.0.0-20240123153410",
|
|
18
|
+
"@0xsequence/sessions": "0.0.0-20240123153410",
|
|
19
|
+
"@0xsequence/utils": "0.0.0-20240123153410",
|
|
20
|
+
"@0xsequence/wallet": "0.0.0-20240123153410"
|
|
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-
|
|
26
|
-
"@0xsequence/tests": "0.0.0-
|
|
25
|
+
"@0xsequence/signhub": "0.0.0-20240123153410",
|
|
26
|
+
"@0xsequence/tests": "0.0.0-20240123153410"
|
|
27
27
|
},
|
|
28
28
|
"files": [
|
|
29
29
|
"src",
|