@0xsequence/account 2.0.21 → 2.0.23
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.
|
@@ -525,7 +525,7 @@ class Account {
|
|
|
525
525
|
const decoded = this.coders.signature.decode(signature);
|
|
526
526
|
const signatures = this.coders.signature.signaturesOfDecoded(decoded);
|
|
527
527
|
if (signatures.length === 0) {
|
|
528
|
-
throw new Error(
|
|
528
|
+
throw new Error('No signatures found');
|
|
529
529
|
}
|
|
530
530
|
return this.tracker.saveWitnesses({
|
|
531
531
|
wallet: this.address,
|
|
@@ -525,7 +525,7 @@ class Account {
|
|
|
525
525
|
const decoded = this.coders.signature.decode(signature);
|
|
526
526
|
const signatures = this.coders.signature.signaturesOfDecoded(decoded);
|
|
527
527
|
if (signatures.length === 0) {
|
|
528
|
-
throw new Error(
|
|
528
|
+
throw new Error('No signatures found');
|
|
529
529
|
}
|
|
530
530
|
return this.tracker.saveWitnesses({
|
|
531
531
|
wallet: this.address,
|
|
@@ -521,7 +521,7 @@ class Account {
|
|
|
521
521
|
const decoded = this.coders.signature.decode(signature);
|
|
522
522
|
const signatures = this.coders.signature.signaturesOfDecoded(decoded);
|
|
523
523
|
if (signatures.length === 0) {
|
|
524
|
-
throw new Error(
|
|
524
|
+
throw new Error('No signatures found');
|
|
525
525
|
}
|
|
526
526
|
return this.tracker.saveWitnesses({
|
|
527
527
|
wallet: this.address,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xsequence/account",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.23",
|
|
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/core": "2.0.23",
|
|
16
|
+
"@0xsequence/migration": "2.0.23",
|
|
17
|
+
"@0xsequence/abi": "2.0.23",
|
|
18
|
+
"@0xsequence/relayer": "2.0.23",
|
|
19
|
+
"@0xsequence/utils": "2.0.23",
|
|
20
|
+
"@0xsequence/wallet": "2.0.23",
|
|
21
|
+
"@0xsequence/sessions": "2.0.23",
|
|
22
|
+
"@0xsequence/network": "2.0.23"
|
|
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.
|
|
29
|
-
"@0xsequence/tests": "2.0.
|
|
28
|
+
"@0xsequence/signhub": "2.0.23",
|
|
29
|
+
"@0xsequence/tests": "2.0.23"
|
|
30
30
|
},
|
|
31
31
|
"files": [
|
|
32
32
|
"src",
|
package/src/account.ts
CHANGED
|
@@ -500,7 +500,7 @@ export class Account {
|
|
|
500
500
|
signers: signers.map(s => ({
|
|
501
501
|
address: s,
|
|
502
502
|
weight: 1
|
|
503
|
-
}))
|
|
503
|
+
}))
|
|
504
504
|
})
|
|
505
505
|
|
|
506
506
|
const wallet = this.walletFor(chainId, status.original.context, allOfAll, this.coders)
|
|
@@ -510,7 +510,7 @@ export class Account {
|
|
|
510
510
|
const signatures = this.coders.signature.signaturesOfDecoded(decoded)
|
|
511
511
|
|
|
512
512
|
if (signatures.length === 0) {
|
|
513
|
-
throw new Error(
|
|
513
|
+
throw new Error('No signatures found')
|
|
514
514
|
}
|
|
515
515
|
|
|
516
516
|
return this.tracker.saveWitnesses({ wallet: this.address, digest, chainId, signatures })
|