- MsgSend layout fix to reorder
estimatedValue
afteramountList
- Check for values in return message before updating state in
WalletService.messageListener
. Due to a previous update wallet state was being overwritten with empty values after transaction.
estimatedValue
shows the total estimated value of the coin in a transaction and can be passed as a stringified CoinAsObject in the query param to be displayed in the layout
MsgExecuteContract
ats
layout now supports versioning to handle new ATS smart contract format concurrently with old format.- Wallet recognition of contract version is handled via
atsVersion
query param intransaction
window - Wallet windows will now poll for manual window close via
pollForOpenWindow
inWalletService
WalletService
will now update state on bothSIGNATURE_COMPLETE
andTRANSACTION_COMPLETE
. Previously state was only updated onCONNECTED
.
WalletService
now sendswindow.location.origin
to wallet windows via query paramorigin
. Used in wallet side for added security inpostMessage
WINDOW_MESSAGES.READY_FOR_POST_MESSAGE
event added, wallets should send this message when they need to receive apostMessage
, and are ready to do so.WalletService.sign
now waits forREADY_FOR_POST_MESSAGE
event before sending the payload message.
WalletService.sign
now usespostMessage
instead of query param to transfer data. Data can now be string or byte array. Will return the type that was passed in.
WalletService.sign
for signing of generic Base64 string.
WalletService
will now add and remove theonmessage
handler before and after each wallet interaction.WalletService.disconnect
will also remove the handler.
WalletService
will pass through messages to event listeners asmessage
in the callback data
WalletService
now implementsinitialize
to allow wallets to be initialized manually
WINDOW_MESSAGES.TRANSACTION_COMPLETE
now expectstxhash
to be returned
WalletService
will now callupdateState
ondisconnect
GrpcService.getTx
, the tx service endpoint to query for existence of tx after broadcasting transaction
GrpcService.broadcastTx
,GrpcService.simulate
andGrpcService.getBalancesList
now return their corresponding response asresponse.AsObject
- Support for memos in transactions and message layouts.
- Support for
cfigureomni
denom
- Eslint config updated per https://github.com/prettier/eslint-config-prettier/blob/main/CHANGELOG.md#version-800-2021-02-21
feeBuffer
removed,gasPrice
rounding error fixed.
walletService.removeEventListener
andwalletService.removeAllEventListeners
for event listener cleanupwalletService.disconnect
for clean wallet disconnectwalletService.removeAllEventListeners
will run automatically when hook or context unmounts
- More logging in
develop
mode logOnStaging
for logs instaging
mode
buildAuthInfo
now hasgasPrice
andfeeBuffer
parameters- loose option on babel plugins removed
useWalletService
will now instantiate its ownWalletService
instance
useWalletService
hook to support multiple wallets
walletService
postMessage origin check now supports origin with path suffix- Updates to the README
exchangesc
now shows 3 decimal places
- Initial Deploy