mp-front-cli 0.0.34 → 0.0.36

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.
Files changed (34) hide show
  1. package/dist/core/errors/error-catalog.d.ts +4 -4
  2. package/dist/core/errors/error-catalog.d.ts.map +1 -1
  3. package/dist/core/errors/index.d.ts +0 -1
  4. package/dist/core/errors/index.d.ts.map +1 -1
  5. package/dist/core/errors/message-error.d.ts +6 -11
  6. package/dist/core/errors/message-error.d.ts.map +1 -1
  7. package/dist/core/interfaces/message.d.ts +4 -2
  8. package/dist/core/interfaces/message.d.ts.map +1 -1
  9. package/dist/core/middleware/index.d.ts +3 -1
  10. package/dist/core/middleware/index.d.ts.map +1 -1
  11. package/dist/core/utils/api-request/fetch-service-be.d.ts +1 -1
  12. package/dist/core/utils/api-request/fetch-service-be.d.ts.map +1 -1
  13. package/dist/core/utils/api-request/fetch-service-fe.d.ts.map +1 -1
  14. package/dist/core/utils/custom-catch-error.d.ts +1 -1
  15. package/dist/core/utils/custom-catch-error.d.ts.map +1 -1
  16. package/dist/core/utils/custom-encoder.d.ts +1 -1
  17. package/dist/core/utils/custom-encoder.d.ts.map +1 -1
  18. package/dist/core/utils/custom-header.d.ts +3 -123
  19. package/dist/core/utils/custom-header.d.ts.map +1 -1
  20. package/dist/{custom-encoder-b2078b5c.js → custom-encoder-6737c6cb.js} +244 -245
  21. package/dist/custom-header-4aec1dac.js +888 -0
  22. package/dist/{custom-validator-d4c8885a.js → custom-validator-ae5da0a7.js} +718 -735
  23. package/dist/{index-6f6eb615.js → index-df4e0539.js} +4 -0
  24. package/dist/lang/common/errors/es_MX/index.d.ts +4 -0
  25. package/dist/lang/common/errors/es_MX/index.d.ts.map +1 -1
  26. package/dist/mp-front-cli-all.es.js +15 -17
  27. package/dist/mp-front-cli-core.es.js +193 -89
  28. package/dist/mp-front-cli-encoder.es.js +1 -1
  29. package/dist/mp-front-cli-header.es.js +5 -6
  30. package/dist/mp-front-cli-locale.es.js +1 -1
  31. package/dist/mp-front-cli-validator.es.js +3 -3
  32. package/package.json +5 -7
  33. package/dist/custom-header-bb082c8e.js +0 -878
  34. package/dist/mp-front-cli-catch-error.es.js +0 -14
@@ -19,6 +19,10 @@ const e = {
19
19
  ErrorGeneral: {
20
20
  title: "",
21
21
  message: "{{ message }}"
22
+ },
23
+ internalError: {
24
+ title: "Error interno",
25
+ message: "Ocurrió un error interno"
22
26
  }
23
27
  }
24
28
  };
@@ -20,6 +20,10 @@ declare const translation: {
20
20
  title: string;
21
21
  message: string;
22
22
  };
23
+ internalError: {
24
+ title: string;
25
+ message: string;
26
+ };
23
27
  };
24
28
  };
25
29
  export default translation;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lang/common/errors/es_MX/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;CAwBhB,CAAA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lang/common/errors/es_MX/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BhB,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -1,21 +1,19 @@
1
- import { E as m, M as s } from "./custom-validator-d4c8885a.js";
2
- import { ApiMiddleware as x, FetchServiceBE as M, FetchServiceFE as d } from "./mp-front-cli-core.es.js";
3
- import { S as g } from "./custom-header-bb082c8e.js";
4
- import { M as E, R as F } from "./message-handler-d90f2bb6.js";
5
- import { LoadingHandler as l } from "./mp-front-cli-utils-rxjs.es.js";
6
- import "./custom-encoder-b2078b5c.js";
1
+ import { E as p } from "./custom-validator-ae5da0a7.js";
2
+ import { ApiMiddleware as c, FetchServiceBE as s, FetchServiceFE as x } from "./mp-front-cli-core.es.js";
3
+ import { S as f } from "./custom-header-4aec1dac.js";
4
+ import { M as S, R as g } from "./message-handler-d90f2bb6.js";
5
+ import { LoadingHandler as E } from "./mp-front-cli-utils-rxjs.es.js";
6
+ import "./custom-encoder-6737c6cb.js";
7
7
  import "./mp-front-cli-logger.es.js";
