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