Releases: DePayFi/widgets
Releases · DePayFi/widgets
v2.10.1
v2.10.0 migrates DePay Sale widget to v2
v2.10.1 fixes max amount calculation for DePay Sale widget
v2.9.2
Removes unnecessary console.logs
v2.9.1
Fixes internal rounding issue
v2.9.0
adds currency
configuration to enforce displayed currency
v2.8.0
adds the possibility to configure providers to be used for blockchain calls
v2.7.1
fix: do not require approval for direct transfers
v2.7.0
Adds whitelist allowing to restrict allowed fromTokens
whitelist
Allows only fromTokens (from the sender) that are part of the whitelist:
DePayWidgets.Payment({
whitelist: {
ethereum: [
'0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', // ETH
'0xdac17f958d2ee523a2206206994597c13d831ec7', // USDT
'0x6b175474e89094c44da98b954eedeac495271d0f' // DAI
],
bsc: [
'0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', // BNB
'0xe9e7cea3dedca5984780bafc599bd69add087d56', // BUSD
'0x55d398326f99059ff775485246999027b3197955' // BSC-USD
]
},
accept: [...]
})
v2.6.0
Adds error and critical callbacks and adds a dedicated error dialog for all errors catched internally
Screen.Recording.2021-09-07.at.14.07.26.mov
v2.5.0
stlye
now also allows you to set the dialog text color
v2.4.0
adds dedicated "Connect Wallet" dialog