@0xsequence/account
Advanced tools
Comparing version 0.0.0-20230307215941 to 0.0.0-20230309013947
@@ -493,12 +493,11 @@ 'use strict'; | ||
var _this = this; | ||
const networks = this.networks; | ||
// Getting all status with `longestPath` set to true will give us all the possible configurations | ||
// between the current onChain config and the latest config, including the ones "flagged for removal" | ||
const statuses = await Promise.all(networks.map(n => this.status(n.chainId, true))); | ||
const allSigners = []; | ||
// We need to get the signers for each status | ||
await Promise.all(statuses.map(async function (status, inet) { | ||
const chainId = networks[inet].chainId; | ||
await Promise.all(this.networks.map(async function (network) { | ||
const chainId = network.chainId; | ||
// Getting the status with `longestPath` set to true will give us all the possible configurations | ||
// between the current onChain config and the latest config, including the ones "flagged for removal" | ||
const status = await _this.status(chainId, true); | ||
return Promise.all(status.presignedConfigurations.map(async function (update, iconf) { | ||
@@ -505,0 +504,0 @@ const isLast = iconf === status.presignedConfigurations.length - 1; |
@@ -493,12 +493,11 @@ 'use strict'; | ||
var _this = this; | ||
const networks = this.networks; | ||
// Getting all status with `longestPath` set to true will give us all the possible configurations | ||
// between the current onChain config and the latest config, including the ones "flagged for removal" | ||
const statuses = await Promise.all(networks.map(n => this.status(n.chainId, true))); | ||
const allSigners = []; | ||
// We need to get the signers for each status | ||
await Promise.all(statuses.map(async function (status, inet) { | ||
const chainId = networks[inet].chainId; | ||
await Promise.all(this.networks.map(async function (network) { | ||
const chainId = network.chainId; | ||
// Getting the status with `longestPath` set to true will give us all the possible configurations | ||
// between the current onChain config and the latest config, including the ones "flagged for removal" | ||
const status = await _this.status(chainId, true); | ||
return Promise.all(status.presignedConfigurations.map(async function (update, iconf) { | ||
@@ -505,0 +504,0 @@ const isLast = iconf === status.presignedConfigurations.length - 1; |
@@ -489,12 +489,11 @@ import { defaults, migrator, version } from '@0xsequence/migration'; | ||
var _this = this; | ||
const networks = this.networks; | ||
// Getting all status with `longestPath` set to true will give us all the possible configurations | ||
// between the current onChain config and the latest config, including the ones "flagged for removal" | ||
const statuses = await Promise.all(networks.map(n => this.status(n.chainId, true))); | ||
const allSigners = []; | ||
// We need to get the signers for each status | ||
await Promise.all(statuses.map(async function (status, inet) { | ||
const chainId = networks[inet].chainId; | ||
await Promise.all(this.networks.map(async function (network) { | ||
const chainId = network.chainId; | ||
// Getting the status with `longestPath` set to true will give us all the possible configurations | ||
// between the current onChain config and the latest config, including the ones "flagged for removal" | ||
const status = await _this.status(chainId, true); | ||
return Promise.all(status.presignedConfigurations.map(async function (update, iconf) { | ||
@@ -501,0 +500,0 @@ const isLast = iconf === status.presignedConfigurations.length - 1; |
{ | ||
"name": "@0xsequence/account", | ||
"version": "0.0.0-20230307215941", | ||
"version": "0.0.0-20230309013947", | ||
"description": "tools for migrating sequence wallets to new versions", | ||
@@ -12,14 +12,14 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/account", | ||
"dependencies": { | ||
"@0xsequence/core": "0.0.0-20230307215941", | ||
"@0xsequence/migration": "0.0.0-20230307215941", | ||
"@0xsequence/network": "0.0.0-20230307215941", | ||
"@0xsequence/relayer": "0.0.0-20230307215941", | ||
"@0xsequence/sessions": "0.0.0-20230307215941", | ||
"@0xsequence/utils": "0.0.0-20230307215941", | ||
"@0xsequence/wallet": "0.0.0-20230307215941", | ||
"@0xsequence/core": "0.0.0-20230309013947", | ||
"@0xsequence/migration": "0.0.0-20230309013947", | ||
"@0xsequence/network": "0.0.0-20230309013947", | ||
"@0xsequence/relayer": "0.0.0-20230309013947", | ||
"@0xsequence/sessions": "0.0.0-20230309013947", | ||
"@0xsequence/utils": "0.0.0-20230309013947", | ||
"@0xsequence/wallet": "0.0.0-20230309013947", | ||
"ethers": "^5.5.2" | ||
}, | ||
"devDependencies": { | ||
"@0xsequence/signhub": "0.0.0-20230307215941", | ||
"@0xsequence/tests": "0.0.0-20230307215941", | ||
"@0xsequence/signhub": "0.0.0-20230309013947", | ||
"@0xsequence/tests": "0.0.0-20230309013947", | ||
"@istanbuljs/nyc-config-typescript": "^1.0.2", | ||
@@ -26,0 +26,0 @@ "nyc": "^15.1.0" |
@@ -709,8 +709,2 @@ | ||
}[]> { | ||
const networks = this.networks | ||
// Getting all status with `longestPath` set to true will give us all the possible configurations | ||
// between the current onChain config and the latest config, including the ones "flagged for removal" | ||
const statuses = await Promise.all(networks.map((n) => this.status(n.chainId, true))) | ||
const allSigners: { | ||
@@ -724,4 +718,9 @@ address: string, | ||
// We need to get the signers for each status | ||
await Promise.all(statuses.map(async (status, inet) => { | ||
const chainId = networks[inet].chainId | ||
await Promise.all(this.networks.map(async network => { | ||
const chainId = network.chainId | ||
// Getting the status with `longestPath` set to true will give us all the possible configurations | ||
// between the current onChain config and the latest config, including the ones "flagged for removal" | ||
const status = await this.status(chainId, true) | ||
return Promise.all(status.presignedConfigurations.map(async (update, iconf) => { | ||
@@ -728,0 +727,0 @@ const isLast = iconf === status.presignedConfigurations.length - 1 |
108759
2309
+ Added@0xsequence/abi@0.0.0-20230309013947(transitive)
+ Added@0xsequence/api@0.0.0-20230309013947(transitive)
+ Added@0xsequence/auth@0.0.0-20230309013947(transitive)
+ Added@0xsequence/core@0.0.0-20230309013947(transitive)
+ Added@0xsequence/guard@0.0.0-20230309013947(transitive)
+ Added@0xsequence/indexer@0.0.0-20230309013947(transitive)
+ Added@0xsequence/metadata@0.0.0-20230309013947(transitive)
+ Added@0xsequence/migration@0.0.0-20230309013947(transitive)
+ Added@0xsequence/network@0.0.0-20230309013947(transitive)
+ Added@0xsequence/provider@0.0.0-20230309013947(transitive)
+ Added@0xsequence/relayer@0.0.0-20230309013947(transitive)
+ Added@0xsequence/replacer@0.0.0-20230309013947(transitive)
+ Added@0xsequence/sessions@0.0.0-20230309013947(transitive)
+ Added@0xsequence/signhub@0.0.0-20230309013947(transitive)
+ Added@0xsequence/utils@0.0.0-20230309013947(transitive)
+ Added@0xsequence/wallet@0.0.0-20230309013947(transitive)
- Removed@0xsequence/abi@0.0.0-20230307215941(transitive)
- Removed@0xsequence/api@0.0.0-20230307215941(transitive)
- Removed@0xsequence/auth@0.0.0-20230307215941(transitive)
- Removed@0xsequence/core@0.0.0-20230307215941(transitive)
- Removed@0xsequence/guard@0.0.0-20230307215941(transitive)
- Removed@0xsequence/indexer@0.0.0-20230307215941(transitive)
- Removed@0xsequence/metadata@0.0.0-20230307215941(transitive)
- Removed@0xsequence/migration@0.0.0-20230307215941(transitive)
- Removed@0xsequence/network@0.0.0-20230307215941(transitive)
- Removed@0xsequence/provider@0.0.0-20230307215941(transitive)
- Removed@0xsequence/relayer@0.0.0-20230307215941(transitive)
- Removed@0xsequence/replacer@0.0.0-20230307215941(transitive)
- Removed@0xsequence/sessions@0.0.0-20230307215941(transitive)
- Removed@0xsequence/signhub@0.0.0-20230307215941(transitive)
- Removed@0xsequence/utils@0.0.0-20230307215941(transitive)
- Removed@0xsequence/wallet@0.0.0-20230307215941(transitive)