8
- import "./index-6f6eb615.js";
8
+ import "./index-df4e0539.js";
9
9
  import "rxjs";
10
- import "./mp-front-cli-catch-error.es.js";
11
10
  export {
12
- x as ApiMiddleware,
13
- m as ErrorCatalog,
14
- M as FetchServiceBE,
15
- d as FetchServiceFE,
16
- l as LoadingHandler,
17
- s as MessageErrorBFF,
18
- E as MessageHandler,
19
- F as RxSubjectManager,
20
- g as ServiceToken
11
+ c as ApiMiddleware,
12
+ p as ErrorCatalog,
13
+ s as FetchServiceBE,
14
+ x as FetchServiceFE,
15
+ E as LoadingHandler,
16
+ S as MessageHandler,
17
+ g as RxSubjectManager,
18
+ f as ServiceToken
21
19
  };
@@ -1,122 +1,226 @@
1
- var f = Object.defineProperty;
2
- var p = (o, s, t) => s in o ? f(o, s, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[s] = t;
3
- var n = (o, s, t) => (p(o, typeof s != "symbol" ? s + "" : s, t), t);
4
- import { M as S } from "./custom-validator-d4c8885a.js";
5
- import { E as R } from "./custom-validator-d4c8885a.js";
6
- import { C as b, f as m } from "./custom-header-bb082c8e.js";
7
- import { S as w } from "./custom-header-bb082c8e.js";
8
- import { M as c } from "./message-handler-d90f2bb6.js";
9
- import { R as C } from "./message-handler-d90f2bb6.js";
10
- import { LoadingHandler as u } from "./mp-front-cli-utils-rxjs.es.js";
11
- import { of as a, switchMap as i, catchError as d, filter as g } from "rxjs";
12
- import { CustomCatchError as l } from "./mp-front-cli-catch-error.es.js";
13
- import "./custom-encoder-b2078b5c.js";
1
+ var w = Object.defineProperty;
2
+ var $ = (e, i, t) => i in e ? w(e, i, { enumerable: !0, configurable: !0, writable: !0, value: t }) : e[i] = t;
3
+ var g = (e, i, t) => ($(e, typeof i != "symbol" ? i + "" : i, t), t);
4
+ import { E as y } from "./custom-validator-ae5da0a7.js";
5
+ import { C as A, a as I, f as B } from "./custom-header-4aec1dac.js";
6
+ import { S as nt } from "./custom-header-4aec1dac.js";
7
+ import { M } from "./message-handler-d90f2bb6.js";
8
+ import { R as ft } from "./message-handler-d90f2bb6.js";
9
+ import { LoadingHandler as m } from "./mp-front-cli-utils-rxjs.es.js";
10
+ import { of as d, switchMap as u, catchError as R, EMPTY as N, filter as D } from "rxjs";
11
+ import "./custom-encoder-6737c6cb.js";
14
12
  import "./mp-front-cli-logger.es.js";
15
- import "./index-6f6eb615.js";
16
- class U extends l {
17
- returnData(s, t) {
18
- c.getInstance().unsubscribeSubject();
19
- const e = this.encode(t);
20
- s.status(200).json(e);
13
+ import "./index-df4e0539.js";
14
+ class q extends A {
15
+ constructor() {
16
+ super(...arguments);
17
+ g(this, "uuid", "");
21
18
  }
22
- get(s) {
23
- return this.logDebug("get ApiMiddleware"), (t, e) => {
24
- this.logDebug("return ApiMiddleware"), c.getInstance().subscribe({
25
- next: (r) => (this.logError(
26
- `ApiMiddleware MessageHandler ${JSON.stringify(r)}`
27
- ), c.getInstance().unsubscribeSubject(), e.status(r.code ?? 520).json(r))
28
- }), a(t).pipe(
29
- i((r) => this.validateTokenFront(r)),
30
- i((r) => a(this.decode(r.body))),
31
- i((r) => s(r)),
32
- d(this.catch)
19
+ returnData(t, n, o) {
20
+ const f = this.encode(n, o);
21
+ t.status(200).json(f);
22
+ }
23
+ returnError(t, n) {
24
+ return n != null && n.uuid ? t.status(520).json(n) : t.status(520).json(new y().get(n, this.uuid));
25
+ }
26
+ get(t) {
27
+ return this.logDebug("get ApiMiddleware"), (n, o) => {
28
+ var f;
29
+ this.logDebug("return ApiMiddleware"), this.uuid = (f = n == null ? void 0 : n.body) == null ? void 0 : f.uuid, d(n).pipe(
30
+ u((r) => this.validateTokenFront(r)),
31
+ u((r) => d(this.decode(r.body))),
32
+ u(
33
+ (r) => t(r, this.uuid).pipe(
34
+ u((s) => d({ params: r, response: s }))
35
+ )
36
+ ),
37
+ u(({ params: r, response: s }) => (this.logDebug(
38
+ `ApiMiddleware \x1B[37m <URL>: \x1B[33m ${n.url} \x1B[37m <UUID> \x1B[33m ${n.body.uuid} \x1B[37m <PARAMS> \x1B[33m ${JSON.stringify(r)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(s)}`
39
+ ), d(s))),
40
+ R((r) => {
41
+ var s;
42
+ return this.logError(
43
+ `ApiMiddleware <URL>: ${n == null ? void 0 : n.url} <UUID> ${(s = n == null ? void 0 : n.body) == null ? void 0 : s.uuid} <PARAMS> ${JSON.stringify(n == null ? void 0 : n.body)} <ERROR>: ${JSON.stringify(r)}`
44
+ ), this.returnError(o, r), N;
45
+ })
33
46
  ).subscribe({
34
47
  next: (r) => {
35
- this.returnData(e, r);
48
+ this.logDebug("ApiMiddleware subscribe next", JSON.stringify(r)), this.returnData(o, r, this.uuid);
36
49
  }
37
50
  });
38
51
  };
39
52
  }
40
53
  }
41
- class I extends b {
42
- constructor(t, e) {
54
+ class tt extends I {
55
+ constructor(t, n) {
43
56
  super();
44
- n(this, "apiUrl");
45
- n(this, "method");
46
- this.apiUrl = t, this.method = e ?? "POST";
57
+ g(this, "apiUrl");
58
+ g(this, "method");
59
+ this.apiUrl = t, this.method = n ?? "POST";
47
60
  }
48
- errorHandler(t) {
49
- return t != null && t.errors && c.getInstance().setSubject(
50
- new S(t.errors[0])
51
- ), !(t != null && t.errors);
61
+ errorHandler(t, n) {
62
+ if (t != null && t.errors)
63
+ throw new y().get(t.errors[0], n);
64
+ return !(t != null && t.errors);
52
65
  }
53
- fetchData(t = {}) {
54
- return this.logDebug("fetchData", JSON.stringify(t)), a(t).pipe(
55
- d(this.catch),
56
- i(
57
- (e) => this.getHeaders().pipe(i((r) => a({ params: e, headers: r })))
66
+ fetchData(t = {}, n) {
67
+ return d(t).pipe(
68
+ u(
69
+ (o) => this.getHeaders().pipe(u((f) => d({ params: o, headers: f })))
58
70
  ),
59
- i(
60
- ({ params: e, headers: r }) => m(this.apiUrl, {
71
+ u(
72
+ ({ params: o, headers: f }) => B(this.apiUrl, {
61
73
  method: this.method,
62
- headers: r,
63
- body: this.method === "GET" ? null : JSON.stringify(e)
74
+ headers: f,
75
+ body: this.method === "GET" ? null : JSON.stringify(o),
76
+ selector: (r) => r.json()
64
77
  }).pipe(
65
- i((h) => h.json()),
66
- i((h) => (this.logDebug(
67
- `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
68
- r
78
+ u((r) => (this.logDebug(
79
+ `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${n} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
80
+ f
69
81
  )} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
70
- e
71
- )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(h)} \x1B[33m`
72
- ), a(h)))
82
+ o
83
+ )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(r)} \x1B[33m`
84
+ ), d(r)))
73
85
  )
74
86
  ),
75
- g(this.errorHandler)
87
+ D((o) => this.errorHandler(o, n))
76
88
  );
77
89
  }
78
90
  }
79
- class N extends l {
80
- constructor(t, e = "POST", r = {}) {
91
+ const j = /^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i;
92
+ function v(e) {
93
+ return typeof e == "string" && j.test(e);
94
+ }
95
+ const a = [];
96
+ for (let e = 0; e < 256; ++e)
97
+ a.push((e + 256).toString(16).slice(1));
98
+ function T(e, i = 0) {
99
+ return a[e[i + 0]] + a[e[i + 1]] + a[e[i + 2]] + a[e[i + 3]] + "-" + a[e[i + 4]] + a[e[i + 5]] + "-" + a[e[i + 6]] + a[e[i + 7]] + "-" + a[e[i + 8]] + a[e[i + 9]] + "-" + a[e[i + 10]] + a[e[i + 11]] + a[e[i + 12]] + a[e[i + 13]] + a[e[i + 14]] + a[e[i + 15]];
100
+ }
101
+ function H(e) {
102
+ if (!v(e))
103
+ throw TypeError("Invalid UUID");
104
+ let i;
105
+ const t = new Uint8Array(16);
106
+ return t[0] = (i = parseInt(e.slice(0, 8), 16)) >>> 24, t[1] = i >>> 16 & 255, t[2] = i >>> 8 & 255, t[3] = i & 255, t[4] = (i = parseInt(e.slice(9, 13), 16)) >>> 8, t[5] = i & 255, t[6] = (i = parseInt(e.slice(14, 18), 16)) >>> 8, t[7] = i & 255, t[8] = (i = parseInt(e.slice(19, 23), 16)) >>> 8, t[9] = i & 255, t[10] = (i = parseInt(e.slice(24, 36), 16)) / 1099511627776 & 255, t[11] = i / 4294967296 & 255, t[12] = i >>> 24 & 255, t[13] = i >>> 16 & 255, t[14] = i >>> 8 & 255, t[15] = i & 255, t;
107
+ }
108
+ function J(e) {
109
+ e = unescape(encodeURIComponent(e));
110
+ const i = [];
111
+ for (let t = 0; t < e.length; ++t)
112
+ i.push(e.charCodeAt(t));
113
+ return i;
114
+ }
115
+ const C = "6ba7b810-9dad-11d1-80b4-00c04fd430c8", L = "6ba7b811-9dad-11d1-80b4-00c04fd430c8";
116
+ function P(e, i, t) {
117
+ function n(o, f, r, s) {
118
+ var l;
119
+ if (typeof o == "string" && (o = J(o)), typeof f == "string" && (f = H(f)), ((l = f) === null || l === void 0 ? void 0 : l.length) !== 16)
120
+ throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
121
+ let h = new Uint8Array(16 + o.length);
122
+ if (h.set(f), h.set(o, f.length), h = t(h), h[6] = h[6] & 15 | i, h[8] = h[8] & 63 | 128, r) {
123
+ s = s || 0;
124
+ for (let x = 0; x < 16; ++x)
125
+ r[s + x] = h[x];
126
+ return r;
127
+ }
128
+ return T(h);
129
+ }
130
+ try {
131
+ n.name = e;
132
+ } catch {
133
+ }
134
+ return n.DNS = C, n.URL = L, n;
135
+ }
136
+ function F(e, i, t, n) {
137
+ switch (e) {
138
+ case 0:
139
+ return i & t ^ ~i & n;
140
+ case 1:
141
+ return i ^ t ^ n;
142
+ case 2:
143
+ return i & t ^ i & n ^ t & n;
144
+ case 3:
145
+ return i ^ t ^ n;
146
+ }
147
+ }
148
+ function U(e, i) {
149
+ return e << i | e >>> 32 - i;
150
+ }
151
+ function k(e) {
152
+ const i = [1518500249, 1859775393, 2400959708, 3395469782], t = [1732584193, 4023233417, 2562383102, 271733878, 3285377520];
153
+ if (typeof e == "string") {
154
+ const r = unescape(encodeURIComponent(e));
155
+ e = [];
156
+ for (let s = 0; s < r.length; ++s)
157
+ e.push(r.charCodeAt(s));
158
+ } else
159
+ Array.isArray(e) || (e = Array.prototype.slice.call(e));
160
+ e.push(128);
161
+ const n = e.length / 4 + 2, o = Math.ceil(n / 16), f = new Array(o);
162
+ for (let r = 0; r < o; ++r) {
163
+ const s = new Uint32Array(16);
164
+ for (let l = 0; l < 16; ++l)
165
+ s[l] = e[r * 64 + l * 4] << 24 | e[r * 64 + l * 4 + 1] << 16 | e[r * 64 + l * 4 + 2] << 8 | e[r * 64 + l * 4 + 3];
166
+ f[r] = s;
167
+ }
168
+ f[o - 1][14] = (e.length - 1) * 8 / Math.pow(2, 32), f[o - 1][14] = Math.floor(f[o - 1][14]), f[o - 1][15] = (e.length - 1) * 8 & 4294967295;
169
+ for (let r = 0; r < o; ++r) {
170
+ const s = new Uint32Array(80);
171
+ for (let c = 0; c < 16; ++c)
172
+ s[c] = f[r][c];
173
+ for (let c = 16; c < 80; ++c)
174
+ s[c] = U(s[c - 3] ^ s[c - 8] ^ s[c - 14] ^ s[c - 16], 1);
175
+ let l = t[0], h = t[1], x = t[2], p = t[3], S = t[4];
176
+ for (let c = 0; c < 80; ++c) {
177
+ const E = Math.floor(c / 20), O = U(l, 5) + F(E, h, x, p) + S + i[E] + s[c] >>> 0;
178
+ S = p, p = x, x = U(h, 30) >>> 0, h = l, l = O;
179
+ }
180
+ t[0] = t[0] + l >>> 0, t[1] = t[1] + h >>> 0, t[2] = t[2] + x >>> 0, t[3] = t[3] + p >>> 0, t[4] = t[4] + S >>> 0;
181
+ }
182
+ return [t[0] >> 24 & 255, t[0] >> 16 & 255, t[0] >> 8 & 255, t[0] & 255, t[1] >> 24 & 255, t[1] >> 16 & 255, t[1] >> 8 & 255, t[1] & 255, t[2] >> 24 & 255, t[2] >> 16 & 255, t[2] >> 8 & 255, t[2] & 255, t[3] >> 24 & 255, t[3] >> 16 & 255, t[3] >> 8 & 255, t[3] & 255, t[4] >> 24 & 255, t[4] >> 16 & 255, t[4] >> 8 & 255, t[4] & 255];
183
+ }
184
+ const Y = P("v5", 80, k), b = Y;
185
+ class et extends A {
186
+ constructor(t, n = "POST", o = {}) {
81
187
  super();
82
- n(this, "apiUrl");
83
- n(this, "method");
84
- n(this, "headers");
85
- this.apiUrl = t, this.method = e, this.headers = {
188
+ g(this, "apiUrl");
189
+ g(this, "method");
190
+ g(this, "headers");
191
+ this.apiUrl = t, this.method = n, this.headers = {
86
192
  "Content-Type": "application/json",
87
- ...r
193
+ ...o
88
194
  };
89
195
  }
90
196
  errorHandler(t) {
91
- return t.code && (c.getInstance().setSubject(t), u.getInstance().setSubject(!1)), !t.code;
197
+ return t.code && (M.getInstance().setSubject(t), m.getInstance().setSubject(!1)), !t.code;
92
198
  }
93
199
  fetchData(t = {}) {
94
- return u.getInstance().setSubject(!0), a(t).pipe(
95
- d((e) => (u.getInstance().setSubject(!1), this.catch(e))),
96
- i((e) => this.encode(e)),
97
- i((e) => m(this.apiUrl, {
98
- method: this.method,
99
- headers: this.headers,
100
- body: e
101
- })),
102
- i((e) => e.json()),
103
- i((e) => (this.logDebug(
104
- `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <BODY>: ${JSON.stringify(e)}`
105
- ), a(e))),
106
- g(this.errorHandler),
107
- i((e) => a(this.decode(e))),
108
- i((e) => (u.getInstance().setSubject(!1), a(e)))
200
+ const n = (/* @__PURE__ */ new Date()).toISOString(), o = b(n, b.URL), f = this.encode({ ...t }, o);
201
+ return m.getInstance().setSubject(!0), B(this.apiUrl, {
202
+ method: this.method,
203
+ headers: this.headers,
204
+ body: f,
205
+ selector: (r) => r.json()
206
+ }).pipe(
207
+ u((r) => d(this.decode(r))),
208
+ u((r) => (this.logDebug(
209
+ `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(t)} <BODY> ${f} <RESPONSE>: ${JSON.stringify(r)}`
210
+ ), d(r))),
211
+ D(this.errorHandler),
212
+ u((r) => (m.getInstance().setSubject(!1), d(r))),
213
+ R((r) => (m.getInstance().setSubject(!1), this.catch(r, o)))
109
214
  );
110
215
  }
111
216
  }
112
217
  export {
113
- U as ApiMiddleware,
114
- R as ErrorCatalog,
115
- I as FetchServiceBE,
116
- N as FetchServiceFE,
117
- u as LoadingHandler,
118
- S as MessageErrorBFF,
119
- c as MessageHandler,
120
- C as RxSubjectManager,
121
- w as ServiceToken
218
+ q as ApiMiddleware,
219
+ y as ErrorCatalog,
220
+ tt as FetchServiceBE,
221
+ et as FetchServiceFE,
222
+ m as LoadingHandler,
223
+ M as MessageHandler,
224
+ ft as RxSubjectManager,
225
+ nt as ServiceToken
122
226
  };
@@ -1,4 +1,4 @@
1
- import { C as t } from "./custom-encoder-b2078b5c.js";
1
+ import { C as t } from "./custom-encoder-6737c6cb.js";
2
2
  import "./mp-front-cli-logger.es.js";
3
3
  export {
4
4
  t as CustomEncoder
@@ -1,11 +1,10 @@
1
1
  import "rxjs";
2
- import { C } from "./custom-header-bb082c8e.js";
3
- import "./mp-front-cli-catch-error.es.js";
2
+ import { a as s } from "./custom-header-4aec1dac.js";
4
3
  import "./mp-front-cli-logger.es.js";
5
- import "./custom-validator-d4c8885a.js";
6
- import "./custom-encoder-b2078b5c.js";
7
- import "./index-6f6eb615.js";
4
+ import "./custom-validator-ae5da0a7.js";
5
+ import "./custom-encoder-6737c6cb.js";
6
+ import "./index-df4e0539.js";
8
7
  import "./message-handler-d90f2bb6.js";
9
8
  export {
10
- C as CustomHeader
9
+ s as CustomHeader
11
10
  };
@@ -1,4 +1,4 @@
1
- import { t } from "./index-6f6eb615.js";
1
+ import { t } from "./index-df4e0539.js";
2
2
  const e = {
3
3
  errors: {}
4
4
  }, a = {
@@ -1,6 +1,6 @@
1
- import { C as p } from "./custom-validator-d4c8885a.js";
2
- import "./custom-encoder-b2078b5c.js";
3
- import "./index-6f6eb615.js";
1
+ import { C as p } from "./custom-validator-ae5da0a7.js";
2
+ import "./custom-encoder-6737c6cb.js";
3
+ import "./index-df4e0539.js";
4
4
  import "./mp-front-cli-logger.es.js";
5
5
  export {
6
6
  p as CustomValidator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mp-front-cli",
3
- "version": "0.0.34",
3
+ "version": "0.0.36",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {
@@ -38,10 +38,6 @@
38
38
  "types": "./dist/core/utils/custom-logger.d.ts",
39
39
  "import": "./dist/mp-front-cli-logger.es.js"
40
40
  },
41
- "./core/catch-error": {
42
- "types": "./dist/core/utils/custom-catch-error.d.ts",
43
- "import": "./dist/mp-front-cli-catch-error.es.js"
44
- },
45
41
  "./core/validator": {
46
42
  "types": "./dist/core/utils/custom-validator.d.ts",
47
43
  "import": "./dist/mp-front-cli-validator.es.js"
@@ -52,11 +48,13 @@
52
48
  }
53
49
  },
54
50
  "dependencies": {
51
+ "@types/uuid": "^9.0.8",
55
52
  "i18next": "23.7.20",
56
53
  "lodash": "^4.17.21",
57
54
  "next": "14.1.0",
58
55
  "next-auth": "^4.24.5",
59
- "rxjs": "^7.8.1"
56
+ "rxjs": "^7.8.1",
57
+ "uuid": "^9.0.1"
60
58
  },
61
59
  "devDependencies": {
62
60
  "@types/lodash": "^4.14.202",
@@ -70,4 +68,4 @@
70
68
  "vite-plugin-dts": "3.7.1",
71
69
  "vite-tsconfig-paths": "4.2.2"
72
70
  }
73
- }
71
+ }