Skip to content

Releases: DePayFi/widgets

v1.7.0

16 May 15:33
a584d9a
Compare
Choose a tag to compare

Adding nonce to sent callback:

nonce: `<the sender nonce of the transaction>`

v1.6.0

15 May 10:17
7d15c61
Compare
Choose a tag to compare

Adds from to callbacks sent and confirmed:

from: <the address from which the payment is sent>

v1.5.0

15 May 09:01
331e53f
Compare
Choose a tag to compare

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

20 Apr 11:09
Compare
Choose a tag to compare
  • fix import into js apps
  • use mixed named and default exports to have the same interface DePayWidgets.

v1.4.2

09 Mar 19:06
Compare
Choose a tag to compare

fix donation widget, drop rollbar

v1.4.1

05 Mar 12:06
Compare
Choose a tag to compare

fix mobile css (responsiveness)

v1.4.0

04 Mar 20:14
Compare
Choose a tag to compare

Adding donation widget.

v1.3.3

04 Mar 16:33
Compare
Choose a tag to compare

Fixes max. amount selector for sales widgets by incorporating slippage correctly when user selects max amount of purchased tokens.

v1.3.2

04 Mar 12:20
Compare
Choose a tag to compare

Fix with (swaps) and without slippage (direct transfers) amounts when calculating payment routes.

v1.3.1

04 Mar 09:54
Compare
Choose a tag to compare

Fixes issues with direct token transfers (in cases where sender sends the exact token requested by receiver).