@onekeyfe/hd-shared
Advanced tools
Comparing version 1.0.0-alpha.3 to 1.0.0-alpha.4
@@ -33,2 +33,3 @@ export interface IHardwareError { | ||
readonly DeviceOpenedPassphrase: 114; | ||
readonly DeviceDetectInBootloaderMode: 115; | ||
readonly NotInitialized: 200; | ||
@@ -35,0 +36,0 @@ readonly IFrameNotInitialized: 300; |
@@ -42,2 +42,3 @@ type Deferred<T, I = any, D = any> = { | ||
readonly DeviceOpenedPassphrase: 114; | ||
readonly DeviceDetectInBootloaderMode: 115; | ||
readonly NotInitialized: 200; | ||
@@ -44,0 +45,0 @@ readonly IFrameNotInitialized: 300; |
@@ -107,2 +107,3 @@ 'use strict'; | ||
DeviceOpenedPassphrase: 114, | ||
DeviceDetectInBootloaderMode: 115, | ||
NotInitialized: 200, | ||
@@ -182,2 +183,3 @@ IFrameNotInitialized: 300, | ||
[HardwareErrorCode.DeviceOpenedPassphrase]: 'Device opened passphrase', | ||
[HardwareErrorCode.DeviceDetectInBootloaderMode]: 'Device in bootloader mode', | ||
[HardwareErrorCode.NotInitialized]: 'Not initialized', | ||
@@ -184,0 +186,0 @@ [HardwareErrorCode.IFrameNotInitialized]: 'IFrame not initialized', |
{ | ||
"name": "@onekeyfe/hd-shared", | ||
"version": "1.0.0-alpha.3", | ||
"version": "1.0.0-alpha.4", | ||
"description": "Hardware SDK's shared tool library", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "b0943a932b0744702d82837349a97a70034160c7" | ||
"gitHead": "216ae99dccdae4b01bd7fc9f62e0b593c243a864" | ||
} |
@@ -125,2 +125,7 @@ export interface IHardwareError { | ||
/** | ||
* Detect hardware that is in bootloader mode and return an error. | ||
*/ | ||
DeviceDetectInBootloaderMode: 115, | ||
/** | ||
* Not initialized | ||
@@ -372,2 +377,3 @@ */ | ||
[HardwareErrorCode.DeviceOpenedPassphrase]: 'Device opened passphrase', | ||
[HardwareErrorCode.DeviceDetectInBootloaderMode]: 'Device in bootloader mode', | ||
@@ -374,0 +380,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
39648
968