From 8813629137ee388705820e51feeb2ae91dd6b4ad Mon Sep 17 00:00:00 2001 From: Manuel Date: Mon, 4 Mar 2024 16:13:08 +0100 Subject: [PATCH] chore: release 6.0.5 --- CHANGELOG.md | 7 +++++++ packages/core/package.json | 2 +- packages/core/src/utils/testutils/index.ts | 13 +++++++------ packages/keplr/package.json | 2 +- packages/types/package.json | 2 +- packages/walletconnect-modal/package.json | 2 +- packages/walletconnect-v2/package.json | 2 +- packages/web3auth-mobile/package.json | 2 +- packages/web3auth-web/package.json | 2 +- 9 files changed, 21 insertions(+), 13 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 950acfe5d..ff76eb6a2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +## Version 6.0.5 +### Bug fixes +- Fix `BasicAllowance` amino serialization. +- Fix `AllowedMsgAllowance` amino serialization. +- Fix `PeriodAllowance` amino serialization. +- Fix `Timestamp` amino serialization. + ## Version 6.0.4 ### New features - Add `generate` method to `PrivateKeySigner` to generate a signer with a random private key. diff --git a/packages/core/package.json b/packages/core/package.json index a43c69ea1..f9e0fbcfe 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@desmoslabs/desmjs", - "version": "6.0.4", + "version": "6.0.5", "description": "Core of the desmos DApp SDK", "contributors": [ "Manuel Turetta ", diff --git a/packages/core/src/utils/testutils/index.ts b/packages/core/src/utils/testutils/index.ts index 9f7097b0f..8fb12bdc2 100644 --- a/packages/core/src/utils/testutils/index.ts +++ b/packages/core/src/utils/testutils/index.ts @@ -1,5 +1,6 @@ import { sortedJsonStringify } from "@cosmjs/amino/build/signdoc"; import { AminoConverters } from "@cosmjs/stargate"; +import { TxRaw } from "cosmjs-types/cosmos/tx/v1beta1/tx"; import { AminoTypes } from "../../aminotypes"; import { assertTxSuccess, @@ -89,10 +90,10 @@ export function runBroadcastTest(test: BroadcastTest) { value: test.message, }, ]); - const directResult = await directClient.broadcastTxBlock( - directSignResult.txRaw, + const directResult = await directClient.broadcastTx( + TxRaw.encode(directSignResult.txRaw).finish(), ); - assertTxSuccess(directResult); + expect(directResult.code).toBe(0); }); // Sign and broadcast the transaction in amino mode. @@ -104,9 +105,9 @@ export function runBroadcastTest(test: BroadcastTest) { value: test.message, }, ]); - const aminoResult = await aminoClient.broadcastTxBlock( - aminoSignResult.txRaw, + const aminoResult = await aminoClient.broadcastTx( + TxRaw.encode(aminoSignResult.txRaw).finish(), ); - assertTxSuccess(aminoResult); + expect(aminoResult.code).toBe(0); }); } diff --git a/packages/keplr/package.json b/packages/keplr/package.json index 67bc78775..ca77feae6 100644 --- a/packages/keplr/package.json +++ b/packages/keplr/package.json @@ -1,6 +1,6 @@ { "name": "@desmoslabs/desmjs-keplr", - "version": "6.0.4", + "version": "6.0.5", "description": "Keplr integration for DesmJS", "contributors": [ "Luca Graziotti " diff --git a/packages/types/package.json b/packages/types/package.json index c6872b627..8954d6914 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@desmoslabs/desmjs-types", - "version": "6.0.4", + "version": "6.0.5", "description": "JS and TS types relating to Protocol Buffers used by Desmos", "contributors": [ "Manuel Turetta ", diff --git a/packages/walletconnect-modal/package.json b/packages/walletconnect-modal/package.json index 5ee745199..84d471b9f 100644 --- a/packages/walletconnect-modal/package.json +++ b/packages/walletconnect-modal/package.json @@ -1,6 +1,6 @@ { "name": "@desmoslabs/desmjs-walletconnect-modal", - "version": "6.0.4", + "version": "6.0.5", "description": "QR code modal that can be used to display the WalletConnect QR code", "contributors": [ "Manuel Turetta " diff --git a/packages/walletconnect-v2/package.json b/packages/walletconnect-v2/package.json index ecbf4159c..d9a051e75 100644 --- a/packages/walletconnect-v2/package.json +++ b/packages/walletconnect-v2/package.json @@ -1,6 +1,6 @@ { "name": "@desmoslabs/desmjs-walletconnect-v2", - "version": "6.0.4", + "version": "6.0.5", "description": "WalletConnect v2 integration for DesmJS", "contributors": [ "Manuel Turetta " diff --git a/packages/web3auth-mobile/package.json b/packages/web3auth-mobile/package.json index 4c2772660..a70933921 100644 --- a/packages/web3auth-mobile/package.json +++ b/packages/web3auth-mobile/package.json @@ -1,6 +1,6 @@ { "name": "@desmoslabs/desmjs-web3auth-mobile", - "version": "6.0.4", + "version": "6.0.5", "description": "Web3Auth integration for DesmJS", "contributors": [ "Manuel Turetta " diff --git a/packages/web3auth-web/package.json b/packages/web3auth-web/package.json index c0de56a39..1c994ec89 100644 --- a/packages/web3auth-web/package.json +++ b/packages/web3auth-web/package.json @@ -1,6 +1,6 @@ { "name": "@desmoslabs/desmjs-web3auth-web", - "version": "6.0.4", + "version": "6.0.5", "description": "Web3Auth integration for DesmJS", "contributors": [ "Manuel Turetta "