@onekeyfe/hd-core
Advanced tools
Comparing version 0.1.42 to 0.1.43
{ | ||
"name": "@onekeyfe/hd-core", | ||
"version": "0.1.42", | ||
"version": "0.1.43", | ||
"description": "> TODO: description", | ||
@@ -27,4 +27,4 @@ "author": "OneKey", | ||
"dependencies": { | ||
"@onekeyfe/hd-shared": "^0.1.42", | ||
"@onekeyfe/hd-transport": "^0.1.42", | ||
"@onekeyfe/hd-shared": "^0.1.43", | ||
"@onekeyfe/hd-transport": "^0.1.43", | ||
"axios": "^0.27.2", | ||
@@ -40,3 +40,3 @@ "bignumber.js": "^9.0.2", | ||
}, | ||
"gitHead": "fa65f27f4d043ebf89f03bd98393a9cb3a010199" | ||
"gitHead": "15d5f1b90ef26478f2183317dd192443e44adbe2" | ||
} |
@@ -136,3 +136,3 @@ import { supportInputPinOnSoftware, getDeviceType } from '../utils/deviceFeaturesUtils'; | ||
/** | ||
* Check the level of safety_check when performing transactions on the test network on touch | ||
* Automatic check safety_check level for Kovan, Ropsten, Rinkeby, Goerli test networks. | ||
* @returns {void} | ||
@@ -144,3 +144,6 @@ */ | ||
let checkFlag = false; | ||
if (this.name === 'evmSignTransaction' && Number(this.payload?.transaction?.chainId) !== 1) { | ||
if ( | ||
this.name === 'evmSignTransaction' && | ||
[3, 4, 5, 42].includes(Number(this.payload?.transaction?.chainId)) | ||
) { | ||
checkFlag = true; | ||
@@ -147,0 +150,0 @@ } |
@@ -245,3 +245,3 @@ import semver from 'semver'; | ||
// Check the level of safety_check when performing transactions on the test network on touch | ||
// Automatic check safety_check level for Kovan, Ropsten, Rinkeby, Goerli test networks. | ||
try { | ||
@@ -248,0 +248,0 @@ await method.checkSafetyLevelOnTestNet(); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
1196732
35187