@onekeyfe/hd-ble-sdk 0.3.8 → 0.3.10

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;AAwIpE,QAAA,MAAM,cAAc,qCAOlB,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;AA0IpE,QAAA,MAAM,cAAc,qCAQlB,CAAC;AAEH,eAAe,cAAc,CAAC"}
package/dist/index.js CHANGED
@@ -630,6 +630,7 @@ const call = (params) => __awaiter(void 0, void 0, void 0, function* () {
630
630
  return HardwareSdk.createErrorMessage(error);
631
631
  }
632
632
  });
633
+ const updateSettings = () => Promise.resolve(true);
633
634
  const HardwareBleSdk = HardwareSdk__default["default"]({
634
635
  eventEmitter,
635
636
  init,
@@ -637,6 +638,7 @@ const HardwareBleSdk = HardwareSdk__default["default"]({
637
638
  cancel,
638
639
  dispose,
639
640
  uiResponse,
641
+ updateSettings,
640
642
  });
641
643
 
642
644
  exports["default"] = HardwareBleSdk;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-ble-sdk",
3
- "version": "0.3.8",
3
+ "version": "0.3.10",
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": "^0.3.8",
24
- "@onekeyfe/hd-shared": "^0.3.8",
25
- "@onekeyfe/hd-transport-react-native": "^0.3.8"
23
+ "@onekeyfe/hd-core": "^0.3.10",
24
+ "@onekeyfe/hd-shared": "^0.3.10",
25
+ "@onekeyfe/hd-transport-react-native": "^0.3.10"
26
26
  },
27
- "gitHead": "ceb0ccd989c481d1343771cc38159ede866629a0"
27
+ "gitHead": "c92353e115d6b8b16dbe1e9468b913a4a2cf807e"
28
28
  }
package/src/index.ts CHANGED
@@ -167,6 +167,8 @@ const call = async (params: any) => {
167
167
  }
168
168
  };
169
169
 
170
+ const updateSettings = () => Promise.resolve(true);
171
+
170
172
  const HardwareBleSdk = HardwareSdk({
171
173
  eventEmitter,
172
174
  init,
@@ -174,6 +176,7 @@ const HardwareBleSdk = HardwareSdk({
174
176
  cancel,
175
177
  dispose,
176
178
  uiResponse,
179
+ updateSettings,
177
180
  });
178
181
 
179
182
  export default HardwareBleSdk;