@wix/astro 0.3.0 → 0.3.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.
@@ -486,6 +486,9 @@
486
486
  // Set cookie
487
487
  this.setCookie('wixSession', JSON.stringify(tokens), 2);
488
488
 
489
+ // Reset loading state before exiting
490
+ this.loading = false;
491
+
489
492
  // Show success animation
490
493
  this.showSuccessMessage();
491
494
 
@@ -36,7 +36,7 @@ export async function GET({ url, cookies, redirect }) {
36
36
  cookies.set("wixSession", sessionCookieJson(memberTokens), {
37
37
  maxAge: 60 * 60 * 24 * 2,
38
38
  path: "/",
39
- httpOnly: true,
39
+ secure: true,
40
40
  });
41
41
  return redirect(originalUrl);
42
42
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@wix/astro",
3
3
  "description": "Develop your Astro site on the Wix Platform",
4
- "version": "0.3.0",
4
+ "version": "0.3.2",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "keywords": [