@omerlo/omerlo-webkit 0.0.35 → 0.0.36

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.
@@ -22,7 +22,7 @@ const accessTokenCookieName = 'access_token';
22
22
  const refreshTokenCookieName = 'refresh_token';
23
23
  const THREE_MONTH = 90 * 24 * 60 * 60;
24
24
  export function setAuthorizationCookies(cookies, token) {
25
- cookies.set('logged_in', 'true', { path: '/', httpOnly: false });
25
+ cookies.set('logged_in', 'true', { path: '/', httpOnly: false, maxAge: THREE_MONTH });
26
26
  cookies.set(accessTokenCookieName, token.accessToken, {
27
27
  httpOnly: true,
28
28
  path: '/',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omerlo/omerlo-webkit",
3
- "version": "0.0.35",
3
+ "version": "0.0.36",
4
4
  "scripts": {
5
5
  "dev": "vite dev",
6
6
  "build": "vite build && npm run package",