@onekeyfe/hd-core 1.0.0 → 1.0.1

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 CHANGED
@@ -25733,7 +25733,7 @@ class CheckBootloaderRelease extends BaseMethod {
25733
25733
  if (DeviceModelToTypes.model_mini.includes(deviceType)) {
25734
25734
  shouldUpdate = !!checkNeedUpdateBootForClassicAndMini(features, this.payload.willUpdateFirmwareVersion);
25735
25735
  }
25736
- else if (deviceType === 'touch') {
25736
+ else if (DeviceModelToTypes.model_touch.includes(deviceType)) {
25737
25737
  shouldUpdate = checkNeedUpdateBootForTouch(features);
25738
25738
  }
25739
25739
  const releaseInfo = getBootloaderReleaseInfo(features);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-core",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "> TODO: description",
5
5
  "author": "OneKey",
6
6
  "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
@@ -25,8 +25,8 @@
25
25
  "url": "https://github.com/OneKeyHQ/hardware-js-sdk/issues"
26
26
  },
27
27
  "dependencies": {
28
- "@onekeyfe/hd-shared": "^1.0.0",
29
- "@onekeyfe/hd-transport": "^1.0.0",
28
+ "@onekeyfe/hd-shared": "^1.0.1",
29
+ "@onekeyfe/hd-transport": "^1.0.1",
30
30
  "axios": "^0.27.2",
31
31
  "bignumber.js": "^9.0.2",
32
32
  "bytebuffer": "^5.0.1",
@@ -44,5 +44,5 @@
44
44
  "@types/semver": "^7.3.9",
45
45
  "ripple-keypairs": "^1.1.4"
46
46
  },
47
- "gitHead": "95900f4bc9cb2a286b154e2e742cfe97c5c31b1e"
47
+ "gitHead": "a31e8ca519f57308fae3066b30ee9b94efb3a437"
48
48
  }
@@ -29,7 +29,7 @@ export default class CheckBootloaderRelease extends BaseMethod {
29
29
  features,
30
30
  this.payload.willUpdateFirmwareVersion
31
31
  );
32
- } else if (deviceType === 'touch') {
32
+ } else if (DeviceModelToTypes.model_touch.includes(deviceType)) {
33
33
  shouldUpdate = checkNeedUpdateBootForTouch(features);
34
34
  }
35
35
  const releaseInfo = getBootloaderReleaseInfo(features);