@uniweb/core 1.6.18 → 1.6.19
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/package.json +2 -2
- package/src/uniweb.js +8 -6
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniweb/core",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.19",
|
|
4
4
|
"description": "Core classes for the Uniweb platform - Uniweb, Website, Page, Block",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"vitest": "^4.1.7"
|
|
54
54
|
},
|
|
55
55
|
"dependencies": {
|
|
56
|
-
"@uniweb/theming": "~1.3.
|
|
56
|
+
"@uniweb/theming": "~1.3.8",
|
|
57
57
|
"@uniweb/semantic-parser": "~1.13.6"
|
|
58
58
|
},
|
|
59
59
|
"scripts": {
|
package/src/uniweb.js
CHANGED
|
@@ -105,12 +105,14 @@ export default class Uniweb {
|
|
|
105
105
|
// `defaultInsets` above.
|
|
106
106
|
this.tracking = null
|
|
107
107
|
|
|
108
|
-
//
|
|
109
|
-
//
|
|
110
|
-
//
|
|
111
|
-
//
|
|
112
|
-
//
|
|
113
|
-
//
|
|
108
|
+
// The site's client for its `backend` service. `@uniweb/api`, which the
|
|
109
|
+
// foundation bundles, makes it the first time one is needed and keeps it
|
|
110
|
+
// here. It lasts the whole visit: this singleton is made once, every page
|
|
111
|
+
// renders on it, so the session and the reads the client holds carry from
|
|
112
|
+
// page to page. A process holding several sites holds a Uniweb, and so a
|
|
113
|
+
// client, for each. Another copy of that package (an extension's) adopts
|
|
114
|
+
// the one kept here. Core implements nothing on it: declared null so the
|
|
115
|
+
// seal permits the assignment, nothing more. Same pattern as
|
|
114
116
|
// `defaultInsets` above.
|
|
115
117
|
this.api = null
|
|
116
118
|
|