@ledgerhq/hw-transport 6.27.2-nightly.0 → 6.27.2

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,6 +1,5 @@
1
- @ledgerhq/hw-transport:build: cache hit, replaying output 20e7cef883e05d6f
1
+ @ledgerhq/hw-transport:build: cache hit, replaying output 977ce402b9bd1cf4
2
2
  @ledgerhq/hw-transport:build:
3
- @ledgerhq/hw-transport:build: > @ledgerhq/hw-transport@6.27.1 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/hw-transport
4
- @ledgerhq/hw-transport:build: > bash ../../script/build.sh
3
+ @ledgerhq/hw-transport:build: > @ledgerhq/hw-transport@6.27.2 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/hw-transport
4
+ @ledgerhq/hw-transport:build: > tsc && tsc -m ES6 --outDir lib-es
5
5
  @ledgerhq/hw-transport:build:
6
- @ledgerhq/hw-transport:build: /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/hw-transport
package/CHANGELOG.md CHANGED
@@ -1,10 +1,17 @@
1
1
  # @ledgerhq/hw-transport
2
2
 
3
- ## 6.27.2-nightly.0
3
+ ## 6.27.2
4
4
 
5
5
  ### Patch Changes
6
6
 
7
- - f6f2d8f15: add dummy changesets
8
- - Updated dependencies [f6f2d8f15]
9
- - @ledgerhq/devices@6.27.2-nightly.0
10
- - @ledgerhq/errors@6.10.1-nightly.0
7
+ - Updated dependencies [[`203b927b4`](https://github.com/LedgerHQ/ledger-live/commit/203b927b4e5bca3402c85a88c536d519adb18c5f), [`f538d2974`](https://github.com/LedgerHQ/ledger-live/commit/f538d29745669b2aada6ac34f37cd404c23cf1b8)]:
8
+ - @ledgerhq/errors@6.10.1
9
+ - @ledgerhq/devices@7.0.0
10
+
11
+ ## 6.27.2-next.0
12
+
13
+ ### Patch Changes
14
+
15
+ - Updated dependencies [[`203b927b4`](https://github.com/LedgerHQ/ledger-live/commit/203b927b4e5bca3402c85a88c536d519adb18c5f), [`f538d2974`](https://github.com/LedgerHQ/ledger-live/commit/f538d29745669b2aada6ac34f37cd404c23cf1b8)]:
16
+ - @ledgerhq/errors@6.10.1-next.0
17
+ - @ledgerhq/devices@7.0.0-next.0
package/README.md CHANGED
@@ -192,7 +192,7 @@ Returns **any** a promise of descriptors
192
192
 
193
193
  #### listen
194
194
 
195
- Listen all device events for a given Transport. The method takes an Obverver of DescriptorEvent and returns a Subscription (according to Observable paradigm <https://github.com/tc39/proposal-observable> )
195
+ Listen all device events for a given Transport. The method takes an Obverver of DescriptorEvent and returns a Subscription (according to Observable paradigm https://github.com/tc39/proposal-observable )
196
196
  a DescriptorEvent is a `{ descriptor, type }` object. type can be `"add"` or `"remove"` and descriptor is a value you can pass to `open(descriptor)`.
197
197
  each listen() call will first emit all potential device already connected and then will emit events can come over times,
198
198
  for instance if you plug a USB device after listen() or a bluetooth device become discoverable.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/hw-transport",
3
- "version": "6.27.2-nightly.0",
3
+ "version": "6.27.2",
4
4
  "description": "Ledger Hardware Wallet common interface of the communication layer",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -11,12 +11,12 @@
11
11
  ],
12
12
  "repository": {
13
13
  "type": "git",
14
- "url": "https://github.com/LedgerHQ/ledgerjs"
14
+ "url": "https://github.com/LedgerHQ/ledger-live.git"
15
15
  },
16
16
  "bugs": {
17
- "url": "https://github.com/LedgerHQ/ledgerjs/issues"
17
+ "url": "https://github.com/LedgerHQ/ledger-live/issues"
18
18
  },
19
- "homepage": "https://github.com/LedgerHQ/ledgerjs",
19
+ "homepage": "https://github.com/LedgerHQ/ledger-live/tree/develop/libs/ledgerjs/packages/hw-transport",
20
20
  "publishConfig": {
21
21
  "access": "public"
22
22
  },
@@ -25,16 +25,17 @@
25
25
  "types": "lib/Transport.d.ts",
26
26
  "license": "Apache-2.0",
27
27
  "dependencies": {
28
- "@ledgerhq/devices": "^6.27.2-nightly.0",
29
- "@ledgerhq/errors": "^6.10.1-nightly.0",
28
+ "@ledgerhq/devices": "^7.0.0",
29
+ "@ledgerhq/errors": "^6.10.1",
30
30
  "events": "^3.3.0"
31
31
  },
32
32
  "gitHead": "dd0dea64b58e5a9125c8a422dcffd29e5ef6abec",
33
33
  "scripts": {
34
- "clean": "bash ../../script/clean.sh",
35
- "build": "bash ../../script/build.sh",
36
- "watch": "bash ../../script/watch.sh",
37
- "doc": "bash ../../script/doc.sh",
34
+ "clean": "rimraf lib lib-es",
35
+ "build": "tsc && tsc -m ES6 --outDir lib-es",
36
+ "prewatch": "pnpm build",
37
+ "watch": "tsc --watch",
38
+ "doc": "documentation readme src/** --section=API --pe ts --re ts --re d.ts",
38
39
  "lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx",
39
40
  "lint:fix": "pnpm lint --fix",
40
41
  "test": "jest"