@onekeyfe/hd-transport-web-device 1.2.0-alpha.113 → 1.2.0-alpha.115

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -738,7 +738,7 @@ const toBleDescriptor = (device, protocolType) => (Object.assign({ id: device.id
738
738
  const BLE_PACKET_SIZE_FALLBACK = 192;
739
739
  const BLE_PACKET_SIZE_MAXIMUM = 244;
740
740
  const BLE_WRITE_DELAY_MS = 5;
741
- const PROTOCOL_PROBE_TIMEOUT_MS = 1000;
741
+ const PROTOCOL_PROBE_TIMEOUT_MS = 3000;
742
742
  const PROTOCOL_V2_PROBE_TIMEOUT_MS = 5000;
743
743
  class ElectronBleTransport {
744
744
  constructor() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-transport-web-device",
3
- "version": "1.2.0-alpha.113",
3
+ "version": "1.2.0-alpha.115",
4
4
  "author": "OneKey",
5
5
  "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
6
6
  "license": "MIT",
@@ -21,13 +21,13 @@
21
21
  "lint:fix": "eslint . --fix"
22
22
  },
23
23
  "dependencies": {
24
- "@onekeyfe/hd-shared": "1.2.0-alpha.113",
25
- "@onekeyfe/hd-transport": "1.2.0-alpha.113"
24
+ "@onekeyfe/hd-shared": "1.2.0-alpha.115",
25
+ "@onekeyfe/hd-transport": "1.2.0-alpha.115"
26
26
  },
27
27
  "devDependencies": {
28
- "@onekeyfe/hd-transport-electron": "1.2.0-alpha.113",
28
+ "@onekeyfe/hd-transport-electron": "1.2.0-alpha.115",
29
29
  "@types/w3c-web-usb": "^1.0.6",
30
30
  "@types/web-bluetooth": "^0.0.17"
31
31
  },
32
- "gitHead": "859d0105877f964acb536cd6f337d2d3999d22d5"
32
+ "gitHead": "24c7cf18659ba9e49ce0630ef16863e136bfec72"
33
33
  }
@@ -71,7 +71,7 @@ const toBleDescriptor = (
71
71
  const BLE_PACKET_SIZE_FALLBACK = 192;
72
72
  const BLE_PACKET_SIZE_MAXIMUM = 244;
73
73
  const BLE_WRITE_DELAY_MS = 5;
74
- const PROTOCOL_PROBE_TIMEOUT_MS = 1000;
74
+ const PROTOCOL_PROBE_TIMEOUT_MS = 3000;
75
75
  const PROTOCOL_V2_PROBE_TIMEOUT_MS = 5000;
76
76
 
77
77
  /**