Socket
Socket
Sign inDemoInstall

@ledgerhq/hw-transport

Package Overview
Dependencies
Maintainers
21
Versions
366
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/hw-transport - npm Package Compare versions

Comparing version 6.29.0-tag-word.0 to 6.29.0

.unimportedrc.json

34

CHANGELOG.md
# @ledgerhq/hw-transport
## 6.29.0-tag-word.0
## 6.29.0

@@ -14,9 +14,35 @@ ### Minor Changes

- [#5142](https://github.com/LedgerHQ/ledger-live/pull/5142) [`7968dfc551`](https://github.com/LedgerHQ/ledger-live/commit/7968dfc551acca00b7fabf00a726758d74be33de) Thanks [@alexandremgo](https://github.com/alexandremgo)! - chore: new mock fixture aTransportBuilder
For unit tests where a real implementation of a Transport is not necessary.
- [#5063](https://github.com/LedgerHQ/ledger-live/pull/5063) [`6b7fc5d071`](https://github.com/LedgerHQ/ledger-live/commit/6b7fc5d0711a83ed2fcacacd02795862a4a3bf1d) Thanks [@sarneijim](https://github.com/sarneijim)! - fix: fix TransportRaceCondition literal
- Updated dependencies [[`9e2d32aec4`](https://github.com/LedgerHQ/ledger-live/commit/9e2d32aec4ebd8774880f94e3ef0e805ebb172ac), [`4d6fa0772e`](https://github.com/LedgerHQ/ledger-live/commit/4d6fa0772e19cdbd4b432fafa43621c42e2a5fdd)]:
- @ledgerhq/logs@6.11.0-tag-word.0
- @ledgerhq/errors@6.15.0-tag-word.0
- @ledgerhq/devices@8.0.8-tag-word.0
- @ledgerhq/logs@6.11.0
- @ledgerhq/errors@6.15.0
- @ledgerhq/devices@8.0.8
## 6.29.0-next.0
### Minor Changes
- [#4709](https://github.com/LedgerHQ/ledger-live/pull/4709) [`9e2d32aec4`](https://github.com/LedgerHQ/ledger-live/commit/9e2d32aec4ebd8774880f94e3ef0e805ebb172ac) Thanks [@alexandremgo](https://github.com/alexandremgo)! - feat: usage of new tracing system
The tracing helps keeping a context (for ex a `job id`) that is propagated to other logs,
creating a (simple) tracing span
### Patch Changes
- [#5142](https://github.com/LedgerHQ/ledger-live/pull/5142) [`7968dfc551`](https://github.com/LedgerHQ/ledger-live/commit/7968dfc551acca00b7fabf00a726758d74be33de) Thanks [@alexandremgo](https://github.com/alexandremgo)! - chore: new mock fixture aTransportBuilder
For unit tests where a real implementation of a Transport is not necessary.
- [#5063](https://github.com/LedgerHQ/ledger-live/pull/5063) [`6b7fc5d071`](https://github.com/LedgerHQ/ledger-live/commit/6b7fc5d0711a83ed2fcacacd02795862a4a3bf1d) Thanks [@sarneijim](https://github.com/sarneijim)! - fix: fix TransportRaceCondition literal
- Updated dependencies [[`9e2d32aec4`](https://github.com/LedgerHQ/ledger-live/commit/9e2d32aec4ebd8774880f94e3ef0e805ebb172ac), [`4d6fa0772e`](https://github.com/LedgerHQ/ledger-live/commit/4d6fa0772e19cdbd4b432fafa43621c42e2a5fdd)]:
- @ledgerhq/logs@6.11.0-next.0
- @ledgerhq/errors@6.15.0-next.0
- @ledgerhq/devices@8.0.8-next.0
## 6.28.8

@@ -23,0 +49,0 @@

@@ -182,2 +182,6 @@ /// <reference types="node" />

setTraceContext(context?: TraceContext): void;
/**
* Gets the tracing context of the transport instance
*/
getTraceContext(): TraceContext | undefined;
static ErrorMessage_ListenTimeout: string;

@@ -184,0 +188,0 @@ static ErrorMessage_NoDeviceFound: string;

@@ -246,2 +246,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

}
/**
* Gets the tracing context of the transport instance
*/
getTraceContext() {
return this.tracer.getContext();
}
}

@@ -248,0 +254,0 @@ Transport.ErrorMessage_ListenTimeout = "No Ledger device found (timeout)";

@@ -182,2 +182,6 @@ /// <reference types="node" />

setTraceContext(context?: TraceContext): void;
/**
* Gets the tracing context of the transport instance
*/
getTraceContext(): TraceContext | undefined;
static ErrorMessage_ListenTimeout: string;

@@ -184,0 +188,0 @@ static ErrorMessage_NoDeviceFound: string;

@@ -255,2 +255,8 @@ "use strict";

}
/**
* Gets the tracing context of the transport instance
*/
getTraceContext() {
return this.tracer.getContext();
}
}

@@ -257,0 +263,0 @@ Transport.ErrorMessage_ListenTimeout = "No Ledger device found (timeout)";

11

package.json
{
"name": "@ledgerhq/hw-transport",
"version": "6.29.0-tag-word.0",
"version": "6.29.0",
"description": "Ledger Hardware Wallet common interface of the communication layer",

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

"events": "^3.3.0",
"@ledgerhq/devices": "^8.0.8-tag-word.0",
"@ledgerhq/errors": "^6.15.0-tag-word.0",
"@ledgerhq/logs": "^6.11.0-tag-word.0"
"@ledgerhq/devices": "^8.0.8",
"@ledgerhq/errors": "^6.15.0",
"@ledgerhq/logs": "^6.11.0"
},

@@ -53,4 +53,5 @@ "gitHead": "dd0dea64b58e5a9125c8a422dcffd29e5ef6abec",

"lint:fix": "pnpm lint --fix",
"test": "jest"
"test": "jest",
"unimported": "unimported"
}
}

@@ -44,2 +44,3 @@ <img src="https://user-images.githubusercontent.com/4631227/191834116-59cf590e-25cc-4956-ae5c-812ea464f324.png" height="100" />

* [Parameters](#parameters-9)
* [getTraceContext](#gettracecontext)
* [isSupported](#issupported)

@@ -215,2 +216,8 @@ * [list](#list)

#### getTraceContext
Gets the tracing context of the transport instance
Returns **(TraceContext | [undefined](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/undefined))**
#### isSupported

@@ -217,0 +224,0 @@

@@ -384,4 +384,11 @@ import EventEmitter from "events";

/**
* Gets the tracing context of the transport instance
*/
getTraceContext(): TraceContext | undefined {
return this.tracer.getContext();
}
static ErrorMessage_ListenTimeout = "No Ledger device found (timeout)";
static ErrorMessage_NoDeviceFound = "No Ledger device found";
}

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

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