@onekeyfe/hd-shared
Advanced tools
Comparing version 0.1.18 to 0.1.19
@@ -61,2 +61,4 @@ export interface IHardwareError { | ||
readonly BridgeNotInstalled: 808; | ||
readonly PollingTimeout: 809; | ||
readonly PollingStop: 810; | ||
}; | ||
@@ -63,0 +65,0 @@ export declare const HardwareErrorCodeMessage: HardwareErrorCodeMessageMapping; |
@@ -70,2 +70,4 @@ declare type Deferred<T, I = any, D = any> = { | ||
readonly BridgeNotInstalled: 808; | ||
readonly PollingTimeout: 809; | ||
readonly PollingStop: 810; | ||
}; | ||
@@ -72,0 +74,0 @@ declare const HardwareErrorCodeMessage: HardwareErrorCodeMessageMapping; |
@@ -130,2 +130,4 @@ 'use strict'; | ||
BridgeNotInstalled: 808, | ||
PollingTimeout: 809, | ||
PollingStop: 810, | ||
}; | ||
@@ -178,2 +180,4 @@ const HardwareErrorCodeMessage = { | ||
[HardwareErrorCode.BridgeNotInstalled]: 'Bridge not installed', | ||
[HardwareErrorCode.PollingTimeout]: 'Polling timeout', | ||
[HardwareErrorCode.PollingStop]: 'Polling stop', | ||
}; | ||
@@ -180,0 +184,0 @@ const TypedError = (hardwareError, message) => { |
{ | ||
"name": "@onekeyfe/hd-shared", | ||
"version": "0.1.18", | ||
"version": "0.1.19", | ||
"description": "Hardware SDK's shared tool library", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "eebfd1dd46b146c64a8bfda691dc4d8402fa105b" | ||
"gitHead": "bec3f099bb54a945e46941796e24ab7e7b739566" | ||
} |
@@ -229,2 +229,12 @@ export interface IHardwareError { | ||
BridgeNotInstalled: 808, | ||
/** | ||
* ensure connect timeout | ||
*/ | ||
PollingTimeout: 809, | ||
/** | ||
* ensure connect stop polling | ||
*/ | ||
PollingStop: 810, | ||
} as const; | ||
@@ -309,2 +319,4 @@ | ||
[HardwareErrorCode.BridgeNotInstalled]: 'Bridge not installed', | ||
[HardwareErrorCode.PollingTimeout]: 'Polling timeout', | ||
[HardwareErrorCode.PollingStop]: 'Polling stop', | ||
} as const; | ||
@@ -311,0 +323,0 @@ |
Sorry, the diff of this file is not supported yet
29252
715
17
1