@depay/widgets 12.10.12 → 12.11.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 +36 -0
- package/dist/esm/index.bundle.js +1 -1
- package/dist/esm/index.evm.js +71 -13
- package/dist/esm/index.evm.js.map +1 -1
- package/dist/esm/index.js +71 -13
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.solana.js +71 -13
- package/dist/esm/index.solana.js.map +1 -1
- package/dist/umd/index.bundle.js +1 -1
- package/dist/umd/index.evm.js +70 -12
- package/dist/umd/index.evm.js.map +1 -1
- package/dist/umd/index.js +70 -12
- package/dist/umd/index.js.map +1 -1
- package/dist/umd/index.solana.js +70 -12
- package/dist/umd/index.solana.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -205,6 +205,42 @@ If you do not pass an amount, the user will be able to select an amount within t
|
|
|
205
205
|
|
|
206
206
|
The address receiving the payment. Always double check that you've set the right address.
|
|
207
207
|
|
|
208
|
+
#### wallets
|
|
209
|
+
|
|
210
|
+
You can sort and whitelist wallets displayed during the initial wallet selection step as follows:
|
|
211
|
+
|
|
212
|
+
##### wallets.sort
|
|
213
|
+
|
|
214
|
+
```
|
|
215
|
+
{
|
|
216
|
+
wallets: {
|
|
217
|
+
sort: [
|
|
218
|
+
'Uniswap',
|
|
219
|
+
'Coinbase'
|
|
220
|
+
]
|
|
221
|
+
}
|
|
222
|
+
}
|
|
223
|
+
```
|
|
224
|
+
|
|
225
|
+
This configuration would display Uniswap and Coinbase first, then would list all the others.
|
|
226
|
+
|
|
227
|
+
##### wallets.whitelist
|
|
228
|
+
|
|
229
|
+
```
|
|
230
|
+
{
|
|
231
|
+
wallets: {
|
|
232
|
+
whitelist: [
|
|
233
|
+
'Uniswap',
|
|
234
|
+
'Coinbase',
|
|
235
|
+
'Rainbow'
|
|
236
|
+
]
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
```
|
|
240
|
+
|
|
241
|
+
This configuration would only display Uniswap, Coinbase and Rainbow. No other options/wallets are displayed.
|
|
242
|
+
|
|
243
|
+
|
|
208
244
|
#### amount
|
|
209
245
|
|
|
210
246
|
##### fixed currency amounts
|