@ledgerhq/types-devices
Advanced tools
Comparing version 6.22.1-monorepo.4 to 6.22.1-nightly.0
# @ledgerhq/types-devices | ||
## 6.22.1-monorepo.4 | ||
## 6.22.1-nightly.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 | ||
- f6f2d8f15: add dummy changesets |
{ | ||
"name": "@ledgerhq/types-devices", | ||
"version": "6.22.1-monorepo.4", | ||
"version": "6.22.1-nightly.0", | ||
"description": "Ledger types for devices and transport.", | ||
@@ -29,5 +29,5 @@ "keywords": [ | ||
"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" | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22124