@plurid/plurid-react-server 0.0.0-13 → 0.0.0-14

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.
@@ -717,7 +717,7 @@ class PluridServer {
717
717
  return __awaiter(this, void 0, void 0, (function*() {
718
718
  const globals = preserveResult === null || preserveResult === void 0 ? void 0 : preserveResult.globals;
719
719
  const mergedHtmlLanguage = ((_a = preserveResult === null || preserveResult === void 0 ? void 0 : preserveResult.template) === null || _a === void 0 ? void 0 : _a.htmlLanguage) || ((_b = this.template) === null || _b === void 0 ? void 0 : _b.htmlLanguage);
720
- const pluridMetastate = yield serverComputeMetastate(isoMatch, this.routes, globals);
720
+ const pluridMetastate = yield serverComputeMetastate(isoMatch, this.routes, globals, this.options.hostname);
721
721
  const {content: content, styles: styles} = yield this.getContentAndStyles(isoMatch, pluridMetastate, preserveResult, matchedPlane);
722
722
  const stringedStyles = this.styles.reduce(((accumulator, style) => accumulator + style), "");
723
723
  const preserveStyles = ((_d = (_c = preserveResult === null || preserveResult === void 0 ? void 0 : preserveResult.template) === null || _c === void 0 ? void 0 : _c.styles) === null || _d === void 0 ? void 0 : _d.join(" ")) || "";
@@ -745,7 +745,7 @@ class PluridServer {
745
745
  return __awaiter(this, void 0, void 0, (function*() {
746
746
  const globals = preserveResult === null || preserveResult === void 0 ? void 0 : preserveResult.globals;
747
747
  const mergedHtmlLanguage = ((_a = preserveResult === null || preserveResult === void 0 ? void 0 : preserveResult.template) === null || _a === void 0 ? void 0 : _a.htmlLanguage) || ((_b = this.template) === null || _b === void 0 ? void 0 : _b.htmlLanguage);
748
- const pluridMetastate = yield pluridReact.serverComputeMetastate(isoMatch, this.routes, globals);
748
+ const pluridMetastate = yield pluridReact.serverComputeMetastate(isoMatch, this.routes, globals, this.options.hostname);
749
749
  const {content: content, styles: styles} = yield this.getContentAndStyles(isoMatch, pluridMetastate, preserveResult, matchedPlane);
750
750
  const stringedStyles = this.styles.reduce(((accumulator, style) => accumulator + style), "");
751
751
  const preserveStyles = ((_d = (_c = preserveResult === null || preserveResult === void 0 ? void 0 : preserveResult.template) === null || _c === void 0 ? void 0 : _c.styles) === null || _d === void 0 ? void 0 : _d.join(" ")) || "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plurid/plurid-react-server",
3
- "version": "0.0.0-13",
3
+ "version": "0.0.0-14",
4
4
  "description": "React implementation of Plurid to view and explore the web in three dimensions with server-side rendering",
5
5
  "keywords": [
6
6
  "plurid",
@@ -77,50 +77,50 @@
77
77
  },
78
78
  "devDependencies": {
79
79
  "@apollo/client": "^3.6.9",
80
- "@babel/core": "^7.18.13",
80
+ "@babel/core": "^7.19.0",
81
81
  "@plurid/elementql": "^0.0.0-1",
82
82
  "@plurid/elementql-client-react": "^0.0.0-1",
83
- "@plurid/plurid-data": "0.0.0-17",
84
- "@plurid/plurid-engine": "0.0.0-16",
83
+ "@plurid/plurid-data": "0.0.0-19",
84
+ "@plurid/plurid-engine": "0.0.0-18",
85
85
  "@plurid/plurid-functions": "0.0.0-30",
86
86
  "@plurid/plurid-functions-react": "0.0.0-5",
87
87
  "@plurid/plurid-icons-react": "0.0.0-5",
88
- "@plurid/plurid-pubsub": "0.0.0-8",
89
- "@plurid/plurid-react": "0.0.0-25",
88
+ "@plurid/plurid-pubsub": "0.0.0-9",
89
+ "@plurid/plurid-react": "0.0.0-28",
90
90
  "@plurid/plurid-themes": "0.0.0-2",
91
- "@plurid/plurid-ui-components-react": "0.0.0-17",
91
+ "@plurid/plurid-ui-components-react": "0.0.0-18",
92
92
  "@plurid/plurid-ui-state-react": "0.0.0-7",
93
93
  "@redux-devtools/extension": "^3.2.3",
94
- "@rollup/plugin-node-resolve": "^13.3.0",
94
+ "@rollup/plugin-node-resolve": "^14.0.0",
95
95
  "@types/body-parser": "^1.19.2",
96
96
  "@types/compression": "^1.7.2",
97
97
  "@types/detect-port": "^1.3.2",
98
98
  "@types/express": "^4.17.13",
99
99
  "@types/hammerjs": "^2.0.41",
100
100
  "@types/html-minifier": "^4.0.2",
101
- "@types/jest": "^28.1.8",
102
- "@types/node": "^18.7.13",
103
- "@types/react": "^18.0.17",
101
+ "@types/jest": "^29.0.0",
102
+ "@types/node": "^18.7.15",
103
+ "@types/react": "^18.0.18",
104
104
  "@types/react-dom": "^18.0.6",
105
105
  "@types/react-redux": "^7.1.24",
106
106
  "@types/react-stripe-elements": "^6.0.6",
107
107
  "@types/styled-components": "^5.1.26",
108
- "@typescript-eslint/eslint-plugin": "^5.34.0",
109
- "@typescript-eslint/parser": "^5.34.0",
108
+ "@typescript-eslint/eslint-plugin": "^5.36.2",
109
+ "@typescript-eslint/parser": "^5.36.2",
110
110
  "@zerollup/ts-transform-paths": "^1.7.18",
111
111
  "cross-fetch": "^3.1.5",
112
- "eslint": "^8.22.0",
112
+ "eslint": "^8.23.0",
113
113
  "graphql": "^16.6.0",
114
114
  "hammerjs": "^2.0.8",
115
- "jest": "^28.1.3",
116
- "jest-config": "^28.1.3",
115
+ "jest": "^29.0.2",
116
+ "jest-config": "^29.0.2",
117
117
  "react": "^18.2.0",
118
118
  "react-dom": "^18.2.0",
119
119
  "react-helmet-async": "^1.3.0",
120
120
  "react-redux": "^8.0.2",
121
121
  "redux": "^4.2.0",
122
122
  "redux-thunk": "^2.4.1",
123
- "rollup": "^2.78.1",
123
+ "rollup": "^2.79.0",
124
124
  "rollup-plugin-peer-deps-external": "^2.2.4",
125
125
  "rollup-plugin-terser": "^7.0.2",
126
126
  "rollup-plugin-typescript2": "^0.33.0",
@@ -129,7 +129,7 @@
129
129
  "ts-node": "^10.9.1",
130
130
  "tslib": "^2.4.0",
131
131
  "ttypescript": "^1.5.13",
132
- "typescript": "^4.7.4",
132
+ "typescript": "^4.8.2",
133
133
  "typescript-transform-paths": "^3.3.1"
134
134
  }
135
135
  }