solid-logic 1.3.13-85106da8 → 1.3.13-911117d1

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.
@@ -1 +1 @@
1
- {"version":3,"file":"solidLogicSingleton.d.ts","sourceRoot":"","sources":["../../src/logic/solidLogicSingleton.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAWzC,QAAA,MAAM,mBAAmB,YAAkD,CAAA;AAI3E,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
1
+ {"version":3,"file":"solidLogicSingleton.d.ts","sourceRoot":"","sources":["../../src/logic/solidLogicSingleton.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAWzC,QAAA,MAAM,mBAAmB,YAAiD,CAAA;AAI1E,OAAO,EAAE,mBAAmB,EAAE,CAAA"}
@@ -59,7 +59,7 @@ exports.solidLogicSingleton = void 0;
59
59
  var debug = __importStar(require("../util/debug"));
60
60
  var authSession_1 = require("../authSession/authSession");
61
61
  var SolidLogic_1 = require("./SolidLogic");
62
- var fetcher = function (url, requestInit) { return __awaiter(void 0, void 0, void 0, function () {
62
+ var _fetch = function (url, requestInit) { return __awaiter(void 0, void 0, void 0, function () {
63
63
  return __generator(this, function (_a) {
64
64
  if (authSession_1.authSession.info.webId) {
65
65
  return [2 /*return*/, authSession_1.authSession.fetch(url, requestInit)];
@@ -71,7 +71,7 @@ var fetcher = function (url, requestInit) { return __awaiter(void 0, void 0, voi
71
71
  });
72
72
  }); };
73
73
  //this const makes solidLogicSingleton global accessible in mashlib
74
- var solidLogicSingleton = new SolidLogic_1.SolidLogic({ fetch: fetcher }, authSession_1.authSession);
74
+ var solidLogicSingleton = new SolidLogic_1.SolidLogic({ fetch: _fetch }, authSession_1.authSession);
75
75
  exports.solidLogicSingleton = solidLogicSingleton;
76
76
  debug.log('Unique quadstore initialized.');
77
77
  //# sourceMappingURL=solidLogicSingleton.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"solidLogicSingleton.js","sourceRoot":"","sources":["../../src/logic/solidLogicSingleton.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAsC;AACtC,0DAAwD;AACxD,2CAAyC;AAEzC,IAAM,OAAO,GAAG,UAAO,GAAG,EAAE,WAAW;;QACnC,IAAI,yBAAW,CAAC,IAAI,CAAC,KAAK,EAAE;YACxB,sBAAO,yBAAW,CAAC,KAAK,CAAC,GAAG,EAAE,WAAW,CAAC,EAAA;SAC7C;aAAM;YACH,sBAAO,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,WAAW,CAAC,EAAA;SACxC;;;KACJ,CAAA;AAED,mEAAmE;AACnE,IAAM,mBAAmB,GAAG,IAAI,uBAAU,CAAC,EAAE,KAAK,EAAE,OAAO,EAAE,EAAE,yBAAW,CAAC,CAAA;AAIlE,kDAAmB;AAF5B,KAAK,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAA"}
1
+ {"version":3,"file":"solidLogicSingleton.js","sourceRoot":"","sources":["../../src/logic/solidLogicSingleton.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAAsC;AACtC,0DAAwD;AACxD,2CAAyC;AAEzC,IAAM,MAAM,GAAG,UAAO,GAAG,EAAE,WAAW;;QAClC,IAAI,yBAAW,CAAC,IAAI,CAAC,KAAK,EAAE;YACxB,sBAAO,yBAAW,CAAC,KAAK,CAAC,GAAG,EAAE,WAAW,CAAC,EAAA;SAC7C;aAAM;YACH,sBAAO,MAAM,CAAC,KAAK,CAAC,GAAG,EAAE,WAAW,CAAC,EAAA;SACxC;;;KACJ,CAAA;AAED,mEAAmE;AACnE,IAAM,mBAAmB,GAAG,IAAI,uBAAU,CAAC,EAAE,KAAK,EAAE,MAAM,EAAE,EAAE,yBAAW,CAAC,CAAA;AAIjE,kDAAmB;AAF5B,KAAK,CAAC,GAAG,CAAC,+BAA+B,CAAC,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "solid-logic",
3
- "version": "1.3.13-85106da8",
3
+ "version": "1.3.13-911117d1",
4
4
  "description": "Core business logic of Solid OS",
5
5
  "main": "lib/index.js",
6
6
  "scripts": {
@@ -2,7 +2,7 @@ import * as debug from "../util/debug"
2
2
  import { authSession } from "../authSession/authSession"
3
3
  import { SolidLogic } from "./SolidLogic"
4
4
 
5
- const fetcher = async (url, requestInit) => {
5
+ const _fetch = async (url, requestInit) => {
6
6
  if (authSession.info.webId) {
7
7
  return authSession.fetch(url, requestInit)
8
8
  } else {
@@ -11,7 +11,7 @@ const fetcher = async (url, requestInit) => {
11
11
  }
12
12
 
13
13
  //this const makes solidLogicSingleton global accessible in mashlib
14
- const solidLogicSingleton = new SolidLogic({ fetch: fetcher }, authSession)
14
+ const solidLogicSingleton = new SolidLogic({ fetch: _fetch }, authSession)
15
15
 
16
16
  debug.log('Unique quadstore initialized.')
17
17