@ledgerhq/hw-app-btc
Advanced tools
Comparing version 8.0.0-yolo.0 to 8.0.0
# @ledgerhq/hw-app-btc | ||
## 8.0.0-yolo.0 | ||
## 8.0.0 | ||
@@ -38,4 +38,41 @@ ### Major Changes | ||
- Updated dependencies []: | ||
- @ledgerhq/hw-transport@6.27.2-yolo.0 | ||
- @ledgerhq/hw-transport@6.27.2 | ||
## 8.0.0-next.0 | ||
### Major Changes | ||
- [#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. | ||
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. | ||
#### 🔥 BREAKING CHANGES for `@ledgerhq/live-common`, `@ledgerhq/devices` and `@ledgerhq/hw-app-btc` consumers. | ||
As highlighted [here](https://github.com/nodejs/node#39994), it is not possible to target folders directly when using subpath exports. | ||
The workaround is to suffix the call with `/index` (or `/`). | ||
For instance… | ||
```ts | ||
import * as currencies from "@ledgerhq/live-common/currencies"; | ||
``` | ||
…must be rewritten to… | ||
```ts | ||
import * as currencies from "@ledgerhq/live-common/currencies/index;"; | ||
``` | ||
…or: | ||
```ts | ||
import * as currencies from "@ledgerhq/live-common/currencies/;"; | ||
``` | ||
### Patch Changes | ||
- Updated dependencies []: | ||
- @ledgerhq/hw-transport@6.27.2-next.0 | ||
## 7.0.0 | ||
@@ -42,0 +79,0 @@ |
{ | ||
"name": "@ledgerhq/hw-app-btc", | ||
"version": "8.0.0-yolo.0", | ||
"version": "8.0.0", | ||
"description": "Ledger Hardware Wallet Bitcoin Application API", | ||
@@ -16,8 +16,8 @@ "keywords": [ | ||
"type": "git", | ||
"url": "https://github.com/LedgerHQ/ledgerjs" | ||
"url": "https://github.com/LedgerHQ/ledger-live.git" | ||
}, | ||
"bugs": { | ||
"url": "https://github.com/LedgerHQ/ledgerjs/issues" | ||
"url": "https://github.com/LedgerHQ/ledger-live/issues" | ||
}, | ||
"homepage": "https://github.com/LedgerHQ/ledgerjs", | ||
"homepage": "https://github.com/LedgerHQ/ledger-live/tree/develop/libs/ledgerjs/packages/hw-app-btc", | ||
"publishConfig": { | ||
@@ -73,3 +73,3 @@ "access": "public" | ||
"dependencies": { | ||
"@ledgerhq/hw-transport": "^6.27.2-yolo.0", | ||
"@ledgerhq/hw-transport": "^6.27.2", | ||
"@ledgerhq/logs": "^6.10.0", | ||
@@ -88,4 +88,4 @@ "bip32-path": "^0.4.2", | ||
"devDependencies": { | ||
"@ledgerhq/hw-transport-mocker": "^6.27.2-yolo.0", | ||
"@ledgerhq/hw-transport-node-speculos": "^6.27.2-yolo.0", | ||
"@ledgerhq/hw-transport-mocker": "^6.27.2", | ||
"@ledgerhq/hw-transport-node-speculos": "^6.27.2", | ||
"axios": "^0.25.0" | ||
@@ -92,0 +92,0 @@ }, |
Sorry, the diff of this file is not supported yet
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
1194588
0