@muze-nl/jsfs-solid 0.3.5 → 0.3.6

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/browser.js CHANGED
@@ -15481,7 +15481,8 @@
15481
15481
  options.prefixes[prefix2] = defaults.prefixes[prefix2];
15482
15482
  }
15483
15483
  }
15484
- const profile = await metro.client().with(oldmmw(options), metro.mw.getdata()).get(webid)?.primary;
15484
+ const response2 = await metro.client(oldmmw(options), metro.mw.getdata()).get(webid);
15485
+ const profile = response2?.primary;
15485
15486
  if (!profile || !profile.solid$oidcIssuer) {
15486
15487
  throw new Error("solidClient: " + webid + " did not return valid solid profile");
15487
15488
  }