@ledgerhq/hw-app-btc 8.0.0-yolo.0 → 8.0.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,5 +1,5 @@
1
- @ledgerhq/hw-app-btc:build: cache hit, replaying output 4d25ab929bf96bbe
1
+ @ledgerhq/hw-app-btc:build: cache hit, replaying output 481f106682d60724
2
2
  @ledgerhq/hw-app-btc:build:
3
- @ledgerhq/hw-app-btc:build: > @ledgerhq/hw-app-btc@7.0.0 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/hw-app-btc
3
+ @ledgerhq/hw-app-btc:build: > @ledgerhq/hw-app-btc@8.0.0 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/hw-app-btc
4
4
  @ledgerhq/hw-app-btc:build: > tsc && tsc -m ES6 --outDir lib-es
5
5
  @ledgerhq/hw-app-btc:build:
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @ledgerhq/hw-app-btc
2
2
 
3
- ## 8.0.0-yolo.0
3
+ ## 8.0.0
4
4
 
5
5
  ### Major Changes
6
6
 
@@ -35,7 +35,44 @@
35
35
  ### Patch Changes
36
36
 
37
37
  - Updated dependencies []:
38
- - @ledgerhq/hw-transport@6.27.2-yolo.0
38
+ - @ledgerhq/hw-transport@6.27.2
39
+
40
+ ## 8.0.0-next.0
41
+
42
+ ### Major Changes
43
+
44
+ - [#364](https://github.com/LedgerHQ/ledger-live/pull/364) [`f538d2974`](https://github.com/LedgerHQ/ledger-live/commit/f538d29745669b2aada6ac34f37cd404c23cf1b8) Thanks [@elbywan](https://github.com/elbywan)! - #### Replace [webpack](https://webpack.js.org/) with [vite.js](https://vitejs.dev/) to speed up the ledger live desktop development process.
45
+
46
+ To fully embrace the "bundleless" vite.js approach, it is necessary to transpile our packages contained in the monorepository to the ESM format, and [subpath exports](https://nodejs.org/api/packages.html#subpath-exports) have been added to silently map to commonjs or esm depending on the need.
47
+
48
+ #### 🔥 BREAKING CHANGES for `@ledgerhq/live-common`, `@ledgerhq/devices` and `@ledgerhq/hw-app-btc` consumers.
49
+
50
+ As highlighted [here](https://github.com/nodejs/node#39994), it is not possible to target folders directly when using subpath exports.
51
+
52
+ The workaround is to suffix the call with `/index` (or `/`).
53
+
54
+ For instance…
55
+
56
+ ```ts
57
+ import * as currencies from "@ledgerhq/live-common/currencies";
58
+ ```
59
+
60
+ …must be rewritten to…
61
+
62
+ ```ts
63
+ import * as currencies from "@ledgerhq/live-common/currencies/index;";
64
+ ```
65
+
66
+ …or:
67
+
68
+ ```ts
69
+ import * as currencies from "@ledgerhq/live-common/currencies/;";
70
+ ```
71
+
72
+ ### Patch Changes
73
+
74
+ - Updated dependencies []:
75
+ - @ledgerhq/hw-transport@6.27.2-next.0
39
76
 
40
77
  ## 7.0.0
41
78
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/hw-app-btc",
3
- "version": "8.0.0-yolo.0",
3
+ "version": "8.0.0",
4
4
  "description": "Ledger Hardware Wallet Bitcoin Application API",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -13,12 +13,12 @@
13
13
  ],
14
14
  "repository": {
15
15
  "type": "git",
16
- "url": "https://github.com/LedgerHQ/ledgerjs"
16
+ "url": "https://github.com/LedgerHQ/ledger-live.git"
17
17
  },
18
18
  "bugs": {
19
- "url": "https://github.com/LedgerHQ/ledgerjs/issues"
19
+ "url": "https://github.com/LedgerHQ/ledger-live/issues"
20
20
  },
21
- "homepage": "https://github.com/LedgerHQ/ledgerjs",
21
+ "homepage": "https://github.com/LedgerHQ/ledger-live/tree/develop/libs/ledgerjs/packages/hw-app-btc",
22
22
  "publishConfig": {
23
23
  "access": "public"
24
24
  },
@@ -69,7 +69,7 @@
69
69
  },
70
70
  "license": "Apache-2.0",
71
71
  "dependencies": {
72
- "@ledgerhq/hw-transport": "^6.27.2-yolo.0",
72
+ "@ledgerhq/hw-transport": "^6.27.2",
73
73
  "@ledgerhq/logs": "^6.10.0",
74
74
  "bip32-path": "^0.4.2",
75
75
  "bitcoinjs-lib": "^5.2.0",
@@ -83,8 +83,8 @@
83
83
  "varuint-bitcoin": "1.1.2"
84
84
  },
85
85
  "devDependencies": {
86
- "@ledgerhq/hw-transport-mocker": "^6.27.2-yolo.0",
87
- "@ledgerhq/hw-transport-node-speculos": "^6.27.2-yolo.0",
86
+ "@ledgerhq/hw-transport-mocker": "^6.27.2",
87
+ "@ledgerhq/hw-transport-node-speculos": "^6.27.2",
88
88
  "axios": "^0.25.0"
89
89
  },
90
90
  "gitHead": "dd0dea64b58e5a9125c8a422dcffd29e5ef6abec",