Socket
Socket
Sign inDemoInstall

@onekeyfe/hd-core

Package Overview
Dependencies
Maintainers
2
Versions
249
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 1.0.10-alpha.4 to 1.0.10-alpha.5

8

package.json
{
"name": "@onekeyfe/hd-core",
"version": "1.0.10-alpha.4",
"version": "1.0.10-alpha.5",
"description": "> TODO: description",

@@ -28,4 +28,4 @@ "author": "OneKey",

"dependencies": {
"@onekeyfe/hd-shared": "^1.0.10-alpha.4",
"@onekeyfe/hd-transport": "^1.0.10-alpha.4",
"@onekeyfe/hd-shared": "^1.0.10-alpha.5",
"@onekeyfe/hd-transport": "^1.0.10-alpha.5",
"axios": "^0.27.2",

@@ -48,3 +48,3 @@ "bignumber.js": "^9.0.2",

},
"gitHead": "3beffbdbceedd7438943a9e01e1e63865ba63d9a"
"gitHead": "998cdc841ffb5a3db387b30df67bba52fb9891d4"
}

@@ -9,3 +9,3 @@ import { ScdoSignTx as HardwareScdoSignTx, TypedCall, ScdoSignedTx } from '@onekeyfe/hd-transport';

import type { TypedResponseMessage } from '../../device/DeviceCommands';
import { stripHexStartZeroes } from '../helpers/hexUtils';
import { formatAnyHex } from '../helpers/hexUtils';

@@ -38,8 +38,8 @@ export default class ScdoSignTransaction extends BaseMethod<HardwareScdoSignTx> {

address_n: addressN,
nonce: stripHexStartZeroes(nonce),
gas_price: stripHexStartZeroes(gasPrice),
gas_limit: stripHexStartZeroes(gasLimit),
nonce: formatAnyHex(nonce),
gas_price: formatAnyHex(gasPrice),
gas_limit: formatAnyHex(gasLimit),
to,
value: stripHexStartZeroes(value),
timestamp: timestamp ? stripHexStartZeroes(timestamp) : undefined,
value: formatAnyHex(value),
timestamp: timestamp ? formatAnyHex(timestamp) : undefined,
tx_type: txType,

@@ -46,0 +46,0 @@ };

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