@wix/astro 0.3.3 → 0.3.4

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.
@@ -485,8 +485,7 @@
485
485
  // Update context
486
486
  (wixContext['client'] as WixClient<undefined, ReturnType<typeof SiteSessionAuth>>).auth.setTokens(tokens.tokens);
487
487
 
488
- localStorage.removeItem('wixRedirectSessionLastPreWarm');
489
- await getAuth().syncToWixPages();
488
+ await getAuth().syncToWixPages({ force: true });
490
489
 
491
490
  // Set cookie
492
491
  this.setCookie('wixSession', JSON.stringify(tokens), 2);
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.3",
4
+ "version": "0.3.4",
5
5
  "type": "module",
6
6
  "license": "MIT",
7
7
  "keywords": [
@@ -33,7 +33,7 @@
33
33
  "@wix/blog": "^1.0.345",
34
34
  "@wix/data": "^1.0.194",
35
35
  "@wix/identity": "^1.0.125",
36
- "@wix/sdk": "^1.15.18",
36
+ "@wix/sdk": "^1.15.20",
37
37
  "chalk": "^5.4.1",
38
38
  "esm-resolve": "^1.0.11",
39
39
  "globby": "^14.0.2",