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

@ledgerhq/types-devices

Package Overview
Dependencies
Maintainers
18
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.0 to 6.22.1-monorepo.0

CHANGELOG.md

10

package.json
{
"name": "@ledgerhq/types-devices",
"version": "6.22.0",
"version": "6.22.1-monorepo.0",
"description": "Ledger types for devices and transport.",

@@ -27,5 +27,7 @@ "keywords": [

"watch": "bash ../../script/watch.sh",
"doc": "bash ../../script/doc.sh"
"doc": "bash ../../script/doc.sh",
"lint": "eslint ./src --no-error-on-unmatched-pattern --ext .ts,.tsx",
"test": "jest"
},
"gitHead": "df473b65fc3a869bc4cbb65de5b057272366f2da"
}
"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"
}
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