🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
DemoInstallSign in
Socket

hardhat-deploy

Package Overview
Dependencies
Maintainers
0
Versions
223
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

hardhat-deploy - npm Package Compare versions

Comparing version

to
0.14.1

20

dist/src/DeploymentFactory.js

@@ -21,2 +21,13 @@ "use strict";

};
var __rest = (this && this.__rest) || function (s, e) {
var t = {};
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
t[p] = s[p];
if (s != null && typeof Object.getOwnPropertySymbols === "function")
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
t[p[i]] = s[p[i]];
}
return t;
};
Object.defineProperty(exports, "__esModule", { value: true });

@@ -74,9 +85,4 @@ exports.DeploymentFactory = void 0;

const factoryDeps = await this.extractFactoryDeps(this.artifact);
const customData = {
customData: {
factoryDeps,
feeToken: zk.utils.ETH_ADDRESS,
},
};
overrides = Object.assign(Object.assign({}, overrides), customData);
const _a = overrides !== null && overrides !== void 0 ? overrides : {}, { customData } = _a, _overrides = __rest(_a, ["customData"]);
overrides = Object.assign(Object.assign({}, _overrides), { customData: Object.assign(Object.assign({}, customData), { factoryDeps, feeToken: zk.utils.ETH_ADDRESS }) });
}

@@ -83,0 +89,0 @@ return this.factory.getDeployTransaction(...this.args, overrides);

@@ -164,2 +164,3 @@ import 'hardhat/types/runtime';

data?: string;
customData?: Record<string, any>;
}

@@ -166,0 +167,0 @@ export interface TxOptions extends CallOptions {

{
"name": "hardhat-deploy",
"version": "0.14.0",
"version": "0.14.1",
"description": "Hardhat Plugin For Replicable Deployments And Tests",

@@ -50,3 +50,3 @@ "repository": "github:wighawag/hardhat-deploy",

"eslint-config-prettier": "^8.3.0",
"hardhat": "^2.16.0",
"hardhat": "^2.22.18",
"mocha": "^9.1.0",

@@ -53,0 +53,0 @@ "prettier": "^2.3.2",

@@ -89,12 +89,12 @@ import {

const factoryDeps = await this.extractFactoryDeps(this.artifact);
const customData = {
const { customData, ..._overrides } = overrides ?? {};
overrides = {
..._overrides,
customData: {
factoryDeps,
feeToken: zk.utils.ETH_ADDRESS,
...customData,
factoryDeps,
feeToken: zk.utils.ETH_ADDRESS,
},
};
overrides = {
...overrides,
...customData,
};
}

@@ -101,0 +101,0 @@

@@ -189,2 +189,3 @@ /* eslint-disable @typescript-eslint/no-explicit-any */

data?: string;
customData?: Record<string, any>;
}

@@ -191,0 +192,0 @@

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display