@finema/finework-layer 0.2.18 → 0.2.19

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,7 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.2.19](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.18...0.2.19) (2025-10-20)
4
+
3
5
  ## [0.2.18](https://gitlab.finema.co/finema/finework/finework-frontend-layer/compare/0.2.17...0.2.18) (2025-10-20)
4
6
 
5
7
  ### Bug Fixes
@@ -81,12 +81,12 @@ export const useAuth = () => {
81
81
  timestamp.value = t
82
82
  }
83
83
 
84
- const isShouldFetch = computed(() => {
84
+ const isShouldFetch = () => {
85
85
  if (!value.value || !timestamp.value) return true
86
86
 
87
87
  // expire after 1 min - fetch if timestamp is older than 1 minute ago
88
88
  return Date.now() - timestamp.value > 1000 * 60 * 1
89
- })
89
+ }
90
90
 
91
91
  return {
92
92
  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.18",
4
+ "version": "0.2.19",
5
5
  "main": "./nuxt.config.ts",
6
6
  "scripts": {
7
7
  "dev": "nuxi dev .playground -o",