@sats-connect/core 0.0.6 → 0.0.7
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/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -498,7 +498,7 @@ var UnisatAdapter = class extends SatsConnectAdapter {
|
|
|
498
498
|
id = DefaultAdaptersInfo.unisat.id;
|
|
499
499
|
async getAccounts(params) {
|
|
500
500
|
const { purposes } = params;
|
|
501
|
-
if (
|
|
501
|
+
if (purposes.includes("stacks" /* Stacks */)) {
|
|
502
502
|
throw new Error("Only bitcoin addresses are supported");
|
|
503
503
|
}
|
|
504
504
|
const accounts = await window.unisat.requestAccounts();
|