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

@taquito/ledger-signer

Package Overview
Dependencies
Maintainers
3
Versions
173
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@taquito/ledger-signer - npm Package Compare versions

Comparing version 11.2.0 to 12.0.0-beta-RC.0

5

dist/lib/taquito-ledger-signer.js

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

const utils_2 = require("./utils");
const libsodium_wrappers_1 = require("libsodium-wrappers");
const blake2b_1 = require("@stablelib/blake2b");
var DerivationType;

@@ -100,4 +100,3 @@ (function (DerivationType) {

const publicKey = utils_1.b58cencode(compressedPublicKey, prefixes.prefPk);
yield libsodium_wrappers_1.default.ready;
const publicKeyHash = utils_1.b58cencode(libsodium_wrappers_1.default.crypto_generichash(20, compressedPublicKey), prefixes.prefPkh);
const publicKeyHash = utils_1.b58cencode(blake2b_1.hash(compressedPublicKey, 20), prefixes.prefPkh);
this._publicKey = publicKey;

@@ -104,0 +103,0 @@ this._publicKeyHash = publicKeyHash;

4

dist/lib/version.js

@@ -6,5 +6,5 @@ "use strict";

exports.VERSION = {
"commitHash": "81f0a5b103f867f57fbe5d526315c375a3788346",
"version": "11.2.0"
"commitHash": "5da8cec9c84c0ab7bc37c0eb09e68db1b3a8b1f0",
"version": "12.0.0-beta-RC.0"
};
//# sourceMappingURL=version.js.map
import { b58cencode, prefix, Prefix } from '@taquito/utils';
import sodium from 'libsodium-wrappers';
import { hash } from '@stablelib/blake2b';

@@ -151,4 +151,4 @@ /*! *****************************************************************************

const VERSION = {
"commitHash": "81f0a5b103f867f57fbe5d526315c375a3788346",
"version": "11.2.0"
"commitHash": "5da8cec9c84c0ab7bc37c0eb09e68db1b3a8b1f0",
"version": "12.0.0-beta-RC.0"
};

@@ -236,4 +236,3 @@

const publicKey = b58cencode(compressedPublicKey, prefixes.prefPk);
yield sodium.ready;
const publicKeyHash = b58cencode(sodium.crypto_generichash(20, compressedPublicKey), prefixes.prefPkh);
const publicKeyHash = b58cencode(hash(compressedPublicKey, 20), prefixes.prefPkh);
this._publicKey = publicKey;

@@ -240,0 +239,0 @@ this._publicKeyHash = publicKeyHash;

(function (global, factory) {
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taquito/utils'), require('libsodium-wrappers')) :
typeof define === 'function' && define.amd ? define(['exports', '@taquito/utils', 'libsodium-wrappers'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.taquitoLedgerSigner = {}, global.utils, global.sodium));
})(this, (function (exports, utils, sodium) { 'use strict';
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@taquito/utils'), require('@stablelib/blake2b')) :
typeof define === 'function' && define.amd ? define(['exports', '@taquito/utils', '@stablelib/blake2b'], factory) :
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.taquitoLedgerSigner = {}, global.utils, global.blake2b));
})(this, (function (exports, utils, blake2b) { 'use strict';
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
var sodium__default = /*#__PURE__*/_interopDefaultLegacy(sodium);
/*! *****************************************************************************

@@ -158,4 +154,4 @@ Copyright (c) Microsoft Corporation.

const VERSION = {
"commitHash": "81f0a5b103f867f57fbe5d526315c375a3788346",
"version": "11.2.0"
"commitHash": "5da8cec9c84c0ab7bc37c0eb09e68db1b3a8b1f0",
"version": "12.0.0-beta-RC.0"
};

@@ -243,4 +239,3 @@

const publicKey = utils.b58cencode(compressedPublicKey, prefixes.prefPk);
yield sodium__default["default"].ready;
const publicKeyHash = utils.b58cencode(sodium__default["default"].crypto_generichash(20, compressedPublicKey), prefixes.prefPkh);
const publicKeyHash = utils.b58cencode(blake2b.hash(compressedPublicKey, 20), prefixes.prefPkh);
this._publicKey = publicKey;

@@ -247,0 +242,0 @@ this._publicKeyHash = publicKeyHash;

{
"name": "@taquito/ledger-signer",
"version": "11.2.0",
"version": "12.0.0-beta-RC.0",
"description": "Ledger signer provider",

@@ -61,6 +61,6 @@ "keywords": [

"@ledgerhq/hw-transport": "^6.20.0",
"@taquito/taquito": "^11.2.0",
"@taquito/utils": "^11.2.0",
"buffer": "^6.0.3",
"libsodium-wrappers": "0.7.8"
"@stablelib/blake2b": "^1.0.1",
"@taquito/taquito": "^12.0.0-beta-RC.0",
"@taquito/utils": "^12.0.0-beta-RC.0",
"buffer": "^6.0.3"
},

@@ -70,3 +70,2 @@ "devDependencies": {

"@types/jest": "^26.0.24",
"@types/libsodium-wrappers": "0.7.8",
"@types/node": "^17.0.0",

@@ -98,3 +97,3 @@ "@types/ws": "^8.2.2",

},
"gitHead": "7323157124742e8f2fdb11642f6b779cfb15df43"
"gitHead": "02c79fe3e9bff81668b22a17f0e2aa4bc8d1e231"
}

@@ -17,3 +17,3 @@ /**

} from './utils';
import sodium from 'libsodium-wrappers';
import { hash } from '@stablelib/blake2b';

@@ -107,7 +107,3 @@ export type LedgerTransport = Pick<Transport, 'send' | 'decorateAppAPIMethods' | 'setScrambleKey'>;

const publicKey = b58cencode(compressedPublicKey, prefixes.prefPk);
await sodium.ready;
const publicKeyHash = b58cencode(
sodium.crypto_generichash(20, compressedPublicKey),
prefixes.prefPkh
);
const publicKeyHash = b58cencode(hash(compressedPublicKey, 20), prefixes.prefPkh);

@@ -114,0 +110,0 @@ this._publicKey = publicKey;

// IMPORTANT: THIS FILE IS AUTO GENERATED! DO NOT MANUALLY EDIT OR CHECKIN!
export const VERSION = {
"commitHash": "81f0a5b103f867f57fbe5d526315c375a3788346",
"version": "11.2.0"
"commitHash": "5da8cec9c84c0ab7bc37c0eb09e68db1b3a8b1f0",
"version": "12.0.0-beta-RC.0"
};

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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