Socket
Socket
Sign inDemoInstall

@ledgerhq/hw-transport

Package Overview
Dependencies
7
Maintainers
7
Versions
353
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.31.0-windows-certificate.0 to 6.31.0

24

CHANGELOG.md
# @ledgerhq/hw-transport
## 6.31.0-windows-certificate.0
## 6.31.0

@@ -11,6 +11,22 @@ ### Minor Changes

- Updated dependencies [[`77fa530`](https://github.com/LedgerHQ/ledger-live/commit/77fa530c8626df94fa7f9c0a8b3a99f2efa7cb11), [`cec1599`](https://github.com/LedgerHQ/ledger-live/commit/cec1599a41aa1a18a249e34312164bc93b63972f)]:
- @ledgerhq/devices@8.4.0-windows-certificate.0
- @ledgerhq/errors@6.17.0-windows-certificate.0
- [#6963](https://github.com/LedgerHQ/ledger-live/pull/6963) [`815ae3d`](https://github.com/LedgerHQ/ledger-live/commit/815ae3dae8027823854ada837df3dc983d09b10f) Thanks [@aussedatlo](https://github.com/aussedatlo)! - restore TransportRaceCondition instead of TransportPendingOperation that caused a breaking change
- Updated dependencies [[`77fa530`](https://github.com/LedgerHQ/ledger-live/commit/77fa530c8626df94fa7f9c0a8b3a99f2efa7cb11), [`815ae3d`](https://github.com/LedgerHQ/ledger-live/commit/815ae3dae8027823854ada837df3dc983d09b10f), [`cec1599`](https://github.com/LedgerHQ/ledger-live/commit/cec1599a41aa1a18a249e34312164bc93b63972f), [`3b9c93c`](https://github.com/LedgerHQ/ledger-live/commit/3b9c93c0de8ceff2af96a6ee8e42b8d9c2ab7af0)]:
- @ledgerhq/devices@8.4.0
- @ledgerhq/errors@6.17.0
## 6.31.0-next.0
### Minor Changes
- [#6596](https://github.com/LedgerHQ/ledger-live/pull/6596) [`77fa530`](https://github.com/LedgerHQ/ledger-live/commit/77fa530c8626df94fa7f9c0a8b3a99f2efa7cb11) Thanks [@KVNLS](https://github.com/KVNLS)! - Upgrade React Native to version 0.73.6
### Patch Changes
- [#6963](https://github.com/LedgerHQ/ledger-live/pull/6963) [`815ae3d`](https://github.com/LedgerHQ/ledger-live/commit/815ae3dae8027823854ada837df3dc983d09b10f) Thanks [@aussedatlo](https://github.com/aussedatlo)! - restore TransportRaceCondition instead of TransportPendingOperation that caused a breaking change
- Updated dependencies [[`77fa530`](https://github.com/LedgerHQ/ledger-live/commit/77fa530c8626df94fa7f9c0a8b3a99f2efa7cb11), [`815ae3d`](https://github.com/LedgerHQ/ledger-live/commit/815ae3dae8027823854ada837df3dc983d09b10f), [`cec1599`](https://github.com/LedgerHQ/ledger-live/commit/cec1599a41aa1a18a249e34312164bc93b63972f), [`3b9c93c`](https://github.com/LedgerHQ/ledger-live/commit/3b9c93c0de8ceff2af96a6ee8e42b8d9c2ab7af0)]:
- @ledgerhq/devices@8.4.0-next.0
- @ledgerhq/errors@6.17.0-next.0
## 6.30.6

@@ -17,0 +33,0 @@

4

lib-es/Transport.js

@@ -11,3 +11,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

import EventEmitter from "events";
import { TransportPendingOperation, TransportError, StatusCodes, getAltStatusMessage, TransportStatusError, } from "@ledgerhq/errors";
import { TransportRaceCondition, TransportError, StatusCodes, getAltStatusMessage, TransportStatusError, } from "@ledgerhq/errors";
import { LocalTracer } from "@ledgerhq/logs";

@@ -216,3 +216,3 @@ export { TransportError, TransportStatusError, StatusCodes, getAltStatusMessage };

tracer.trace("Atomic exchange is already busy");
throw new TransportPendingOperation("An action was already pending on the Ledger device. Please deny or reconnect.");
throw new TransportRaceCondition("An action was already pending on the Ledger device. Please deny or reconnect.");
}

@@ -219,0 +219,0 @@ // Sets the atomic guard

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

tracer.trace("Atomic exchange is already busy");
throw new errors_1.TransportPendingOperation("An action was already pending on the Ledger device. Please deny or reconnect.");
throw new errors_1.TransportRaceCondition("An action was already pending on the Ledger device. Please deny or reconnect.");
}

@@ -227,0 +227,0 @@ // Sets the atomic guard

{
"name": "@ledgerhq/hw-transport",
"version": "6.31.0-windows-certificate.0",
"version": "6.31.0",
"description": "Ledger Hardware Wallet common interface of the communication layer",

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

"events": "^3.3.0",
"@ledgerhq/devices": "^8.4.0-windows-certificate.0",
"@ledgerhq/errors": "^6.17.0-windows-certificate.0",
"@ledgerhq/devices": "^8.4.0",
"@ledgerhq/errors": "^6.17.0",
"@ledgerhq/logs": "^6.12.0"

@@ -33,0 +33,0 @@ },

import EventEmitter from "events";
import type { DeviceModel } from "@ledgerhq/devices";
import {
TransportPendingOperation,
TransportRaceCondition,
TransportError,

@@ -342,3 +342,3 @@ StatusCodes,

tracer.trace("Atomic exchange is already busy");
throw new TransportPendingOperation(
throw new TransportRaceCondition(
"An action was already pending on the Ledger device. Please deny or reconnect.",

@@ -345,0 +345,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

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc