Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

@ledgerhq/types-devices

Package Overview
Dependencies
Maintainers
20
Versions
40
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/types-devices - npm Package Compare versions

Comparing version 6.22.3 to 6.22.4-next.0

10

CHANGELOG.md
# @ledgerhq/types-devices
## 6.22.4-next.0
### Patch Changes
- [#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
* [#2012](https://github.com/LedgerHQ/ledger-live/pull/2012) [`f6947ccc8f`](https://github.com/LedgerHQ/ledger-live/commit/f6947ccc8faceef656929e5fdde1fa6f52619efb) Thanks [@juan-cortes](https://github.com/juan-cortes)! - Added types for battery status
- [#2012](https://github.com/LedgerHQ/ledger-live/pull/2012) [`93bd602206`](https://github.com/LedgerHQ/ledger-live/commit/93bd602206137e10e5d5c8aa61d9b5aefef993ce) Thanks [@juan-cortes](https://github.com/juan-cortes)! - Added support for Battery status APDU + CLI command and tests
## 6.22.3

@@ -4,0 +14,0 @@

19

lib-es/index.d.ts

@@ -10,3 +10,3 @@ /// <reference types="node" />

nanoX = "nanoX",
nanoFTS = "nanoFTS"
stax = "stax"
}

@@ -35,2 +35,19 @@ /**

*/
export declare enum ChargingModes {
NONE = 0,
USB = 1,
QI = 2
}
/**
* Series of flags to represent the health status of the Ledger hardware wallet battery.
*/
export interface BatteryStatusFlags {
charging: ChargingModes;
issueCharging: boolean;
issueTemperature: boolean;
issueBattery: boolean;
}
/**
*
*/
export interface BluetoothInfos {

@@ -37,0 +54,0 @@ deviceModel: DeviceModel;

@@ -10,4 +10,13 @@ /**

DeviceModelId["nanoX"] = "nanoX";
DeviceModelId["nanoFTS"] = "nanoFTS";
DeviceModelId["stax"] = "stax";
})(DeviceModelId || (DeviceModelId = {}));
/**
*
*/
export var ChargingModes;
(function (ChargingModes) {
ChargingModes[ChargingModes["NONE"] = 0] = "NONE";
ChargingModes[ChargingModes["USB"] = 1] = "USB";
ChargingModes[ChargingModes["QI"] = 2] = "QI";
})(ChargingModes || (ChargingModes = {}));
//# sourceMappingURL=index.js.map

@@ -10,3 +10,3 @@ /// <reference types="node" />

nanoX = "nanoX",
nanoFTS = "nanoFTS"
stax = "stax"
}

@@ -35,2 +35,19 @@ /**

*/
export declare enum ChargingModes {
NONE = 0,
USB = 1,
QI = 2
}
/**
* Series of flags to represent the health status of the Ledger hardware wallet battery.
*/
export interface BatteryStatusFlags {
charging: ChargingModes;
issueCharging: boolean;
issueTemperature: boolean;
issueBattery: boolean;
}
/**
*
*/
export interface BluetoothInfos {

@@ -37,0 +54,0 @@ deviceModel: DeviceModel;

"use strict";
exports.__esModule = true;
exports.DeviceModelId = void 0;
exports.ChargingModes = exports.DeviceModelId = void 0;
/**

@@ -13,4 +13,13 @@ * DeviceModelId is a unique identifier to identify the model of a Ledger hardware wallet.

DeviceModelId["nanoX"] = "nanoX";
DeviceModelId["nanoFTS"] = "nanoFTS";
DeviceModelId["stax"] = "stax";
})(DeviceModelId = exports.DeviceModelId || (exports.DeviceModelId = {}));
/**
*
*/
var ChargingModes;
(function (ChargingModes) {
ChargingModes[ChargingModes["NONE"] = 0] = "NONE";
ChargingModes[ChargingModes["USB"] = 1] = "USB";
ChargingModes[ChargingModes["QI"] = 2] = "QI";
})(ChargingModes = exports.ChargingModes || (exports.ChargingModes = {}));
//# sourceMappingURL=index.js.map

2

package.json
{
"name": "@ledgerhq/types-devices",
"version": "6.22.3",
"version": "6.22.4-next.0",
"description": "Ledger types for devices and transport.",

@@ -5,0 +5,0 @@ "keywords": [

@@ -15,2 +15,4 @@ <img src="https://user-images.githubusercontent.com/4631227/191834116-59cf590e-25cc-4956-ae5c-812ea464f324.png" height="100" />

* [DeviceModel](#devicemodel)
* [ChargingModes](#chargingmodes)
* [BatteryStatusFlags](#batterystatusflags)
* [BluetoothInfos](#bluetoothinfos)

@@ -36,2 +38,8 @@ * [Subscription](#subscription)

### ChargingModes
### BatteryStatusFlags
Series of flags to represent the health status of the Ledger hardware wallet battery.
### BluetoothInfos

@@ -38,0 +46,0 @@

@@ -9,3 +9,3 @@ /**

nanoX = "nanoX",
nanoFTS = "nanoFTS",
stax = "stax",
}

@@ -35,2 +35,21 @@ /**

*/
export enum ChargingModes {
NONE = 0x00,
USB = 0x01,
QI = 0x02,
}
/**
* Series of flags to represent the health status of the Ledger hardware wallet battery.
*/
export interface BatteryStatusFlags {
charging: ChargingModes;
issueCharging: boolean;
issueTemperature: boolean;
issueBattery: boolean;
}
/**
*
*/
export interface BluetoothInfos {

@@ -37,0 +56,0 @@ deviceModel: DeviceModel;

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