Unpublish Tendermint 0.35 client

This commit is contained in:
Simon Warta 2022-08-04 11:52:10 +02:00
parent 19c1cbf6c8
commit 62fb92d4f2
3 changed files with 15 additions and 6 deletions

View File

@ -10,10 +10,11 @@ and this project adheres to
- @cosmjs/stargate: Add `makeMultisignedTxBytes` which is like - @cosmjs/stargate: Add `makeMultisignedTxBytes` which is like
`makeMultisignedTx` but returns bytes ready to broadcast ([#1176]). `makeMultisignedTx` but returns bytes ready to broadcast ([#1176]).
- @cosmjs/tendermint-rpc: Add Tendermint 0.35 client. This is currently not used - @cosmjs/tendermint-rpc: Add Tendermint 0.35 client (private, unusable). This
by higher level clients as Cosmos SDK 0.42-0.46 use Tendermint 0.34. But it is currently not used by higher level clients as Cosmos SDK 0.42-0.46 use
can be used as a standalone client for a Tendermint 0.35 RPC endpoint. Tendermint 0.34. It may become public or evolve into a Tendermint 0.36+ client
([[#1154]]) from here. If you need this client, please comment in [#1225] or open a new
issue. ([#1154] and [#1225])
- @cosmjs/tendermint-rpc: Add fields `codespace` and `info` to - @cosmjs/tendermint-rpc: Add fields `codespace` and `info` to
`AbciQueryResponse`. `AbciQueryResponse`.
- @cosmjs/cosmwasm-stargate: Add `SigningCosmWasmClient.executeMultiple` - @cosmjs/cosmwasm-stargate: Add `SigningCosmWasmClient.executeMultiple`
@ -27,6 +28,7 @@ and this project adheres to
[#1154]: https://github.com/cosmos/cosmjs/issues/1154 [#1154]: https://github.com/cosmos/cosmjs/issues/1154
[#1176]: https://github.com/cosmos/cosmjs/pull/1176 [#1176]: https://github.com/cosmos/cosmjs/pull/1176
[#1224]: https://github.com/cosmos/cosmjs/pull/1224 [#1224]: https://github.com/cosmos/cosmjs/pull/1224
[#1225]: https://github.com/cosmos/cosmjs/issues/1225
### Fixed ### Fixed

View File

@ -89,8 +89,10 @@ export {
} from "./tendermint34"; } from "./tendermint34";
export * as tendermint34 from "./tendermint34"; export * as tendermint34 from "./tendermint34";
export { Tendermint34Client } from "./tendermint34"; export { Tendermint34Client } from "./tendermint34";
export * as tendermint35 from "./tendermint35"; // Tendermint 0.35 support is not public. The implementation may break or be removed at any point in time.
export { Tendermint35Client } from "./tendermint35"; // See https://github.com/cosmos/cosmjs/issues/1225 for more context.
// export * as tendermint35 from "./tendermint35";
// export { Tendermint35Client } from "./tendermint35";
export { export {
BlockIdFlag, BlockIdFlag,
CommitSignature, CommitSignature,

View File

@ -14,6 +14,11 @@ import { adaptor35, Decoder, Encoder, Params, Responses } from "./adaptor";
import * as requests from "./requests"; import * as requests from "./requests";
import * as responses from "./responses"; import * as responses from "./responses";
/**
* Please note the Tendermint 0.35 client is currently not exported and may break or be removed at any point in time.
*
* @see https://github.com/cosmos/cosmjs/issues/1225
*/
export class Tendermint35Client { export class Tendermint35Client {
/** /**
* Creates a new Tendermint client for the given endpoint. * Creates a new Tendermint client for the given endpoint.