@omnisat/lasereyes 0.0.67 → 0.0.69
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.js +2 -1
- package/dist/index.mjs +2 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1187,7 +1187,8 @@ var LaserEyesProvider = ({
|
|
|
1187
1187
|
if (!library)
|
|
1188
1188
|
throw new Error("No wallet connected");
|
|
1189
1189
|
if (provider === UNISAT) {
|
|
1190
|
-
|
|
1190
|
+
const lib = window.unisat;
|
|
1191
|
+
return yield lib.requestAccounts();
|
|
1191
1192
|
} else if (provider === XVERSE) {
|
|
1192
1193
|
const getAddressOptions = {
|
|
1193
1194
|
payload: {
|
package/dist/index.mjs
CHANGED
|
@@ -1092,7 +1092,8 @@ var LaserEyesProvider = ({
|
|
|
1092
1092
|
if (!library)
|
|
1093
1093
|
throw new Error("No wallet connected");
|
|
1094
1094
|
if (provider === UNISAT) {
|
|
1095
|
-
|
|
1095
|
+
const lib = window.unisat;
|
|
1096
|
+
return yield lib.requestAccounts();
|
|
1096
1097
|
} else if (provider === XVERSE) {
|
|
1097
1098
|
const getAddressOptions = {
|
|
1098
1099
|
payload: {
|