Socket
Socket
Sign inDemoInstall

ethers-providers

Package Overview
Dependencies
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ethers-providers - npm Package Compare versions

Comparing version 2.1.11 to 2.1.12

2

package.json
{
"name": "ethers-providers",
"version": "2.1.11",
"version": "2.1.12",
"description": "Service provider for Ethereum wallet library.",

@@ -5,0 +5,0 @@ "bugs": {

@@ -24,2 +24,3 @@ 'use strict';

concat: convert.concat,
stripZeros: convert.stripZeros,

@@ -194,3 +195,3 @@ namehash: require('ethers-utils/namehash'),

// 0 address; correct this to be a real address
if (transaction.to && utils.bigNumberify(transaction.to).isZero) {
if (transaction.to && utils.bigNumberify(transaction.to).isZero()) {
transaction.to = '0x0000000000000000000000000000000000000000';

@@ -214,11 +215,11 @@ }

var raw = [
utils.hexlify(transaction.nonce),
utils.hexlify(transaction.gasPrice),
utils.hexlify(transaction.gasLimit),
utils.stripZeros(utils.hexlify(transaction.nonce)),
utils.stripZeros(utils.hexlify(transaction.gasPrice)),
utils.stripZeros(utils.hexlify(transaction.gasLimit)),
(transaction.to || "0x"),
utils.hexlify(transaction.value || '0x'),
utils.stripZeros(utils.hexlify(transaction.value || '0x')),
utils.hexlify(transaction.data || '0x'),
utils.hexlify(transaction.v || '0x'),
utils.hexlify(transaction.r),
utils.hexlify(transaction.s),
utils.stripZeros(utils.hexlify(transaction.v || '0x')),
utils.stripZeros(utils.hexlify(transaction.r)),
utils.stripZeros(utils.hexlify(transaction.s)),
];

@@ -225,0 +226,0 @@

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