diff --git a/src/query/tendermint.ts b/src/query/tendermint.ts index b200f371..3e755d4a 100644 --- a/src/query/tendermint.ts +++ b/src/query/tendermint.ts @@ -19,7 +19,7 @@ import { export class TendermintQuerier { constructor(private url: string) {} - aBCIQuery( + abciQuery( req: ABCIQueryRequest, headers?: HeadersInit, ): Promise { diff --git a/src/secret_network_client.ts b/src/secret_network_client.ts index a13205bc..a4099122 100644 --- a/src/secret_network_client.ts +++ b/src/secret_network_client.ts @@ -255,13 +255,9 @@ import { } from "@cosmjs/proto-signing"; import { SignDoc } from "cosmjs-types/cosmos/tx/v1beta1/tx"; import { AminoSigner, Signer } from "./wallet_amino"; -import { GroupQuerier } from "./query/group"; import { OrmQuerier } from "./query/orm"; import { AppQuerier } from "./query/app"; -import { NftQuerier } from "./query/nft"; -import { CircuitQuerier } from "./query/circuit"; import { AutoCliQuerier } from "./query/autocli"; -import { IbcWasmQuerier } from "./query/ibc_wasm"; export type CreateClientOptions = { /** A URL to the API service, also known as LCD, REST API or gRPC-gateway, by default on port 1317 */ @@ -480,13 +476,9 @@ export type Querier = { staking: StakingQuerier; tendermint: TendermintQuerier; upgrade: UpgradeQuerier; - group: GroupQuerier; app: AppQuerier; orm: OrmQuerier; - nft: NftQuerier; - circuit: CircuitQuerier; autocli: AutoCliQuerier; - ibc_wasm: IbcWasmQuerier; }; export type ArrayLog = Array<{ @@ -931,13 +923,9 @@ export class SecretNetworkClient { staking: new StakingQuerier(options.url), tendermint: new TendermintQuerier(options.url), upgrade: new UpgradeQuerier(options.url), - group: new GroupQuerier(options.url), orm: new OrmQuerier(options.url), app: new AppQuerier(options.url), - nft: new NftQuerier(options.url), - circuit: new CircuitQuerier(options.url), autocli: new AutoCliQuerier(options.url), - ibc_wasm: new IbcWasmQuerier(options.url), getTx: (hash, ibcTxOptions) => this.getTx(hash, ibcTxOptions), txsQuery: (query, ibcTxOptions, pagination, order_by) => this.txsQuery(query, ibcTxOptions, pagination, order_by),