Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@onekeyfe/hd-core

Package Overview
Dependencies
Maintainers
2
Versions
254
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@onekeyfe/hd-core - npm Package Compare versions

Comparing version 0.1.42 to 0.1.43

8

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc