@depay/web3-wallets-evm 15.16.2 → 16.0.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 +6 -0
- package/dist/esm/index.evm.js +286 -230
- package/dist/esm/index.js +286 -230
- package/dist/esm/index.solana.js +286 -230
- package/dist/umd/index.evm.js +285 -229
- package/dist/umd/index.js +285 -229
- package/dist/umd/index.solana.js +285 -229
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -166,6 +166,12 @@ If no param is given it well tell you to which blockchain the wallet is connecte
|
|
|
166
166
|
await wallet.connectedTo() // 'bsc'
|
|
167
167
|
```
|
|
168
168
|
|
|
169
|
+
can provide an array if connected to multiple blockchains:
|
|
170
|
+
|
|
171
|
+
```javascript
|
|
172
|
+
await wallet.connectedTo() // ['ethereum', 'bsc']
|
|
173
|
+
```
|
|
174
|
+
|
|
169
175
|
### Receive wallet events
|
|
170
176
|
|
|
171
177
|
`on(string, function):undefined`: Register a callback function for given events.
|