@ethersproject/contracts
Advanced tools
Comparing version 5.0.0-beta.131 to 5.0.0-beta.132
@@ -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"; |
19
index.js
@@ -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" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42155
887