@muze-nl/jsfs-solid 0.3.7 → 0.3.9
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 +5 -5
- package/dist/browser.js.map +2 -2
- package/dist/browser.min.js +1 -1
- package/dist/browser.min.js.map +2 -2
- package/package.json +1 -1
- package/package.json~ +1 -1
- package/src/SolidClient.js +5 -5
package/dist/browser.js
CHANGED
|
@@ -15486,20 +15486,20 @@
|
|
|
15486
15486
|
if (!profile || !profile.solid$oidcIssuer) {
|
|
15487
15487
|
throw new Error("solidClient: " + webid + " did not return valid solid profile");
|
|
15488
15488
|
}
|
|
15489
|
-
options.issuer = profile.solid$oidcIssuer;
|
|
15490
|
-
const storage = oldm.many(profile.space$storage).map((s) => new jsfs.fs(new SolidAdapter(s, "/", options)));
|
|
15489
|
+
options.issuer = profile.solid$oidcIssuer.id;
|
|
15490
|
+
const storage = oldm.many(profile.space$storage).map((s) => new jsfs.fs(new SolidAdapter(s.id, "/", options)));
|
|
15491
15491
|
const client2 = metro.client(metro.oidc.oidcmw(options), oldmmw(options));
|
|
15492
15492
|
Object.assign(client2, {
|
|
15493
15493
|
profile,
|
|
15494
|
-
issuer: profile.solid$oidcIssuer,
|
|
15495
|
-
inbox: profile.ldp$inbox,
|
|
15494
|
+
issuer: profile.solid$oidcIssuer.id,
|
|
15495
|
+
inbox: profile.ldp$inbox.id,
|
|
15496
15496
|
id: function() {
|
|
15497
15497
|
return metro.oidc.idToken(this.issuer);
|
|
15498
15498
|
},
|
|
15499
15499
|
logout: async function() {
|
|
15500
15500
|
throw new Error("not yet implemented");
|
|
15501
15501
|
},
|
|
15502
|
-
|
|
15502
|
+
storage
|
|
15503
15503
|
});
|
|
15504
15504
|
client2.id.bind(client2);
|
|
15505
15505
|
client2.logout.bind(client2);
|