@onekeyfe/hd-web-sdk 0.1.42 → 0.1.43

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.
@@ -38945,7 +38945,7 @@ const UI_REQUEST = {
38945
38945
  FIRMWARE_NOT_INSTALLED: 'ui-device_firmware_not_installed',
38946
38946
  NOT_USE_ONEKEY_DEVICE: 'ui-device_please_use_onekey_device'
38947
38947
  };
38948
- const DEFAULT_DOMAIN = `https://jssdk.onekey.so/${"0.1.42"}/`;
38948
+ const DEFAULT_DOMAIN = `https://jssdk.onekey.so/${"0.1.43"}/`;
38949
38949
  const DEFAULT_PRIORITY = 2;
38950
38950
  const initialSettings = {
38951
38951
  configSrc: './data/config.json',
@@ -39649,7 +39649,7 @@ class BaseMethod {
39649
39649
  if (deviceType !== 'touch') return;
39650
39650
  let checkFlag = false;
39651
39651
 
39652
- if (this.name === 'evmSignTransaction' && Number((_b = (_a = this.payload) === null || _a === void 0 ? void 0 : _a.transaction) === null || _b === void 0 ? void 0 : _b.chainId) !== 1) {
39652
+ if (this.name === 'evmSignTransaction' && [3, 4, 5, 42].includes(Number((_b = (_a = this.payload) === null || _a === void 0 ? void 0 : _a.transaction) === null || _b === void 0 ? void 0 : _b.chainId))) {
39653
39653
  checkFlag = true;
39654
39654
  }
39655
39655
 
@@ -46688,7 +46688,7 @@ const src_init = async settings => {
46688
46688
 
46689
46689
  try {
46690
46690
  await builder_init({ ..._settings,
46691
- version: "0.1.42"
46691
+ version: "0.1.43"
46692
46692
  });
46693
46693
  return true;
46694
46694
  } catch (e) {