@gearbox-protocol/deploy-tools 1.6.1 → 1.6.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +8 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -428701,7 +428701,7 @@ var require_package3 = __commonJS({
428701
428701
  module2.exports = {
428702
428702
  name: "@gearbox-protocol/deploy-tools",
428703
428703
  description: "Gearbox deploy tools",
428704
- version: "1.6.0",
428704
+ version: "1.6.1",
428705
428705
  homepage: "https://gearbox.fi",
428706
428706
  keywords: [
428707
428707
  "gearbox"
@@ -428834,7 +428834,9 @@ var import_lib2 = __toESM(require_dist13());
428834
428834
  function deploy() {
428835
428835
  return new Command().name("deploy").description(
428836
428836
  "Deploys transaction from multisig or batch dir onto testnet via impersonation"
428837
- ).addOption(RpcURL(true)).addOption(
428837
+ ).addOption(
428838
+ new Option("--anvil-url <url>", "anvil rpc url").env("ANVIL_URL").default("http://127.0.0.1:8545")
428839
+ ).addOption(
428838
428840
  new Option("--batch-dir [dir]", "Directory with batch json files")
428839
428841
  ).addOption(
428840
428842
  new Option(
@@ -428857,7 +428859,10 @@ function deploy() {
428857
428859
  ).env("GITHUB_TOKEN")
428858
428860
  ).action(
428859
428861
  async (options) => {
428860
- const deployer = new import_lib2.Deployer(options);
428862
+ const deployer = new import_lib2.Deployer({
428863
+ ...options,
428864
+ rpcUrl: options.anvilUrl
428865
+ });
428861
428866
  if (!!options.batchRepo && !!options.batchCommittish && !!options.batchDir) {
428862
428867
  await deployer.deployFromRepoDir(
428863
428868
  options.batchRepo,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/deploy-tools",
3
3
  "description": "Gearbox deploy tools",
4
- "version": "1.6.1",
4
+ "version": "1.6.2",
5
5
  "homepage": "https://gearbox.fi",
6
6
  "keywords": [
7
7
  "gearbox"