Socket
Socket
Sign inDemoInstall

@onekeyfe/hd-shared

Package Overview
Dependencies
Maintainers
2
Versions
235
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.1.45 to 0.1.46

1

dist/HardwareError.d.ts

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

readonly BleAlreadyConnected: 711;
readonly BleLocationServicesDisabled: 712;
readonly RuntimeError: 800;

@@ -64,0 +65,0 @@ readonly PinInvalid: 801;

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

readonly BleAlreadyConnected: 711;
readonly BleLocationServicesDisabled: 712;
readonly RuntimeError: 800;

@@ -73,0 +74,0 @@ readonly PinInvalid: 801;

4

dist/index.js

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

BleAlreadyConnected: 711,
BleLocationServicesDisabled: 712,
RuntimeError: 800,

@@ -180,3 +181,3 @@ PinInvalid: 801,

[HardwareErrorCode.BlePermissionError]: 'Bluetooth required to be turned on',
[HardwareErrorCode.BleLocationError]: 'Device is not authorized to use BluetoothLE',
[HardwareErrorCode.BleLocationError]: 'Location permissions for the application are not available',
[HardwareErrorCode.BleRequiredUUID]: 'uuid is required',

@@ -191,2 +192,3 @@ [HardwareErrorCode.BleConnectedError]: 'connected error is always runtime error',

[HardwareErrorCode.BleAlreadyConnected]: 'Already connected to device',
[HardwareErrorCode.BleLocationServicesDisabled]: 'Location Services disabled',
[HardwareErrorCode.RuntimeError]: 'Runtime error',

@@ -193,0 +195,0 @@ [HardwareErrorCode.PinInvalid]: 'Pin invalid',

{
"name": "@onekeyfe/hd-shared",
"version": "0.1.45",
"version": "0.1.46",
"description": "Hardware SDK's shared tool library",

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

},
"gitHead": "0436f8ff26494933124c1c6f4586d4aeb5526c30"
"gitHead": "cb71b9b5f2013756b0ba8d4111e233124bf6282e"
}

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

BleAlreadyConnected: 711,
BleLocationServicesDisabled: 712,

@@ -351,3 +352,4 @@ /**

[HardwareErrorCode.BlePermissionError]: 'Bluetooth required to be turned on',
[HardwareErrorCode.BleLocationError]: 'Device is not authorized to use BluetoothLE',
[HardwareErrorCode.BleLocationError]:
'Location permissions for the application are not available',
[HardwareErrorCode.BleRequiredUUID]: 'uuid is required',

@@ -362,2 +364,3 @@ [HardwareErrorCode.BleConnectedError]: 'connected error is always runtime error',

[HardwareErrorCode.BleAlreadyConnected]: 'Already connected to device',
[HardwareErrorCode.BleLocationServicesDisabled]: 'Location Services disabled',

@@ -364,0 +367,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