Socket
Socket
Sign inDemoInstall

@ledgerhq/devices

Package Overview
Dependencies
Maintainers
7
Versions
261
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/devices - npm Package Compare versions

Comparing version 8.3.0 to 8.4.0-nightly.0

11

CHANGELOG.md
# @ledgerhq/devices
## 8.4.0-nightly.0
### Minor Changes
- [#6596](https://github.com/LedgerHQ/ledger-live/pull/6596) [`77fa530`](https://github.com/LedgerHQ/ledger-live/commit/77fa530c8626df94fa7f9c0a8b3a99f2efa7cb11) Thanks [@KVNLS](https://github.com/KVNLS)! - Upgrade React Native to version 0.73.6
### Patch Changes
- Updated dependencies [[`77fa530`](https://github.com/LedgerHQ/ledger-live/commit/77fa530c8626df94fa7f9c0a8b3a99f2efa7cb11)]:
- @ledgerhq/errors@6.17.0-nightly.0
## 8.3.0

@@ -4,0 +15,0 @@

12

lib-es/ble/receiveAPDU.test.js

@@ -9,3 +9,3 @@ import { from } from "rxjs";

Buffer.from([
...[0x05, 0, 0, 0, 0x1f],
...[0x05, 0, 0, 0, 0x1f], // Tag, frame id and message length (2 bytes)
...[

@@ -30,3 +30,3 @@ 0x33, 0x20, 0x00, 0x04, 0x05, 0x31, 0x2e, 0x33, 0x2e, 0x30, 0x04, 0xe6, 0x02, 0x00,

Buffer.from([
...[0x05, 0, 0, 0, 0x42],
...[0x05, 0, 0, 0, 0x42], // Tag, frame id and message length (2 bytes)
...[

@@ -42,3 +42,3 @@ 0x54, 0x6f, 0x66, 0x75, 0x49, 0x73, 0x4e, 0x75, 0x74, 0x72, 0x69, 0x74, 0x69, 0x6f,

Buffer.from([
...[0x05, 0, 0x01],
...[0x05, 0, 0x01], // Tag and frame id
...[0x79, 0x42, 0x69, 0x74, 0x65, 0x90, 0x00],

@@ -60,3 +60,3 @@ // No 0-padding

Buffer.from([
...[0x05, 0, 0, 0, 0x1f],
...[0x05, 0, 0, 0, 0x1f], // Tag, frame id and message length (2 bytes)
...[

@@ -70,3 +70,3 @@ 0x33, 0x20, 0x00, 0x04, 0x05, 0x31, 0x2e, 0x33, 0x2e, 0x30, 0x04, 0xe6, 0x02, 0x00,

Buffer.from([
...[0x05, 0, 0, 0, 0x1f],
...[0x05, 0, 0, 0, 0x1f], // Tag, frame id and message length (2 bytes)
...[

@@ -80,3 +80,3 @@ 0x33, 0x20, 0x00, 0x04, 0x05, 0x31, 0x2e, 0x33, 0x2e, 0x30, 0x04, 0xe6, 0x02, 0x00,

Buffer.from([
...[0x05, 0, 0, 0, 0x1f],
...[0x05, 0, 0, 0, 0x1f], // Tag, frame id and message length (2 bytes)
...[

@@ -83,0 +83,0 @@ 0x33, 0x20, 0x00, 0x04, 0x05, 0x31, 0x2e, 0x33, 0x2e, 0x30, 0x04, 0xe6, 0x02, 0x00,

@@ -27,3 +27,3 @@ import { sendAPDU } from "./sendAPDU";

Buffer.from([
...[0x05, 0, 0, 0, 0x45, 0xe0, 0xd4, 0x00, 0x00, 0x40],
...[0x05, 0, 0, 0, 0x45, 0xe0, 0xd4, 0x00, 0x00, 0x40], // Tag, frame id, total length, and APDU until the Data part
...[

@@ -38,3 +38,3 @@ 0x54, 0x6f, 0x66, 0x75, 0x49, 0x73, 0x4e, 0x75, 0x74, 0x72, 0x69, 0x74, 0x69, 0x6f,

Buffer.from([
...[0x05, 0, 0x01],
...[0x05, 0, 0x01], // Tag and frame id
...[0x6e, 0x45, 0x76, 0x65, 0x72, 0x79, 0x42, 0x69, 0x74, 0x65], // Second part of the new device name

@@ -41,0 +41,0 @@ // No 0-padding is needed

@@ -34,3 +34,3 @@ import createHIDframing from "./hid-framing";

...channelBytes,
...[0x05, 0, 0, 0, 0x45, 0xe0, 0xd4, 0x00, 0x00, 0x40],
...[0x05, 0, 0, 0, 0x45, 0xe0, 0xd4, 0x00, 0x00, 0x40], // Tag, frame id, total length, and APDU until the Data part
...[

@@ -46,4 +46,4 @@ 0x54, 0x6f, 0x66, 0x75, 0x49, 0x73, 0x4e, 0x75, 0x74, 0x72, 0x69, 0x74, 0x69, 0x6f,

...channelBytes,
...[0x05, 0, 0x01],
...[0x79, 0x49, 0x6e, 0x45, 0x76, 0x65, 0x72, 0x79, 0x42, 0x69, 0x74, 0x65],
...[0x05, 0, 0x01], // Tag and frame id
...[0x79, 0x49, 0x6e, 0x45, 0x76, 0x65, 0x72, 0x79, 0x42, 0x69, 0x74, 0x65], // Second part of the new device name
...Buffer.alloc(47, 0), // 0-padding

@@ -73,3 +73,3 @@ ]),

...channelBytes,
...[0x05, 0, 0, 0, 0x1f],
...[0x05, 0, 0, 0, 0x1f], // Tag, frame id and message length (2 bytes)
...[

@@ -97,3 +97,3 @@ 0x33, 0x20, 0x00, 0x04, 0x05, 0x31, 0x2e, 0x33, 0x2e, 0x30, 0x04, 0xe6, 0x02, 0x00,

...channelBytes,
...[0x05, 0, 0, 0, 0x42],
...[0x05, 0, 0, 0, 0x42], // Tag, frame id and message length (2 bytes)
...[

@@ -112,3 +112,3 @@ 0x54, 0x6f, 0x66, 0x75, 0x49, 0x73, 0x4e, 0x75, 0x74, 0x72, 0x69, 0x74, 0x69, 0x6f,

...channelBytes,
...[0x05, 0, 0x01],
...[0x05, 0, 0x01], // Tag and frame id
...[0x65, 0x72, 0x79, 0x42, 0x69, 0x74, 0x65, 0x90, 0x00],

@@ -115,0 +115,0 @@ ...Buffer.alloc(50, 0), // 0-padding

@@ -99,4 +99,4 @@ import semver from "semver";

[DeviceModelId.europa]: {
id: DeviceModelId.europa,
productName: "Ledger Europa",
id: DeviceModelId.europa, // TODO: change to the real product's name one day
productName: "Ledger Europa", // TODO: change to the real product's name one day
productIdMM: 0x70,

@@ -103,0 +103,0 @@ legacyUsbProductId: 0x0007,

@@ -11,3 +11,3 @@ "use strict";

Buffer.from([
...[0x05, 0, 0, 0, 0x1f],
...[0x05, 0, 0, 0, 0x1f], // Tag, frame id and message length (2 bytes)
...[

@@ -32,3 +32,3 @@ 0x33, 0x20, 0x00, 0x04, 0x05, 0x31, 0x2e, 0x33, 0x2e, 0x30, 0x04, 0xe6, 0x02, 0x00,

Buffer.from([
...[0x05, 0, 0, 0, 0x42],
...[0x05, 0, 0, 0, 0x42], // Tag, frame id and message length (2 bytes)
...[

@@ -44,3 +44,3 @@ 0x54, 0x6f, 0x66, 0x75, 0x49, 0x73, 0x4e, 0x75, 0x74, 0x72, 0x69, 0x74, 0x69, 0x6f,

Buffer.from([
...[0x05, 0, 0x01],
...[0x05, 0, 0x01], // Tag and frame id
...[0x79, 0x42, 0x69, 0x74, 0x65, 0x90, 0x00],

@@ -62,3 +62,3 @@ // No 0-padding

Buffer.from([
...[0x05, 0, 0, 0, 0x1f],
...[0x05, 0, 0, 0, 0x1f], // Tag, frame id and message length (2 bytes)
...[

@@ -72,3 +72,3 @@ 0x33, 0x20, 0x00, 0x04, 0x05, 0x31, 0x2e, 0x33, 0x2e, 0x30, 0x04, 0xe6, 0x02, 0x00,

Buffer.from([
...[0x05, 0, 0, 0, 0x1f],
...[0x05, 0, 0, 0, 0x1f], // Tag, frame id and message length (2 bytes)
...[

@@ -82,3 +82,3 @@ 0x33, 0x20, 0x00, 0x04, 0x05, 0x31, 0x2e, 0x33, 0x2e, 0x30, 0x04, 0xe6, 0x02, 0x00,

Buffer.from([
...[0x05, 0, 0, 0, 0x1f],
...[0x05, 0, 0, 0, 0x1f], // Tag, frame id and message length (2 bytes)
...[

@@ -85,0 +85,0 @@ 0x33, 0x20, 0x00, 0x04, 0x05, 0x31, 0x2e, 0x33, 0x2e, 0x30, 0x04, 0xe6, 0x02, 0x00,

@@ -29,3 +29,3 @@ "use strict";

Buffer.from([
...[0x05, 0, 0, 0, 0x45, 0xe0, 0xd4, 0x00, 0x00, 0x40],
...[0x05, 0, 0, 0, 0x45, 0xe0, 0xd4, 0x00, 0x00, 0x40], // Tag, frame id, total length, and APDU until the Data part
...[

@@ -40,3 +40,3 @@ 0x54, 0x6f, 0x66, 0x75, 0x49, 0x73, 0x4e, 0x75, 0x74, 0x72, 0x69, 0x74, 0x69, 0x6f,

Buffer.from([
...[0x05, 0, 0x01],
...[0x05, 0, 0x01], // Tag and frame id
...[0x6e, 0x45, 0x76, 0x65, 0x72, 0x79, 0x42, 0x69, 0x74, 0x65], // Second part of the new device name

@@ -43,0 +43,0 @@ // No 0-padding is needed

@@ -39,3 +39,3 @@ "use strict";

...channelBytes,
...[0x05, 0, 0, 0, 0x45, 0xe0, 0xd4, 0x00, 0x00, 0x40],
...[0x05, 0, 0, 0, 0x45, 0xe0, 0xd4, 0x00, 0x00, 0x40], // Tag, frame id, total length, and APDU until the Data part
...[

@@ -51,4 +51,4 @@ 0x54, 0x6f, 0x66, 0x75, 0x49, 0x73, 0x4e, 0x75, 0x74, 0x72, 0x69, 0x74, 0x69, 0x6f,

...channelBytes,
...[0x05, 0, 0x01],
...[0x79, 0x49, 0x6e, 0x45, 0x76, 0x65, 0x72, 0x79, 0x42, 0x69, 0x74, 0x65],
...[0x05, 0, 0x01], // Tag and frame id
...[0x79, 0x49, 0x6e, 0x45, 0x76, 0x65, 0x72, 0x79, 0x42, 0x69, 0x74, 0x65], // Second part of the new device name
...Buffer.alloc(47, 0), // 0-padding

@@ -78,3 +78,3 @@ ]),

...channelBytes,
...[0x05, 0, 0, 0, 0x1f],
...[0x05, 0, 0, 0, 0x1f], // Tag, frame id and message length (2 bytes)
...[

@@ -102,3 +102,3 @@ 0x33, 0x20, 0x00, 0x04, 0x05, 0x31, 0x2e, 0x33, 0x2e, 0x30, 0x04, 0xe6, 0x02, 0x00,

...channelBytes,
...[0x05, 0, 0, 0, 0x42],
...[0x05, 0, 0, 0, 0x42], // Tag, frame id and message length (2 bytes)
...[

@@ -117,3 +117,3 @@ 0x54, 0x6f, 0x66, 0x75, 0x49, 0x73, 0x4e, 0x75, 0x74, 0x72, 0x69, 0x74, 0x69, 0x6f,

...channelBytes,
...[0x05, 0, 0x01],
...[0x05, 0, 0x01], // Tag and frame id
...[0x65, 0x72, 0x79, 0x42, 0x69, 0x74, 0x65, 0x90, 0x00],

@@ -120,0 +120,0 @@ ...Buffer.alloc(50, 0), // 0-padding

@@ -105,4 +105,4 @@ "use strict";

[DeviceModelId.europa]: {
id: DeviceModelId.europa,
productName: "Ledger Europa",
id: DeviceModelId.europa, // TODO: change to the real product's name one day
productName: "Ledger Europa", // TODO: change to the real product's name one day
productIdMM: 0x70,

@@ -109,0 +109,0 @@ legacyUsbProductId: 0x0007,

{
"name": "@ledgerhq/devices",
"version": "8.3.0",
"version": "8.4.0-nightly.0",
"description": "Ledger devices",

@@ -58,3 +58,3 @@ "keywords": [

"semver": "^7.3.5",
"@ledgerhq/errors": "^6.16.4",
"@ledgerhq/errors": "^6.17.0-nightly.0",
"@ledgerhq/logs": "^6.12.0"

@@ -61,0 +61,0 @@ },

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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