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

zksync-ethers

Package Overview
Dependencies
Maintainers
1
Versions
49
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zksync-ethers - npm Package Compare versions

Comparing version 6.14.1 to 6.14.2

6

build-esm/contract.js

@@ -163,3 +163,7 @@ import { ethers, } from 'ethers';

const deploymentTx = contract.deploymentTransaction();
contractWithCorrectAddress.deploymentTransaction = () => Object.assign(Object.create(Object.getPrototypeOf(deploymentTx)), deploymentTx, deployTxReceipt);
deploymentTx.blockNumber = deployTxReceipt.blockNumber;
deploymentTx.blockHash = deployTxReceipt.blockHash;
deploymentTx.index = deployTxReceipt.index;
deploymentTx.gasPrice = deployTxReceipt.gasPrice;
contractWithCorrectAddress.deploymentTransaction = () => deploymentTx;
return contractWithCorrectAddress;

@@ -166,0 +170,0 @@ }

@@ -167,3 +167,7 @@ "use strict";

const deploymentTx = contract.deploymentTransaction();
contractWithCorrectAddress.deploymentTransaction = () => Object.assign(Object.create(Object.getPrototypeOf(deploymentTx)), deploymentTx, deployTxReceipt);
deploymentTx.blockNumber = deployTxReceipt.blockNumber;
deploymentTx.blockHash = deployTxReceipt.blockHash;
deploymentTx.index = deployTxReceipt.index;
deploymentTx.gasPrice = deployTxReceipt.gasPrice;
contractWithCorrectAddress.deploymentTransaction = () => deploymentTx;
return contractWithCorrectAddress;

@@ -170,0 +174,0 @@ }

2

package.json
{
"name": "zksync-ethers",
"version": "6.14.1",
"version": "6.14.2",
"main": "build/index.js",

@@ -5,0 +5,0 @@ "module": "build-esm/index.js",

@@ -244,8 +244,8 @@ import {

contractWithCorrectAddress.deploymentTransaction = () =>
Object.assign(
Object.create(Object.getPrototypeOf(deploymentTx)),
deploymentTx,
deployTxReceipt
) as ContractTransactionResponse;
(deploymentTx as any).blockNumber = deployTxReceipt.blockNumber;
(deploymentTx as any).blockHash = deployTxReceipt.blockHash;
(deploymentTx as any).index = deployTxReceipt.index;
(deploymentTx as any).gasPrice = deployTxReceipt.gasPrice;
contractWithCorrectAddress.deploymentTransaction = () => deploymentTx;
return contractWithCorrectAddress;

@@ -252,0 +252,0 @@ }

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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