@bestinslot/wallet-kit 0.13.6 → 0.13.8
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 +4 -0
- package/dist/{balances-Cko3S8nV.js → balances-BnXuM9CG.js} +2284 -2058
- package/dist/browser.js +55 -53
- package/dist/core.js +33 -29
- package/dist/{mint-C_wN10-d.js → mint-CHlWPuov.js} +201 -102
- package/dist/node.js +192 -190
- package/dist/react.js +5 -5
- package/dist/{register-browser-providers-J2bm6PEo.js → register-browser-providers-b9rpXGqV.js} +35 -35
- package/dist/types/api/brc20.d.ts +42 -0
- package/dist/types/api/wallet.d.ts +2 -2
- package/dist/types/core/bis.d.ts +2 -1
- package/dist/types/core/brc20-send.d.ts +96 -0
- package/dist/types/core/helpers.d.ts +39 -18
- package/dist/types/core/mint.d.ts +1 -0
- package/dist/types/core/store-network.d.ts +42 -0
- package/dist/types/core.d.ts +2 -1
- package/dist/vue.js +9 -9
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -101,6 +101,10 @@ const network = wallet.getNetwork()
|
|
|
101
101
|
// Set BTC network
|
|
102
102
|
wallet.setNetwork('testnet') // defaults to mainnet
|
|
103
103
|
|
|
104
|
+
// Point a network at your own backends (any of indexer, tx, sequencerRead, sequencer, rpc)
|
|
105
|
+
wallet.setEndpoints({ mainnet: { rpc: 'https://my-brc20-rpc.example' } })
|
|
106
|
+
const endpoints = wallet.getEndpoints() // effective URLs for the selected network
|
|
107
|
+
|
|
104
108
|
// Theme - defaults to 'system'
|
|
105
109
|
modal.setTheme('dark') // system, dark, light
|
|
106
110
|
```
|