@onekeyfe/hd-ble-sdk 1.0.24-alpha.3 → 1.0.24-alpha.5
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 +1 -1
- package/package.json +5 -5
- package/src/index.ts +1 -1
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
|
+
"version": "1.0.24-alpha.5",
|
|
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.
|
|
24
|
-
"@onekeyfe/hd-shared": "^1.0.24-alpha.
|
|
25
|
-
"@onekeyfe/hd-transport-react-native": "^1.0.24-alpha.
|
|
23
|
+
"@onekeyfe/hd-core": "^1.0.24-alpha.5",
|
|
24
|
+
"@onekeyfe/hd-shared": "^1.0.24-alpha.5",
|
|
25
|
+
"@onekeyfe/hd-transport-react-native": "^1.0.24-alpha.5"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "31edbcbcbb4dee44ddba8fb5a6bde9d48957e3a9"
|
|
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,
|