🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Sign inDemoInstall
Socket

@onekeyfe/hd-transport

Package Overview
Dependencies
Maintainers
0
Versions
309
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onekeyfe/hd-transport - npm Package Compare versions

Comparing version

to
1.0.22

1

dist/index.js

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

OneKeyDeviceType[OneKeyDeviceType["PRO"] = 5] = "PRO";
OneKeyDeviceType[OneKeyDeviceType["PURE"] = 6] = "PURE";
})(exports.OneKeyDeviceType || (exports.OneKeyDeviceType = {}));

@@ -690,0 +689,0 @@ exports.OneKeySeType = void 0;

5

dist/types/transport.d.ts

@@ -0,1 +1,3 @@

/// <reference types="w3c-web-usb" />
/// <reference types="web-bluetooth" />
/// <reference types="node" />

@@ -37,2 +39,3 @@ import type EventEmitter from 'events';

cancel(): Promise<void>;
promptDeviceAccess?: () => Promise<USBDevice | BluetoothDevice | null>;
init: ITransportInitFn;

@@ -44,4 +47,2 @@ stop(): void;

activeName?: string;
requestDevice: () => Promise<void>;
requestNeeded: boolean;
isOutdated: boolean;

@@ -48,0 +49,0 @@ };

{
"name": "@onekeyfe/hd-transport",
"version": "1.0.22-alpha.3",
"version": "1.0.22",
"description": "> TODO: description",

@@ -22,3 +22,5 @@ "author": "OneKey",

"devDependencies": {
"@types/bytebuffer": "^5.0.42"
"@types/bytebuffer": "^5.0.42",
"@types/w3c-web-usb": "^1.0.10",
"@types/web-bluetooth": "^0.0.21"
},

@@ -30,3 +32,3 @@ "dependencies": {

},
"gitHead": "db8311c67b334e824ea6b9a19977c1619e470377"
"gitHead": "91124a7846f8366bb1c2294fc3d983c6e2adf535"
}

@@ -46,2 +46,5 @@ import type EventEmitter from 'events';

// web-usb, web-bluetooth request device
promptDeviceAccess?: () => Promise<USBDevice | BluetoothDevice | null>;
// resolves when the transport can be used; rejects when it cannot

@@ -56,7 +59,2 @@ init: ITransportInitFn;

// webusb has a different model, where you have to
// request device connection
requestDevice: () => Promise<void>;
requestNeeded: boolean;
isOutdated: boolean;

@@ -63,0 +61,0 @@ };

@@ -5,4 +5,8 @@ {

"outDir": "./dist",
"types": [
"w3c-web-usb",
"web-bluetooth"
]
},
"include": ["./src"]
}

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display