@ledgerhq/devices 7.0.7-nightly.2 → 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,4 +1,4 @@
1
1
 
2
- > @ledgerhq/devices@7.0.7-nightly.1 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/devices
2
+ > @ledgerhq/devices@7.0.7 build /home/runner/work/ledger-live/ledger-live/libs/ledgerjs/packages/devices
3
3
  > tsc && tsc -m ES6 --outDir lib-es
4
4
 
package/CHANGELOG.md CHANGED
@@ -1,24 +1,51 @@
1
1
  # @ledgerhq/devices
2
2
 
3
- ## 7.0.7-nightly.2
3
+ ## 8.0.0-next.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#1991](https://github.com/LedgerHQ/ledger-live/pull/1991) [`62af25493e`](https://github.com/LedgerHQ/ledger-live/commit/62af25493e2becf897d517af42542db208b971c7) Thanks [@valpinkman](https://github.com/valpinkman)! - Remove the support for imports ending with `/` mapping to the `index.js` file.
8
+
9
+ For instance:
10
+
11
+ ```js
12
+ import { getCryptoCurrencyById } from "@ledgerhq/live-common/currencies/";
13
+ ```
14
+
15
+ Should be rewritten to:
16
+
17
+ ```js
18
+ import { getCryptoCurrencyById } from "@ledgerhq/live-common/currencies/index";
19
+ ```
20
+
21
+ This trailing slash is poorly supported by some tools like `vite.js` and was meant as a transitional change.
22
+ Time has come to remove the support for thos shorthand.
23
+
24
+ ## 7.0.7
4
25
 
5
26
  ### Patch Changes
6
27
 
