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

conseiljs-softsigner

Package Overview
Dependencies
Maintainers
2
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

conseiljs-softsigner - npm Package Compare versions

Comparing version 5.0.3-beta.0 to 5.0.3

4

dist/KeyStoreUtils.js

@@ -76,3 +76,3 @@ "use strict";

const keys = yield CryptoUtils_1.CryptoUtils.generateKeys(seed);
return { publicKey: keys.publicKey, secretKey: keys.privateKey };
return { publicKey: keys.publicKey, secretKey: keys.secretKey };
});

@@ -84,3 +84,3 @@ }

const keys = yield CryptoUtils_1.CryptoUtils.recoverPublicKey(secretKey);
return { publicKey: keys.publicKey, secretKey: keys.privateKey };
return { publicKey: keys.publicKey, secretKey: keys.secretKey };
});

@@ -87,0 +87,0 @@ }

@@ -7,7 +7,7 @@ /// <reference types="node" />

function generateKeys(seed: Buffer): Promise<{
privateKey: any;
secretKey: any;
publicKey: any;
}>;
function recoverPublicKey(secretKey: Buffer): Promise<{
privateKey: any;
secretKey: any;
publicKey: any;

@@ -14,0 +14,0 @@ }>;

@@ -44,3 +44,3 @@ "use strict";

const k = yield wrapper.keys(seed);
return { privateKey: k.privateKey, publicKey: k.publicKey };
return { secretKey: k.privateKey, publicKey: k.publicKey };
});

@@ -52,3 +52,3 @@ }

const k = yield wrapper.publicKey(secretKey);
return { privateKey: k.privateKey, publicKey: k.publicKey };
return { secretKey: k.privateKey, publicKey: k.publicKey };
});

@@ -55,0 +55,0 @@ }

{
"name": "conseiljs-softsigner",
"version": "5.0.3-beta.0",
"version": "5.0.3",
"description": "ConseilJS software signer plugin for ConseilJS-core. Supports the ED25519 curve via libsodium for tz1-address operations.",

@@ -67,3 +67,3 @@ "browser": "dist/index.js",

"bip39": "3.0.2",
"conseiljs": "5.0.3-beta.2",
"conseiljs": "5.0.3",
"generate-password": "1.5.1",

@@ -70,0 +70,0 @@ "libsodium-wrappers-sumo": "0.7.6"

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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