@commercengine/storefront-sdk 0.1.2 → 0.1.3
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/lib/auth.d.ts +1 -0
- package/dist/lib/auth.js +2 -1
- package/package.json +1 -1
package/dist/lib/auth.d.ts
CHANGED
package/dist/lib/auth.js
CHANGED
|
@@ -453,7 +453,8 @@ class CookieTokenStorage {
|
|
|
453
453
|
constructor(prefix = "storefront_", cookieOptions = {
|
|
454
454
|
path: "/",
|
|
455
455
|
secure: true,
|
|
456
|
-
sameSite: "
|
|
456
|
+
sameSite: "lax",
|
|
457
|
+
httpOnly: true,
|
|
457
458
|
maxAge: 60 * 60 * 24 * 30, // 30 days
|
|
458
459
|
}) {
|
|
459
460
|
this.accessTokenKey = `${prefix}access_token`;
|