@onekeyfe/hd-web-sdk 0.1.29 → 0.1.30
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.79fb007e34c359a6326e.js +3 -0
- package/build/js/{iframe.08e8fa90652c00bb2376.js.LICENSE.txt → iframe.79fb007e34c359a6326e.js.LICENSE.txt} +0 -0
- package/build/js/iframe.79fb007e34c359a6326e.js.map +1 -0
- package/build/onekey-js-sdk.js +7 -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/dist/iframe/builder.d.ts.map +1 -1
- package/dist/iframe/builder.js +3 -0
- package/dist/iframe/builder.js.map +1 -1
- package/dist/iframe/index.d.ts.map +1 -1
- package/dist/iframe/index.js +3 -1
- package/dist/iframe/index.js.map +1 -1
- package/package.json +6 -5
- package/src/iframe/builder.ts +3 -0
- package/src/iframe/index.ts +3 -1
- package/build/js/iframe.08e8fa90652c00bb2376.js +0 -3
- package/build/js/iframe.08e8fa90652c00bb2376.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.30"}/`;
|
|
14869
14869
|
const DEFAULT_PRIORITY = 2;
|
|
14870
14870
|
const initialSettings = {
|
|
14871
14871
|
configSrc: './data/config.json',
|
|
@@ -17467,7 +17467,7 @@ class EVMSignTransaction extends BaseMethod {
|
|
|
17467
17467
|
}))
|
|
17468
17468
|
};
|
|
17469
17469
|
const response = yield this.device.commands.typedCall('EthereumSignTxEIP1559', 'EthereumTxRequest', message);
|
|
17470
|
-
return this.processTxRequest(response.message, rest
|
|
17470
|
+
return this.processTxRequest(response.message, rest);
|
|
17471
17471
|
});
|
|
17472
17472
|
}
|
|
17473
17473
|
|
|
@@ -44094,6 +44094,10 @@ const init = async settings => {
|
|
|
44094
44094
|
instance.style.width = '0px';
|
|
44095
44095
|
instance.style.height = '0px';
|
|
44096
44096
|
instance.id = 'onekey-connect';
|
|
44097
|
+
|
|
44098
|
+
if (settings.env === 'webusb') {
|
|
44099
|
+
instance.allow = 'usb';
|
|
44100
|
+
}
|
|
44097
44101
|
}
|
|
44098
44102
|
|
|
44099
44103
|
const manifest = `version=${settings.version}`;
|
|
@@ -46491,7 +46495,7 @@ const src_init = async settings => {
|
|
|
46491
46495
|
|
|
46492
46496
|
try {
|
|
46493
46497
|
await init({ ..._settings,
|
|
46494
|
-
version: "0.1.
|
|
46498
|
+
version: "0.1.30"
|
|
46495
46499
|
});
|
|
46496
46500
|
return true;
|
|
46497
46501
|
} catch (e) {
|