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

@ethersproject/contracts

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ethersproject/contracts - npm Package Compare versions

Comparing version 5.0.0-beta.131 to 5.0.0-beta.132

2

_version.d.ts

@@ -1,1 +0,1 @@

export declare const version = "5.0.0-beta.131";
export declare const version = "5.0.0-beta.132";
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.version = "5.0.0-beta.131";
exports.version = "5.0.0-beta.132";

@@ -307,3 +307,2 @@ "use strict";

//address = getAddress(address);
console.log(properties_1.getStatic(_newTarget, "getInterface"));
properties_1.defineReadOnly(this, "interface", properties_1.getStatic((_newTarget), "getInterface")(contractInterface));

@@ -720,10 +719,12 @@ if (abstract_signer_1.Signer.isSigner(signerOrProvider)) {

}
// Get the deployment transaction (with optional overrides)
var tx = this.getDeployTransaction.apply(this, args);
// Send the deployment transaction
return this.signer.sendTransaction(tx).then(function (tx) {
var address = (_this.constructor).getContractAddress(tx);
var contract = (_this.constructor).getContract(address, _this.interface, _this.signer);
properties_1.defineReadOnly(contract, "deployTransaction", tx);
return contract;
return resolveAddresses(this.signer, args, this.interface.deploy.inputs).then(function (args) {
// Get the deployment transaction (with optional overrides)
var tx = _this.getDeployTransaction.apply(_this, args);
// Send the deployment transaction
return _this.signer.sendTransaction(tx).then(function (tx) {
var address = (_this.constructor).getContractAddress(tx);
var contract = (_this.constructor).getContract(address, _this.interface, _this.signer);
properties_1.defineReadOnly(contract, "deployTransaction", tx);
return contract;
});
});

@@ -730,0 +731,0 @@ };

{
"name": "@ethersproject/contracts",
"version": "5.0.0-beta.131",
"version": "5.0.0-beta.132",
"description": "Error utility functions for ethers.",

@@ -30,3 +30,3 @@ "main": "index.js",

},
"tarballHash": "0xaed564e716d22adb2783f4f301176f7c214fc8470dd9edc40e6a0daa77b65328"
"tarballHash": "0x92ac81d787734c2c5d35e449c515f0f57fdb6aa7db138e6f6599ddcfb2e09269"
}
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