@depay/widgets 10.0.1 → 10.2.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 +16 -0
- package/dist/esm/index.bundle.js +22 -22
- package/dist/esm/index.js +373 -111
- package/dist/umd/index.bundle.js +22 -22
- package/dist/umd/index.js +373 -111
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -605,6 +605,22 @@ DePayWidgets.Payment({
|
|
|
605
605
|
})
|
|
606
606
|
```
|
|
607
607
|
|
|
608
|
+
#### wallet
|
|
609
|
+
|
|
610
|
+
`wallet`
|
|
611
|
+
|
|
612
|
+
Allows to pass an already connected wallet instance (to skip the "Connect Wallet" flow):
|
|
613
|
+
|
|
614
|
+
```javascript
|
|
615
|
+
let { wallet } DePayWidgets.Connect({})
|
|
616
|
+
|
|
617
|
+
DePayWidgets.Payment({
|
|
618
|
+
|
|
619
|
+
wallet: wallet
|
|
620
|
+
|
|
621
|
+
})
|
|
622
|
+
```
|
|
623
|
+
|
|
608
624
|
#### providers
|
|
609
625
|
|
|
610
626
|
Allows to set providers to be used for making RPC calls to the individual blockchains:
|