solid-ui 2.4.21-c02550be → 2.4.21-ec6f98e0
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/main.js +28 -23
- package/dist/main.js.map +1 -1
- package/lib/utils/headerFooterHelpers.js +24 -19
- package/lib/utils/headerFooterHelpers.js.map +1 -1
- package/lib/versionInfo.js +4 -4
- package/lib/versionInfo.js.map +1 -1
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -14281,63 +14281,68 @@ function _getPodOwner() {
|
|
|
14281
14281
|
podOwner = store.any(pod, _.ns.solid('owner'), null, pod) || store.any(null, _.ns.space('storage'), pod, pod);
|
|
14282
14282
|
|
|
14283
14283
|
if (!podOwner) {
|
|
14284
|
-
_context.next =
|
|
14284
|
+
_context.next = 31;
|
|
14285
14285
|
break;
|
|
14286
14286
|
}
|
|
14287
14287
|
|
|
14288
14288
|
_context.prev = 18;
|
|
14289
|
-
|
|
14290
|
-
|
|
14289
|
+
_context.next = 21;
|
|
14290
|
+
return store.fetcher.load(podOwner.doc());
|
|
14291
|
+
|
|
14292
|
+
case 21:
|
|
14293
|
+
_context.next = 27;
|
|
14291
14294
|
break;
|
|
14292
14295
|
|
|
14293
|
-
case
|
|
14294
|
-
_context.prev =
|
|
14296
|
+
case 23:
|
|
14297
|
+
_context.prev = 23;
|
|
14295
14298
|
_context.t1 = _context["catch"](18);
|
|
14296
14299
|
console.warn('Unable to load profile of pod owner ' + podOwner);
|
|
14297
14300
|
return _context.abrupt("return", null);
|
|
14298
14301
|
|
|
14299
|
-
case
|
|
14302
|
+
case 27:
|
|
14300
14303
|
if (!store.holds(podOwner, _.ns.space('storage'), pod, podOwner.doc())) {
|
|
14301
14304
|
console.warn("Pod owner ".concat(podOwner, " does NOT list pod ").concat(pod, " as their storage"));
|
|
14302
14305
|
}
|
|
14303
14306
|
|
|
14304
14307
|
return _context.abrupt("return", podOwner);
|
|
14305
14308
|
|
|
14306
|
-
case
|
|
14309
|
+
case 31:
|
|
14307
14310
|
// pod owner not declared in pod
|
|
14308
14311
|
// @@ TODO: This is given the structure that NSS provides
|
|
14309
14312
|
// This is a massive guess. For old pods which don't have owner link
|
|
14310
14313
|
guess = (0, _rdflib.sym)("".concat(pod.uri, "profile/card#me"));
|
|
14311
|
-
_context.prev =
|
|
14312
|
-
|
|
14313
|
-
store.fetcher.load(guess);
|
|
14314
|
-
_context.next = 39;
|
|
14315
|
-
break;
|
|
14314
|
+
_context.prev = 32;
|
|
14315
|
+
_context.next = 35;
|
|
14316
|
+
return store.fetcher.load(guess);
|
|
14316
14317
|
|
|
14317
14318
|
case 35:
|
|
14318
|
-
_context.
|
|
14319
|
-
|
|
14319
|
+
_context.next = 41;
|
|
14320
|
+
break;
|
|
14321
|
+
|
|
14322
|
+
case 37:
|
|
14323
|
+
_context.prev = 37;
|
|
14324
|
+
_context.t2 = _context["catch"](32);
|
|
14320
14325
|
console.error('Ooops. Guessed wrong pod owner webid {$guess} : can\'t load it.');
|
|
14321
14326
|
return _context.abrupt("return", null);
|
|
14322
14327
|
|
|
14323
|
-
case
|
|
14328
|
+
case 41:
|
|
14324
14329
|
if (!store.holds(guess, _.ns.space('storage'), pod, guess.doc())) {
|
|
14325
|
-
_context.next =
|
|
14330
|
+
_context.next = 44;
|
|
14326
14331
|
break;
|
|
14327
14332
|
}
|
|
14328
14333
|
|
|
14329
14334
|
console.warn('Using guessed pod owner webid but it links back.');
|
|
14330
14335
|
return _context.abrupt("return", guess);
|
|
14331
14336
|
|
|
14332
|
-
case
|
|
14337
|
+
case 44:
|
|
14333
14338
|
return _context.abrupt("return", null);
|
|
14334
14339
|
|
|
14335
|
-
case
|
|
14340
|
+
case 45:
|
|
14336
14341
|
case "end":
|
|
14337
14342
|
return _context.stop();
|
|
14338
14343
|
}
|
|
14339
14344
|
}
|
|
14340
|
-
}, _callee, null, [[0, 9], [18,
|
|
14345
|
+
}, _callee, null, [[0, 9], [18, 23], [32, 37]]);
|
|
14341
14346
|
}));
|
|
14342
14347
|
return _getPodOwner.apply(this, arguments);
|
|
14343
14348
|
}
|
|
@@ -15183,8 +15188,8 @@ Object.defineProperty(exports, "__esModule", ({
|
|
|
15183
15188
|
}));
|
|
15184
15189
|
exports.versionInfo = void 0;
|
|
15185
15190
|
var versionInfo = {
|
|
15186
|
-
buildTime: '2022-04-
|
|
15187
|
-
commit: '
|
|
15191
|
+
buildTime: '2022-04-11T08:50:54Z',
|
|
15192
|
+
commit: 'ec6f98e086b9e3122931c90290abf67866d0611d',
|
|
15188
15193
|
npmInfo: {
|
|
15189
15194
|
'solid-ui': '2.4.21',
|
|
15190
15195
|
npm: '6.14.16',
|
|
@@ -15196,8 +15201,8 @@ var versionInfo = {
|
|
|
15196
15201
|
modules: '83',
|
|
15197
15202
|
napi: '8',
|
|
15198
15203
|
nghttp2: '1.42.0',
|
|
15199
|
-
node: '14.19.
|
|
15200
|
-
openssl: '1.1.
|
|
15204
|
+
node: '14.19.1',
|
|
15205
|
+
openssl: '1.1.1n',
|
|
15201
15206
|
tz: '2021a3',
|
|
15202
15207
|
unicode: '14.0',
|
|
15203
15208
|
uv: '1.42.0',
|