File tree Expand file tree Collapse file tree 3 files changed +13
-0
lines changed
packages/tendermint-rpc/src Expand file tree Collapse file tree 3 files changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -68,6 +68,11 @@ and this project adheres to
6868 If you are using any of those methods, please comment at
6969 https://github.com/cosmos/cosmjs/issues/1796 .
7070
71+ - @cosmjs/tendermint-rpc : Deprecate the Tendermint/CometBFT 0.34 client
72+ (` isTendermint34Client ` /` Tendermint34Client ` as well as all related types).
73+ This will be removed in the next version of CosmJS:
74+ https://github.com/cosmos/cosmjs/issues/1866
75+
7176## [ 0.36.2] - 2025-10-24
7277
7378### Fixed
Original file line number Diff line number Diff line change @@ -19,6 +19,10 @@ type Encoder<T extends requests.Request> = (req: T) => JsonRpcRequest;
1919// Decoder is a generic that matches all methods of Responses
2020type Decoder < T extends responses . Response > = ( res : JsonRpcSuccessResponse ) => T ;
2121
22+ /**
23+ * @deprecated Support for Tendermint/CometBFT 0.34 will be removed in the next version of CosmJS
24+ * (https://github.com/cosmos/cosmjs/issues/1866)
25+ */
2226export class Tendermint34Client {
2327 /**
2428 * Creates a new Tendermint client for the given endpoint.
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ export type TendermintClient = Tendermint34Client | Tendermint37Client;
1414/** A CometClient is either a Tendermint34Client, Tendermint37Client Comet38Client or a Comet1Client */
1515export type CometClient = Tendermint34Client | Tendermint37Client | Comet38Client | Comet1Client ;
1616
17+ /**
18+ * @deprecated Support for Tendermint/CometBFT 0.34 will be removed in the next version of CosmJS
19+ * (https://github.com/cosmos/cosmjs/issues/1866)
20+ */
1721export function isTendermint34Client ( client : CometClient ) : client is Tendermint34Client {
1822 return client instanceof Tendermint34Client ;
1923}
You can’t perform that action at this time.
0 commit comments