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

@cityofzion/bs-neo-legacy

Package Overview
Dependencies
Maintainers
0
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@cityofzion/bs-neo-legacy - npm Package Compare versions

Comparing version 0.10.5 to 0.10.6

16

dist/BSNeoLegacy.js

@@ -82,16 +82,4 @@ "use strict";

return __awaiter(this, void 0, void 0, function* () {
let BsReactNativeDecrypt;
try {
const { NativeModules } = require('react-native');
BsReactNativeDecrypt = NativeModules.BsReactNativeDecrypt;
if (!BsReactNativeDecrypt) {
throw new Error('@CityOfZion/bs-react-native-decrypt is not installed');
}
}
catch (_a) {
const key = yield neon_js_1.wallet.decrypt(encryptedKey, password);
return this.generateAccountFromKey(key);
}
const privateKey = yield BsReactNativeDecrypt.decryptNeoLegacy(encryptedKey, password);
return this.generateAccountFromKey(privateKey);
const key = yield neon_js_1.wallet.decrypt(encryptedKey, password);
return this.generateAccountFromKey(key);
});

@@ -98,0 +86,0 @@ }

6

package.json
{
"name": "@cityofzion/bs-neo-legacy",
"version": "0.10.5",
"version": "0.10.6",
"main": "dist/index.js",

@@ -14,4 +14,4 @@ "types": "dist/index.d.ts",

"@cityofzion/neon-js": "4.8.3",
"@cityofzion/blockchain-service": "0.13.0",
"@cityofzion/bs-asteroid-sdk": "0.9.0"
"@cityofzion/bs-asteroid-sdk": "0.9.0",
"@cityofzion/blockchain-service": "0.13.0"
},

@@ -18,0 +18,0 @@ "devDependencies": {

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