@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.
@@ -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.29"}/`;
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, chainId);
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.29"
46498
+ version: "0.1.30"
46495
46499
  });
46496
46500
  return true;
46497
46501
  } catch (e) {