@ledgerhq/react-native-hw-transport-ble
Advanced tools
Comparing version 2.2.0-beta.9d29a5c6 to 2.2.0
@@ -482,2 +482,6 @@ "use strict"; | ||
BluetoothTransport.isSupported = function () { | ||
return _promise2.default.resolve(typeof _reactNativeBlePlx.BleManager === "function"); | ||
}; | ||
BluetoothTransport.list = function () { | ||
@@ -484,0 +488,0 @@ return _promise2.default.resolve([]); |
{ | ||
"name": "@ledgerhq/react-native-hw-transport-ble", | ||
"version": "2.2.0-beta.9d29a5c6", | ||
"version": "2.2.0", | ||
"description": "Ledger Hardware Wallet bluetooth BLE implementation of the transport layer", | ||
@@ -29,3 +29,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@ledgerhq/hw-transport": "^2.2.0-beta.9d29a5c6", | ||
"@ledgerhq/hw-transport": "^2.2.0", | ||
"invariant": "^2.2.0" | ||
@@ -32,0 +32,0 @@ }, |
@@ -119,2 +119,5 @@ //@flow | ||
export default class BluetoothTransport extends Transport<Device> { | ||
static isSupported = (): Promise<boolean> => | ||
Promise.resolve(typeof BleManager === "function"); | ||
static list = (): * => Promise.resolve([]); | ||
@@ -121,0 +124,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
54904
872
0
0