@0xsequence/account 2.3.26 → 2.3.27
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.
|
@@ -140,7 +140,7 @@ export declare class Account {
|
|
|
140
140
|
migratedAllChains: boolean;
|
|
141
141
|
failedChains: number[];
|
|
142
142
|
}>;
|
|
143
|
-
sendSignedTransactions(signedBundle: commons.transaction.IntendedTransactionBundle | commons.transaction.IntendedTransactionBundle[], chainId: ethers.BigNumberish, quote?: FeeQuote, pstatus?: AccountStatus, callback?: (bundle: commons.transaction.IntendedTransactionBundle) => void, projectAccessKey?: string, waitForReceipt?: boolean): Promise<
|
|
143
|
+
sendSignedTransactions(signedBundle: commons.transaction.IntendedTransactionBundle | commons.transaction.IntendedTransactionBundle[], chainId: ethers.BigNumberish, quote?: FeeQuote, pstatus?: AccountStatus, callback?: (bundle: commons.transaction.IntendedTransactionBundle) => void, projectAccessKey?: string, waitForReceipt?: boolean): Promise<commons.transaction.TransactionResponse>;
|
|
144
144
|
fillGasLimits(txs: commons.transaction.Transactionish, chainId: ethers.BigNumberish, status?: AccountStatus): Promise<commons.transaction.SimulatedTransaction[]>;
|
|
145
145
|
gasRefundQuotes(txs: commons.transaction.Transactionish, chainId: ethers.BigNumberish, stubSignatureOverrides: Map<string, string>, status?: AccountStatus, options?: {
|
|
146
146
|
simulate?: boolean;
|
|
@@ -162,7 +162,7 @@ export declare class Account {
|
|
|
162
162
|
serial?: boolean;
|
|
163
163
|
projectAccessKey?: string;
|
|
164
164
|
waitForReceipt?: boolean;
|
|
165
|
-
}): Promise<
|
|
165
|
+
}): Promise<commons.transaction.TransactionResponse | undefined>;
|
|
166
166
|
signTypedData(domain: ethers.TypedDataDomain, types: Record<string, Array<ethers.TypedDataField>>, message: Record<string, any>, chainId: ethers.BigNumberish, cantValidateBehavior?: 'ignore' | 'eip6492' | 'throw'): Promise<string>;
|
|
167
167
|
getSigners(): Promise<Array<{
|
|
168
168
|
address: string;
|
|
@@ -41,7 +41,7 @@ export declare class AccountSigner implements ethers.AbstractSigner<ethers.Provi
|
|
|
41
41
|
simulateForFeeOptions?: boolean;
|
|
42
42
|
projectAccessKey?: string;
|
|
43
43
|
waitForReceipt?: boolean;
|
|
44
|
-
}): Promise<
|
|
44
|
+
}): Promise<commons.transaction.TransactionResponse>;
|
|
45
45
|
getBalance(blockTag?: ethers.BlockTag | undefined): Promise<bigint>;
|
|
46
46
|
call(transaction: ethers.TransactionRequest, blockTag?: ethers.BlockTag): Promise<string>;
|
|
47
47
|
resolveName(name: string): Promise<string>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xsequence/account",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.27",
|
|
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/
|
|
16
|
-
"@0xsequence/
|
|
17
|
-
"@0xsequence/
|
|
18
|
-
"@0xsequence/
|
|
19
|
-
"@0xsequence/
|
|
20
|
-
"@0xsequence/
|
|
21
|
-
"@0xsequence/
|
|
22
|
-
"@0xsequence/
|
|
15
|
+
"@0xsequence/abi": "2.3.27",
|
|
16
|
+
"@0xsequence/core": "2.3.27",
|
|
17
|
+
"@0xsequence/network": "2.3.27",
|
|
18
|
+
"@0xsequence/migration": "2.3.27",
|
|
19
|
+
"@0xsequence/relayer": "2.3.27",
|
|
20
|
+
"@0xsequence/utils": "2.3.27",
|
|
21
|
+
"@0xsequence/sessions": "2.3.27",
|
|
22
|
+
"@0xsequence/wallet": "2.3.27"
|
|
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.3.
|
|
29
|
-
"@0xsequence/tests": "2.3.
|
|
28
|
+
"@0xsequence/signhub": "2.3.27",
|
|
29
|
+
"@0xsequence/tests": "2.3.27"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"src",
|
package/src/account.ts
CHANGED
|
@@ -948,7 +948,7 @@ export class Account {
|
|
|
948
948
|
callback?: (bundle: commons.transaction.IntendedTransactionBundle) => void,
|
|
949
949
|
projectAccessKey?: string,
|
|
950
950
|
waitForReceipt?: boolean
|
|
951
|
-
): Promise<
|
|
951
|
+
): Promise<commons.transaction.TransactionResponse> {
|
|
952
952
|
if (!Array.isArray(signedBundle)) {
|
|
953
953
|
return this.sendSignedTransactions([signedBundle], chainId, quote, pstatus, callback, projectAccessKey)
|
|
954
954
|
}
|
|
@@ -1050,8 +1050,8 @@ export class Account {
|
|
|
1050
1050
|
serial?: boolean
|
|
1051
1051
|
projectAccessKey?: string,
|
|
1052
1052
|
waitForReceipt?: boolean
|
|
1053
|
-
}
|
|
1054
|
-
): Promise<
|
|
1053
|
+
}
|
|
1054
|
+
): Promise<commons.transaction.TransactionResponse | undefined> {
|
|
1055
1055
|
const status = await this.status(chainId)
|
|
1056
1056
|
|
|
1057
1057
|
const predecorated = skipPreDecorate ? txs : await this.predecorateTransactions(txs, status, chainId)
|
package/src/signer.ts
CHANGED
|
@@ -152,7 +152,7 @@ export class AccountSigner implements ethers.AbstractSigner<ethers.Provider> {
|
|
|
152
152
|
projectAccessKey?: string
|
|
153
153
|
waitForReceipt?: boolean
|
|
154
154
|
}
|
|
155
|
-
): Promise<
|
|
155
|
+
): Promise<commons.transaction.TransactionResponse> {
|
|
156
156
|
const prepare = await this.account.prepareTransactions({
|
|
157
157
|
txs,
|
|
158
158
|
chainId: this.chainId,
|
|
@@ -176,7 +176,7 @@ export class AccountSigner implements ethers.AbstractSigner<ethers.Provider> {
|
|
|
176
176
|
projectAccessKey: options?.projectAccessKey,
|
|
177
177
|
waitForReceipt: options?.waitForReceipt
|
|
178
178
|
}
|
|
179
|
-
) as Promise<
|
|
179
|
+
) as Promise<commons.transaction.TransactionResponse> // Will always have a transaction response
|
|
180
180
|
}
|
|
181
181
|
|
|
182
182
|
getBalance(blockTag?: ethers.BlockTag | undefined): Promise<bigint> {
|