@onekeyfe/hd-transport-react-native
Advanced tools
Comparing version 0.1.11 to 0.1.12
@@ -334,3 +334,3 @@ 'use strict'; | ||
if (!hasBonded) { | ||
throw hdShared.ERRORS.TypedError('device is not bonded'); | ||
throw hdShared.ERRORS.TypedError(hdShared.HardwareErrorCode.BleDeviceNotBonded, 'device is not bonded'); | ||
} | ||
@@ -337,0 +337,0 @@ } |
{ | ||
"name": "@onekeyfe/hd-transport-react-native", | ||
"version": "0.1.11", | ||
"version": "0.1.12", | ||
"homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme", | ||
@@ -23,8 +23,8 @@ "license": "MIT", | ||
"dependencies": { | ||
"@onekeyfe/hd-shared": "^0.1.11", | ||
"@onekeyfe/hd-transport": "^0.1.11", | ||
"@onekeyfe/hd-shared": "^0.1.12", | ||
"@onekeyfe/hd-transport": "^0.1.12", | ||
"react-native-ble-manager": "^8.1.0", | ||
"react-native-ble-plx": "^2.0.3" | ||
}, | ||
"gitHead": "4a71d9d0de15a8179cac16565be09f1c601ddfd5" | ||
"gitHead": "38d4f8d711d212de8617f217a0148dcf3cdcc477" | ||
} |
@@ -239,3 +239,3 @@ import { Platform } from 'react-native'; | ||
if (!hasBonded) { | ||
throw ERRORS.TypedError('device is not bonded'); | ||
throw ERRORS.TypedError(HardwareErrorCode.BleDeviceNotBonded, 'device is not bonded'); | ||
} | ||
@@ -242,0 +242,0 @@ } |
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
51105