@onekeyfe/hd-shared
Advanced tools
Comparing version 0.1.45 to 0.1.46
@@ -62,2 +62,3 @@ export interface IHardwareError { | ||
readonly BleAlreadyConnected: 711; | ||
readonly BleLocationServicesDisabled: 712; | ||
readonly RuntimeError: 800; | ||
@@ -64,0 +65,0 @@ readonly PinInvalid: 801; |
@@ -71,2 +71,3 @@ declare type Deferred<T, I = any, D = any> = { | ||
readonly BleAlreadyConnected: 711; | ||
readonly BleLocationServicesDisabled: 712; | ||
readonly RuntimeError: 800; | ||
@@ -73,0 +74,0 @@ readonly PinInvalid: 801; |
@@ -131,2 +131,3 @@ 'use strict'; | ||
BleAlreadyConnected: 711, | ||
BleLocationServicesDisabled: 712, | ||
RuntimeError: 800, | ||
@@ -180,3 +181,3 @@ PinInvalid: 801, | ||
[HardwareErrorCode.BlePermissionError]: 'Bluetooth required to be turned on', | ||
[HardwareErrorCode.BleLocationError]: 'Device is not authorized to use BluetoothLE', | ||
[HardwareErrorCode.BleLocationError]: 'Location permissions for the application are not available', | ||
[HardwareErrorCode.BleRequiredUUID]: 'uuid is required', | ||
@@ -191,2 +192,3 @@ [HardwareErrorCode.BleConnectedError]: 'connected error is always runtime error', | ||
[HardwareErrorCode.BleAlreadyConnected]: 'Already connected to device', | ||
[HardwareErrorCode.BleLocationServicesDisabled]: 'Location Services disabled', | ||
[HardwareErrorCode.RuntimeError]: 'Runtime error', | ||
@@ -193,0 +195,0 @@ [HardwareErrorCode.PinInvalid]: 'Pin invalid', |
{ | ||
"name": "@onekeyfe/hd-shared", | ||
"version": "0.1.45", | ||
"version": "0.1.46", | ||
"description": "Hardware SDK's shared tool library", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "0436f8ff26494933124c1c6f4586d4aeb5526c30" | ||
"gitHead": "cb71b9b5f2013756b0ba8d4111e233124bf6282e" | ||
} |
@@ -226,2 +226,3 @@ export interface IHardwareError { | ||
BleAlreadyConnected: 711, | ||
BleLocationServicesDisabled: 712, | ||
@@ -351,3 +352,4 @@ /** | ||
[HardwareErrorCode.BlePermissionError]: 'Bluetooth required to be turned on', | ||
[HardwareErrorCode.BleLocationError]: 'Device is not authorized to use BluetoothLE', | ||
[HardwareErrorCode.BleLocationError]: | ||
'Location permissions for the application are not available', | ||
[HardwareErrorCode.BleRequiredUUID]: 'uuid is required', | ||
@@ -362,2 +364,3 @@ [HardwareErrorCode.BleConnectedError]: 'connected error is always runtime error', | ||
[HardwareErrorCode.BleAlreadyConnected]: 'Already connected to device', | ||
[HardwareErrorCode.BleLocationServicesDisabled]: 'Location Services disabled', | ||
@@ -364,0 +367,0 @@ /** |
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
33561
824