ingeniuscliq-core 0.2.1 → 0.2.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/index.js +6 -6
- package/package.json +7 -7
package/dist/index.js
CHANGED
|
@@ -25463,7 +25463,11 @@ function nb() {
|
|
|
25463
25463
|
setError: l,
|
|
25464
25464
|
setLoading: m,
|
|
25465
25465
|
reset: v
|
|
25466
|
-
} = e2()
|
|
25466
|
+
} = e2();
|
|
25467
|
+
xn(() => {
|
|
25468
|
+
(e.current || !n) && (e.current = !1, p());
|
|
25469
|
+
}, [n, a]);
|
|
25470
|
+
const g = Fe(async (C) => {
|
|
25467
25471
|
try {
|
|
25468
25472
|
m(!0), l(null);
|
|
25469
25473
|
const N = await C(), { user: _, token: k, refreshToken: R } = N.data;
|
|
@@ -25473,11 +25477,7 @@ function nb() {
|
|
|
25473
25477
|
} finally {
|
|
25474
25478
|
m(!1);
|
|
25475
25479
|
}
|
|
25476
|
-
}, []), p = Fe(async () => g(() => eo.getUser()), [g])
|
|
25477
|
-
xn(() => {
|
|
25478
|
-
e.current && !n && (e.current = !1, p());
|
|
25479
|
-
}, [p]);
|
|
25480
|
-
const y = Fe(async (C) => g(() => eo.login(C)), [g]), b = Fe(async (C) => g(() => eo.register(C)), [g]), w = Fe(async () => {
|
|
25480
|
+
}, []), p = Fe(async () => g(() => eo.getUser()), [g]), y = Fe(async (C) => g(() => eo.login(C)), [g]), b = Fe(async (C) => g(() => eo.register(C)), [g]), w = Fe(async () => {
|
|
25481
25481
|
try {
|
|
25482
25482
|
m(!0), await eo.logout();
|
|
25483
25483
|
} catch (C) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ingeniuscliq-core",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "IngeniusCliq Core UI y lógica compartida",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -48,14 +48,10 @@
|
|
|
48
48
|
"class-variance-authority": "0.7.1",
|
|
49
49
|
"clsx": "2.1.1",
|
|
50
50
|
"lucide-react": "0.539.0",
|
|
51
|
-
"tailwind-merge": "3.3.1",
|
|
52
51
|
"vaul": "1.1.2",
|
|
53
52
|
"zod": "4.0.17",
|
|
54
53
|
"chalk": "^5.3.0",
|
|
55
|
-
"enquirer": "^2.4.1"
|
|
56
|
-
"@tailwindcss/vite": "^4.0.6",
|
|
57
|
-
"tailwindcss": "^4.0.6",
|
|
58
|
-
"tailwindcss-animate": "^1.0.7"
|
|
54
|
+
"enquirer": "^2.4.1"
|
|
59
55
|
},
|
|
60
56
|
"devDependencies": {
|
|
61
57
|
"@radix-ui/react-accordion": "1.2.12",
|
|
@@ -87,6 +83,10 @@
|
|
|
87
83
|
"vite-plugin-dts": "4.5.4",
|
|
88
84
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
89
85
|
"vite-tsconfig-paths": "5.1.4",
|
|
90
|
-
"zustand": "5.0.7"
|
|
86
|
+
"zustand": "5.0.7",
|
|
87
|
+
"@tailwindcss/vite": "^4.0.6",
|
|
88
|
+
"tailwindcss": "^4.0.6",
|
|
89
|
+
"tailwindcss-animate": "^1.0.7",
|
|
90
|
+
"tailwind-merge": "3.3.1"
|
|
91
91
|
}
|
|
92
92
|
}
|