- Fix
BasicAllowance
amino serialization. - Fix
AllowedMsgAllowance
amino serialization. - Fix
PeriodAllowance
amino serialization. - Fix
Timestamp
amino serialization.
- Add
generate
method toPrivateKeySigner
to generate a signer with a random private key. - Add
session
getter toWalletConnectSigner
to get the session used to connect to the wallet.
- Fix a bug that was causing the generation of an invalid signature when signing amino-encoded transactions with a fee granter.
- Fix compilation issues caused by incompatible
@cosmjs/*
package versions.
- Fixed a bug that cause the
WalletConnectSigner
to not reconnect to a previously established connection if the remote signer is not online.
- Add a new
feeGranter
parameter to theSimulateOptions
in order to properly simulate transactions using a fee grant
- Added support for the
x/tokenfactory
module. - Included support for new message types in the
x/posts
module:MsgMovePost
,MsgRequestPostOwnerTransfer
,MsgCancelPostOwnerTransferRequest
,MsgRefusePostOwnerTransferRequest
, andMsgAcceptPostOwnerTransferRequest
. - Implemented support for the new message type
MsgUpdateSubspaceFeeTokens
in thex/subspaces
module.
- Set
react-native
as peer dependency in@desmoslabs/desmjs-web3auth-web
.
- Fixed a bug that cause the packages to use an older version of the
@desmoslabs/*
dependencies.
- Export Web3Auth objects from
@desmoslabs/desmjs-web3auth-mobile
- Add support to governance v1
- Reorganized modules export to better support multiple version of a module
- Dropped support to WalletConnect v1
- Fixed authz expiration amino conversion thanks to @williamchong
- Fixed x/gov messages type url
- Updated Desmos to
5.0.0
- Added the ability to specify a
gasAdjustment
value when creating aDesmosClient
instance
- Fix
StakeAuthorizationTypeUrl
- Add methods to broadcast a transaction in async, sync or block mode
- Replaced
ts-proto
withtelescope
to generate the messages code from Profo files
- Fixed the Amino to Protobuf converter of
MsgLinkChainAccount
- Allow to simulate a tx with a
DesmosClient
without signer - Improve
DesmosClient#signTx
method signature
- Fixed Amino messages converters not working properly
- Fixed Amino converters not working properly
- Added missing
MsgMultiSendEncodeObject
- Added the ability to create an offline
DesmosClient
to sign transactions faster - Added utility functions to
@desmoslabs/desmjs-walletconnect-v2
to decode WalletConnect requests easily
- Replaced hardcoded Protobuf and Amino type values with constants
- Added a
querier
method insideDesmosClient
to expose the gRPC querier - Added constantsProto URL to define Protobuf type URLs
- Added the option to provide a custom address prefix inside
PrivateKeySigner
- Added the support for CosmWasm inside
KeplrSigner
Patch version to allow the proper publication of all packages
- Updated Desmos to
4.7.0
- Updated Desmos to
4.6.3
- Added
getPubKeyRawBytes
utility method to get the public key raw bytes from aSignatureResult
instance
- Bumped
@cosmjs
to0.29.3
- Fixed incorrect
Coin
conversion when output coin should have decimal places
- Updated Desmos to
4.6.2
- Updated the
ChainInfo
type to include more information - Added the
getChainId
utility method to easily retrieve the id of a network given aChainInfo
instance - Automatically get
chainId
fromChainInfo
when signing a transaction using Keplr
- Added
toAny
converters for variousAddressData
instances - Added
toAny
converters for variousSignature
instances - Now the
memo
if optional when signing transactions (defaults to an empty memo)
- Added the ability to automatically estimate transaction gas and fees.
BothDesmosClient#signTx
andDesmosClient#sign
methods now accept"auto"
as a fee value. If this is given, both fees and gas amount will be estimated automatically before signing the transaction. Note that fees estimation can be performed only if agasPrice
is specified inside the client options when creating it.
- Added utility methods to easily encode various authorizations to
Any
- Fixed wrong
GenericSubspaceAuthorization
Amino type
- Updated Desmos to
v4.5.0
- Fixed build error
- Updated Desmos to
v4.4.1
- Added
mediaToAny
andpollToAny
utility methods.
- First release of the new
@desmoslabs/desmjs-keplr
package that allows to easily integrate with Keplr (thanks @g-luca)
- Fixed wrong
Long
Amino serializations
- Added
timestampFromDate
andtimestampToDate
utility methods
- Fixed wrong reports-related messages URLs within type registry (thanks @g-luca)
- Fixed wrong reports-related
EncodeObject
naming and type url
- Export report target to
Any
converter methods
- Added missing
EncodeObject
instances for feegrant and authz supported messages
- Improve the
SignatureResult
usability to adding methods to extract useful data from it (signed bytes, signature bytes, public key bytes)
- Added a new
encodeToAmino
method toDesmosClient
to easily encode a list of messages to Amino - Added a new
pubKey
field toSignatureResult
representing the bytes of the public key associated to the private key used to sign a transaction
- Properly support the
x/feegrant
messages - Properly support the
x/authz
messages
- Fixed wrong export of
OfflineSignerAdapter
- Made
options
param ofOfflineSignerAdapter.fromMnemonic
andOfflineSignerAdapter.generate
Partial
- Exposed the cosmjs
stringToPath
andpathToString
functions - Added
makeDesmosPath
to generate a Desmos derivation path with coin type 852
- Added CosmWASM support to upload, execute and query a smart contract
- Updated Desmos to
v4.3.0
- Updated Desmos to
v4.2.0
- Added CosmJS offline signer to
Signer
adapter
- Updated Desmos to
v4.1.0
- Updated Desmos to
v4.0.0
- Updated Desmos to
v3.1.0
- Removed the
react
package - Moved all types from desmoslabs/protojs into the new
types
package - Created a new
walletconnect
package that contains theSigner
implementation that usesWalletConnect
All packages are now published as the following on NPM:
Package | NPM reference |
---|---|
core |
@desmoslabs/desmjs |
types |
@desmoslabs/desmjs-types |
walletconnect |
@desmoslabs/desmjs-walletconnect |