@ledgerhq/react-native-hw-transport-ble 6.32.0-nightly.0 → 6.32.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,10 @@
1
1
  # @ledgerhq/react-native-hw-transport-ble
2
2
 
3
- ## 6.32.0-nightly.0
3
+ ## 6.32.0
4
4
 
5
5
  ### Minor Changes
6
6
 
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
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
8
 
9
9
  On `@ledgerhq/hw-transport`
10
10
 
@@ -21,10 +21,36 @@
21
21
 
22
22
  ### Patch Changes
23
23
 
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
24
+ - 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)]:
25
+ - @ledgerhq/hw-transport@6.30.1
26
+ - @ledgerhq/errors@6.16.1
27
+ - @ledgerhq/devices@8.2.0
28
+
29
+ ## 6.32.0-next.0
30
+
31
+ ### Minor Changes
32
+
33
+ - [#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
34
+
35
+ On `@ledgerhq/hw-transport`
36
+
37
+ - `exchange` adding an optional `abortTimeoutMs` arg to its definition
38
+ - `send` taking an optional `abortTimeoutMs` and passing it to `exchange`
39
+ - Some documentation and tracing
40
+
41
+ On `@ledgerhq/react-native-hw-transport-ble`
42
+
43
+ - `open`: enabling optional timeout when opening a transport instance
44
+ - `exchange`: enabling optional timeout on APDU exchange, calling `cancelPendingOperations` on timeout
45
+ - `cancelPendingOperations`: using a `currentTransactionIds` array of transactions id for each `write`, we can try to abort completely pending writes
46
+ - More documentation + tracing + simple unit tests
47
+
48
+ ### Patch Changes
49
+
50
+ - 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)]:
51
+ - @ledgerhq/hw-transport@6.30.1-next.0
52
+ - @ledgerhq/errors@6.16.1-next.0
53
+ - @ledgerhq/devices@8.2.0-next.0
28
54
 
29
55
  ## 6.31.0
30
56
 
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.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.1",
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": {