@plasmicapp/react-web 0.2.280 → 0.2.282
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/dist/index.cjs.js +3 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/react-web.esm.js +3 -1
- package/dist/react-web.esm.js.map +1 -1
- package/package.json +2 -2
- package/skinny/dist/index.js +2 -0
- package/skinny/dist/index.js.map +1 -1
- package/skinny/dist/render/PlasmicHead/index.js +1 -1
- package/skinny/dist/render/PlasmicHead/index.js.map +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -185,6 +185,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
|
|
|
185
185
|
|
|
186
186
|
// https://stackoverflow.com/a/2117523
|
|
187
187
|
function uuidv4() {
|
|
188
|
+
// eslint-disable-next-line
|
|
188
189
|
// @ts-ignore
|
|
189
190
|
return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, function (c) {
|
|
190
191
|
return (c ^
|
|
@@ -230,6 +231,7 @@ function triggerLogin(appId, authorizeEndpoint, redirectUri) {
|
|
|
230
231
|
params.set("response_type", "code");
|
|
231
232
|
params.set("code_challenge", code_challenge);
|
|
232
233
|
params.set("code_challenge_method", "S256");
|
|
234
|
+
params.set("origin_host", window.location.host);
|
|
233
235
|
if (redirectUri) {
|
|
234
236
|
params.set("redirect_uri", redirectUri);
|
|
235
237
|
}
|
|
@@ -1070,7 +1072,7 @@ function PlasmicHead(props) {
|
|
|
1070
1072
|
React__namespace.createElement("meta", { key: "og:description", property: "og:description", content: props.description }),
|
|
1071
1073
|
React__namespace.createElement("meta", { key: "twitter:description", name: "twitter:description", content: props.description }),
|
|
1072
1074
|
],
|
|
1073
|
-
props.canonical && (React__namespace.createElement("link", { key: "canonical",
|
|
1075
|
+
props.canonical && (React__namespace.createElement("link", { key: "canonical", rel: "canonical", href: props.canonical }))));
|
|
1074
1076
|
}
|
|
1075
1077
|
var plasmicHeadMeta = {
|
|
1076
1078
|
name: "hostless-plasmic-head",
|