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
46
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.0 to 6.14.1

3

build-esm/contract.js

@@ -162,3 +162,4 @@ import { ethers, } from 'ethers';

const contractWithCorrectAddress = new ethers.Contract(deployedAddresses[deployedAddresses.length - 1], contract.interface.fragments, contract.runner);
contractWithCorrectAddress.deploymentTransaction = () => contract.deploymentTransaction();
const deploymentTx = contract.deploymentTransaction();
contractWithCorrectAddress.deploymentTransaction = () => Object.assign(Object.create(Object.getPrototypeOf(deploymentTx)), deploymentTx, deployTxReceipt);
return contractWithCorrectAddress;

@@ -165,0 +166,0 @@ }

@@ -166,3 +166,4 @@ "use strict";

const contractWithCorrectAddress = new ethers_1.ethers.Contract(deployedAddresses[deployedAddresses.length - 1], contract.interface.fragments, contract.runner);
contractWithCorrectAddress.deploymentTransaction = () => contract.deploymentTransaction();
const deploymentTx = contract.deploymentTransaction();
contractWithCorrectAddress.deploymentTransaction = () => Object.assign(Object.create(Object.getPrototypeOf(deploymentTx)), deploymentTx, deployTxReceipt);
return contractWithCorrectAddress;

@@ -169,0 +170,0 @@ }

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

@@ -78,3 +78,4 @@ "module": "build-esm/index.js",

"access": "public"
}
},
"sideEffects": false
}

@@ -242,4 +242,10 @@ import {

const deploymentTx = contract.deploymentTransaction()!;
contractWithCorrectAddress.deploymentTransaction = () =>
contract.deploymentTransaction()!;
Object.assign(
Object.create(Object.getPrototypeOf(deploymentTx)),
deploymentTx,
deployTxReceipt
) as ContractTransactionResponse;
return contractWithCorrectAddress;

@@ -246,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