@onekeyfe/hd-ble-sdk 1.0.24-alpha.3 → 1.0.24-alpha.4

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
@@ -636,7 +636,7 @@ const call = (params) => __awaiter(void 0, void 0, void 0, function* () {
636
636
  }
637
637
  });
638
638
  const updateSettings = () => Promise.resolve(true);
639
- const switchTransport = () => Promise.resolve(true);
639
+ const switchTransport = () => Promise.resolve({ success: true });
640
640
  const HardwareBleSdk = HardwareSdk__default["default"]({
641
641
  eventEmitter,
642
642
  init,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-ble-sdk",
3
- "version": "1.0.24-alpha.3",
3
+ "version": "1.0.24-alpha.4",
4
4
  "author": "OneKey",
5
5
  "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
6
6
  "license": "ISC",
@@ -20,9 +20,9 @@
20
20
  "lint:fix": "eslint . --fix"
21
21
  },
22
22
  "dependencies": {
23
- "@onekeyfe/hd-core": "^1.0.24-alpha.3",
24
- "@onekeyfe/hd-shared": "^1.0.24-alpha.3",
25
- "@onekeyfe/hd-transport-react-native": "^1.0.24-alpha.3"
23
+ "@onekeyfe/hd-core": "^1.0.24-alpha.4",
24
+ "@onekeyfe/hd-shared": "^1.0.24-alpha.4",
25
+ "@onekeyfe/hd-transport-react-native": "^1.0.24-alpha.4"
26
26
  },
27
- "gitHead": "3ab54b39d972a4d29ddbc816c97abbd694ec0d3c"
27
+ "gitHead": "9e47718995aed0f9a5873ef2b42ab2fa7a7ba250"
28
28
  }
package/src/index.ts CHANGED
@@ -168,7 +168,7 @@ const call = async (params: any) => {
168
168
  };
169
169
 
170
170
  const updateSettings = () => Promise.resolve(true);
171
- const switchTransport = () => Promise.resolve(true);
171
+ const switchTransport = () => Promise.resolve({ success: true });
172
172
 
173
173
  const HardwareBleSdk = HardwareSdk({
174
174
  eventEmitter,