solid-logic 4.0.4-5074310 → 4.0.4-82bc172
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/solid-logic.esm.js +4 -4
- package/dist/solid-logic.esm.js.map +1 -1
- package/dist/solid-logic.esm.min.js +1 -1
- package/dist/solid-logic.esm.min.js.map +1 -1
- package/dist/solid-logic.js +4 -4
- package/dist/solid-logic.js.map +1 -1
- package/dist/solid-logic.min.js +1 -1
- package/dist/solid-logic.min.js.map +1 -1
- package/dist/typeIndex/typeIndexLogic.js +4 -4
- package/dist/typeIndex/typeIndexLogic.js.map +1 -1
- package/dist/types.d.ts +1 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/versionInfo.js +16 -10
- package/dist/versionInfo.js.map +1 -1
- package/package.json +1 -1
package/dist/solid-logic.esm.js
CHANGED
|
@@ -6957,7 +6957,7 @@ function createTypeIndexLogic(store, authn, profileLogic, utilityLogic) {
|
|
|
6957
6957
|
return []; // No communities
|
|
6958
6958
|
}
|
|
6959
6959
|
async function loadAllTypeIndexes(user) {
|
|
6960
|
-
return (await loadTypeIndexesFor(user)).concat(
|
|
6960
|
+
return (await loadTypeIndexesFor(user)).concat(await loadCommunityTypeIndexes(user));
|
|
6961
6961
|
}
|
|
6962
6962
|
async function getScopedAppInstances(klass, user) {
|
|
6963
6963
|
const scopes = await loadAllTypeIndexes(user);
|
|
@@ -6985,7 +6985,7 @@ function createTypeIndexLogic(store, authn, profileLogic, utilityLogic) {
|
|
|
6985
6985
|
return dir.uri;
|
|
6986
6986
|
const docUri = doc.uri;
|
|
6987
6987
|
if (!docUri || !isAbsoluteHttpUri(docUri)) {
|
|
6988
|
-
log(`docDirUri: missing doc uri for ${node === null || node === void 0 ? void 0 : node.uri}`);
|
|
6988
|
+
log(`docDirUri: missing or non-http(s) doc uri for ${node === null || node === void 0 ? void 0 : node.uri}`);
|
|
6989
6989
|
return null;
|
|
6990
6990
|
}
|
|
6991
6991
|
const withoutFragment = docUri.split('#')[0];
|
|
@@ -6998,14 +6998,14 @@ function createTypeIndexLogic(store, authn, profileLogic, utilityLogic) {
|
|
|
6998
6998
|
}
|
|
6999
6999
|
function suggestPublicTypeIndex(me) {
|
|
7000
7000
|
const dirUri = docDirUri(me);
|
|
7001
|
-
if (!dirUri
|
|
7001
|
+
if (!dirUri)
|
|
7002
7002
|
throw new Error(`suggestPublicTypeIndex: Cannot derive directory for ${me.uri}`);
|
|
7003
7003
|
return (0,external_rdflib_namespaceObject.sym)(dirUri + 'publicTypeIndex.ttl');
|
|
7004
7004
|
}
|
|
7005
7005
|
// Note this one is based off the pref file not the profile
|
|
7006
7006
|
function suggestPrivateTypeIndex(preferencesFile) {
|
|
7007
7007
|
const dirUri = docDirUri(preferencesFile);
|
|
7008
|
-
if (!dirUri
|
|
7008
|
+
if (!dirUri)
|
|
7009
7009
|
throw new Error(`suggestPrivateTypeIndex: Cannot derive directory for ${preferencesFile.uri}`);
|
|
7010
7010
|
return (0,external_rdflib_namespaceObject.sym)(dirUri + 'privateTypeIndex.ttl');
|
|
7011
7011
|
}
|