@crossauth/sveltekit 1.1.3 → 1.1.5

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.
@@ -251,8 +251,12 @@ export class SvelteKitAuthorizationServer {
251
251
  cookieParams.domain = this.refreshTokenCookieDomain;
252
252
  if (this.refreshTokenCookieHttpOnly == true)
253
253
  cookieParams.httpOnly = true;
254
+ else
255
+ cookieParams.httpOnly = false;
254
256
  if (this.refreshTokenCookieSecure == true)
255
257
  cookieParams.secure = true;
258
+ else
259
+ cookieParams.secure = false;
256
260
  event.cookies.set(this.refreshTokenCookieName, token, cookieParams);
257
261
  }
258
262
  requireGetParam(url, name) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crossauth/sveltekit",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "license": "Apache-2.0",
5
5
  "description": "Sveltekit adapter for Crossauth authentication package",
6
6
  "private": false,
@@ -54,8 +54,8 @@
54
54
  "minimatch": "^10.0.1",
55
55
  "publint": "0.3.15",
56
56
  "qrcode": "^1.5.4",
57
- "@crossauth/backend": "^1.1.3",
58
- "@crossauth/common": "^1.1.3"
57
+ "@crossauth/backend": "^1.1.5",
58
+ "@crossauth/common": "^1.1.5"
59
59
  },
60
60
  "scripts": {
61
61
  "preparex": "svelte-kit sync",