@onekeyfe/hd-shared
Advanced tools
Comparing version 0.2.40 to 0.2.41
@@ -50,2 +50,3 @@ export interface IHardwareError { | ||
readonly UseDesktopToUpdateFirmware: 413; | ||
readonly NewFirmwareForceUpdate: 414; | ||
readonly NetworkError: 500; | ||
@@ -52,0 +53,0 @@ readonly TransportNotConfigured: 600; |
@@ -59,2 +59,3 @@ declare type Deferred<T, I = any, D = any> = { | ||
readonly UseDesktopToUpdateFirmware: 413; | ||
readonly NewFirmwareForceUpdate: 414; | ||
readonly NetworkError: 500; | ||
@@ -61,0 +62,0 @@ readonly TransportNotConfigured: 600; |
@@ -119,2 +119,3 @@ 'use strict'; | ||
UseDesktopToUpdateFirmware: 413, | ||
NewFirmwareForceUpdate: 414, | ||
NetworkError: 500, | ||
@@ -188,2 +189,3 @@ TransportNotConfigured: 600, | ||
[HardwareErrorCode.NewFirmwareUnRelease]: 'new firmware has not been released yet', | ||
[HardwareErrorCode.NewFirmwareForceUpdate]: 'new firmware has been released, please update', | ||
[HardwareErrorCode.UseDesktopToUpdateFirmware]: 'Please use OneKey desktop client to update the firmware', | ||
@@ -190,0 +192,0 @@ [HardwareErrorCode.NetworkError]: 'Network request error', |
{ | ||
"name": "@onekeyfe/hd-shared", | ||
"version": "0.2.40", | ||
"version": "0.2.41", | ||
"description": "Hardware SDK's shared tool library", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "05a3b7842d099fb9cce59111306816746998e7f6" | ||
"gitHead": "9ca2163be245dda2432f1c6c44a30fb612b7e1d5" | ||
} |
@@ -213,2 +213,8 @@ export interface IHardwareError { | ||
/** | ||
* Mandatory firmware update | ||
* @params:{ connectId: string? , deviceId: string? } | ||
*/ | ||
NewFirmwareForceUpdate: 414, | ||
/** | ||
* Netword request error | ||
@@ -379,2 +385,3 @@ */ | ||
[HardwareErrorCode.NewFirmwareUnRelease]: 'new firmware has not been released yet', | ||
[HardwareErrorCode.NewFirmwareForceUpdate]: 'new firmware has been released, please update', | ||
[HardwareErrorCode.UseDesktopToUpdateFirmware]: | ||
@@ -381,0 +388,0 @@ 'Please use OneKey desktop client to update the firmware', |
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
37791
919