Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@0xsequence/sessions

Package Overview
Dependencies
Maintainers
5
Versions
298
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xsequence/sessions - npm Package Compare versions

Comparing version 0.0.0-20230621215727 to 0.0.0-20230621220927

23

dist/0xsequence-sessions.cjs.dev.js

@@ -410,11 +410,18 @@ 'use strict';

}
const storeTree = _this.saveTopology(config.tree);
const storeConfig = _this.store.saveConfig(imageHash, {
version: 2,
threshold: ethers.ethers.BigNumber.from(config.threshold).toString(),
checkpoint: ethers.ethers.BigNumber.from(config.checkpoint).toString(),
tree: core.v2.config.hashNode(config.tree)
});
await Promise.all([storeTree, storeConfig]);
// TODO: Re-enable storing partial v2 configs once
// we have more performant code to reconstructing them
// in the meantime, rely on the remote tracker
// const storeTree = this.saveTopology(config.tree)
// const storeConfig = this.store.saveConfig(imageHash, {
// version: 2,
// threshold: ethers.BigNumber.from(config.threshold).toString(),
// checkpoint: ethers.BigNumber.from(config.checkpoint).toString(),
// tree: v2.config.hashNode(config.tree)
// })
// await Promise.all([storeTree, storeConfig])
}
return;

@@ -421,0 +428,0 @@ };

@@ -410,11 +410,18 @@ 'use strict';

}
const storeTree = _this.saveTopology(config.tree);
const storeConfig = _this.store.saveConfig(imageHash, {
version: 2,
threshold: ethers.ethers.BigNumber.from(config.threshold).toString(),
checkpoint: ethers.ethers.BigNumber.from(config.checkpoint).toString(),
tree: core.v2.config.hashNode(config.tree)
});
await Promise.all([storeTree, storeConfig]);
// TODO: Re-enable storing partial v2 configs once
// we have more performant code to reconstructing them
// in the meantime, rely on the remote tracker
// const storeTree = this.saveTopology(config.tree)
// const storeConfig = this.store.saveConfig(imageHash, {
// version: 2,
// threshold: ethers.BigNumber.from(config.threshold).toString(),
// checkpoint: ethers.BigNumber.from(config.checkpoint).toString(),
// tree: v2.config.hashNode(config.tree)
// })
// await Promise.all([storeTree, storeConfig])
}
return;

@@ -421,0 +428,0 @@ };

@@ -406,11 +406,18 @@ import { v2, v1, universal, commons } from '@0xsequence/core';

}
const storeTree = _this.saveTopology(config.tree);
const storeConfig = _this.store.saveConfig(imageHash, {
version: 2,
threshold: ethers.BigNumber.from(config.threshold).toString(),
checkpoint: ethers.BigNumber.from(config.checkpoint).toString(),
tree: v2.config.hashNode(config.tree)
});
await Promise.all([storeTree, storeConfig]);
// TODO: Re-enable storing partial v2 configs once
// we have more performant code to reconstructing them
// in the meantime, rely on the remote tracker
// const storeTree = this.saveTopology(config.tree)
// const storeConfig = this.store.saveConfig(imageHash, {
// version: 2,
// threshold: ethers.BigNumber.from(config.threshold).toString(),
// checkpoint: ethers.BigNumber.from(config.checkpoint).toString(),
// tree: v2.config.hashNode(config.tree)
// })
// await Promise.all([storeTree, storeConfig])
}
return;

@@ -417,0 +424,0 @@ };

{
"name": "@0xsequence/sessions",
"version": "0.0.0-20230621215727",
"version": "0.0.0-20230621220927",
"description": "tools for migrating sequence wallets to new versions",

@@ -14,5 +14,5 @@ "repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/sessions",

"idb": "^7.1.1",
"@0xsequence/core": "0.0.0-20230621215727",
"@0xsequence/migration": "0.0.0-20230621215727",
"@0xsequence/replacer": "0.0.0-20230621215727"
"@0xsequence/core": "0.0.0-20230621220927",
"@0xsequence/migration": "0.0.0-20230621220927",
"@0xsequence/replacer": "0.0.0-20230621220927"
},

@@ -23,4 +23,4 @@ "devDependencies": {

"nyc": "^15.1.0",
"@0xsequence/signhub": "0.0.0-20230621215727",
"@0xsequence/tests": "0.0.0-20230621215727"
"@0xsequence/signhub": "0.0.0-20230621220927",
"@0xsequence/tests": "0.0.0-20230621220927"
},

@@ -27,0 +27,0 @@ "files": [

@@ -113,11 +113,15 @@ import { commons, universal, v1, v2 } from '@0xsequence/core'

const storeTree = this.saveTopology(config.tree)
const storeConfig = this.store.saveConfig(imageHash, {
version: 2,
threshold: ethers.BigNumber.from(config.threshold).toString(),
checkpoint: ethers.BigNumber.from(config.checkpoint).toString(),
tree: v2.config.hashNode(config.tree)
})
// TODO: Re-enable storing partial v2 configs once
// we have more performant code to reconstructing them
// in the meantime, rely on the remote tracker
await Promise.all([storeTree, storeConfig])
// const storeTree = this.saveTopology(config.tree)
// const storeConfig = this.store.saveConfig(imageHash, {
// version: 2,
// threshold: ethers.BigNumber.from(config.threshold).toString(),
// checkpoint: ethers.BigNumber.from(config.checkpoint).toString(),
// tree: v2.config.hashNode(config.tree)
// })
// await Promise.all([storeTree, storeConfig])
}

@@ -124,0 +128,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc