@ledgerhq/errors 6.16.1-next.0 → 6.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
1
 
2
- > @ledgerhq/errors@6.16.0 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/errors
2
+ > @ledgerhq/errors@6.16.1 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/errors
3
3
  > tsc && tsc -m ES6 --outDir lib-es
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,28 @@
1
1
  # @ledgerhq/errors
2
2
 
3
+ ## 6.16.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#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
8
+
9
+ On `@ledgerhq/hw-transport`
10
+
11
+ - `exchange` adding an optional `abortTimeoutMs` arg to its definition
12
+ - `send` taking an optional `abortTimeoutMs` and passing it to `exchange`
13
+ - Some documentation and tracing
14
+
15
+ On `@ledgerhq/react-native-hw-transport-ble`
16
+
17
+ - `open`: enabling optional timeout when opening a transport instance
18
+ - `exchange`: enabling optional timeout on APDU exchange, calling `cancelPendingOperations` on timeout
19
+ - `cancelPendingOperations`: using a `currentTransactionIds` array of transactions id for each `write`, we can try to abort completely pending writes
20
+ - More documentation + tracing + simple unit tests
21
+
22
+ - [#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
23
+
24
+ Refactor into a real class in order to improve TS inference
25
+
3
26
  ## 6.16.1-next.0
4
27
 
5
28
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/errors",
3
- "version": "6.16.1-next.0",
3
+ "version": "6.16.1",
4
4
  "description": "Ledger common errors",
5
5
  "keywords": [
6
6
  "Ledger"