@ledgerhq/hw-transport-web-ble
Advanced tools
Comparing version 4.38.0 to 4.38.4
@@ -517,3 +517,3 @@ "use strict"; | ||
return buffer.readUInt8(5); | ||
}), (0, _operators.timeout)(30000)), (0, _rxjs.defer)(function () { | ||
})), (0, _rxjs.defer)(function () { | ||
return (0, _rxjs.from)(_this4.write(Buffer.from([0x08, 0, 0, 0, 0]))); | ||
@@ -520,0 +520,0 @@ }).pipe((0, _operators.ignoreElements)())).toPromise(); |
{ | ||
"name": "@ledgerhq/hw-transport-web-ble", | ||
"version": "4.38.0", | ||
"version": "4.38.4", | ||
"description": "Ledger Hardware Wallet Web Bluetooth implementation of the communication layer", | ||
@@ -44,3 +44,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "b28bb3a9697d5ecd6f2d29c93e66feeae94455a4" | ||
"gitHead": "b75aba9c5aa7f43ebb757f82b5ff9770c9ed670e" | ||
} |
@@ -12,10 +12,3 @@ // @flow | ||
import { Observable, defer, merge, from } from "rxjs"; | ||
import { | ||
share, | ||
ignoreElements, | ||
first, | ||
map, | ||
tap, | ||
timeout | ||
} from "rxjs/operators"; | ||
import { share, ignoreElements, first, map, tap } from "rxjs/operators"; | ||
import { logSubject } from "./debug"; | ||
@@ -277,4 +270,3 @@ import type { Device, Characteristic } from "./types"; | ||
first(buffer => buffer.readUInt8(0) === 0x08), | ||
map(buffer => buffer.readUInt8(5)), | ||
timeout(30000) | ||
map(buffer => buffer.readUInt8(5)) | ||
), | ||
@@ -281,0 +273,0 @@ defer(() => from(this.write(Buffer.from([0x08, 0, 0, 0, 0])))).pipe( |
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
104109
1266