@onekeyfe/hd-core 0.1.55 → 0.1.57

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
@@ -12691,7 +12691,7 @@ class FirmwareUpdate extends BaseMethod {
12691
12691
  return isMini || isBoot183ClassicUpBle;
12692
12692
  }
12693
12693
  isSupportResourceUpdate(features, updateType) {
12694
- if (updateType === 'firmware')
12694
+ if (updateType !== 'firmware')
12695
12695
  return false;
12696
12696
  const deviceType = getDeviceType(features);
12697
12697
  const isTouchMode = deviceType === 'touch' || deviceType === 'pro';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onekeyfe/hd-core",
3
- "version": "0.1.55",
3
+ "version": "0.1.57",
4
4
  "description": "> TODO: description",
5
5
  "author": "OneKey",
6
6
  "homepage": "https://github.com/OneKeyHQ/hardware-js-sdk#readme",
@@ -24,8 +24,8 @@
24
24
  "url": "https://github.com/OneKeyHQ/hardware-js-sdk/issues"
25
25
  },
26
26
  "dependencies": {
27
- "@onekeyfe/hd-shared": "^0.1.55",
28
- "@onekeyfe/hd-transport": "^0.1.55",
27
+ "@onekeyfe/hd-shared": "^0.1.57",
28
+ "@onekeyfe/hd-transport": "^0.1.57",
29
29
  "axios": "^0.27.2",
30
30
  "bignumber.js": "^9.0.2",
31
31
  "jszip": "^3.10.1",
@@ -40,5 +40,5 @@
40
40
  "@types/parse-uri": "^1.0.0",
41
41
  "@types/semver": "^7.3.9"
42
42
  },
43
- "gitHead": "79fa201d009fc80a31946cd40f889b37f1ec53b0"
43
+ "gitHead": "f443fdd58ca37c14228808ad712dc115cfe0ca50"
44
44
  }
@@ -114,7 +114,7 @@ export default class FirmwareUpdate extends BaseMethod<Params> {
114
114
  }
115
115
 
116
116
  isSupportResourceUpdate(features: Features, updateType: string) {
117
- if (updateType === 'firmware') return false;
117
+ if (updateType !== 'firmware') return false;
118
118
 
119
119
  const deviceType = getDeviceType(features);
120
120
  const isTouchMode = deviceType === 'touch' || deviceType === 'pro';