28
+ - [#2066](https://github.com/LedgerHQ/ledger-live/pull/2066) [`3a267c1424`](https://github.com/LedgerHQ/ledger-live/commit/3a267c14241ebc9184490e7eb81b5d4bcc94b092) Thanks [@ofreyssinet-ledger](https://github.com/ofreyssinet-ledger)! - nanoFTS productName changed to "Ledger Stax"
29
+
30
+ * [#2144](https://github.com/LedgerHQ/ledger-live/pull/2144) [`1f65abb76f`](https://github.com/LedgerHQ/ledger-live/commit/1f65abb76f1a36b428b5c33dd3ad6c58b4d96aa2) Thanks [@juan-cortes](https://github.com/juan-cortes)! - libs - rename nano fts to stax
31
+
7
32
  - [#2150](https://github.com/LedgerHQ/ledger-live/pull/2150) [`e7c1eaa6a2`](https://github.com/LedgerHQ/ledger-live/commit/e7c1eaa6a24d36aa535df7a06f17c55858de5475) Thanks [@alexandremgo](https://github.com/alexandremgo)! - support: string to DeviceModelId helper function
8
33
 
9
- ## 7.0.7-nightly.1
34
+ - Updated dependencies [[`3df451dafb`](https://github.com/LedgerHQ/ledger-live/commit/3df451dafb7233f5e3f897478aee22e89f6e5339), [`20c5c5e109`](https://github.com/LedgerHQ/ledger-live/commit/20c5c5e1099885173aaa5ea3199052044066ac98)]:
35
+ - @ledgerhq/errors@6.12.3
36
+
37
+ ## 7.0.7-next.0
10
38
 
11
39
  ### Patch Changes
12
40
 
13
- - Updated dependencies [[`20c5c5e109`](https://github.com/LedgerHQ/ledger-live/commit/20c5c5e1099885173aaa5ea3199052044066ac98)]:
14
- - @ledgerhq/errors@6.12.3-nightly.1
41
+ - [#2066](https://github.com/LedgerHQ/ledger-live/pull/2066) [`3a267c1424`](https://github.com/LedgerHQ/ledger-live/commit/3a267c14241ebc9184490e7eb81b5d4bcc94b092) Thanks [@ofreyssinet-ledger](https://github.com/ofreyssinet-ledger)! - nanoFTS productName changed to "Ledger Stax"
15
42
 
16
- ## 7.0.7-nightly.0
43
+ * [#2144](https://github.com/LedgerHQ/ledger-live/pull/2144) [`1f65abb76f`](https://github.com/LedgerHQ/ledger-live/commit/1f65abb76f1a36b428b5c33dd3ad6c58b4d96aa2) Thanks [@juan-cortes](https://github.com/juan-cortes)! - libs - rename nano fts to stax
17
44
 
18
- ### Patch Changes
45
+ - [#2150](https://github.com/LedgerHQ/ledger-live/pull/2150) [`e7c1eaa6a2`](https://github.com/LedgerHQ/ledger-live/commit/e7c1eaa6a24d36aa535df7a06f17c55858de5475) Thanks [@alexandremgo](https://github.com/alexandremgo)! - support: string to DeviceModelId helper function
19
46
 
20
- - Updated dependencies [[`3df451dafb`](https://github.com/LedgerHQ/ledger-live/commit/3df451dafb7233f5e3f897478aee22e89f6e5339)]:
21
- - @ledgerhq/errors@6.12.3-nightly.0
47
+ - Updated dependencies [[`3df451dafb`](https://github.com/LedgerHQ/ledger-live/commit/3df451dafb7233f5e3f897478aee22e89f6e5339), [`20c5c5e109`](https://github.com/LedgerHQ/ledger-live/commit/20c5c5e1099885173aaa5ea3199052044066ac98)]:
48
+ - @ledgerhq/errors@6.12.3-next.0
22
49
 
23
50
  ## 7.0.6
24
51
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/devices",
3
- "version": "7.0.7-nightly.2",
3
+ "version": "8.0.0-next.0",
4
4
  "description": "Ledger devices",
5
5
  "keywords": [
6
6
  "Ledger"
@@ -21,39 +21,30 @@
21
21
  "types": "lib/index.d.ts",
22
22
  "typesVersions": {
23
23
  "*": {
24
- "lib/*/": [
25
- "lib/*/index.d.ts"
26
- ],
27
24
  "lib/*": [
28
25
  "lib/*"
29
26
  ],
30
- "lib-es/*/": [
31
- "lib-es/*/index.d.ts"
32
- ],
33
27
  "lib-es/*": [
34
28
  "lib-es/*"
35
29
  ],
36
- "*/": [
37
- "lib/*/index.d.ts"
38
- ],
39
30
  "*": [
40
31
  "lib/*"
41
32
  ]
42
33
  }
43
34
  },
44
35
  "exports": {
45
- "./lib/*/": "./lib/*/index.js",
46
36
  "./lib/*": "./lib/*.js",
47
- "./lib-es/*/": "./lib-es/*/index.js",
37
+ "./lib/*.js": "./lib/*.js",
48
38
  "./lib-es/*": "./lib-es/*.js",
49
- "./*/": {
50
- "require": "./lib/*/index.js",
51
- "default": "./lib-es/*/index.js"
52
- },
39
+ "./lib-es/*.js": "./lib-es/*.js",
53
40
  "./*": {
54
41
  "require": "./lib/*.js",
55
42
  "default": "./lib-es/*.js"
56
43
  },
44
+ "./*.js": {
45
+ "require": "./lib/*.js",
46
+ "default": "./lib-es/*.js"
47
+ },
57
48
  ".": {
58
49
  "require": "./lib/index.js",
59
50
  "default": "./lib-es/index.js"
@@ -64,7 +55,7 @@
64
55
  "dependencies": {
65
56
  "rxjs": "6",
66
57
  "semver": "^7.3.5",
67
- "@ledgerhq/errors": "^6.12.3-nightly.1",
58
+ "@ledgerhq/errors": "^6.12.3",
68
59
  "@ledgerhq/logs": "^6.10.1"
69
60
  },
70
61
  "devDependencies": {