@onekeyfe/hd-web-sdk 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/build/iframe.html +1 -1
- package/build/js/{iframe.9c776a23228e11434d19.js → iframe.d7e734522cce67a6c71c.js} +3 -3
- package/build/js/{iframe.9c776a23228e11434d19.js.LICENSE.txt → iframe.d7e734522cce67a6c71c.js.LICENSE.txt} +0 -0
- package/build/js/{iframe.9c776a23228e11434d19.js.map → iframe.d7e734522cce67a6c71c.js.map} +1 -1
- package/build/onekey-js-sdk.js +3 -3
- package/build/onekey-js-sdk.js.map +1 -1
- package/build/onekey-js-sdk.min.js +1 -1
- package/build/onekey-js-sdk.min.js.map +1 -1
- package/package.json +6 -6
package/build/onekey-js-sdk.js
CHANGED
|
@@ -18571,7 +18571,7 @@ class FirmwareUpdate extends BaseMethod {
|
|
|
18571
18571
|
}
|
|
18572
18572
|
|
|
18573
18573
|
isSupportResourceUpdate(features, updateType) {
|
|
18574
|
-
if (updateType
|
|
18574
|
+
if (updateType !== 'firmware') return false;
|
|
18575
18575
|
const deviceType = getDeviceType(features);
|
|
18576
18576
|
const isTouchMode = deviceType === 'touch' || deviceType === 'pro';
|
|
18577
18577
|
const currentVersion = getDeviceFirmwareVersion(features).join('.');
|
|
@@ -46941,7 +46941,7 @@ try {
|
|
|
46941
46941
|
/***/ ((module) => {
|
|
46942
46942
|
|
|
46943
46943
|
"use strict";
|
|
46944
|
-
module.exports = JSON.parse('{"name":"@onekeyfe/hd-core","version":"0.1.
|
|
46944
|
+
module.exports = JSON.parse('{"name":"@onekeyfe/hd-core","version":"0.1.57","description":"> TODO: description","author":"OneKey","homepage":"https://github.com/OneKeyHQ/hardware-js-sdk#readme","license":"ISC","main":"dist/index.js","types":"dist/index.d.ts","repository":{"type":"git","url":"git+https://github.com/OneKeyHQ/hardware-js-sdk.git"},"publishConfig":{"access":"public"},"scripts":{"dev":"rimraf dist && rollup -c ../../build/rollup.config.js -w","build":"rimraf dist && rollup -c ../../build/rollup.config.js","lint":"eslint .","lint:fix":"eslint . --fix"},"bugs":{"url":"https://github.com/OneKeyHQ/hardware-js-sdk/issues"},"dependencies":{"@onekeyfe/hd-shared":"^0.1.57","@onekeyfe/hd-transport":"^0.1.57","axios":"^0.27.2","bignumber.js":"^9.0.2","jszip":"^3.10.1","parse-uri":"^1.0.7","semver":"^7.3.7"},"peerDependencies":{"@noble/hashes":"^1.1.3"},"devDependencies":{"@noble/hashes":"^1.1.3","@types/parse-uri":"^1.0.0","@types/semver":"^7.3.9"}}');
|
|
46945
46945
|
|
|
46946
46946
|
/***/ })
|
|
46947
46947
|
|
|
@@ -49468,7 +49468,7 @@ const src_init = async settings => {
|
|
|
49468
49468
|
|
|
49469
49469
|
try {
|
|
49470
49470
|
await init({ ..._settings,
|
|
49471
|
-
version: "0.1.
|
|
49471
|
+
version: "0.1.57"
|
|
49472
49472
|
});
|
|
49473
49473
|
return true;
|
|
49474
49474
|
} catch (e) {
|