@onekeyfe/hd-shared
Advanced tools
Comparing version 1.0.3 to 1.0.4-alpha.0
@@ -40,2 +40,3 @@ export interface IHardwareError { | ||
readonly IframeBlocked: 304; | ||
readonly IframeDistrust: 305; | ||
readonly CallMethodError: 400; | ||
@@ -42,0 +43,0 @@ readonly CallMethodNotResponse: 404; |
@@ -49,2 +49,3 @@ type Deferred<T, I = any, D = any> = { | ||
readonly IframeBlocked: 304; | ||
readonly IframeDistrust: 305; | ||
readonly CallMethodError: 400; | ||
@@ -51,0 +52,0 @@ readonly CallMethodNotResponse: 404; |
@@ -114,2 +114,3 @@ 'use strict'; | ||
IframeBlocked: 304, | ||
IframeDistrust: 305, | ||
CallMethodError: 400, | ||
@@ -190,2 +191,3 @@ CallMethodNotResponse: 404, | ||
[HardwareErrorCode.IframeBlocked]: 'IFrame blocked', | ||
[HardwareErrorCode.IframeDistrust]: 'IFrame host not trust', | ||
[HardwareErrorCode.CallMethodError]: 'Runtime errors during method execution', | ||
@@ -192,0 +194,0 @@ [HardwareErrorCode.CallMethodNotResponse]: 'Method does not responding', |
{ | ||
"name": "@onekeyfe/hd-shared", | ||
"version": "1.0.3", | ||
"version": "1.0.4-alpha.0", | ||
"description": "Hardware SDK's shared tool library", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "4eadcfe0493b10d37b6e46e59fc41a24409a6d70" | ||
"gitHead": "4b7f6956bcb5c2570c62ae796e314f1335404786" | ||
} |
@@ -160,2 +160,7 @@ export interface IHardwareError { | ||
/** | ||
* iframe host not trust | ||
*/ | ||
IframeDistrust: 305, | ||
/** | ||
* Runtime errors during method execution | ||
@@ -391,2 +396,3 @@ */ | ||
[HardwareErrorCode.IframeBlocked]: 'IFrame blocked', | ||
[HardwareErrorCode.IframeDistrust]: 'IFrame host not trust', | ||
@@ -393,0 +399,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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
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
39933
977
1