@depay/widgets 7.14.4 → 7.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1467,6 +1467,32 @@ DePayWidgets.Donation({
1467
1467
  });
1468
1468
  ```
1469
1469
 
1470
+ #### whitelist (DePay Donations)
1471
+
1472
+ Allows only the configured tokens to be eligible as means of payment (from the sender):
1473
+
1474
+ ```javacript
1475
+ DePayWidgets.Donation({
1476
+
1477
+ whitelist: {
1478
+ ethereum: [
1479
+ '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', // ETH
1480
+ '0xdac17f958d2ee523a2206206994597c13d831ec7', // USDT
1481
+ '0x6b175474e89094c44da98b954eedeac495271d0f' // DAI
1482
+ ],
1483
+ bsc: [
1484
+ '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', // BNB
1485
+ '0xe9e7cea3dedca5984780bafc599bd69add087d56', // BUSD
1486
+ '0x55d398326f99059ff775485246999027b3197955' // BSC-USD
1487
+ ],
1488
+ polygon: [
1489
+ '0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE', // MATIC
1490
+ '0x2791bca1f2de4661ed88a30c99a7a9449aa84174', // USDC
1491
+ ]
1492
+ }
1493
+ })
1494
+ ```
1495
+
1470
1496
  #### blacklist (DePay Donations)
1471
1497
 
1472
1498
  Allows to blacklist tokens so that they will not be suggested as means of payment (from the sender):