- Upgrade grpc-tools and protoc-gen-grpc-web to clear M1 node_modules installation errors (grpc/grpc-node#1405 (comment))
- Fix initial deposits messages for proposals when empty [#54] (#54)
- Update message displays for voting [#52] (#52)
- Allow gas adjustment to be passed in [#51] (#51)
- Add Msg Based Fees [#49] (#49)
- Add MsgSubmitProposal to message-service [#43] (#45)
- Updated protos for proposal types
- Added weighted votes to message-service [#42] (#42)
- BREAKING CHANGE: Allow for custom gasPrice and denom to be used for calculations. If none is supplied default to use the figure gasPrice service #40
gasPrice
andfeeDenom
are now REQUIRED to be passed into:MessageService.buildAuthInfo
MessageService.buildBroadcastTxRequest
MessageService.buildSimulateRequest
WalletService.transaction
now takes optional keysgasPrice
anddenom
to set a custom gas price and denom to be used on a transaction.
- Renames provenance.marker.v1.authz.MarkerTransferAuthorization to provenance.marker.v1 MarkerTransferAuthorization for msgGrant. Fixes #37.
ats
layout updated to show the buyer side fees as a Transaction Fee
WalletService.disconnect
was incorrectly using window.addEventListener
MsgExecuteContract
layout now supportsDisclaimer
coinDecimalConvert
now hasshowFractional
param to display optional fractional decimal values
- Updated protos
- Multiple message support.
WalletService.transaction
now supports an array of message strings - Support for
MsgGrant
- Layout support for DCC smart contract
- Denom support for DCC denoms
- Use
Big
for denom conversion to fix decimal issues.
WalletService.initialize
now takes all parameters returned fromWalletService.connect
- Query param types reorganized for better readability in functions.
WalletService.initialize
now updatessessionStorage
- Autogenerate docs whenever code is merged to main #25
- 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