@0xsequence/account 1.1.1 → 1.1.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0xsequence/account",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
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,19 +10,19 @@
10
10
  "license": "Apache-2.0",
11
11
  "dependencies": {
12
12
  "ethers": "^5.5.2",
13
- "@0xsequence/core": "1.1.1",
14
- "@0xsequence/migration": "1.1.1",
15
- "@0xsequence/network": "1.1.1",
16
- "@0xsequence/relayer": "1.1.1",
17
- "@0xsequence/sessions": "1.1.1",
18
- "@0xsequence/utils": "1.1.1",
19
- "@0xsequence/wallet": "1.1.1"
13
+ "@0xsequence/core": "1.1.2",
14
+ "@0xsequence/network": "1.1.2",
15
+ "@0xsequence/migration": "1.1.2",
16
+ "@0xsequence/relayer": "1.1.2",
17
+ "@0xsequence/sessions": "1.1.2",
18
+ "@0xsequence/utils": "1.1.2",
19
+ "@0xsequence/wallet": "1.1.2"
20
20
  },
21
21
  "devDependencies": {
22
22
  "@istanbuljs/nyc-config-typescript": "^1.0.2",
23
23
  "nyc": "^15.1.0",
24
- "@0xsequence/signhub": "1.1.1",
25
- "@0xsequence/tests": "1.1.1"
24
+ "@0xsequence/signhub": "1.1.2",
25
+ "@0xsequence/tests": "1.1.2"
26
26
  },
27
27
  "files": [
28
28
  "src",
package/src/account.ts CHANGED
@@ -462,11 +462,7 @@ export class Account {
462
462
  return decorated
463
463
  }
464
464
 
465
- private buildEIP6492Signature(
466
- signature: string,
467
- status: AccountStatus,
468
- chainId: ethers.BigNumberish
469
- ): string {
465
+ private buildEIP6492Signature(signature: string, status: AccountStatus, chainId: ethers.BigNumberish): string {
470
466
  const bootstrapBundle = this.buildBootstrapTransactions(status, chainId)
471
467
  if (bootstrapBundle.transactions.length === 0) {
472
468
  throw new Error('Cannot build EIP-6492 signature without bootstrap transactions')
@@ -477,10 +473,7 @@ export class Account {
477
473
  [bootstrapBundle.entrypoint, commons.transaction.encodeBundleExecData(bootstrapBundle), signature]
478
474
  )
479
475
 
480
- return ethers.utils.solidityPack(
481
- ['bytes', 'bytes32'],
482
- [encoded, commons.EIP6492.EIP_6492_SUFFIX]
483
- )
476
+ return ethers.utils.solidityPack(['bytes', 'bytes32'], [encoded, commons.EIP6492.EIP_6492_SUFFIX])
484
477
  }
485
478
 
486
479
  async editConfig(changes: {
package/src/index.ts CHANGED
@@ -1,2 +1 @@
1
-
2
1
  export * from './account'