Socket
Socket
Sign inDemoInstall

@onekeyfe/hd-shared

Package Overview
Dependencies
Maintainers
2
Versions
233
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onekeyfe/hd-shared - npm Package Compare versions

Comparing version 1.0.3 to 1.0.4-alpha.0

1

dist/HardwareError.d.ts

@@ -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',

4

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc