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

@radixdlt/hardware-wallet

Package Overview
Dependencies
Maintainers
3
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@radixdlt/hardware-wallet - npm Package Compare versions

Comparing version 2.1.8 to 2.1.10

16

CHANGELOG.md

@@ -6,2 +6,18 @@ # Change Log

## [2.1.10](https://github.com/radixdlt/radixdlt-javascript/compare/@radixdlt/hardware-wallet@2.1.9...@radixdlt/hardware-wallet@2.1.10) (2021-12-01)
**Note:** Version bump only for package @radixdlt/hardware-wallet
## [2.1.9](https://github.com/radixdlt/radixdlt-javascript/compare/@radixdlt/hardware-wallet@2.1.8...@radixdlt/hardware-wallet@2.1.9) (2021-12-01)
**Note:** Version bump only for package @radixdlt/hardware-wallet
## [2.1.8](https://github.com/radixdlt/radixdlt-javascript/compare/@radixdlt/hardware-wallet@2.1.7...@radixdlt/hardware-wallet@2.1.8) (2021-10-25)

@@ -8,0 +24,0 @@

4

dist/hardwareWallet.js

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

})
.pipe(operators_1.map((publicKey) => ({
.pipe((0, operators_1.map)((publicKey) => ({
publicKey,

@@ -33,3 +33,3 @@ getPublicKeyDisplayOnlyAddress: () => {

.doSignTransaction({ tx, path, nonXrdHRP })
.pipe(operators_1.map(o => o.signature)),
.pipe((0, operators_1.map)(o => o.signature)),
keyExchange: (publicKeyOfOtherParty, display) => hardwareWallet.doKeyExchange({

@@ -36,0 +36,0 @@ display,

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const tslib_1 = require("tslib");
tslib_1.__exportStar(require("./hardwareWallet"), exports);
tslib_1.__exportStar(require("./_types"), exports);
tslib_1.__exportStar(require("./semVer"), exports);
(0, tslib_1.__exportStar)(require("./hardwareWallet"), exports);
(0, tslib_1.__exportStar)(require("./_types"), exports);
(0, tslib_1.__exportStar)(require("./semVer"), exports);
//# sourceMappingURL=index.js.map

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

if (buf.length !== expectedByteCount) {
return neverthrow_1.err(new Error(`Incorrect length of buffer, expected #${expectedByteCount} bytes, but got: #${buf.length}`));
return (0, neverthrow_1.err)(new Error(`Incorrect length of buffer, expected #${expectedByteCount} bytes, but got: #${buf.length}`));
}

@@ -29,3 +29,3 @@ const major = buf.readUInt8(0);

const patch = buf.readUInt8(2);
return neverthrow_1.ok(create({ major, minor, patch }));
return (0, neverthrow_1.ok)(create({ major, minor, patch }));
};

@@ -36,3 +36,3 @@ const fromString = (versionString) => {

if (components.length !== expectedComponentCount) {
return neverthrow_1.err(new Error(`Expected semantic version to contain ${expectedComponentCount} components.`));
return (0, neverthrow_1.err)(new Error(`Expected semantic version to contain ${expectedComponentCount} components.`));
}

@@ -45,10 +45,10 @@ const numAtIndex = (index) => {

catch (e) {
return neverthrow_1.err(new Error('Failed to parse integer'));
return (0, neverthrow_1.err)(new Error('Failed to parse integer'));
}
if (!Number.isInteger(parsedInt)) {
return neverthrow_1.err(new Error('Found no integer'));
return (0, neverthrow_1.err)(new Error('Found no integer'));
}
return neverthrow_1.ok(parsedInt);
return (0, neverthrow_1.ok)(parsedInt);
};
return neverthrow_1.combine([numAtIndex(0), numAtIndex(1), numAtIndex(2)]).map(resultList => {
return (0, neverthrow_1.combine)([numAtIndex(0), numAtIndex(1), numAtIndex(2)]).map(resultList => {
const major = resultList[0];

@@ -55,0 +55,0 @@ const minor = resultList[1];

{
"name": "@radixdlt/hardware-wallet",
"version": "2.1.8",
"version": "2.1.10",
"description": "Types for hardware wallets",

@@ -30,4 +30,4 @@ "keywords": [

"dependencies": {
"@radixdlt/crypto": "^2.1.5",
"@radixdlt/primitives": "^3.0.1",
"@radixdlt/crypto": "^2.1.7",
"@radixdlt/primitives": "^3.0.3",
"@radixdlt/util": "1.0.29",

@@ -42,3 +42,3 @@ "neverthrow": "4.0.1",

},
"gitHead": "07c5fad89c30128c1c9a0ff29d527d1d2f375f35"
"gitHead": "f9cb60da6dd5fcee804dc4681167db9de7be9d8b"
}

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