@primate/marko 0.11.1 → 0.11.2
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,4 +1,5 @@
|
|
|
1
1
|
import root from "#client/root";
|
|
2
|
+
import request from "#request/store";
|
|
2
3
|
import client from "@primate/core/client";
|
|
3
4
|
import RootView from "marko:root";
|
|
4
5
|
export default class MarkoApp {
|
|
@@ -40,6 +41,13 @@ export default class MarkoApp {
|
|
|
40
41
|
initial = false;
|
|
41
42
|
render(next, instance === undefined);
|
|
42
43
|
update?.();
|
|
44
|
+
}, (url, query) => {
|
|
45
|
+
request.set({
|
|
46
|
+
cookies: request.cookies,
|
|
47
|
+
headers: request.headers,
|
|
48
|
+
query,
|
|
49
|
+
url,
|
|
50
|
+
});
|
|
43
51
|
});
|
|
44
52
|
if (document.readyState === "loading") {
|
|
45
53
|
window.addEventListener("DOMContentLoaded", start, { once: true });
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primate/marko",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.2",
|
|
4
4
|
"description": "Marko for Primate",
|
|
5
5
|
"homepage": "https://primate.run/docs/frontend/marko",
|
|
6
6
|
"bugs": "https://github.com/primate-run/primate/issues",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
],
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@marko/compiler": "^5.41.2",
|
|
22
|
+
"@primate/core": "^0.9.28",
|
|
22
23
|
"@rcompat/fs": "^0.35.1",
|
|
23
|
-
"marko": "^6.3.3"
|
|
24
|
-
"@primate/core": "^0.9.7"
|
|
24
|
+
"marko": "^6.3.3"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
27
|
"@rcompat/type": "^0.18.0",
|