@onekeyfe/hd-web-sdk 0.2.2-beta → 0.2.2-beta-2
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.5799fe007c4f1aa371c7.js +3 -0
- package/build/js/iframe.5799fe007c4f1aa371c7.js.map +1 -0
- package/build/onekey-js-sdk.js +6 -2
- 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/js/iframe.5cdf25cb325c2c59c96d.js +0 -3
- package/build/js/iframe.5cdf25cb325c2c59c96d.js.map +0 -1
- /package/build/js/{iframe.5cdf25cb325c2c59c96d.js.LICENSE.txt → iframe.5799fe007c4f1aa371c7.js.LICENSE.txt} +0 -0
package/build/onekey-js-sdk.js
CHANGED
|
@@ -6070,6 +6070,10 @@ const getDeviceModel = features => {
|
|
|
6070
6070
|
return 'model_mini';
|
|
6071
6071
|
}
|
|
6072
6072
|
|
|
6073
|
+
if (!features.model) {
|
|
6074
|
+
return 'model_mini';
|
|
6075
|
+
}
|
|
6076
|
+
|
|
6073
6077
|
if (features.model === '1') {
|
|
6074
6078
|
return 'model_mini';
|
|
6075
6079
|
}
|
|
@@ -47912,7 +47916,7 @@ try {
|
|
|
47912
47916
|
/***/ ((module) => {
|
|
47913
47917
|
|
|
47914
47918
|
"use strict";
|
|
47915
|
-
module.exports = JSON.parse('{"name":"@onekeyfe/hd-core","version":"0.2.2-beta","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.2.2-beta","@onekeyfe/hd-transport":"^0.2.2-beta","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"}}');
|
|
47919
|
+
module.exports = JSON.parse('{"name":"@onekeyfe/hd-core","version":"0.2.2-beta-2","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.2.2-beta-2","@onekeyfe/hd-transport":"^0.2.2-beta-2","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"}}');
|
|
47916
47920
|
|
|
47917
47921
|
/***/ })
|
|
47918
47922
|
|
|
@@ -50439,7 +50443,7 @@ const src_init = async settings => {
|
|
|
50439
50443
|
|
|
50440
50444
|
try {
|
|
50441
50445
|
await init({ ..._settings,
|
|
50442
|
-
version: "0.2.2-beta"
|
|
50446
|
+
version: "0.2.2-beta-2"
|
|
50443
50447
|
});
|
|
50444
50448
|
return true;
|
|
50445
50449
|
} catch (e) {
|