@finema/finework-layer 0.2.125 → 0.2.126

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.126](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.125...0.2.126) (2026-02-04)
4
+
5
+ ### Bug Fixes
6
+
7
+ * update cookie domain handling to use baseURL instead of baseAPI ([f66632c](https://gitlab.finema.co/finema/finework/finework-frontend-layer/commit/f66632c49968471067ca98b02ffa41b9b0f3fbd0))
8
+
3
9
  ## [0.2.125](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.124...0.2.125) (2026-02-04)
4
10
 
5
11
  ### Features
@@ -154,7 +154,7 @@ export const useAuth = () => {
154
154
  const token = useCookie('token', {
155
155
  path: '/',
156
156
  maxAge: 60 * 60 * 24 * 365,
157
- domain: convertDomainToCookieDomain(useRuntimeConfig().public.baseAPI as string),
157
+ domain: convertDomainToCookieDomain(useRuntimeConfig().public.baseURL as string),
158
158
  })
159
159
 
160
160
  const isAuthenticated = computed(() => !!token.value)
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@finema/finework-layer",
3
3
  "type": "module",
4
- "version": "0.2.125",
4
+ "version": "0.2.126",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",