Remove cosmWasmTypes

This commit is contained in:
Simon Warta 2023-03-07 11:07:17 +01:00
parent 2b9b113f86
commit c882ee69e3
4 changed files with 2 additions and 5 deletions

View File

@ -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

View File

@ -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,

View File

@ -5,7 +5,6 @@ export {
AminoMsgMigrateContract,
AminoMsgStoreCode,
AminoMsgUpdateAdmin,
cosmWasmTypes,
createWasmAminoConverters,
} from "./wasm/aminomessages";
export {

View File

@ -237,6 +237,3 @@ export function createWasmAminoConverters(): AminoConverters {
},
};
}
/** @deprecated use `createWasmAminoConverters()` */
export const cosmWasmTypes: AminoConverters = createWasmAminoConverters();