@ledgerhq/hw-app-btc 7.0.0-nightly.1 → 8.0.0-next.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 29d2be36de78c1d5
1
+ @ledgerhq/hw-app-btc:build: cache hit, replaying output 18e89b033510f262
2
2
  @ledgerhq/hw-app-btc:build:
3
- @ledgerhq/hw-app-btc:build: > @ledgerhq/hw-app-btc@6.27.2-nightly.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@7.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,16 +1,50 @@
1
1
  # @ledgerhq/hw-app-btc
2
2
 
3
- ## 7.0.0-nightly.1
3
+ ## 8.0.0-next.0
4
4
 
5
5
  ### Major Changes
6
6
 
7
- - [#523](https://github.com/LedgerHQ/ledger-live/pull/523) [`89387dee6`](https://github.com/LedgerHQ/ledger-live/commit/89387dee6dfc2a63fa29665ab5524f3950d3ce0e) Thanks [@hzheng-ledger](https://github.com/hzheng-ledger)! - fix zen transaction parser. Jira ticket: https://ledgerhq.atlassian.net/browse/LIVE-1869
7
+ - [#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.
8
+
9
+ 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.
10
+
11
+ #### 🔥 BREAKING CHANGES for `@ledgerhq/live-common`, `@ledgerhq/devices` and `@ledgerhq/hw-app-btc` consumers.
12
+
13
+ As highlighted [here](https://github.com/nodejs/node#39994), it is not possible to target folders directly when using subpath exports.
14
+
15
+ The workaround is to suffix the call with `/index` (or `/`).
16
+
17
+ For instance…
18
+
19
+ ```ts
20
+ import * as currencies from "@ledgerhq/live-common/currencies";
21
+ ```
22
+
23
+ …must be rewritten to…
24
+
25
+ ```ts
26
+ import * as currencies from "@ledgerhq/live-common/currencies/index;";
27
+ ```
28
+
29
+ …or:
8
30
 
9
- ## 6.27.2-nightly.0
31
+ ```ts
32
+ import * as currencies from "@ledgerhq/live-common/currencies/;";
33
+ ```
10
34
 
11
35
  ### Patch Changes
12
36
 
13
- - 47252169a: add dummy changesets
14
- - Updated dependencies [47252169a]
15
- - @ledgerhq/hw-transport@6.27.2-nightly.0
16
- - @ledgerhq/logs@6.10.1-nightly.0
37
+ - Updated dependencies []:
38
+ - @ledgerhq/hw-transport@6.27.2-next.0
39
+
40
+ ## 7.0.0
41
+
42
+ ### Major Changes
43
+
44
+ - [#523](https://github.com/LedgerHQ/ledger-live/pull/523) [`89387dee6`](https://github.com/LedgerHQ/ledger-live/commit/89387dee6dfc2a63fa29665ab5524f3950d3ce0e) Thanks [@hzheng-ledger](https://github.com/hzheng-ledger)! - fix zen transaction parser. Jira ticket: https://ledgerhq.atlassian.net/browse/LIVE-1869
45
+
46
+ ## 7.0.0-next.0
47
+
48
+ ### Major Changes
49
+
50
+ - [#523](https://github.com/LedgerHQ/ledger-live/pull/523) [`89387dee6`](https://github.com/LedgerHQ/ledger-live/commit/89387dee6dfc2a63fa29665ab5524f3950d3ce0e) Thanks [@hzheng-ledger](https://github.com/hzheng-ledger)! - fix zen transaction parser. Jira ticket: https://ledgerhq.atlassian.net/browse/LIVE-1869
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/hw-app-btc",
3
- "version": "7.0.0-nightly.1",
3
+ "version": "8.0.0-next.0",
4
4
  "description": "Ledger Hardware Wallet Bitcoin Application API",
5
5
  "keywords": [
6
6
  "Ledger",
@@ -13,22 +13,64 @@
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
  },
25
25
  "main": "lib/Btc.js",
26
26
  "module": "lib-es/Btc.js",
27
27
  "types": "lib/Btc.d.ts",
28
+ "typesVersions": {
29
+ "*": {
30
+ "lib/*/": [
31
+ "lib/*/index.d.ts"
32
+ ],
33
+ "lib/*": [
34
+ "lib/*"
35
+ ],
36
+ "lib-es/*/": [
37
+ "lib-es/*/index.d.ts"
38
+ ],
39
+ "lib-es/*": [
40
+ "lib-es/*"
41
+ ],
42
+ "*/": [
43
+ "lib/*/index.d.ts"
44
+ ],
45
+ "*": [
46
+ "lib/*",
47
+ "lib/Btc.d.ts"
48
+ ]
49
+ }
50
+ },
51
+ "exports": {
52
+ "./lib/*/": "./lib/*/index.js",
53
+ "./lib/*": "./lib/*.js",
54
+ "./lib-es/*/": "./lib-es/*/index.js",
55
+ "./lib-es/*": "./lib-es/*.js",
56
+ "./*/": {
57
+ "require": "./lib/*/index.js",
58
+ "default": "./lib-es/*/index.js"
59
+ },
60
+ "./*": {
61
+ "require": "./lib/*.js",
62
+ "default": "./lib-es/*.js"
63
+ },
64
+ ".": {
65
+ "require": "./lib/Btc.js",
66
+ "default": "./lib-es/Btc.js"
67
+ },
68
+ "./package.json": "./package.json"
69
+ },
28
70
  "license": "Apache-2.0",
29
71
  "dependencies": {
30
- "@ledgerhq/hw-transport": "^6.27.2-nightly.0",
31
- "@ledgerhq/logs": "^6.10.1-nightly.0",
72
+ "@ledgerhq/hw-transport": "^6.27.2-next.0",
73
+ "@ledgerhq/logs": "^6.10.0",
32
74
  "bip32-path": "^0.4.2",
33
75
  "bitcoinjs-lib": "^5.2.0",
34
76
  "bs58": "^4.0.1",
@@ -41,8 +83,8 @@
41
83
  "varuint-bitcoin": "1.1.2"
42
84
  },
43
85
  "devDependencies": {
44
- "@ledgerhq/hw-transport-mocker": "^6.27.2-nightly.0",
45
- "@ledgerhq/hw-transport-node-speculos": "^6.27.2-nightly.0",
86
+ "@ledgerhq/hw-transport-mocker": "^6.27.2-next.0",
87
+ "@ledgerhq/hw-transport-node-speculos": "^6.27.2-next.0",
46
88
  "axios": "^0.25.0"
47
89
  },
48
90
  "gitHead": "dd0dea64b58e5a9125c8a422dcffd29e5ef6abec",