ingeniuscliq-core 0.5.3 → 0.5.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.
@@ -1 +1 @@
1
- {"version":3,"file":"CoreAuthBuilder.d.ts","sourceRoot":"","sources":["../../../../src/modules/CoreAuth/classes/CoreAuthBuilder.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAiD,MAAM,mBAAmB,CAAC;AAEhH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,qBAAa,eAAe,CAAC,CAAC,SAAS,QAAQ,CAAE,YAAW,WAAW;IACrE,SAAS,CAAC,WAAW,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IAC9C,SAAS,CAAC,YAAY,EAKjB,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS,GAAG,OAAO,CAAC,CAAC;gBAG5E,WAAW,GAAE,mBAAmB,CAAC,CAAC,CAAgC,EAClE,YAAY,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IAQnC,KAAK;;;;;;;;;;;;;;;;;CA+Lb"}
1
+ {"version":3,"file":"CoreAuthBuilder.d.ts","sourceRoot":"","sources":["../../../../src/modules/CoreAuth/classes/CoreAuthBuilder.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AACvD,OAAO,KAAK,EAAE,QAAQ,EAAE,aAAa,EAAiD,MAAM,mBAAmB,CAAC;AAEhH,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,qBAAa,eAAe,CAAC,CAAC,SAAS,QAAQ,CAAE,YAAW,WAAW;IACrE,SAAS,CAAC,WAAW,EAAE,mBAAmB,CAAC,CAAC,CAAC,CAAC;IAC9C,SAAS,CAAC,YAAY,EAKjB,IAAI,CAAC,aAAa,CAAC,CAAC,CAAC,EAAE,MAAM,GAAG,iBAAiB,GAAG,SAAS,GAAG,OAAO,CAAC,CAAC;gBAG5E,WAAW,GAAE,mBAAmB,CAAC,CAAC,CAAgC,EAClE,YAAY,CAAC,EAAE,OAAO,CAAC,aAAa,CAAC,CAAC,CAAC,CAAC;IAQnC,KAAK;;;;;;;;;;;;;;;;;CAwLb"}
@@ -61,7 +61,6 @@ class CoreAuthBuilder {
61
61
  try {
62
62
  set({ loading: true, error: null });
63
63
  const response = await this.authService.login(credentials);
64
- await get().getUser();
65
64
  onSuccess(response);
66
65
  return response.data;
67
66
  } catch (error) {
@@ -72,7 +71,6 @@ class CoreAuthBuilder {
72
71
  error
73
72
  });
74
73
  onError(error);
75
- throw error;
76
74
  } finally {
77
75
  onFinish();
78
76
  }
@@ -96,7 +94,6 @@ class CoreAuthBuilder {
96
94
  error
97
95
  });
98
96
  onError(error);
99
- throw error;
100
97
  } finally {
101
98
  onFinish();
102
99
  }
@@ -119,7 +116,6 @@ class CoreAuthBuilder {
119
116
  } catch (error) {
120
117
  set({ loading: false, error });
121
118
  onError(error);
122
- throw error;
123
119
  } finally {
124
120
  onFinish();
125
121
  }
@@ -138,7 +134,6 @@ class CoreAuthBuilder {
138
134
  } catch (error) {
139
135
  set({ loading: false, error });
140
136
  onError(error);
141
- throw error;
142
137
  } finally {
143
138
  onFinish();
144
139
  }
@@ -162,7 +157,6 @@ class CoreAuthBuilder {
162
157
  } catch (error) {
163
158
  set({ loading: false, error });
164
159
  onError(error);
165
- throw error;
166
160
  } finally {
167
161
  onFinish();
168
162
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ingeniuscliq-core",
3
- "version": "0.5.3",
3
+ "version": "0.5.5",
4
4
  "description": "IngeniusCliq Core UI y lógica compartida",
5
5
  "license": "MIT",
6
6
  "type": "module",