Skip to content

Releases: DePayFi/widgets

v1.8.0

09 Jun 13:48
5ba7c3d
Compare
Choose a tag to compare

adding:

close: '<a function to be called if you want to close the widget once the payment has been confirmed>'

To both callback options for sent and confirmed.

v1.7.6

08 Jun 08:35
b6ab2ec
Compare
Choose a tag to compare

fix: open shadow root

v1.7.5

07 Jun 12:31
1a71055
Compare
Choose a tag to compare

fix: all ether contracts are functions now and initalize contracts uppon request

v1.7.4

07 Jun 12:21
abf4ef4
Compare
Choose a tag to compare

fix: version

v1.7.1

18 May 06:38
127bafd
Compare
Choose a tag to compare

Turning EthersProvider (internal) into a function instead of setting it to a fix value at bootup

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