trezor-link
Advanced tools
Comparing version 0.1.21 to 0.1.22
@@ -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)); |
{ | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
296174
58
5805