Socket
Socket
Sign inDemoInstall

@onekeyfe/hd-shared

Package Overview
Dependencies
0
Maintainers
2
Versions
190
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.1.7 to 0.1.8

1

dist/HardwareError.d.ts

@@ -24,2 +24,3 @@ export interface IHardwareError {

readonly DeviceInterruptedFromOutside: 107;
readonly DeviceUnexpectedBootloaderMode: 108;
readonly NotInitialized: 200;

@@ -26,0 +27,0 @@ readonly IFrameNotInitialized: 300;

@@ -33,2 +33,3 @@ declare type Deferred<T, I = any, D = any> = {

readonly DeviceInterruptedFromOutside: 107;
readonly DeviceUnexpectedBootloaderMode: 108;
readonly NotInitialized: 200;

@@ -35,0 +36,0 @@ readonly IFrameNotInitialized: 300;

@@ -91,2 +91,3 @@ 'use strict';

DeviceInterruptedFromOutside: 107,
DeviceUnexpectedBootloaderMode: 108,
NotInitialized: 200,

@@ -132,2 +133,3 @@ IFrameNotInitialized: 300,

[HardwareErrorCode.DeviceInterruptedFromOutside]: 'Device interrupted',
[HardwareErrorCode.DeviceUnexpectedBootloaderMode]: 'Device should be in bootloader mode',
[HardwareErrorCode.NotInitialized]: 'Not initialized',

@@ -134,0 +136,0 @@ [HardwareErrorCode.IFrameNotInitialized]: 'IFrame not initialized',

4

package.json
{
"name": "@onekeyfe/hd-shared",
"version": "0.1.7",
"version": "0.1.8",
"description": "Hardware SDK's shared tool library",

@@ -28,3 +28,3 @@ "keywords": [

},
"gitHead": "1d3889d02e41afd60cd0388b6e01d7f2ac7c5399"
"gitHead": "d9514ac6207a2561ad107910ab005b3f9e12d794"
}

@@ -84,2 +84,7 @@ export interface IHardwareError {

/**
* Device is not in bootloader mode
*/
DeviceUnexpectedBootloaderMode: 108,
/**
* Not initialized

@@ -212,2 +217,3 @@ */

[HardwareErrorCode.DeviceInterruptedFromOutside]: 'Device interrupted',
[HardwareErrorCode.DeviceUnexpectedBootloaderMode]: 'Device should be in bootloader mode',

@@ -214,0 +220,0 @@ /**

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc