diff --git a/CHANGELOG.md b/CHANGELOG.md index 470eb43f54..c4589c9926 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,8 @@ and this project adheres to methods were provided by ts-proto but we never needed them. ([#1329]) - @cosmjs/stargate: Rename `fromTendermint34Event` to `fromTendermintEvent` and let it support both Tendermint 0.34 and 0.37 events as input. +- @cosmjs/cosmwasm-stargate: Remove `cosmWasmTypes`. Use + `createWasmAminoConverters()` instead. [#1002]: https://github.com/cosmos/cosmjs/issues/1002 [#1240]: https://github.com/cosmos/cosmjs/pull/1240 diff --git a/packages/cosmwasm-stargate/src/index.ts b/packages/cosmwasm-stargate/src/index.ts index 2db1cb3911..91c5af3461 100644 --- a/packages/cosmwasm-stargate/src/index.ts +++ b/packages/cosmwasm-stargate/src/index.ts @@ -2,7 +2,6 @@ export { Code, CodeDetails, Contract, ContractCodeHistoryEntry, CosmWasmClient } export { fromBinary, toBinary } from "./encoding"; export { _instantiate2AddressIntermediate, instantiate2Address } from "./instantiate2"; export { - cosmWasmTypes, createWasmAminoConverters, isMsgClearAdminEncodeObject, isMsgExecuteEncodeObject, diff --git a/packages/cosmwasm-stargate/src/modules/index.ts b/packages/cosmwasm-stargate/src/modules/index.ts index 7ae6842543..04cb2a7937 100644 --- a/packages/cosmwasm-stargate/src/modules/index.ts +++ b/packages/cosmwasm-stargate/src/modules/index.ts @@ -5,7 +5,6 @@ export { AminoMsgMigrateContract, AminoMsgStoreCode, AminoMsgUpdateAdmin, - cosmWasmTypes, createWasmAminoConverters, } from "./wasm/aminomessages"; export { diff --git a/packages/cosmwasm-stargate/src/modules/wasm/aminomessages.ts b/packages/cosmwasm-stargate/src/modules/wasm/aminomessages.ts index 5ba5cac971..50a4ce1ebc 100644 --- a/packages/cosmwasm-stargate/src/modules/wasm/aminomessages.ts +++ b/packages/cosmwasm-stargate/src/modules/wasm/aminomessages.ts @@ -237,6 +237,3 @@ export function createWasmAminoConverters(): AminoConverters { }, }; } - -/** @deprecated use `createWasmAminoConverters()` */ -export const cosmWasmTypes: AminoConverters = createWasmAminoConverters();