Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import {
isMsgSendEncodeObject,
} from "@cosmjs/stargate";
import { assert, sleep } from "@cosmjs/utils";
import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx.js";

import { CosmWasmClient } from "./cosmwasmclient";
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/cosmwasm-stargate/src/cosmwasmclient.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import {
} from "@cosmjs/proto-signing";
import { assertIsDeliverTxSuccess, coins, MsgSendEncodeObject, StdFee } from "@cosmjs/stargate";
import { assert, sleep } from "@cosmjs/utils";
import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx.js";
import { ReadonlyDate } from "readonly-date";

import { Code, CosmWasmClient, PrivateCosmWasmClient } from "./cosmwasmclient";
Expand Down
6 changes: 3 additions & 3 deletions packages/cosmwasm-stargate/src/cosmwasmclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,14 @@ import {
} from "@cosmjs/stargate";
import { CometClient, connectComet, HttpEndpoint, toRfc3339WithNanoseconds } from "@cosmjs/tendermint-rpc";
import { assert, sleep } from "@cosmjs/utils";
import { TxMsgData } from "cosmjs-types/cosmos/base/abci/v1beta1/abci";
import { TxMsgData } from "cosmjs-types/cosmos/base/abci/v1beta1/abci.js";
import {
CodeInfoResponse,
QueryCodesResponse,
QueryContractsByCodeResponse,
QueryContractsByCreatorResponse,
} from "cosmjs-types/cosmwasm/wasm/v1/query";
import { ContractCodeHistoryOperationType } from "cosmjs-types/cosmwasm/wasm/v1/types";
} from "cosmjs-types/cosmwasm/wasm/v1/query.js";
import { ContractCodeHistoryOperationType } from "cosmjs-types/cosmwasm/wasm/v1/types.js";

