@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 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
- return yield library.requestAccounts();
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
- return yield library.requestAccounts();
1095
+ const lib = window.unisat;
1096
+ return yield lib.requestAccounts();
1096
1097
  } else if (provider === XVERSE) {
1097
1098
  const getAddressOptions = {
1098
1099
  payload: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omnisat/lasereyes",
3
- "version": "0.0.67",
3
+ "version": "0.0.69",
4
4
  "sideEffects": false,
5
5
  "private": false,
6
6
  "license": "MIT",