Do not auto-import @cosmjs/cosmwasm-launchpad types

This commit is contained in:
Simon Warta
2021-02-11 15:14:36 +01:00
parent 2ec5245500
commit fb59a0df9e
3 changed files with 2 additions and 27 deletions
+1
View File
@@ -1,3 +1,4 @@
import { CosmWasmFeeTable, SigningCosmWasmClient } from "@cosmjs/cosmwasm-launchpad";
import { GasPrice, GasLimits, makeCosmoshubPath, Secp256k1HdWallet } from "@cosmjs/launchpad"; import { GasPrice, GasLimits, makeCosmoshubPath, Secp256k1HdWallet } from "@cosmjs/launchpad";
interface Options { interface Options {
+1
View File
@@ -1,6 +1,7 @@
import axios from "axios"; import axios from "axios";
import * as fs from "fs"; import * as fs from "fs";
import { SigningCosmWasmClient } from "@cosmjs/cosmwasm-launchpad";
import { logs, GasPrice, Secp256k1HdWallet } from "@cosmjs/launchpad"; import { logs, GasPrice, Secp256k1HdWallet } from "@cosmjs/launchpad";
interface Options { interface Options {
-27
View File
@@ -36,33 +36,6 @@ export async function main(originalArgs: readonly string[]): Promise<void> {
.parse(originalArgs); .parse(originalArgs);
const imports = new Map<string, readonly string[]>([ const imports = new Map<string, readonly string[]>([
[
"@cosmjs/cosmwasm-launchpad",
[
// cosmwasmclient
"Account",
"Block",
"BlockHeader",
"Code",
"CodeDetails",
"Contract",
"ContractCodeHistoryEntry",
"CosmWasmClient",
"GetSequenceResult",
"SearchByHeightQuery",
"SearchBySentFromOrToQuery",
"SearchByTagsQuery",
"SearchTxQuery",
"SearchTxFilter",
// signingcosmwasmclient
"ExecuteResult",
"CosmWasmFeeTable",
"InstantiateResult",
"SigningCosmWasmClient",
"UploadMeta",
"UploadResult",
],
],
[ [
"@cosmjs/crypto", "@cosmjs/crypto",
[ [