@onekeyfe/hd-ble-sdk 1.0.24-alpha.1 → 1.0.24-alpha.3
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.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/package.json +5 -5
- package/src/index.ts +2 -0
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAuBA,OAAO,EAA0B,QAAQ,EAAqB,MAAM,qBAAqB,CAAC;AAU1F,eAAO,MAAM,eAAe,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAA;CAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAuBA,OAAO,EAA0B,QAAQ,EAAqB,MAAM,qBAAqB,CAAC;AAU1F,eAAO,MAAM,eAAe,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAA;CAAO,CAAC;AA2IpE,QAAA,MAAM,cAAc,qCASlB,CAAC;AAEH,eAAe,cAAc,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -636,6 +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
640
|
const HardwareBleSdk = HardwareSdk__default["default"]({
|
|
640
641
|
eventEmitter,
|
|
641
642
|
init,
|
|
@@ -644,6 +645,7 @@ const HardwareBleSdk = HardwareSdk__default["default"]({
|
|
|
644
645
|
dispose,
|
|
645
646
|
uiResponse,
|
|
646
647
|
updateSettings,
|
|
648
|
+
switchTransport,
|
|
647
649
|
});
|
|
648
650
|
|
|
649
651
|
exports["default"] = HardwareBleSdk;
|
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.3",
|
|
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.3",
|
|
24
|
+
"@onekeyfe/hd-shared": "^1.0.24-alpha.3",
|
|
25
|
+
"@onekeyfe/hd-transport-react-native": "^1.0.24-alpha.3"
|
|
26
26
|
},
|
|
27
|
-
"gitHead": "
|
|
27
|
+
"gitHead": "3ab54b39d972a4d29ddbc816c97abbd694ec0d3c"
|
|
28
28
|
}
|
package/src/index.ts
CHANGED
|
@@ -168,6 +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
172
|
|
|
172
173
|
const HardwareBleSdk = HardwareSdk({
|
|
173
174
|
eventEmitter,
|
|
@@ -177,6 +178,7 @@ const HardwareBleSdk = HardwareSdk({
|
|
|
177
178
|
dispose,
|
|
178
179
|
uiResponse,
|
|
179
180
|
updateSettings,
|
|
181
|
+
switchTransport,
|
|
180
182
|
});
|
|
181
183
|
|
|
182
184
|
export default HardwareBleSdk;
|