@onekeyfe/hd-ble-sdk 1.2.0-alpha.20 → 1.2.0-alpha.21

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,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AASpD,eAAO,MAAM,eAAe,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAA;CAAO,CAAC;AA0JpE,QAAA,MAAM,cAAc,qCAUlB,CAAC;AAEH,eAAe,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAuBA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AASpD,eAAO,MAAM,eAAe,EAAE;IAAE,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAA;CAAO,CAAC;AAsJpE,QAAA,MAAM,cAAc,qCASlB,CAAC;AAEH,eAAe,cAAc,CAAC"}
package/dist/index.js CHANGED
@@ -539,9 +539,6 @@ const cancel = (connectId) => {
539
539
  return;
540
540
  _core.handleMessage({ event: HardwareSdk.IFRAME.CANCEL, type: HardwareSdk.IFRAME.CANCEL, payload: { connectId } });
541
541
  };
542
- const cancelOperation = (operationId) => {
543
- _core === null || _core === void 0 ? void 0 : _core.cancelOperation(operationId);
544
- };
545
542
  function handleMessage(message) {
546
543
  var _a;
547
544
  const { event, type } = message;
@@ -656,7 +653,6 @@ const HardwareBleSdk = HardwareSdk__default["default"]({
656
653
  init,
657
654
  call,
658
655
  cancel,
659
- cancelOperation,
660
656
  dispose,
661
657
  uiResponse,
662
658
  updateSettings,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-ble-sdk",
3
- "version": "1.2.0-alpha.20",
3
+ "version": "1.2.0-alpha.21",
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.2.0-alpha.20",
24
- "@onekeyfe/hd-shared": "1.2.0-alpha.20",
25
- "@onekeyfe/hd-transport-react-native": "1.2.0-alpha.20"
23
+ "@onekeyfe/hd-core": "1.2.0-alpha.21",
24
+ "@onekeyfe/hd-shared": "1.2.0-alpha.21",
25
+ "@onekeyfe/hd-transport-react-native": "1.2.0-alpha.21"
26
26
  },
27
- "gitHead": "5fbc1ada90fd3cfda7e5ef08be368cb452018733"
27
+ "gitHead": "efe594367fb3b196a5126baee7e2aba3e94986cd"
28
28
  }
package/src/index.ts CHANGED
@@ -50,10 +50,6 @@ const cancel = (connectId?: string) => {
50
50
  _core.handleMessage({ event: IFRAME.CANCEL, type: IFRAME.CANCEL, payload: { connectId } });
51
51
  };
52
52
 
53
- const cancelOperation = (operationId: string) => {
54
- _core?.cancelOperation(operationId);
55
- };
56
-
57
53
  function handleMessage(message: CoreMessage) {
58
54
  const { event, type } = message;
59
55
  if (!_core) {
@@ -189,7 +185,6 @@ const HardwareBleSdk = HardwareSdk({
189
185
  init,
190
186
  call,
191
187
  cancel,
192
- cancelOperation,
193
188
  dispose,
194
189
  uiResponse,
195
190
  updateSettings,