solid-logic 3.1.1-2e1ed31 → 3.1.1-3343cc7
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/README.md +4 -9
- package/dist/index.d.ts +3 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/logic/solidLogicSingleton.d.ts +1 -1
- package/dist/logic/solidLogicSingleton.d.ts.map +1 -1
- package/dist/logic/solidLogicSingleton.js +15 -2
- package/dist/logic/solidLogicSingleton.js.map +1 -1
- package/dist/{solid-logic.esm.external.js → solid-logic.esm.js} +93 -68
- package/dist/solid-logic.esm.js.map +1 -0
- package/dist/{solid-logic.esm.external.min.js → solid-logic.esm.min.js} +7 -7
- package/dist/solid-logic.esm.min.js.map +1 -0
- package/dist/solid-logic.js +5288 -28109
- package/dist/solid-logic.js.map +1 -1
- package/dist/solid-logic.min.js +10 -19
- package/dist/solid-logic.min.js.map +1 -1
- package/dist/versionInfo.js +2 -2
- package/package.json +5 -15
- package/dist/789.solid-logic.js +0 -11
- package/dist/789.solid-logic.js.map +0 -1
- package/dist/789.solid-logic.min.js +0 -1
- package/dist/841.solid-logic.js +0 -12133
- package/dist/841.solid-logic.js.map +0 -1
- package/dist/841.solid-logic.min.js +0 -73
- package/dist/841.solid-logic.min.js.map +0 -1
- package/dist/solid-logic.esm.external.js.map +0 -1
- package/dist/solid-logic.esm.external.min.js.map +0 -1
- package/dist/solid-logic.external.js +0 -12802
- package/dist/solid-logic.external.js.map +0 -1
- package/dist/solid-logic.external.min.js +0 -32
- package/dist/solid-logic.external.min.js.map +0 -1
package/README.md
CHANGED
|
@@ -23,14 +23,10 @@ import { someFunction } from 'solid-logic';
|
|
|
23
23
|
```
|
|
24
24
|
|
|
25
25
|
## Use directly in a browser
|
|
26
|
-
|
|
27
|
-
There are a few differences to mention:
|
|
28
|
-
* the UMD bundles come in 2 flavours, with rdflib bundled together and without;
|
|
29
|
-
* the ESM bundles do not contain rdflib, so it must be imported separately.
|
|
26
|
+
Both UMD and ESM bundles take rdflib as external, this means you need to install it yourself, separately.
|
|
30
27
|
|
|
31
28
|
## Files
|
|
32
|
-
- For browser UMD,
|
|
33
|
-
- For browser UMD, without rdflib: `dist/solid-logic.external.js` (global `window.SolidLogic`)
|
|
29
|
+
- For browser UMD, without rdflib: `dist/solid-logic.js` (global `window.SolidLogic`)
|
|
34
30
|
- For browser ESM, without rdflib: `dist/solid-logic.esm.external.js` (import as module)
|
|
35
31
|
- UMD have also chunked files.
|
|
36
32
|
- both version also containe minified versions.
|
|
@@ -40,9 +36,7 @@ There are a few differences to mention:
|
|
|
40
36
|
|
|
41
37
|
```html
|
|
42
38
|
<!-- Load dependencies first -->
|
|
43
|
-
<script src="https://
|
|
44
|
-
<!-- or -->
|
|
45
|
-
<!-- script src="https://cdn.jsdelivr.net/npm/rdflib/dist/rdflib.min.js"></script -->
|
|
39
|
+
<script src="https://cdn.jsdelivr.net/npm/rdflib/dist/rdflib.min.js"></script>
|
|
46
40
|
<!-- Load solid-logic UMD bundle -->
|
|
47
41
|
<script src="https://unpkg.com/solid-logic/dist/solid-logic.min.js"></script>
|
|
48
42
|
<!-- or -->
|
|
@@ -51,6 +45,7 @@ There are a few differences to mention:
|
|
|
51
45
|
<!-- script src="dist/solid-logic.js"></script -->
|
|
52
46
|
<script>
|
|
53
47
|
// Access via global variable
|
|
48
|
+
const rdflib = window.$rdf;
|
|
54
49
|
const logic = window.SolidLogic;
|
|
55
50
|
// Example usage
|
|
56
51
|
// logic.someFunction(...)
|
package/dist/index.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { solidLogicSingleton } from './logic/solidLogicSingleton';
|
|
2
|
-
declare const authn:
|
|
3
|
-
declare const authSession:
|
|
4
|
-
declare const store:
|
|
2
|
+
declare const authn: any;
|
|
3
|
+
declare const authSession: any;
|
|
4
|
+
declare const store: any;
|
|
5
5
|
export { ACL_LINK } from './acl/aclLogic';
|
|
6
6
|
export { offlineTestID, appContext } from './authn/authUtil';
|
|
7
7
|
export { getSuggestedIssuers } from './issuer/issuerLogic';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAEjE,QAAA,MAAM,KAAK,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AAEjE,QAAA,MAAM,KAAK,KAA4B,CAAA;AACvC,QAAA,MAAM,WAAW,KAAwC,CAAA;AACzD,QAAA,MAAM,KAAK,KAA4B,CAAA;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,aAAa,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC5D,OAAO,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,EAAE,oBAAoB,EAAE,MAAM,4BAA4B,CAAA;AACjE,YAAY,EAAE,UAAU,EAAE,cAAc,EAAE,qBAAqB,EAAE,UAAU,EAAE,SAAS,EAAE,MAAM,SAAS,CAAA;AACvG,OAAO,EAAE,iBAAiB,EAAE,yBAAyB,EAAE,wBAAwB,EAAE,aAAa,EAAE,UAAU,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAA;AAE5K,OAAO,EACL,mBAAmB,EAAE,6EAA6E;AAClG,KAAK,EACL,KAAK,EACL,WAAW,EACZ,CAAA"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solidLogicSingleton.d.ts","sourceRoot":"","sources":["../../src/logic/solidLogicSingleton.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"solidLogicSingleton.d.ts","sourceRoot":"","sources":["../../src/logic/solidLogicSingleton.ts"],"names":[],"mappings":"AA6BA,QAAA,MAAM,mBAAmB,KAAyB,CAAA;AAElD,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
|
|
@@ -47,8 +47,21 @@ const _fetch = async (url, requestInit) => {
|
|
|
47
47
|
return window.fetch(url, requestInit);
|
|
48
48
|
}
|
|
49
49
|
};
|
|
50
|
+
// Global singleton pattern to ensure unique store across library versions
|
|
51
|
+
const SINGLETON_SYMBOL = Symbol.for('solid-logic-singleton');
|
|
52
|
+
const globalThis = (typeof window !== 'undefined' ? window : global);
|
|
53
|
+
function getOrCreateSingleton() {
|
|
54
|
+
if (!globalThis[SINGLETON_SYMBOL]) {
|
|
55
|
+
debug.log('SolidLogic: Creating new global singleton instance.');
|
|
56
|
+
globalThis[SINGLETON_SYMBOL] = (0, solidLogic_1.createSolidLogic)({ fetch: _fetch }, authSession_1.authSession);
|
|
57
|
+
debug.log('Unique quadstore initialized.');
|
|
58
|
+
}
|
|
59
|
+
else {
|
|
60
|
+
debug.log('SolidLogic: Using existing global singleton instance.');
|
|
61
|
+
}
|
|
62
|
+
return globalThis[SINGLETON_SYMBOL];
|
|
63
|
+
}
|
|
50
64
|
//this const makes solidLogicSingleton global accessible in mashlib
|
|
51
|
-
const solidLogicSingleton = (
|
|
65
|
+
const solidLogicSingleton = getOrCreateSingleton();
|
|
52
66
|
exports.solidLogicSingleton = solidLogicSingleton;
|
|
53
|
-
debug.log('Unique quadstore initialized.');
|
|
54
67
|
//# sourceMappingURL=solidLogicSingleton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"solidLogicSingleton.js","sourceRoot":"","sources":["../../src/logic/solidLogicSingleton.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAsC;AACtC,4DAAwD;AACxD,6CAA+C;AAE/C,MAAM,MAAM,GAAG,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,EAAE;IACtC,MAAM,SAAS,GAAG,WAAW,IAAI,WAAW,CAAC,WAAW,IAAI,WAAW,CAAC,WAAW,IAAI,MAAM,CAAA;IAC7F,IAAI,yBAAW,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,oDAAoD;QAC5F,uDAAuD;QACvD,OAAO,yBAAW,CAAC,KAAK,CAAC,GAAG,EAAE,WAAW,CAAC,CAAA;IAC9C,CAAC;SAAM,CAAC;QACJ,OAAO,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,WAAW,CAAC,CAAA;IACzC,CAAC;AACL,CAAC,CAAA;AAED,
|
|
1
|
+
{"version":3,"file":"solidLogicSingleton.js","sourceRoot":"","sources":["../../src/logic/solidLogicSingleton.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,qDAAsC;AACtC,4DAAwD;AACxD,6CAA+C;AAE/C,MAAM,MAAM,GAAG,KAAK,EAAE,GAAG,EAAE,WAAW,EAAE,EAAE;IACtC,MAAM,SAAS,GAAG,WAAW,IAAI,WAAW,CAAC,WAAW,IAAI,WAAW,CAAC,WAAW,IAAI,MAAM,CAAA;IAC7F,IAAI,yBAAW,CAAC,IAAI,CAAC,KAAK,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,oDAAoD;QAC5F,uDAAuD;QACvD,OAAO,yBAAW,CAAC,KAAK,CAAC,GAAG,EAAE,WAAW,CAAC,CAAA;IAC9C,CAAC;SAAM,CAAC;QACJ,OAAO,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,WAAW,CAAC,CAAA;IACzC,CAAC;AACL,CAAC,CAAA;AAED,0EAA0E;AAC1E,MAAM,gBAAgB,GAAG,MAAM,CAAC,GAAG,CAAC,uBAAuB,CAAC,CAAA;AAC5D,MAAM,UAAU,GAAG,CAAC,OAAO,MAAM,KAAK,WAAW,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAQ,CAAA;AAE3E,SAAS,oBAAoB;IACzB,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,EAAE,CAAC;QAChC,KAAK,CAAC,GAAG,CAAC,qDAAqD,CAAC,CAAA;QAChE,UAAU,CAAC,gBAAgB,CAAC,GAAG,IAAA,6BAAgB,EAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,yBAAW,CAAC,CAAA;QAC/E,KAAK,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAA;IAC9C,CAAC;SAAM,CAAC;QACJ,KAAK,CAAC,GAAG,CAAC,uDAAuD,CAAC,CAAA;IACtE,CAAC;IACD,OAAO,UAAU,CAAC,gBAAgB,CAAC,CAAA;AACvC,CAAC;AACD,mEAAmE;AACnE,MAAM,mBAAmB,GAAG,oBAAoB,EAAE,CAAA;AAEzC,kDAAmB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as __WEBPACK_EXTERNAL_MODULE_$rdf__ from "$rdf";
|
|
2
2
|
/******/ var __webpack_modules__ = ({
|
|
3
3
|
|
|
4
4
|
/***/ 149:
|
|
@@ -526,7 +526,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
526
526
|
})();
|
|
527
527
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
528
528
|
exports.createUtilityLogic = createUtilityLogic;
|
|
529
|
-
const rdflib_1 = __webpack_require__(
|
|
529
|
+
const rdflib_1 = __webpack_require__(4738);
|
|
530
530
|
const CustomError_1 = __webpack_require__(390);
|
|
531
531
|
const debug = __importStar(__webpack_require__(9378));
|
|
532
532
|
const utils_1 = __webpack_require__(6848);
|
|
@@ -679,7 +679,7 @@ function createUtilityLogic(store, aclLogic, containerLogic) {
|
|
|
679
679
|
|
|
680
680
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
681
681
|
exports.createContainerLogic = createContainerLogic;
|
|
682
|
-
const rdflib_1 = __webpack_require__(
|
|
682
|
+
const rdflib_1 = __webpack_require__(4738);
|
|
683
683
|
/**
|
|
684
684
|
* Container-related class
|
|
685
685
|
*/
|
|
@@ -805,7 +805,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
805
805
|
})();
|
|
806
806
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
807
807
|
exports.createTypeIndexLogic = createTypeIndexLogic;
|
|
808
|
-
const rdflib_1 = __webpack_require__(
|
|
808
|
+
const rdflib_1 = __webpack_require__(4738);
|
|
809
809
|
const debug = __importStar(__webpack_require__(9378));
|
|
810
810
|
const ns_1 = __webpack_require__(6118);
|
|
811
811
|
const utils_1 = __webpack_require__(6848);
|
|
@@ -1418,10 +1418,23 @@ const _fetch = async (url, requestInit) => {
|
|
|
1418
1418
|
return window.fetch(url, requestInit);
|
|
1419
1419
|
}
|
|
1420
1420
|
};
|
|
1421
|
+
// Global singleton pattern to ensure unique store across library versions
|
|
1422
|
+
const SINGLETON_SYMBOL = Symbol.for('solid-logic-singleton');
|
|
1423
|
+
const globalThis = (typeof window !== 'undefined' ? window : __webpack_require__.g);
|
|
1424
|
+
function getOrCreateSingleton() {
|
|
1425
|
+
if (!globalThis[SINGLETON_SYMBOL]) {
|
|
1426
|
+
debug.log('SolidLogic: Creating new global singleton instance.');
|
|
1427
|
+
globalThis[SINGLETON_SYMBOL] = (0, solidLogic_1.createSolidLogic)({ fetch: _fetch }, authSession_1.authSession);
|
|
1428
|
+
debug.log('Unique quadstore initialized.');
|
|
1429
|
+
}
|
|
1430
|
+
else {
|
|
1431
|
+
debug.log('SolidLogic: Using existing global singleton instance.');
|
|
1432
|
+
}
|
|
1433
|
+
return globalThis[SINGLETON_SYMBOL];
|
|
1434
|
+
}
|
|
1421
1435
|
//this const makes solidLogicSingleton global accessible in mashlib
|
|
1422
|
-
const solidLogicSingleton = (
|
|
1436
|
+
const solidLogicSingleton = getOrCreateSingleton();
|
|
1423
1437
|
exports.solidLogicSingleton = solidLogicSingleton;
|
|
1424
|
-
debug.log('Unique quadstore initialized.');
|
|
1425
1438
|
|
|
1426
1439
|
|
|
1427
1440
|
/***/ }),
|
|
@@ -1550,7 +1563,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
1550
1563
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1551
1564
|
exports.appContext = void 0;
|
|
1552
1565
|
exports.offlineTestID = offlineTestID;
|
|
1553
|
-
const rdflib_1 = __webpack_require__(
|
|
1566
|
+
const rdflib_1 = __webpack_require__(4738);
|
|
1554
1567
|
const debug = __importStar(__webpack_require__(9378));
|
|
1555
1568
|
/**
|
|
1556
1569
|
* find a user or app's context as set in window.SolidAppContext
|
|
@@ -1660,7 +1673,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
1660
1673
|
})();
|
|
1661
1674
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
1662
1675
|
exports.createSolidLogic = createSolidLogic;
|
|
1663
|
-
const rdf = __importStar(__webpack_require__(
|
|
1676
|
+
const rdf = __importStar(__webpack_require__(4738));
|
|
1664
1677
|
const aclLogic_1 = __webpack_require__(6769);
|
|
1665
1678
|
const SolidAuthnLogic_1 = __webpack_require__(4746);
|
|
1666
1679
|
const chatLogic_1 = __webpack_require__(3091);
|
|
@@ -3166,10 +3179,10 @@ function getDefaultSession() {
|
|
|
3166
3179
|
* @since 1.3.0
|
|
3167
3180
|
*/
|
|
3168
3181
|
/* eslint-disable-next-line no-shadow */
|
|
3169
|
-
|
|
3182
|
+
function fetch$1(...args) {
|
|
3170
3183
|
const session = getDefaultSession();
|
|
3171
3184
|
return session.fetch(...args);
|
|
3172
|
-
}
|
|
3185
|
+
}
|
|
3173
3186
|
/**
|
|
3174
3187
|
* Triggers the login process. Note that this method will redirect the user away from your app.
|
|
3175
3188
|
*
|
|
@@ -3177,10 +3190,10 @@ const fetch$1 = (...args) => {
|
|
|
3177
3190
|
* @returns This method should redirect the user away from the app: it does not return anything. The login process is completed by [[handleIncomingRedirect]].
|
|
3178
3191
|
* @since 1.3.0
|
|
3179
3192
|
*/
|
|
3180
|
-
|
|
3193
|
+
function login(...args) {
|
|
3181
3194
|
const session = getDefaultSession();
|
|
3182
3195
|
return session.login(...args);
|
|
3183
|
-
}
|
|
3196
|
+
}
|
|
3184
3197
|
/**
|
|
3185
3198
|
* Logs the user out of the application.
|
|
3186
3199
|
*
|
|
@@ -3190,28 +3203,28 @@ const login = (...args) => {
|
|
|
3190
3203
|
*
|
|
3191
3204
|
* @since 1.3.0
|
|
3192
3205
|
*/
|
|
3193
|
-
|
|
3206
|
+
function logout(...args) {
|
|
3194
3207
|
const session = getDefaultSession();
|
|
3195
3208
|
return session.logout(...args);
|
|
3196
|
-
}
|
|
3209
|
+
}
|
|
3197
3210
|
/**
|
|
3198
3211
|
* Completes the login process by processing the information provided by the Solid identity provider through redirect.
|
|
3199
3212
|
*
|
|
3200
3213
|
* @param url The URL of the page handling the redirect, including the query parameters — these contain the information to process the login.
|
|
3201
3214
|
* @since 1.3.0
|
|
3202
3215
|
*/
|
|
3203
|
-
|
|
3216
|
+
function handleIncomingRedirect(...args) {
|
|
3204
3217
|
const session = getDefaultSession();
|
|
3205
3218
|
return session.handleIncomingRedirect(...args);
|
|
3206
|
-
}
|
|
3219
|
+
}
|
|
3207
3220
|
/**
|
|
3208
3221
|
* {@link SessionEventEmitter} instance to subscribe to events by the default session.
|
|
3209
3222
|
*
|
|
3210
3223
|
* @since 1.14.0
|
|
3211
3224
|
*/
|
|
3212
|
-
|
|
3225
|
+
function events() {
|
|
3213
3226
|
return getDefaultSession().events;
|
|
3214
|
-
}
|
|
3227
|
+
}
|
|
3215
3228
|
|
|
3216
3229
|
Object.defineProperty(exports, "ConfigurationError", ({
|
|
3217
3230
|
enumerable: true,
|
|
@@ -3846,7 +3859,7 @@ class ProduceJWT {
|
|
|
3846
3859
|
|
|
3847
3860
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
3848
3861
|
exports.createChatLogic = createChatLogic;
|
|
3849
|
-
const rdflib_1 = __webpack_require__(
|
|
3862
|
+
const rdflib_1 = __webpack_require__(4738);
|
|
3850
3863
|
const ns_1 = __webpack_require__(6118);
|
|
3851
3864
|
const utils_1 = __webpack_require__(6848);
|
|
3852
3865
|
const CHAT_LOCATION_IN_CONTAINER = 'index.ttl#this';
|
|
@@ -7848,6 +7861,13 @@ exports.saveSessionInfoToStorage = saveSessionInfoToStorage;
|
|
|
7848
7861
|
//# sourceMappingURL=index.js.map
|
|
7849
7862
|
|
|
7850
7863
|
|
|
7864
|
+
/***/ }),
|
|
7865
|
+
|
|
7866
|
+
/***/ 4738:
|
|
7867
|
+
/***/ ((module) => {
|
|
7868
|
+
|
|
7869
|
+
module.exports = __WEBPACK_EXTERNAL_MODULE_$rdf__;
|
|
7870
|
+
|
|
7851
7871
|
/***/ }),
|
|
7852
7872
|
|
|
7853
7873
|
/***/ 4746:
|
|
@@ -7889,7 +7909,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
7889
7909
|
})();
|
|
7890
7910
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
7891
7911
|
exports.SolidAuthnLogic = void 0;
|
|
7892
|
-
const rdflib_1 = __webpack_require__(
|
|
7912
|
+
const rdflib_1 = __webpack_require__(4738);
|
|
7893
7913
|
const authUtil_1 = __webpack_require__(2233);
|
|
7894
7914
|
const debug = __importStar(__webpack_require__(9378));
|
|
7895
7915
|
const solid_client_authn_browser_1 = __webpack_require__(2452);
|
|
@@ -8001,13 +8021,6 @@ class SolidAuthnLogic {
|
|
|
8001
8021
|
exports.SolidAuthnLogic = SolidAuthnLogic;
|
|
8002
8022
|
|
|
8003
8023
|
|
|
8004
|
-
/***/ }),
|
|
8005
|
-
|
|
8006
|
-
/***/ 4961:
|
|
8007
|
-
/***/ ((module) => {
|
|
8008
|
-
|
|
8009
|
-
module.exports = __WEBPACK_EXTERNAL_MODULE_rdflib__;
|
|
8010
|
-
|
|
8011
8024
|
/***/ }),
|
|
8012
8025
|
|
|
8013
8026
|
/***/ 5130:
|
|
@@ -8698,7 +8711,7 @@ Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
|
8698
8711
|
exports.ns = void 0;
|
|
8699
8712
|
// Namespaces we commonly use and have common prefixes for around Solid
|
|
8700
8713
|
const solid_namespace_1 = __importDefault(__webpack_require__(5386)); // Delegate to this which takes RDFlib as param.
|
|
8701
|
-
const $rdf = __importStar(__webpack_require__(
|
|
8714
|
+
const $rdf = __importStar(__webpack_require__(4738));
|
|
8702
8715
|
exports.ns = (0, solid_namespace_1.default)($rdf);
|
|
8703
8716
|
|
|
8704
8717
|
|
|
@@ -8989,7 +9002,7 @@ async function flattenedVerify(jws, key, options) {
|
|
|
8989
9002
|
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
8990
9003
|
exports.ACL_LINK = void 0;
|
|
8991
9004
|
exports.createAclLogic = createAclLogic;
|
|
8992
|
-
const rdflib_1 = __webpack_require__(
|
|
9005
|
+
const rdflib_1 = __webpack_require__(4738);
|
|
8993
9006
|
const ns_1 = __webpack_require__(6118);
|
|
8994
9007
|
exports.ACL_LINK = (0, rdflib_1.sym)('http://www.iana.org/assignments/link-relations/acl');
|
|
8995
9008
|
function createAclLogic(store) {
|
|
@@ -9121,7 +9134,7 @@ exports.getArchiveUrl = getArchiveUrl;
|
|
|
9121
9134
|
exports.differentOrigin = differentOrigin;
|
|
9122
9135
|
exports.suggestPreferencesFile = suggestPreferencesFile;
|
|
9123
9136
|
exports.determineChatContainer = determineChatContainer;
|
|
9124
|
-
const rdflib_1 = __webpack_require__(
|
|
9137
|
+
const rdflib_1 = __webpack_require__(4738);
|
|
9125
9138
|
function newThing(doc) {
|
|
9126
9139
|
return (0, rdflib_1.sym)(doc.uri + '#' + 'id' + ('' + Date.now()));
|
|
9127
9140
|
}
|
|
@@ -12649,6 +12662,18 @@ const isDisjoint = (...headers) => {
|
|
|
12649
12662
|
/******/ };
|
|
12650
12663
|
/******/ })();
|
|
12651
12664
|
/******/
|
|
12665
|
+
/******/ /* webpack/runtime/global */
|
|
12666
|
+
/******/ (() => {
|
|
12667
|
+
/******/ __webpack_require__.g = (function() {
|
|
12668
|
+
/******/ if (typeof globalThis === 'object') return globalThis;
|
|
12669
|
+
/******/ try {
|
|
12670
|
+
/******/ return this || new Function('return this')();
|
|
12671
|
+
/******/ } catch (e) {
|
|
12672
|
+
/******/ if (typeof window === 'object') return window;
|
|
12673
|
+
/******/ }
|
|
12674
|
+
/******/ })();
|
|
12675
|
+
/******/ })();
|
|
12676
|
+
/******/
|
|
12652
12677
|
/******/ /* webpack/runtime/hasOwnProperty shorthand */
|
|
12653
12678
|
/******/ (() => {
|
|
12654
12679
|
/******/ __webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))
|
|
@@ -12671,55 +12696,55 @@ var __webpack_exports__ = {};
|
|
|
12671
12696
|
(() => {
|
|
12672
12697
|
var exports = __webpack_exports__;
|
|
12673
12698
|
|
|
12674
|
-
Object.defineProperty(exports, "
|
|
12675
|
-
exports.
|
|
12699
|
+
Object.defineProperty(exports, "__esModule", ({ value: true }));
|
|
12700
|
+
exports.authSession = exports.authn = exports.store = exports.solidLogicSingleton = exports.WebOperationError = exports.NotEditableError = exports.FetchError = exports.NotFoundError = exports.SameOriginForbiddenError = exports.CrossOriginForbiddenError = exports.UnauthorizedError = exports.createTypeIndexLogic = exports.getSuggestedIssuers = exports.appContext = exports.offlineTestID = exports.ACL_LINK = void 0;
|
|
12676
12701
|
// Make these variables directly accessible as it is what you need most of the time
|
|
12677
12702
|
// This also makes these variable globaly accesible in mashlib
|
|
12678
12703
|
const solidLogicSingleton_1 = __webpack_require__(1781);
|
|
12679
|
-
Object.defineProperty(exports, "
|
|
12704
|
+
Object.defineProperty(exports, "solidLogicSingleton", ({ enumerable: true, get: function () { return solidLogicSingleton_1.solidLogicSingleton; } }));
|
|
12680
12705
|
const authn = solidLogicSingleton_1.solidLogicSingleton.authn;
|
|
12681
|
-
exports.
|
|
12706
|
+
exports.authn = authn;
|
|
12682
12707
|
const authSession = solidLogicSingleton_1.solidLogicSingleton.authn.authSession;
|
|
12683
|
-
exports.
|
|
12708
|
+
exports.authSession = authSession;
|
|
12684
12709
|
const store = solidLogicSingleton_1.solidLogicSingleton.store;
|
|
12685
|
-
exports.
|
|
12710
|
+
exports.store = store;
|
|
12686
12711
|
var aclLogic_1 = __webpack_require__(6769);
|
|
12687
|
-
Object.defineProperty(exports, "
|
|
12712
|
+
Object.defineProperty(exports, "ACL_LINK", ({ enumerable: true, get: function () { return aclLogic_1.ACL_LINK; } }));
|
|
12688
12713
|
var authUtil_1 = __webpack_require__(2233);
|
|
12689
|
-
Object.defineProperty(exports, "
|
|
12690
|
-
Object.defineProperty(exports, "
|
|
12714
|
+
Object.defineProperty(exports, "offlineTestID", ({ enumerable: true, get: function () { return authUtil_1.offlineTestID; } }));
|
|
12715
|
+
Object.defineProperty(exports, "appContext", ({ enumerable: true, get: function () { return authUtil_1.appContext; } }));
|
|
12691
12716
|
var issuerLogic_1 = __webpack_require__(4353);
|
|
12692
|
-
Object.defineProperty(exports, "
|
|
12717
|
+
Object.defineProperty(exports, "getSuggestedIssuers", ({ enumerable: true, get: function () { return issuerLogic_1.getSuggestedIssuers; } }));
|
|
12693
12718
|
var typeIndexLogic_1 = __webpack_require__(1177);
|
|
12694
|
-
Object.defineProperty(exports, "
|
|
12719
|
+
Object.defineProperty(exports, "createTypeIndexLogic", ({ enumerable: true, get: function () { return typeIndexLogic_1.createTypeIndexLogic; } }));
|
|
12695
12720
|
var CustomError_1 = __webpack_require__(390);
|
|
12696
|
-
Object.defineProperty(exports, "
|
|
12697
|
-
Object.defineProperty(exports, "
|
|
12698
|
-
Object.defineProperty(exports, "
|
|
12699
|
-
Object.defineProperty(exports, "
|
|
12700
|
-
Object.defineProperty(exports, "
|
|
12701
|
-
Object.defineProperty(exports, "
|
|
12702
|
-
Object.defineProperty(exports, "
|
|
12721
|
+
Object.defineProperty(exports, "UnauthorizedError", ({ enumerable: true, get: function () { return CustomError_1.UnauthorizedError; } }));
|
|
12722
|
+
Object.defineProperty(exports, "CrossOriginForbiddenError", ({ enumerable: true, get: function () { return CustomError_1.CrossOriginForbiddenError; } }));
|
|
12723
|
+
Object.defineProperty(exports, "SameOriginForbiddenError", ({ enumerable: true, get: function () { return CustomError_1.SameOriginForbiddenError; } }));
|
|
12724
|
+
Object.defineProperty(exports, "NotFoundError", ({ enumerable: true, get: function () { return CustomError_1.NotFoundError; } }));
|
|
12725
|
+
Object.defineProperty(exports, "FetchError", ({ enumerable: true, get: function () { return CustomError_1.FetchError; } }));
|
|
12726
|
+
Object.defineProperty(exports, "NotEditableError", ({ enumerable: true, get: function () { return CustomError_1.NotEditableError; } }));
|
|
12727
|
+
Object.defineProperty(exports, "WebOperationError", ({ enumerable: true, get: function () { return CustomError_1.WebOperationError; } }));
|
|
12703
12728
|
|
|
12704
12729
|
})();
|
|
12705
12730
|
|
|
12706
|
-
const __webpack_exports__ACL_LINK = __webpack_exports__.
|
|
12707
|
-
const __webpack_exports__CrossOriginForbiddenError = __webpack_exports__.
|
|
12708
|
-
const __webpack_exports__FetchError = __webpack_exports__.
|
|
12709
|
-
const __webpack_exports__NotEditableError = __webpack_exports__.
|
|
12710
|
-
const __webpack_exports__NotFoundError = __webpack_exports__.
|
|
12711
|
-
const __webpack_exports__SameOriginForbiddenError = __webpack_exports__.
|
|
12712
|
-
const __webpack_exports__UnauthorizedError = __webpack_exports__.
|
|
12713
|
-
const __webpack_exports__WebOperationError = __webpack_exports__.
|
|
12714
|
-
const __webpack_exports___esModule = __webpack_exports__.
|
|
12715
|
-
const __webpack_exports__appContext = __webpack_exports__.
|
|
12716
|
-
const __webpack_exports__authSession = __webpack_exports__.
|
|
12717
|
-
const __webpack_exports__authn = __webpack_exports__.
|
|
12718
|
-
const __webpack_exports__createTypeIndexLogic = __webpack_exports__.
|
|
12719
|
-
const __webpack_exports__getSuggestedIssuers = __webpack_exports__.
|
|
12720
|
-
const __webpack_exports__offlineTestID = __webpack_exports__.
|
|
12721
|
-
const __webpack_exports__solidLogicSingleton = __webpack_exports__.
|
|
12722
|
-
const __webpack_exports__store = __webpack_exports__.
|
|
12723
|
-
export { __webpack_exports__ACL_LINK as ACL_LINK, __webpack_exports__CrossOriginForbiddenError as CrossOriginForbiddenError, __webpack_exports__FetchError as FetchError, __webpack_exports__NotEditableError as NotEditableError, __webpack_exports__NotFoundError as NotFoundError, __webpack_exports__SameOriginForbiddenError as SameOriginForbiddenError, __webpack_exports__UnauthorizedError as UnauthorizedError, __webpack_exports__WebOperationError as WebOperationError, __webpack_exports___esModule as __esModule, __webpack_exports__appContext as appContext, __webpack_exports__authSession as authSession, __webpack_exports__authn as authn, __webpack_exports__createTypeIndexLogic as createTypeIndexLogic, __webpack_exports__getSuggestedIssuers as getSuggestedIssuers, __webpack_exports__offlineTestID as offlineTestID, __webpack_exports__solidLogicSingleton as solidLogicSingleton, __webpack_exports__store as store };
|
|
12724
|
-
|
|
12725
|
-
//# sourceMappingURL=solid-logic.esm.
|
|
12731
|
+
const __webpack_exports__ACL_LINK = __webpack_exports__.ACL_LINK;
|
|
12732
|
+
const __webpack_exports__CrossOriginForbiddenError = __webpack_exports__.CrossOriginForbiddenError;
|
|
12733
|
+
const __webpack_exports__FetchError = __webpack_exports__.FetchError;
|
|
12734
|
+
const __webpack_exports__NotEditableError = __webpack_exports__.NotEditableError;
|
|
12735
|
+
const __webpack_exports__NotFoundError = __webpack_exports__.NotFoundError;
|
|
12736
|
+
const __webpack_exports__SameOriginForbiddenError = __webpack_exports__.SameOriginForbiddenError;
|
|
12737
|
+
const __webpack_exports__UnauthorizedError = __webpack_exports__.UnauthorizedError;
|
|
12738
|
+
const __webpack_exports__WebOperationError = __webpack_exports__.WebOperationError;
|
|
12739
|
+
const __webpack_exports___esModule = __webpack_exports__.__esModule;
|
|
12740
|
+
const __webpack_exports__appContext = __webpack_exports__.appContext;
|
|
12741
|
+
const __webpack_exports__authSession = __webpack_exports__.authSession;
|
|
12742
|
+
const __webpack_exports__authn = __webpack_exports__.authn;
|
|
12743
|
+
const __webpack_exports__createTypeIndexLogic = __webpack_exports__.createTypeIndexLogic;
|
|
12744
|
+
const __webpack_exports__getSuggestedIssuers = __webpack_exports__.getSuggestedIssuers;
|
|
12745
|
+
const __webpack_exports__offlineTestID = __webpack_exports__.offlineTestID;
|
|
12746
|
+
const __webpack_exports__solidLogicSingleton = __webpack_exports__.solidLogicSingleton;
|
|
12747
|
+
const __webpack_exports__store = __webpack_exports__.store;
|
|
12748
|
+
export { __webpack_exports__ACL_LINK as ACL_LINK, __webpack_exports__CrossOriginForbiddenError as CrossOriginForbiddenError, __webpack_exports__FetchError as FetchError, __webpack_exports__NotEditableError as NotEditableError, __webpack_exports__NotFoundError as NotFoundError, __webpack_exports__SameOriginForbiddenError as SameOriginForbiddenError, __webpack_exports__UnauthorizedError as UnauthorizedError, __webpack_exports__WebOperationError as WebOperationError, __webpack_exports___esModule as __esModule, __webpack_exports__appContext as appContext, __webpack_exports__authSession as authSession, __webpack_exports__authn as authn, __webpack_exports__createTypeIndexLogic as createTypeIndexLogic, __webpack_exports__getSuggestedIssuers as getSuggestedIssuers, __webpack_exports__offlineTestID as offlineTestID, __webpack_exports__solidLogicSingleton as solidLogicSingleton, __webpack_exports__store as store, __webpack_exports__ as default };
|
|
12749
|
+
|
|
12750
|
+
//# sourceMappingURL=solid-logic.esm.js.map
|