Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@onekeyfe/hd-shared

Package Overview
Dependencies
Maintainers
2
Versions
239
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 0.2.40 to 0.2.41

1

dist/HardwareError.d.ts

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

4

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

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