Socket
Socket
Sign inDemoInstall

@ledgerhq/errors

Package Overview
Dependencies
0
Maintainers
21
Versions
221
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 6.16.1-nightly.0 to 6.16.1

31

CHANGELOG.md
# @ledgerhq/errors
## 6.16.1-nightly.0
## 6.16.1
### Patch Changes
- [#5171](https://github.com/LedgerHQ/ledger-live/pull/5171) [`52a373273d`](https://github.com/LedgerHQ/ledger-live/commit/52a373273dee3b2cb5a3e8d2d4b05f90616d71a2) Thanks [@alexandremgo](https://github.com/alexandremgo)! - Feat: new abort timeout on opening transport and APDU exchange
- [#5171](https://github.com/LedgerHQ/ledger-live/pull/5171) [`52a3732`](https://github.com/LedgerHQ/ledger-live/commit/52a373273dee3b2cb5a3e8d2d4b05f90616d71a2) Thanks [@alexandremgo](https://github.com/alexandremgo)! - Feat: new abort timeout on opening transport and APDU exchange

@@ -22,2 +22,29 @@ On `@ledgerhq/hw-transport`

- [#5432](https://github.com/LedgerHQ/ledger-live/pull/5432) [`4d1aade`](https://github.com/LedgerHQ/ledger-live/commit/4d1aade53cd33f8e7548ce340f54fbb834bdcdcb) Thanks [@alexandremgo](https://github.com/alexandremgo)! - chore: refactoring TransportStatusError
Refactor into a real class in order to improve TS inference
## 6.16.1-next.0
### Patch Changes
- [#5171](https://github.com/LedgerHQ/ledger-live/pull/5171) [`52a3732`](https://github.com/LedgerHQ/ledger-live/commit/52a373273dee3b2cb5a3e8d2d4b05f90616d71a2) Thanks [@alexandremgo](https://github.com/alexandremgo)! - Feat: new abort timeout on opening transport and APDU exchange
On `@ledgerhq/hw-transport`
- `exchange` adding an optional `abortTimeoutMs` arg to its definition
- `send` taking an optional `abortTimeoutMs` and passing it to `exchange`
- Some documentation and tracing
On `@ledgerhq/react-native-hw-transport-ble`
- `open`: enabling optional timeout when opening a transport instance
- `exchange`: enabling optional timeout on APDU exchange, calling `cancelPendingOperations` on timeout
- `cancelPendingOperations`: using a `currentTransactionIds` array of transactions id for each `write`, we can try to abort completely pending writes
- More documentation + tracing + simple unit tests
- [#5432](https://github.com/LedgerHQ/ledger-live/pull/5432) [`4d1aade`](https://github.com/LedgerHQ/ledger-live/commit/4d1aade53cd33f8e7548ce340f54fbb834bdcdcb) Thanks [@alexandremgo](https://github.com/alexandremgo)! - chore: refactoring TransportStatusError
Refactor into a real class in order to improve TS inference
## 6.16.0

@@ -24,0 +51,0 @@

8

package.json
{
"name": "@ledgerhq/errors",
"version": "6.16.1-nightly.0",
"version": "6.16.1",
"description": "Ledger common errors",

@@ -25,9 +25,9 @@ "keywords": [

"devDependencies": {
"@types/jest": "^29.5.0",
"@types/jest": "^29.5.10",
"@types/node": "^20.8.10",
"documentation": "14.0.2",
"jest": "^28.1.1",
"jest": "^29.7.0",
"rimraf": "^4.4.1",
"source-map-support": "^0.5.21",
"ts-jest": "^28.0.5",
"ts-jest": "^29.1.1",
"ts-node": "^10.4.0"

@@ -34,0 +34,0 @@ },

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