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.1-monorepo.4 to 6.22.1-next.0

28

CHANGELOG.md
# @ledgerhq/types-devices
## 6.22.1-monorepo.4
## 6.22.1-next.0
### Patch Changes
- f6cb87454: test prerelease
## 6.22.1-monorepo.3
### Patch Changes
- 7f4a91716: clean pnpm-lock file
## 6.22.1-monorepo.2
### Patch Changes
- a439963a7: test prerelease
## 6.22.1-monorepo.1
### Patch Changes
- 1b6fec9db: monorepo prelease 2
## 6.22.1-monorepo.0
### Patch Changes
- test prerelease
- [#970](https://github.com/LedgerHQ/ledger-live/pull/970) [`ecfdd1ebd`](https://github.com/LedgerHQ/ledger-live/commit/ecfdd1ebd8cc7c4b5bc6315316ce662bb6241311) Thanks [@alexandremgo](https://github.com/alexandremgo)! - BLE scanning and pairing hooks

3

lib-es/index.d.ts

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

nanoSP = "nanoSP",
nanoX = "nanoX"
nanoX = "nanoX",
nanoFTS = "nanoFTS"
}

@@ -12,0 +13,0 @@ /**

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

DeviceModelId["nanoX"] = "nanoX";
DeviceModelId["nanoFTS"] = "nanoFTS";
})(DeviceModelId || (DeviceModelId = {}));
//# sourceMappingURL=index.js.map

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

nanoSP = "nanoSP",
nanoX = "nanoX"
nanoX = "nanoX",
nanoFTS = "nanoFTS"
}

@@ -12,0 +13,0 @@ /**

@@ -13,3 +13,4 @@ "use strict";

DeviceModelId["nanoX"] = "nanoX";
DeviceModelId["nanoFTS"] = "nanoFTS";
})(DeviceModelId = exports.DeviceModelId || (exports.DeviceModelId = {}));
//# sourceMappingURL=index.js.map
{
"name": "@ledgerhq/types-devices",
"version": "6.22.1-monorepo.4",
"version": "6.22.1-next.0",
"description": "Ledger types for devices and transport.",

@@ -10,8 +10,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/types-devices",
"publishConfig": {

@@ -25,10 +25,11 @@ "access": "public"

"scripts": {
"clean": "bash ../../script/clean.sh",
"build": "bash ../../script/build.sh",
"watch": "bash ../../script/watch.sh",
"doc": "bash ../../script/doc.sh",
"clean": "rimraf lib lib-es",
"build": "tsc && tsc -m ES6 --outDir lib-es",
"prewatch": "pnpm build",
"watch": "tsc --watch",
"doc": "documentation readme src/** --section=API --pe ts --re ts --re d.ts",
"lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx",
"lint:fix": "pnpm lint --fix",
"test": "jest"
},
"readme": "<img src=\"https://user-images.githubusercontent.com/211411/34776833-6f1ef4da-f618-11e7-8b13-f0697901d6a8.png\" height=\"100\" />\n\n## @ledgerhq/types-devices\n\nLedger types for devices and transport.\n\n## API\n\n<!-- Generated by documentation.js. Update this documentation by updating the source code. -->\n\n#### Table of Contents\n\n* [DeviceModelId](#devicemodelid)\n* [DeviceModel](#devicemodel)\n* [BluetoothInfos](#bluetoothinfos)\n* [Subscription](#subscription)\n * [Properties](#properties)\n* [Device](#device)\n* [Observer](#observer)\n* [send](#send)\n * [Parameters](#parameters)\n* [on](#on)\n* [off](#off)\n* [setExchangeTimeout](#setexchangetimeout)\n* [setExchangeUnresponsiveTimeout](#setexchangeunresponsivetimeout)\n\n### DeviceModelId\n\nDeviceModelId is a unique identifier to identify the model of a Ledger hardware wallet.\n\n### DeviceModel\n\na DeviceModel contains all the information of a specific Ledger hardware wallet model.\n\n### BluetoothInfos\n\n### Subscription\n\nrepresent an ongoing job that can be stopped with .unsubscribe()\n\nType: {unsubscribe: function (): void}\n\n#### Properties\n\n* `unsubscribe` **function (): void** \n\n### Device\n\ndata about the device. not yet typed\n\nType: any\n\n### Observer\n\nType: Readonly<{next: function (event: Ev): any, error: function (e: any): any, complete: function (): any}>\n\n### send\n\nwrapper on top of exchange to simplify work of the implementation.\n\nType: function (cla: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), ins: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), p1: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), p2: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number), data: [Buffer](https://nodejs.org/api/buffer.html), statusList: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)<[number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)>): [Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)<[Buffer](https://nodejs.org/api/buffer.html)>\n\n#### Parameters\n\n* `cla` \n* `ins` \n* `p1` \n* `p2` \n* `data` \n* `statusList` is a list of accepted status code (shorts). \\[0x9000] by default\n\nReturns **any** a Promise of response buffer\n\n### on\n\nListen to an event on an instance of transport.\nTransport implementation can have specific events. Here is the common events:\n\n* `\"disconnect\"` : triggered if Transport is disconnected\n\nType: function (eventName: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), cb: function (...args: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\\<any>): any): void\n\n### off\n\nStop listening to an event on an instance of transport.\n\nType: function (eventName: [string](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/String), cb: function (...args: [Array](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Array)\\<any>): any): void\n\n### setExchangeTimeout\n\nSet a timeout (in milliseconds) for the exchange call. Only some transport might implement it. (e.g. U2F)\n\nType: function (exchangeTimeout: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)): void\n\n### setExchangeUnresponsiveTimeout\n\nDefine the delay before emitting \"unresponsive\" on an exchange that does not respond\n\nType: function (unresponsiveTimeout: [number](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Number)): void\n"
}
}

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

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

@@ -11,0 +12,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

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