@plasmicapp/react-web 0.2.281 → 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.
@@ -167,6 +167,7 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
167
167
 
168
168
  // https://stackoverflow.com/a/2117523
169
169
  function uuidv4() {
170
+ // eslint-disable-next-line
170
171
  // @ts-ignore
171
172
  return ([1e7] + -1e3 + -4e3 + -8e3 + -1e11).replace(/[018]/g, function (c) {
172
173
  return (c ^
@@ -212,6 +213,7 @@ function triggerLogin(appId, authorizeEndpoint, redirectUri) {
212
213
  params.set("response_type", "code");
213
214
  params.set("code_challenge", code_challenge);
214
215
  params.set("code_challenge_method", "S256");
216
+ params.set("origin_host", window.location.host);
215
217
  if (redirectUri) {
216
218
  params.set("redirect_uri", redirectUri);
217
219
  }