From ea8f52bf57818e06de7d8d487b4b712581ea7048 Mon Sep 17 00:00:00 2001 From: Lukas Date: Mon, 19 Sep 2022 17:14:51 +0200 Subject: [PATCH] fix: default to mainnet fix: bump package --- main.ts | 1 + package.json | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/main.ts b/main.ts index 23e22cf..76b3fcb 100644 --- a/main.ts +++ b/main.ts @@ -131,6 +131,7 @@ const questions: { [key: string]: InquirerQuestion | YargsQuestion } = { ChainId.avalanche, ChainId.harmony, ], + default: ChainId.mainnet, when: (args) => { // little hack to implicitly set networkId if (args.networkName) args.networkId = ChainId[args.networkName]; diff --git a/package.json b/package.json index 3d5d5e0..1ce0a74 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@bgd-labs/aave-tenderly-cli", - "version": "0.0.5", + "version": "0.0.6", "description": "", "main": "main.ts", "private": false, @@ -10,7 +10,7 @@ "scripts": { "start": "npm run build && node dist/index.js", "build": "ncc build ./main.ts -o dist --minify", - "publish:local": "npm run build && npm pack && npm i -g bgd-labs-aave-tenderly-cli-0.0.5.tgz && rm bgd-labs-aave-tenderly-cli-0.0.5.tgz" + "publish:local": "npm run build && npm pack && npm i -g bgd-labs-aave-tenderly-cli-0.0.6.tgz && rm bgd-labs-aave-tenderly-cli-0.0.6.tgz" }, "repository": { "type": "git",