@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.
@@ -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;AA0IpE,QAAA,MAAM,cAAc,qCAQlB,CAAC;AAEH,eAAe,cAAc,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.1",
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.1",
24
- "@onekeyfe/hd-shared": "^1.0.24-alpha.1",
25
- "@onekeyfe/hd-transport-react-native": "^1.0.24-alpha.1"
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": "812b999e6d8ae5b8d0f1d5980c5e8207cb812d94"
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;