Releases: DePayFi/widgets
v1.7.4
fix: version
v1.7.1
Turning EthersProvider (internal) into a function instead of setting it to a fix value at bootup
v1.7.0
Adding nonce
to sent
callback:
nonce: `<the sender nonce of the transaction>`
v1.6.0
Adds from
to callbacks sent
and confirmed
:
from:
<the address from which the payment is sent>
v1.5.0
Adds additional callbacks:
sent
A function that will be called once the payment has been sent to the network (but still needs to be mined/confirmed).
The widget will call the sent
function passing the following object as an argument:
{
tx: '<the transaction hash of the confirmed transaction>',
amount: '<the expected payment amount as big number string>',
token: '<the expected token address>'
}
confirmed
A function that will be called once the payment has been confirmed by the network.
The widget will call the confirmed
function passing the following object as an argument:
{
tx: '<the transaction hash of the confirmed transaction>',
amount: '<the expected payment amount as big number string>',
token: '<the expected token address>'
}
v1.4.4
- fix import into js apps
- use mixed named and default exports to have the same interface
DePayWidgets.
v1.4.2
fix donation widget, drop rollbar
v1.4.1
fix mobile css (responsiveness)
v1.4.0
Adding donation widget.
v1.3.3
Fixes max. amount selector for sales widgets by incorporating slippage correctly when user selects max amount of purchased tokens.