Skip to content

Commit 58d21b4

Browse files
committed
one final fix to add storage correctly
1 parent 14e06d0 commit 58d21b4

6 files changed

Lines changed: 10 additions & 10 deletions

File tree

dist/browser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15486,7 +15486,7 @@
1548615486
if (!profile || !profile.solid$oidcIssuer) {
1548715487
throw new Error("solidClient: " + webid + " did not return valid solid profile");
1548815488
}
15489-
options.issuer = profile.solid$oidcIssuer;
15489+
options.issuer = profile.solid$oidcIssuer.id;
1549015490
const storage = oldm.many(profile.space$storage).map((s) => new jsfs.fs(new SolidAdapter(s.id, "/", options)));
1549115491
const client2 = metro.client(metro.oidc.oidcmw(options), oldmmw(options));
1549215492
Object.assign(client2, {
@@ -15499,7 +15499,7 @@
1549915499
logout: async function() {
1550015500
throw new Error("not yet implemented");
1550115501
},
15502-
...storage
15502+
storage
1550315503
});
1550415504
client2.id.bind(client2);
1550515505
client2.logout.bind(client2);

dist/browser.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/browser.min.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/browser.min.js.map

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@muze-nl/jsfs-solid",
3-
"version": "0.3.8",
3+
"version": "0.3.9",
44
"author": "auke@muze.nl",
55
"source": "src/SolidAdapter.js",
66
"main": "src/SolidClient.js",

src/SolidClient.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default async function solidClient(webid, solidOptions) {
3535
if (!profile || !profile.solid$oidcIssuer) { //FIXME: don't assume $ as the separator
3636
throw new Error('solidClient: '+webid+' did not return valid solid profile')
3737
}
38-
options.issuer = profile.solid$oidcIssuer
38+
options.issuer = profile.solid$oidcIssuer.id
3939
const storage = oldm.many(profile.space$storage)
4040
.map(s => new jsfs.fs(new SolidAdapter(s.id, '/', options)))
4141

@@ -50,7 +50,7 @@ export default async function solidClient(webid, solidOptions) {
5050
logout: async function() {
5151
throw new Error('not yet implemented')
5252
},
53-
...storage
53+
storage
5454
})
5555
client.id.bind(client)
5656
client.logout.bind(client)

0 commit comments

Comments
 (0)