@onekeyfe/hd-web-sdk 0.1.32 → 0.1.33
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.e3ec5ad0cf31ca1f0ec9.js +3 -0
- package/build/js/{iframe.0871a885b71d4b4e3a34.js.LICENSE.txt → iframe.e3ec5ad0cf31ca1f0ec9.js.LICENSE.txt} +0 -0
- package/build/js/iframe.e3ec5ad0cf31ca1f0ec9.js.map +1 -0
- package/build/onekey-js-sdk.js +12 -5
- 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.0871a885b71d4b4e3a34.js +0 -3
- package/build/js/iframe.0871a885b71d4b4e3a34.js.map +0 -1
package/build/onekey-js-sdk.js
CHANGED
|
@@ -14865,7 +14865,7 @@ const UI_REQUEST = {
|
|
|
14865
14865
|
FIRMWARE_NOT_INSTALLED: 'ui-device_firmware_not_installed',
|
|
14866
14866
|
NOT_USE_ONEKEY_DEVICE: 'ui-device_please_use_onekey_device'
|
|
14867
14867
|
};
|
|
14868
|
-
const DEFAULT_DOMAIN = `https://jssdk.onekey.so/${"0.1.
|
|
14868
|
+
const DEFAULT_DOMAIN = `https://jssdk.onekey.so/${"0.1.33"}/`;
|
|
14869
14869
|
const DEFAULT_PRIORITY = 2;
|
|
14870
14870
|
const initialSettings = {
|
|
14871
14871
|
configSrc: './data/config.json',
|
|
@@ -15142,9 +15142,16 @@ class Device extends events.exports {
|
|
|
15142
15142
|
if (message.passphrase_protection) {
|
|
15143
15143
|
if (this.listenerCount(DEVICE.PIN) > 0) {
|
|
15144
15144
|
Log$3.debug('try to close passpharse');
|
|
15145
|
-
|
|
15146
|
-
|
|
15147
|
-
|
|
15145
|
+
|
|
15146
|
+
try {
|
|
15147
|
+
yield this.commands.typedCall('ApplySettings', 'Success', {
|
|
15148
|
+
use_passphrase: false
|
|
15149
|
+
});
|
|
15150
|
+
} catch (e) {
|
|
15151
|
+
yield this.release();
|
|
15152
|
+
this.runPromise = null;
|
|
15153
|
+
throw e;
|
|
15154
|
+
}
|
|
15148
15155
|
}
|
|
15149
15156
|
}
|
|
15150
15157
|
});
|
|
@@ -46530,7 +46537,7 @@ const src_init = async settings => {
|
|
|
46530
46537
|
|
|
46531
46538
|
try {
|
|
46532
46539
|
await init({ ..._settings,
|
|
46533
|
-
version: "0.1.
|
|
46540
|
+
version: "0.1.33"
|
|
46534
46541
|
});
|
|
46535
46542
|
return true;
|
|
46536
46543
|
} catch (e) {
|