@onekeyfe/hd-transport-electron 1.2.0-alpha.34 → 1.2.0-alpha.35

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-transport-electron",
3
- "version": "1.2.0-alpha.34",
3
+ "version": "1.2.0-alpha.35",
4
4
  "author": "OneKey",
5
5
  "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
6
6
  "license": "MIT",
@@ -25,9 +25,9 @@
25
25
  "electron-log": ">=4.0.0"
26
26
  },
27
27
  "dependencies": {
28
- "@onekeyfe/hd-core": "1.2.0-alpha.34",
29
- "@onekeyfe/hd-shared": "1.2.0-alpha.34",
30
- "@onekeyfe/hd-transport": "1.2.0-alpha.34",
28
+ "@onekeyfe/hd-core": "1.2.0-alpha.35",
29
+ "@onekeyfe/hd-shared": "1.2.0-alpha.35",
30
+ "@onekeyfe/hd-transport": "1.2.0-alpha.35",
31
31
  "@stoprocent/noble": "2.3.16",
32
32
  "p-retry": "^4.6.2"
33
33
  },
@@ -36,5 +36,5 @@
36
36
  "electron": "^25.0.0",
37
37
  "typescript": "^5.3.3"
38
38
  },
39
- "gitHead": "07f10b4c9fab177da7c36d976ec18b075492b57f"
39
+ "gitHead": "638bd33030686c4a3321e4feb4924c3f9f5c81a8"
40
40
  }
@@ -2,12 +2,10 @@ import { runBleCallbackOperation } from '../ble-ops';
2
2
 
3
3
  describe('Electron Noble callback operations', () => {
4
4
  test('settles when Noble never invokes the callback', async () => {
5
- const result = await runBleCallbackOperation(
6
- callback => {
7
- void callback;
8
- },
9
- { timeoutMs: 5, timeoutBehavior: 'resolve' }
10
- );
5
+ const result = await runBleCallbackOperation(() => undefined, {
6
+ timeoutMs: 5,
7
+ timeoutBehavior: 'resolve',
8
+ });
11
9
 
12
10
  expect(result).toBeUndefined();
13
11
  });