From bb3265b70c4fc366d7c8f83962fcf630a6655cea Mon Sep 17 00:00:00 2001 From: willclarktech Date: Tue, 30 Mar 2021 18:05:02 +0200 Subject: [PATCH] Update CHANGELOG for bank query changes --- CHANGELOG.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4aea3304..fdb20285 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -77,8 +77,8 @@ and this project adheres to `Bech32.encode(prefix, rawSecp256k1PubkeyToRawAddress(pubkeyRaw))` with `rawSecp256k1PubkeyToRawAddress` from @cosmjs/amino. - @cosmjs/stargate: `parseRawLog` is now nested under the `logs` export. -- @cosmjs/stargate: `auth` extension now has unverified queries at the root and - verified queries nested under `.verified`. +- @cosmjs/stargate: `auth` and `bank` extensions now have unverified queries at + the root and verified queries nested under `.verified`. - @cosmjs/stargate: `StargateClient.getAccount` now uses an unverified query and `StargateClient.getAccountUnverified` has been removed. `StargateClient.getAccountVerified` has been added, which performs a verified @@ -89,8 +89,14 @@ and this project adheres to query. - @cosmjs/stargate: `StargateClient.getSequence` now rejects if the account is not found, instead of returning null. +- @cosmjs/stargate: `StargateClient.getBalance` now returns a 0 balance instead + of null. +- @cosmjs/stargate: `StargateClient.getAllBalancesUnverified` has been renamed + `.getAllBalances`. - @cosmjs/cosmwasm-stargate: `CosmWasmClient.getSequence` now rejects if the account is not found, instead of returning null. +- @cosmjs/cosmwasm-stargate: `CosmWasmClient.getBalance` now returns a 0 balance + instead of null. ### Deprecated