hardware-example 1.0.39-alpha.6 → 1.0.39-alpha.8

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/src/preload.ts +1 -0
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "hardware-example",
3
3
  "productName": "HardwareExample",
4
4
  "executableName": "onekey-hardware-example",
5
- "version": "1.0.39-alpha.6",
5
+ "version": "1.0.39-alpha.8",
6
6
  "author": "OneKey",
7
7
  "description": "End-to-end encrypted workspaces for teams",
8
8
  "main": "dist/index.js",
@@ -41,5 +41,5 @@
41
41
  "resolutions": {
42
42
  "**/node-gyp": "^10.0.1"
43
43
  },
44
- "gitHead": "dda47386111a3b354bc87c61610155f06b7a4493"
44
+ "gitHead": "ac900fb1eccd3b16adb85d4aa21fbfd9a3f803eb"
45
45
  }
package/src/preload.ts CHANGED
@@ -107,6 +107,7 @@ const desktopApi = {
107
107
  ipcRenderer.removeListener(EOneKeyBleMessageKeys.BLE_DEVICE_DISCONNECTED, subscription);
108
108
  };
109
109
  },
110
+ checkAvailability: () => ipcRenderer.invoke(EOneKeyBleMessageKeys.BLE_AVAILABILITY_CHECK),
110
111
  },
111
112
 
112
113
  // Simplified Bluetooth system management