@ledgerhq/react-native-hw-transport-ble 6.32.0-nightly.0 → 6.32.1-custom-exchange.0

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/react-native-hw-transport-ble@6.31.0 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/react-native-hw-transport-ble
2
+ > @ledgerhq/react-native-hw-transport-ble@6.32.0 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/react-native-hw-transport-ble
3
3
  > tsc && tsc -m ES6 --outDir lib-es
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,10 +1,43 @@
1
1
  # @ledgerhq/react-native-hw-transport-ble
2
2
 
3
- ## 6.32.0-nightly.0
3
+ ## 6.32.1-custom-exchange.0
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [[`16b4d7a`](https://github.com/LedgerHQ/ledger-live/commit/16b4d7ab4702022d4967f3c054d3c62a76716947)]:
8
+ - @ledgerhq/hw-transport@6.30.2-custom-exchange.0
9
+
10
+ ## 6.32.0
11
+
12
+ ### Minor Changes
13
+
14
+ - [#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
15
+
16
+ On `@ledgerhq/hw-transport`
17
+
18
+ - `exchange` adding an optional `abortTimeoutMs` arg to its definition
19
+ - `send` taking an optional `abortTimeoutMs` and passing it to `exchange`
20
+ - Some documentation and tracing
21
+
22
+ On `@ledgerhq/react-native-hw-transport-ble`
23
+
24
+ - `open`: enabling optional timeout when opening a transport instance
25
+ - `exchange`: enabling optional timeout on APDU exchange, calling `cancelPendingOperations` on timeout
26
+ - `cancelPendingOperations`: using a `currentTransactionIds` array of transactions id for each `write`, we can try to abort completely pending writes
27
+ - More documentation + tracing + simple unit tests
28
+
29
+ ### Patch Changes
30
+
31
+ - Updated dependencies [[`52a3732`](https://github.com/LedgerHQ/ledger-live/commit/52a373273dee3b2cb5a3e8d2d4b05f90616d71a2), [`4d1aade`](https://github.com/LedgerHQ/ledger-live/commit/4d1aade53cd33f8e7548ce340f54fbb834bdcdcb), [`52a3732`](https://github.com/LedgerHQ/ledger-live/commit/52a373273dee3b2cb5a3e8d2d4b05f90616d71a2)]:
32
+ - @ledgerhq/hw-transport@6.30.1
33
+ - @ledgerhq/errors@6.16.1
34
+ - @ledgerhq/devices@8.2.0
35
+
36
+ ## 6.32.0-next.0
4
37
 
5
38
  ### Minor Changes
6
39
 
7
- - [#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
40
+ - [#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
41
 
9
42
  On `@ledgerhq/hw-transport`
10
43
 
@@ -21,10 +54,10 @@
21
54
 
22
55
  ### Patch Changes
23
56
 
24
- - Updated dependencies [[`52a373273d`](https://github.com/LedgerHQ/ledger-live/commit/52a373273dee3b2cb5a3e8d2d4b05f90616d71a2), [`52a373273d`](https://github.com/LedgerHQ/ledger-live/commit/52a373273dee3b2cb5a3e8d2d4b05f90616d71a2)]:
25
- - @ledgerhq/hw-transport@6.30.1-nightly.0
26
- - @ledgerhq/errors@6.16.1-nightly.0
27
- - @ledgerhq/devices@8.2.0-nightly.0
57
+ - Updated dependencies [[`52a3732`](https://github.com/LedgerHQ/ledger-live/commit/52a373273dee3b2cb5a3e8d2d4b05f90616d71a2), [`4d1aade`](https://github.com/LedgerHQ/ledger-live/commit/4d1aade53cd33f8e7548ce340f54fbb834bdcdcb), [`52a3732`](https://github.com/LedgerHQ/ledger-live/commit/52a373273dee3b2cb5a3e8d2d4b05f90616d71a2)]:
58
+ - @ledgerhq/hw-transport@6.30.1-next.0
59
+ - @ledgerhq/errors@6.16.1-next.0
60
+ - @ledgerhq/devices@8.2.0-next.0
28
61
 
29
62
  ## 6.31.0
30
63
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/react-native-hw-transport-ble",
3
- "version": "6.32.0-nightly.0",
3
+ "version": "6.32.1-custom-exchange.0",
4
4
  "description": "Ledger Hardware Wallet Bluetooth BLE transport for React Native",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -28,21 +28,21 @@
28
28
  "react-native-ble-plx": "2.0.3",
29
29
  "rxjs": "^7.8.1",
30
30
  "uuid": "^9.0.1",
31
- "@ledgerhq/devices": "^8.2.0-nightly.0",
32
- "@ledgerhq/errors": "^6.16.1-nightly.0",
33
- "@ledgerhq/hw-transport": "^6.30.1-nightly.0",
31
+ "@ledgerhq/devices": "^8.2.0",
32
+ "@ledgerhq/errors": "^6.16.1",
33
+ "@ledgerhq/hw-transport": "^6.30.2-custom-exchange.0",
34
34
  "@ledgerhq/logs": "^6.12.0"
35
35
  },
36
36
  "gitHead": "dd0dea64b58e5a9125c8a422dcffd29e5ef6abec",
37
37
  "devDependencies": {
38
- "@types/jest": "^29.5.0",
38
+ "@types/jest": "^29.5.10",
39
39
  "@types/node": "^20.8.10",
40
40
  "@types/uuid": "^9.0.5",
41
41
  "documentation": "14.0.2",
42
- "jest": "^28.1.1",
42
+ "jest": "^29.7.0",
43
43
  "rimraf": "^4.4.1",
44
44
  "source-map-support": "^0.5.21",
45
- "ts-jest": "^28.0.5",
45
+ "ts-jest": "^29.1.1",
46
46
  "ts-node": "^10.4.0"
47
47
  },
48
48
  "scripts": {