New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@ledgerhq/hw-app-btc

Package Overview
Dependencies
Maintainers
20
Versions
437
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/hw-app-btc - npm Package Compare versions

Comparing version 7.0.0 to 8.0.0-yolo.0

37

CHANGELOG.md
# @ledgerhq/hw-app-btc
## 8.0.0-yolo.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-yolo.0
## 7.0.0

@@ -4,0 +41,0 @@

50

package.json
{
"name": "@ledgerhq/hw-app-btc",
"version": "7.0.0",
"version": "8.0.0-yolo.0",
"description": "Ledger Hardware Wallet Bitcoin Application API",

@@ -28,5 +28,47 @@ "keywords": [

"types": "lib/Btc.d.ts",
"typesVersions": {
"*": {
"lib/*/": [
"lib/*/index.d.ts"
],
"lib/*": [
"lib/*"
],
"lib-es/*/": [
"lib-es/*/index.d.ts"
],
"lib-es/*": [
"lib-es/*"
],
"*/": [
"lib/*/index.d.ts"
],
"*": [
"lib/*",
"lib/Btc.d.ts"
]
}
},
"exports": {
"./lib/*/": "./lib/*/index.js",
"./lib/*": "./lib/*.js",
"./lib-es/*/": "./lib-es/*/index.js",
"./lib-es/*": "./lib-es/*.js",
"./*/": {
"require": "./lib/*/index.js",
"default": "./lib-es/*/index.js"
},
"./*": {
"require": "./lib/*.js",
"default": "./lib-es/*.js"
},
".": {
"require": "./lib/Btc.js",
"default": "./lib-es/Btc.js"
},
"./package.json": "./package.json"
},
"license": "Apache-2.0",
"dependencies": {
"@ledgerhq/hw-transport": "^6.27.1",
"@ledgerhq/hw-transport": "^6.27.2-yolo.0",
"@ledgerhq/logs": "^6.10.0",

@@ -45,4 +87,4 @@ "bip32-path": "^0.4.2",

"devDependencies": {
"@ledgerhq/hw-transport-mocker": "^6.27.1",
"@ledgerhq/hw-transport-node-speculos": "^6.27.1",
"@ledgerhq/hw-transport-mocker": "^6.27.2-yolo.0",
"@ledgerhq/hw-transport-node-speculos": "^6.27.2-yolo.0",
"axios": "^0.25.0"

@@ -49,0 +91,0 @@ },

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc