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

trezor-link

Package Overview
Dependencies
Maintainers
1
Versions
222
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

trezor-link - npm Package Compare versions

Comparing version 0.1.21 to 0.1.22

lib/fallback.js

11

lib/index.js

@@ -6,3 +6,3 @@ 'use strict';

});
exports.ParallelTransport = exports.LowlevelTransport = undefined;
exports.ParallelTransport = exports.FallbackTransport = exports.LowlevelTransport = undefined;

@@ -18,2 +18,11 @@ var _lowlevelTransport = require('./lowlevel-transport');

var _fallback = require('./fallback');
Object.defineProperty(exports, 'FallbackTransport', {
enumerable: true,
get: function get() {
return _fallback.FallbackTransport;
}
});
var _parallel = require('./parallel');

@@ -20,0 +29,0 @@

@@ -145,2 +145,3 @@ "use strict";

}
const pureDevices = devices.map(device => {

@@ -151,2 +152,3 @@ const path = device.path;

});
return stringify(pureDevices);

@@ -365,2 +367,3 @@ }

}
const messages = this._messages;

@@ -379,2 +382,3 @@ const resPromise = (() => {

})();
return $return(Promise.race([this.deferedOnRelease[session].rejectingPromise, resPromise]));

@@ -381,0 +385,0 @@ }.$asyncbind(this));

2

package.json
{
"name": "trezor-link",
"version": "0.1.21",
"version": "0.1.22",
"description": "Trezor Link",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -7,4 +7,5 @@ /* @flow */

export {LowlevelTransport} from './lowlevel-transport';
export {FallbackTransport} from './fallback';
export {ParallelTransport} from './parallel';
export type {Transport, AcquireInput, TrezorDeviceInfoWithSession, MessageFromTrezor} from './transport';

@@ -23,2 +23,3 @@ /* @flow */

}
const pureDevices = devices.map(device => {

@@ -29,2 +30,3 @@ const path = device.path;

});
return stringify(pureDevices);

@@ -200,2 +202,3 @@ }

}
const messages = this._messages;

@@ -207,2 +210,3 @@ const resPromise: Promise<MessageFromTrezor> = (async () => {

})();
return Promise.race([this.deferedOnRelease[session].rejectingPromise, resPromise]);

@@ -209,0 +213,0 @@ }

Sorry, the diff of this file is not supported yet

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