import { JsonObject, setupWasmExtension, WasmExtension } from "./modules";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import {
MsgMigrateContract,
MsgStoreCode,
MsgUpdateAdmin,
} from "cosmjs-types/cosmwasm/wasm/v1/tx";
import { AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types";
} from "cosmjs-types/cosmwasm/wasm/v1/tx.js";
import { AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types.js";

import {
AminoMsgClearAdmin,
Expand Down
4 changes: 2 additions & 2 deletions packages/cosmwasm-stargate/src/modules/wasm/aminomessages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import {
MsgMigrateContract,
MsgStoreCode,
MsgUpdateAdmin,
} from "cosmjs-types/cosmwasm/wasm/v1/tx";
import { AccessConfig, AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types";
} from "cosmjs-types/cosmwasm/wasm/v1/tx.js";
import { AccessConfig, AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types.js";

export function accessTypeFromString(str: string): AccessType {
switch (str) {
Expand Down
2 changes: 1 addition & 1 deletion packages/cosmwasm-stargate/src/modules/wasm/messages.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
MsgMigrateContract,
MsgStoreCode,
MsgUpdateAdmin,
} from "cosmjs-types/cosmwasm/wasm/v1/tx";
} from "cosmjs-types/cosmwasm/wasm/v1/tx.js";

export const wasmTypes: ReadonlyArray<[string, GeneratedType]> = [
["/cosmwasm.wasm.v1.MsgClearAdmin", MsgClearAdmin],
Expand Down
8 changes: 6 additions & 2 deletions packages/cosmwasm-stargate/src/modules/wasm/queries.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,12 @@ import {
StdFee,
} from "@cosmjs/stargate";
import { assert, assertDefined } from "@cosmjs/utils";
import { MsgExecuteContract, MsgInstantiateContract, MsgStoreCode } from "cosmjs-types/cosmwasm/wasm/v1/tx";
import { AbsoluteTxPosition, ContractCodeHistoryOperationType } from "cosmjs-types/cosmwasm/wasm/v1/types";
import {
MsgExecuteContract,
MsgInstantiateContract,
MsgStoreCode,
} from "cosmjs-types/cosmwasm/wasm/v1/tx.js";
import { AbsoluteTxPosition, ContractCodeHistoryOperationType } from "cosmjs-types/cosmwasm/wasm/v1/types.js";

import { findAttribute, SigningCosmWasmClient } from "../../signingcosmwasmclient";
import {
Expand Down
2 changes: 1 addition & 1 deletion packages/cosmwasm-stargate/src/modules/wasm/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
QueryContractsByCodeResponse,
QueryContractsByCreatorResponse,
QueryRawContractStateResponse,
} from "cosmjs-types/cosmwasm/wasm/v1/query";
} from "cosmjs-types/cosmwasm/wasm/v1/query.js";

/**
* An object containing a parsed JSON document. The result of JSON.parse().
Expand Down
14 changes: 7 additions & 7 deletions packages/cosmwasm-stargate/src/signingcosmwasmclient.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,13 @@ import {
} from "@cosmjs/stargate";
import { assert, sleep } from "@cosmjs/utils";
import { DeepPartial } from "cosmjs-types";
import { BinaryWriter } from "cosmjs-types/binary";
import { MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx";
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
import { MsgDelegate } from "cosmjs-types/cosmos/staking/v1beta1/tx";
import { AuthInfo, TxBody, TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { MsgExecuteContract, MsgStoreCode } from "cosmjs-types/cosmwasm/wasm/v1/tx";
import { AccessConfig, AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types";
import { BinaryWriter } from "cosmjs-types/binary.js";
import { MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx.js";
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin.js";
import { MsgDelegate } from "cosmjs-types/cosmos/staking/v1beta1/tx.js";
import { AuthInfo, TxBody, TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx.js";
import { MsgExecuteContract, MsgStoreCode } from "cosmjs-types/cosmwasm/wasm/v1/tx.js";
import { AccessConfig, AccessType } from "cosmjs-types/cosmwasm/wasm/v1/types.js";
import { gzip } from "pako";

import { instantiate2Address } from "./instantiate2";
Expand Down
12 changes: 6 additions & 6 deletions packages/cosmwasm-stargate/src/signingcosmwasmclient.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@ import {
} from "@cosmjs/stargate";
import { CometClient, connectComet, HttpEndpoint } from "@cosmjs/tendermint-rpc";
import { assert, assertDefined } from "@cosmjs/utils";
import { MsgWithdrawDelegatorReward } from "cosmjs-types/cosmos/distribution/v1beta1/tx";
import { MsgDelegate, MsgUndelegate } from "cosmjs-types/cosmos/staking/v1beta1/tx";
import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing";
import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { MsgWithdrawDelegatorReward } from "cosmjs-types/cosmos/distribution/v1beta1/tx.js";
import { MsgDelegate, MsgUndelegate } from "cosmjs-types/cosmos/staking/v1beta1/tx.js";
import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing.js";
import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx.js";
import {
MsgClearAdmin,
MsgExecuteContract,
Expand All @@ -45,8 +45,8 @@ import {
MsgMigrateContract,
MsgStoreCode,
MsgUpdateAdmin,
} from "cosmjs-types/cosmwasm/wasm/v1/tx";
import { AccessConfig } from "cosmjs-types/cosmwasm/wasm/v1/types";
} from "cosmjs-types/cosmwasm/wasm/v1/tx.js";
import { AccessConfig } from "cosmjs-types/cosmwasm/wasm/v1/types.js";
import { gzip } from "pako";

import { CosmWasmClient } from "./cosmwasmclient";
Expand Down
4 changes: 2 additions & 2 deletions packages/cosmwasm-stargate/src/testutils.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import {
} from "@cosmjs/stargate";
import { connectComet } from "@cosmjs/tendermint-rpc";
import { assertDefinedAndNotNull } from "@cosmjs/utils";
import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing";
import { AuthInfo, SignDoc, TxBody } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing.js";
import { AuthInfo, SignDoc, TxBody } from "cosmjs-types/cosmos/tx/v1beta1/tx.js";

import { setupWasmExtension, WasmExtension } from "./modules";
import { SigningCosmWasmClientOptions } from "./signingcosmwasmclient";
Expand Down
8 changes: 4 additions & 4 deletions packages/proto-signing/src/decode.spec.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { fromBase64, fromHex } from "@cosmjs/encoding";
import { MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx";
import { PubKey } from "cosmjs-types/cosmos/crypto/secp256k1/keys";
import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing";
import { Any } from "cosmjs-types/google/protobuf/any";
import { MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx.js";
import { PubKey } from "cosmjs-types/cosmos/crypto/secp256k1/keys.js";
import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing.js";
import { Any } from "cosmjs-types/google/protobuf/any.js";

import { decodeTxRaw } from "./decode";
import { faucet, testVectors } from "./testutils.spec";
Expand Down
2 changes: 1 addition & 1 deletion packages/proto-signing/src/decode.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { AuthInfo, TxBody, TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { AuthInfo, TxBody, TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx.js";

export interface DecodedTxRaw {
readonly authInfo: AuthInfo;
Expand Down
2 changes: 1 addition & 1 deletion packages/proto-signing/src/directsecp256k1hdwallet.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import {
} from "@cosmjs/crypto";
import { fromBase64, fromUtf8, toBase64, toBech32, toUtf8 } from "@cosmjs/encoding";
import { assert, isNonNullObject } from "@cosmjs/utils";
import { SignDoc } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { SignDoc } from "cosmjs-types/cosmos/tx/v1beta1/tx.js";

import { AccountData, DirectSignResponse, OfflineDirectSigner } from "./signer";
import { makeSignBytes } from "./signing";
Expand Down
2 changes: 1 addition & 1 deletion packages/proto-signing/src/directsecp256k1wallet.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { encodeSecp256k1Signature, rawSecp256k1PubkeyToRawAddress } from "@cosmjs/amino";
import { Secp256k1, sha256 } from "@cosmjs/crypto";
import { toBech32 } from "@cosmjs/encoding";
import { SignDoc } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { SignDoc } from "cosmjs-types/cosmos/tx/v1beta1/tx.js";

import { AccountData, DirectSignResponse, OfflineDirectSigner } from "./signer";
import { makeSignBytes } from "./signing";
Expand Down
2 changes: 1 addition & 1 deletion packages/proto-signing/src/pubkey.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { fromBase64 } from "@cosmjs/encoding";
import { Any } from "cosmjs-types/google/protobuf/any";
import { Any } from "cosmjs-types/google/protobuf/any.js";

import { decodePubkey, encodePubkey } from "./pubkey";

Expand Down
8 changes: 4 additions & 4 deletions packages/proto-signing/src/pubkey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ import {
} from "@cosmjs/amino";
import { fromBase64 } from "@cosmjs/encoding";
import { Uint53 } from "@cosmjs/math";
import { PubKey as CosmosCryptoEd25519Pubkey } from "cosmjs-types/cosmos/crypto/ed25519/keys";
import { LegacyAminoPubKey } from "cosmjs-types/cosmos/crypto/multisig/keys";
import { PubKey as CosmosCryptoSecp256k1Pubkey } from "cosmjs-types/cosmos/crypto/secp256k1/keys";
import { Any } from "cosmjs-types/google/protobuf/any";
import { PubKey as CosmosCryptoEd25519Pubkey } from "cosmjs-types/cosmos/crypto/ed25519/keys.js";
import { LegacyAminoPubKey } from "cosmjs-types/cosmos/crypto/multisig/keys.js";
import { PubKey as CosmosCryptoSecp256k1Pubkey } from "cosmjs-types/cosmos/crypto/secp256k1/keys.js";
import { Any } from "cosmjs-types/google/protobuf/any.js";

/**
* Takes a pubkey in the Amino JSON object style (type/value wrapper)
Expand Down
6 changes: 3 additions & 3 deletions packages/proto-signing/src/registry.spec.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/* eslint-disable @typescript-eslint/naming-convention */
import { fromHex } from "@cosmjs/encoding";
import { assert } from "@cosmjs/utils";
import { MsgSend as IMsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx";
import { TxBody } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { Any } from "cosmjs-types/google/protobuf/any";
import { MsgSend as IMsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx.js";
import { TxBody } from "cosmjs-types/cosmos/tx/v1beta1/tx.js";
import { Any } from "cosmjs-types/google/protobuf/any.js";
import { Field, Type } from "protobufjs";

import { isPbjsGeneratedType, isTsProtoGeneratedType, Registry } from "./registry";
Expand Down
10 changes: 5 additions & 5 deletions packages/proto-signing/src/registry.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { BinaryWriter } from "cosmjs-types/binary";
import { MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx";
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
import { TxBody } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { Any } from "cosmjs-types/google/protobuf/any";
import { BinaryWriter } from "cosmjs-types/binary.js";
import { MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx.js";
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin.js";
import { TxBody } from "cosmjs-types/cosmos/tx/v1beta1/tx.js";
import { Any } from "cosmjs-types/google/protobuf/any.js";
import type protobuf from "protobufjs";

/**
Expand Down
2 changes: 1 addition & 1 deletion packages/proto-signing/src/signer.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { OfflineAminoSigner, StdSignature } from "@cosmjs/amino";
import { SignDoc } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { SignDoc } from "cosmjs-types/cosmos/tx/v1beta1/tx.js";

export type Algo = "secp256k1" | "ed25519" | "sr25519";
export interface AccountData {
Expand Down
6 changes: 3 additions & 3 deletions packages/proto-signing/src/signing.spec.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { fromBase64, fromHex, toHex } from "@cosmjs/encoding";
import { PubKey } from "cosmjs-types/cosmos/crypto/secp256k1/keys";
import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing";
import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { PubKey } from "cosmjs-types/cosmos/crypto/secp256k1/keys.js";
import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing.js";
import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx.js";

import { decodeTxRaw } from "./decode";
import { DirectSecp256k1HdWallet } from "./directsecp256k1hdwallet";
Expand Down
8 changes: 4 additions & 4 deletions packages/proto-signing/src/signing.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { assert } from "@cosmjs/utils";
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing";
import { AuthInfo, SignDoc, SignerInfo } from "cosmjs-types/cosmos/tx/v1beta1/tx";
import { Any } from "cosmjs-types/google/protobuf/any";
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin.js";
import { SignMode } from "cosmjs-types/cosmos/tx/signing/v1beta1/signing.js";
import { AuthInfo, SignDoc, SignerInfo } from "cosmjs-types/cosmos/tx/v1beta1/tx.js";
import { Any } from "cosmjs-types/google/protobuf/any.js";

/**
* Create signer infos from the provided signers.
Expand Down
2 changes: 1 addition & 1 deletion packages/stargate/src/accounts.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { fromBase64 } from "@cosmjs/encoding";
import { Any } from "cosmjs-types/google/protobuf/any";
import { Any } from "cosmjs-types/google/protobuf/any.js";

import { accountFromAny } from "./accounts";

Expand Down
6 changes: 3 additions & 3 deletions packages/stargate/src/accounts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ import { Pubkey } from "@cosmjs/amino";
import { Uint64 } from "@cosmjs/math";
import { decodeOptionalPubkey } from "@cosmjs/proto-signing";
import { assert } from "@cosmjs/utils";
import { BaseAccount, ModuleAccount } from "cosmjs-types/cosmos/auth/v1beta1/auth";
import { BaseAccount, ModuleAccount } from "cosmjs-types/cosmos/auth/v1beta1/auth.js";
import {
BaseVestingAccount,
ContinuousVestingAccount,
DelayedVestingAccount,
PeriodicVestingAccount,
} from "cosmjs-types/cosmos/vesting/v1beta1/vesting";
import { Any } from "cosmjs-types/google/protobuf/any";
} from "cosmjs-types/cosmos/vesting/v1beta1/vesting.js";
import { Any } from "cosmjs-types/google/protobuf/any.js";

export interface Account {
/** Bech32 account address */
Expand Down
2 changes: 1 addition & 1 deletion packages/stargate/src/aminotypes.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { coin } from "@cosmjs/proto-signing";
import { MsgDelegate } from "cosmjs-types/cosmos/staking/v1beta1/tx";
import { MsgDelegate } from "cosmjs-types/cosmos/staking/v1beta1/tx.js";

import { AminoTypes } from "./aminotypes";
import { createBankAminoConverters, createStakingAminoConverters } from "./modules";
Expand Down
4 changes: 2 additions & 2 deletions packages/stargate/src/modules/auth/queries.spec.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { encodePubkey } from "@cosmjs/proto-signing";
import { CometClient, connectComet } from "@cosmjs/tendermint-rpc";
import { assert } from "@cosmjs/utils";
import { BaseAccount } from "cosmjs-types/cosmos/auth/v1beta1/auth";
import { Any } from "cosmjs-types/google/protobuf/any";
import { BaseAccount } from "cosmjs-types/cosmos/auth/v1beta1/auth.js";
import { Any } from "cosmjs-types/google/protobuf/any.js";

import { QueryClient } from "../../queryclient";
import { nonExistentAddress, pendingWithoutSimapp, simapp, unused, validator } from "../../testutils.spec";
Expand Down
4 changes: 2 additions & 2 deletions packages/stargate/src/modules/auth/queries.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { QueryClientImpl } from "cosmjs-types/cosmos/auth/v1beta1/query";
import { Any } from "cosmjs-types/google/protobuf/any";
import { QueryClientImpl } from "cosmjs-types/cosmos/auth/v1beta1/query.js";
import { Any } from "cosmjs-types/google/protobuf/any.js";

import { createProtobufRpcClient, QueryClient } from "../../queryclient";

Expand Down
2 changes: 1 addition & 1 deletion packages/stargate/src/modules/authz/messages.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { GeneratedType } from "@cosmjs/proto-signing";
import { MsgExec, MsgGrant, MsgRevoke } from "cosmjs-types/cosmos/authz/v1beta1/tx";
import { MsgExec, MsgGrant, MsgRevoke } from "cosmjs-types/cosmos/authz/v1beta1/tx.js";

export const authzTypes: ReadonlyArray<[string, GeneratedType]> = [
["/cosmos.authz.v1beta1.MsgExec", MsgExec],
Expand Down
2 changes: 1 addition & 1 deletion packages/stargate/src/modules/authz/queries.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { makeCosmoshubPath } from "@cosmjs/amino";
import { coins, DirectSecp256k1HdWallet } from "@cosmjs/proto-signing";
import { CometClient, connectComet } from "@cosmjs/tendermint-rpc";
import { assertDefined, sleep } from "@cosmjs/utils";
import { GenericAuthorization } from "cosmjs-types/cosmos/authz/v1beta1/authz";
import { GenericAuthorization } from "cosmjs-types/cosmos/authz/v1beta1/authz.js";

import { QueryClient } from "../../queryclient";
import { SigningStargateClient } from "../../signingstargateclient";
Expand Down
2 changes: 1 addition & 1 deletion packages/stargate/src/modules/authz/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import {
QueryGranteeGrantsResponse,
QueryGranterGrantsResponse,
QueryGrantsResponse,
} from "cosmjs-types/cosmos/authz/v1beta1/query";
} from "cosmjs-types/cosmos/authz/v1beta1/query.js";

import { createPagination, createProtobufRpcClient, QueryClient } from "../../queryclient";

Expand Down
2 changes: 1 addition & 1 deletion packages/stargate/src/modules/bank/aminomessages.spec.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { coins } from "@cosmjs/proto-signing";
import { MsgMultiSend, MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx";
import { MsgMultiSend, MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx.js";

import { AminoTypes } from "../../aminotypes";
import { AminoMsgMultiSend, AminoMsgSend, createBankAminoConverters } from "./aminomessages";
Expand Down
2 changes: 1 addition & 1 deletion packages/stargate/src/modules/bank/aminomessages.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable @typescript-eslint/naming-convention */
import { AminoMsg, Coin } from "@cosmjs/amino";
import { MsgMultiSend, MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx";
import { MsgMultiSend, MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx.js";

import { AminoConverters } from "../../aminotypes";

Expand Down
2 changes: 1 addition & 1 deletion packages/stargate/src/modules/bank/messages.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { EncodeObject, GeneratedType } from "@cosmjs/proto-signing";
import { MsgMultiSend, MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx";
import { MsgMultiSend, MsgSend } from "cosmjs-types/cosmos/bank/v1beta1/tx.js";

export const bankTypes: ReadonlyArray<[string, GeneratedType]> = [
["/cosmos.bank.v1beta1.MsgMultiSend", MsgMultiSend],
Expand Down
6 changes: 3 additions & 3 deletions packages/stargate/src/modules/bank/queries.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { assert } from "@cosmjs/utils";
import { Metadata } from "cosmjs-types/cosmos/bank/v1beta1/bank";
import { Metadata } from "cosmjs-types/cosmos/bank/v1beta1/bank.js";
import {
QueryAllBalancesRequest,
QueryClientImpl,
QueryDenomsMetadataRequest,
QueryTotalSupplyResponse,
} from "cosmjs-types/cosmos/bank/v1beta1/query";
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin";
} from "cosmjs-types/cosmos/bank/v1beta1/query.js";
import { Coin } from "cosmjs-types/cosmos/base/v1beta1/coin.js";

import { createPagination, createProtobufRpcClient, QueryClient } from "../../queryclient";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
MsgSetWithdrawAddress,
MsgWithdrawDelegatorReward,
MsgWithdrawValidatorCommission,
} from "cosmjs-types/cosmos/distribution/v1beta1/tx";
} from "cosmjs-types/cosmos/distribution/v1beta1/tx.js";

import { AminoTypes } from "../../aminotypes";
import {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
MsgSetWithdrawAddress,
MsgWithdrawDelegatorReward,
MsgWithdrawValidatorCommission,
} from "cosmjs-types/cosmos/distribution/v1beta1/tx";
} from "cosmjs-types/cosmos/distribution/v1beta1/tx.js";

import { AminoConverter } from "../..";

Expand Down
Loading
Loading