mp-front-cli 0.0.106 → 0.0.108

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":"error-catalog-enrollment.d.ts","sourceRoot":"","sources":["../../../../src/core/errors/enrollment/error-catalog-enrollment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAE9C,eAAO,MAAM,sBAAsB,EAAE;IACnC,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAA;CAqOnC,CAAA"}
1
+ {"version":3,"file":"error-catalog-enrollment.d.ts","sourceRoot":"","sources":["../../../../src/core/errors/enrollment/error-catalog-enrollment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAA;AAE9C,eAAO,MAAM,sBAAsB,EAAE;IACnC,CAAC,KAAK,EAAE,MAAM,GAAG,MAAM,GAAG,QAAQ,CAAA;CA0PnC,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"error-catalog.d.ts","sourceRoot":"","sources":["../../../src/core/errors/error-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAA;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAywBrD,qBAAa,YAAa,SAAQ,YAAY;IAC5C,GAAG,CACD,KAAK,GAAE,MAAM,GAAG,KAAK,GAAG,QAAoB,EAC5C,IAAI,GAAE,MAAoB;;;;;;;;;;;CA8B7B"}
1
+ {"version":3,"file":"error-catalog.d.ts","sourceRoot":"","sources":["../../../src/core/errors/error-catalog.ts"],"names":[],"mappings":"AAAA,OAAO,iBAAiB,CAAA;AAExB,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAA;AAErD,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAA;AAkxBrD,qBAAa,YAAa,SAAQ,YAAY;IAC5C,GAAG,CACD,KAAK,GAAE,MAAM,GAAG,KAAK,GAAG,QAAoB,EAC5C,IAAI,GAAE,MAAoB;;;;;;;;;;;CA8B7B"}
@@ -339,6 +339,18 @@ const e = {
339
339
  "ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031": {
340
340
  title: "Autenticación invalida Trustonic",
341
341
  message: "Por favor asegúrese de tener permisos para acceder a este recurso."
342
+ },
343
+ "ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035": {
344
+ title: "Error interno",
345
+ message: "Ocurrió un error interno: ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035"
346
+ },
347
+ "ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036": {
348
+ title: "Error interno",
349
+ message: "Ocurrió un error interno: ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036"
350
+ },
351
+ "ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037": {
352
+ title: "Error interno",
353
+ message: "Ocurrió un error interno: ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037"
342
354
  }
343
355
  }
344
356
  }, a = {
@@ -573,6 +585,10 @@ const e = {
573
585
  title: "Eliminar excepción de referencia",
574
586
  message: "Ocurrió un error al eliminar la referencia."
575
587
  },
588
+ "PERSONALREFERENCE-INVALIDREFERENCESRELATIONSHIPSCOUNTEXCEPTION-001": {
589
+ title: "Referencias no válidas",
590
+ message: "El cliente debe tener al menos una referencia con parentesco directo"
591
+ },
576
592
  //PAYMENTS
577
593
  "SALES-SUMMARY-GENERIC-ERROR-001": {
578
594
  title: "Ocurrió un error resumen de venta",
@@ -128,6 +128,18 @@ declare const translation: {
128
128
  title: string;
129
129
  message: string;
130
130
  };
131
+ "ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035": {
132
+ title: string;
133
+ message: string;
134
+ };
135
+ "ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036": {
136
+ title: string;
137
+ message: string;
138
+ };
139
+ "ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037": {
140
+ title: string;
141
+ message: string;
142
+ };
131
143
  };
132
144
  };
133
145
  export default translation;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lang/common/errors/enrollment/en_MX/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAkJhB,CAAA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/lang/common/errors/enrollment/en_MX/index.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiKhB,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -20,6 +20,10 @@ declare const translation: {
20
20
  title: string;
21
21
  message: string;
22
22
  };
23
+ "PERSONALREFERENCE-INVALIDREFERENCESRELATIONSHIPSCOUNTEXCEPTION-001": {
24
+ title: string;
25
+ message: string;
26
+ };
23
27
  "SALES-SUMMARY-GENERIC-ERROR-001": {
24
28
  title: string;
25
29
  message: string;
@@ -156,6 +160,18 @@ declare const translation: {
156
160
  title: string;
157
161
  message: string;
158
162
  };
163
+ "ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035": {
164
+ title: string;
165
+ message: string;
166
+ };
167
+ "ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036": {
168
+ title: string;
169
+ message: string;
170
+ };
171
+ "ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037": {
172
+ title: string;
173
+ message: string;
174
+ };
159
175
  "JOURNEY-INVALIDATEDATA-01": {
160
176
  title: string;
161
177
  message: string;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lang/common/errors/es_MX/index.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgQhB,CAAA;AAED,eAAe,WAAW,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lang/common/errors/es_MX/index.ts"],"names":[],"mappings":"AAGA,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqQhB,CAAA;AAED,eAAe,WAAW,CAAA"}
@@ -2,7 +2,7 @@ import { ApiMiddleware as g, ErrorCatalog as l, FetchServiceBE as x, FetchServic
2
2
  import { LoadingHandler as v, MessageHandler as E, RxSubjectManager as F } from "./mp-front-cli-utils-rxjs.es.js";
3
3
  import { S as h } from "./index-def0b487.js";
4
4
  import "i18next";
5
- import "./index-9490465f.js";
5
+ import "./index-4208b2e9.js";
6
6
  import "./mp-front-cli-logger.es.js";
7
7
  import "rxjs";
8
8
  import "./mp-front-cli-encrypter.es.js";
@@ -1,21 +1,21 @@
1
1
  var f = Object.defineProperty;
2
2
  var y = (t, E, e) => E in t ? f(t, E, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[E] = e;
3
3
  var L = (t, E, e) => (y(t, typeof E != "symbol" ? E + "" : E, e), e);
4
- import { LoadingHandler as U, MessageHandler as B } from "./mp-front-cli-utils-rxjs.es.js";
5
- import { RxSubjectManager as Ie } from "./mp-front-cli-utils-rxjs.es.js";
4
+ import { LoadingHandler as U, MessageHandler as M } from "./mp-front-cli-utils-rxjs.es.js";
5
+ import { RxSubjectManager as me } from "./mp-front-cli-utils-rxjs.es.js";
6
6
  import { f as n } from "./index-def0b487.js";
7
7
  import { S as ge } from "./index-def0b487.js";
8
8
  import v, { t as g } from "i18next";
9
- import { t as Q } from "./index-9490465f.js";
10
- import { CustomLogger as w } from "./mp-front-cli-logger.es.js";
11
- import { of as N, switchMap as O, forkJoin as M, catchError as c, EMPTY as d, filter as h } from "rxjs";
12
- import { CustomEncrypter as V } from "./mp-front-cli-encrypter.es.js";
13
- import { CustomHeader as F } from "./mp-front-cli-header.es.js";
9
+ import { t as Q } from "./index-4208b2e9.js";
10
+ import { CustomLogger as V } from "./mp-front-cli-logger.es.js";
11
+ import { of as T, switchMap as O, forkJoin as B, catchError as S, EMPTY as d, filter as w } from "rxjs";
12
+ import { CustomEncrypter as F } from "./mp-front-cli-encrypter.es.js";
13
+ import { CustomHeader as h } from "./mp-front-cli-header.es.js";
14
14
  import { CustomEncoder as x } from "./mp-front-cli-encoder.es.js";
15
15
  import { u as Y } from "./stringify-788d71a0.js";
16
16
  import "node-jose";
17
17
  import "crypto";
18
- const G = {
18
+ const H = {
19
19
  es: {
20
20
  translation: {
21
21
  ...Q
@@ -23,7 +23,7 @@ const G = {
23
23
  }
24
24
  };
25
25
  v.init({
26
- resources: G,
26
+ resources: H,
27
27
  lng: "es",
28
28
  // language to use, more information here: https://www.i18next.com/overview/configuration-options#languages-namespaces-resources
29
29
  // you can use the i18n.changeLanguage function to change the language manually: https://www.i18next.com/overview/api#changelanguage
@@ -35,7 +35,7 @@ v.init({
35
35
  },
36
36
  debug: !1
37
37
  });
38
- const H = {
38
+ const G = {
39
39
  "ENROLLMENT-INVALIDCONFIGURATION-0000": {
40
40
  code: 400,
41
41
  type: "modal",
@@ -259,8 +259,29 @@ const H = {
259
259
  message: "errors.ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031.message",
260
260
  title: "errors.ENROLLMENT-INVALIDTOKENTRUSTONICSUPPLIER-0031.title",
261
261
  level: "error"
262
+ },
263
+ "ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035": {
264
+ code: 400,
265
+ type: "modal",
266
+ message: "errors.ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035.message",
267
+ title: "errors.ENROLLMENT-IMEIFOUNDINSAPINVENTORY-0035.title",
268
+ level: "error"
269
+ },
270
+ "ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036": {
271
+ code: 400,
272
+ type: "modal",
273
+ message: "errors.ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036.message",
274
+ title: "errors.ENROLLMENT-IMEIFOUNDINACTIVEAPPLICATION-0036.title",
275
+ level: "error"
276
+ },
277
+ "ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037": {
278
+ code: 400,
279
+ type: "modal",
280
+ message: "errors.ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037.message",
281
+ title: "errors.ENROLLMENT-MAXIMUMIMEIUSAGEREACHED-0037.title",
282
+ level: "error"
262
283
  }
263
- }, m = {
284
+ }, I = {
264
285
  "MP-001": {
265
286
  code: 400,
266
287
  type: "modal",
@@ -1011,6 +1032,13 @@ const H = {
1011
1032
  type: "modal",
1012
1033
  level: "warning"
1013
1034
  },
1035
+ "PERSONALREFERENCE-INVALIDREFERENCESRELATIONSHIPSCOUNTEXCEPTION-001": {
1036
+ title: "errors.PERSONALREFERENCE-INVALIDREFERENCESRELATIONSHIPSCOUNTEXCEPTION-001.title",
1037
+ message: "errors.PERSONALREFERENCE-INVALIDREFERENCESRELATIONSHIPSCOUNTEXCEPTION-001.message",
1038
+ code: 420,
1039
+ type: "modal",
1040
+ level: "warning"
1041
+ },
1014
1042
  //PAYMENTS
1015
1043
  "SALES-SUMMARY-GENERIC-ERROR-001": {
1016
1044
  title: "errors.SALES-SUMMARY-GENERIC-ERROR-001.title",
@@ -1026,36 +1054,36 @@ const H = {
1026
1054
  type: "modal",
1027
1055
  level: "warning"
1028
1056
  },
1029
- ...H
1057
+ ...G
1030
1058
  };
1031
- class C extends w {
1059
+ class C extends V {
1032
1060
  get(E = "default", e = "NOT_FOUND") {
1033
1061
  var s, A;
1034
1062
  if (E instanceof Error)
1035
1063
  return this.logError(E.message), {
1036
- ...m.internalError,
1037
- title: g(m.internalError.title),
1038
- message: g(m.internalError.message),
1064
+ ...I.internalError,
1065
+ title: g(I.internalError.title),
1066
+ message: g(I.internalError.message),
1039
1067
  uuid: e
1040
1068
  };
1041
1069
  const r = typeof E == "string" ? E : E.code ?? E.errorType;
1042
1070
  this.logDebug("statusCode", r);
1043
1071
  const l = typeof E == "string" ? {} : { ...E };
1044
1072
  return {
1045
- ...m[r] ?? m.default,
1073
+ ...I[r] ?? I.default,
1046
1074
  title: g(
1047
- ((s = m[r]) == null ? void 0 : s.title) ?? m.default.title,
1075
+ ((s = I[r]) == null ? void 0 : s.title) ?? I.default.title,
1048
1076
  l
1049
1077
  ),
1050
1078
  message: g(
1051
- ((A = m[r]) == null ? void 0 : A.message) ?? m.default.message,
1079
+ ((A = I[r]) == null ? void 0 : A.message) ?? I.default.message,
1052
1080
  l
1053
1081
  ),
1054
1082
  uuid: e
1055
1083
  };
1056
1084
  }
1057
1085
  }
1058
- class Le extends V {
1086
+ class Le extends F {
1059
1087
  constructor() {
1060
1088
  super(...arguments);
1061
1089
  L(this, "uuid", "");
@@ -1079,24 +1107,24 @@ class Le extends V {
1079
1107
  get(e) {
1080
1108
  return this.logDebug("get ApiMiddleware"), (r, l) => {
1081
1109
  var s;
1082
- this.logDebug("return ApiMiddleware"), this.uuid = (s = r == null ? void 0 : r.body) == null ? void 0 : s.uuid, N(r).pipe(
1110
+ this.logDebug("return ApiMiddleware"), this.uuid = (s = r == null ? void 0 : r.body) == null ? void 0 : s.uuid, T(r).pipe(
1083
1111
  O(
1084
- (A) => M({
1085
- params: N(this.decode(A.body)),
1086
- headers: N(A.headers)
1112
+ (A) => B({
1113
+ params: T(this.decode(A.body)),
1114
+ headers: T(A.headers)
1087
1115
  })
1088
1116
  ),
1089
1117
  O(
1090
- ({ params: A, headers: a }) => M({
1118
+ ({ params: A, headers: a }) => B({
1091
1119
  response: e(A, this.uuid, a),
1092
- headers: N(a),
1093
- params: N(A)
1120
+ headers: T(a),
1121
+ params: T(A)
1094
1122
  })
1095
1123
  ),
1096
1124
  O(({ params: A, response: a, headers: o }) => (this.logDebug(
1097
1125
  `ApiMiddleware \x1B[37m <URL>: \x1B[33m ${r.url} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(o)} \x1B[37m <UUID> \x1B[33m ${r.body.uuid} \x1B[37m <PARAMS> \x1B[33m ${JSON.stringify(A)} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(a)}`
1098
- ), N(a))),
1099
- c((A) => {
1126
+ ), T(a))),
1127
+ S((A) => {
1100
1128
  var a;
1101
1129
  return this.logError(
1102
1130
  `ApiMiddleware <URL>: ${r == null ? void 0 : r.url} <HEADERS>: ${JSON.stringify(r == null ? void 0 : r.headers)} <UUID> ${(a = r == null ? void 0 : r.body) == null ? void 0 : a.uuid} <PARAMS> ${JSON.stringify(r == null ? void 0 : r.body)} <ERROR>: ${JSON.stringify(A)}`
@@ -1111,7 +1139,7 @@ class Le extends V {
1111
1139
  }
1112
1140
  }
1113
1141
  const _ = process.env.ID_FRONT ?? "NOT_AVAILABLE";
1114
- class Oe extends F {
1142
+ class Oe extends h {
1115
1143
  constructor(e, r, l = {}) {
1116
1144
  super(l);
1117
1145
  L(this, "apiUrl");
@@ -1143,7 +1171,7 @@ class Oe extends F {
1143
1171
  selector: (s) => s.json()
1144
1172
  }
1145
1173
  ).pipe(
1146
- c((s) => {
1174
+ S((s) => {
1147
1175
  throw this.logError(JSON.stringify(s)), this.logError(
1148
1176
  `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
1149
1177
  l
@@ -1158,10 +1186,10 @@ class Oe extends F {
1158
1186
  )} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
1159
1187
  this.formatParams(e)
1160
1188
  )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(s)} \x1B[33m`
1161
- ), N(s)))
1189
+ ), T(s)))
1162
1190
  )
1163
1191
  ),
1164
- h((l) => this.errorHandler(l, r))
1192
+ w((l) => this.errorHandler(l, r))
1165
1193
  );
1166
1194
  }
1167
1195
  fetchCustomData(e = {}, r) {
@@ -1173,7 +1201,7 @@ class Oe extends F {
1173
1201
  body: this.method === "GET" ? null : JSON.stringify(e),
1174
1202
  selector: (s) => s.json()
1175
1203
  }).pipe(
1176
- c((s) => {
1204
+ S((s) => {
1177
1205
  throw this.logError(JSON.stringify(s)), this.logError(
1178
1206
  `FetchServiceBE \x1B[37m <URL>: \x1B[33m ${this.apiUrl} \x1B[37m <UUID>: \x1B[33m ${r} \x1B[37m <HEADERS>: \x1B[33m ${JSON.stringify(
1179
1207
  l
@@ -1188,7 +1216,7 @@ class Oe extends F {
1188
1216
  )} \x1B[37m <BODY>: \x1B[33m ${JSON.stringify(
1189
1217
  e
1190
1218
  )} \x1B[37m <RESPONSE>: \x1B[33m ${JSON.stringify(s)} \x1B[33m`
1191
- ), N(s)))
1219
+ ), T(s)))
1192
1220
  )
1193
1221
  )
1194
1222
  );
@@ -1218,14 +1246,14 @@ function j(t, E, e) {
1218
1246
  var o;
1219
1247
  if (typeof l == "string" && (l = X(l)), typeof s == "string" && (s = $(s)), ((o = s) === null || o === void 0 ? void 0 : o.length) !== 16)
1220
1248
  throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");
1221
- let T = new Uint8Array(16 + l.length);
1222
- if (T.set(s), T.set(l, s.length), T = e(T), T[6] = T[6] & 15 | E, T[8] = T[8] & 63 | 128, A) {
1249
+ let N = new Uint8Array(16 + l.length);
1250
+ if (N.set(s), N.set(l, s.length), N = e(N), N[6] = N[6] & 15 | E, N[8] = N[8] & 63 | 128, A) {
1223
1251
  a = a || 0;
1224
1252
  for (let i = 0; i < 16; ++i)
1225
- A[a + i] = T[i];
1253
+ A[a + i] = N[i];
1226
1254
  return A;
1227
1255
  }
1228
- return Y(T);
1256
+ return Y(N);
1229
1257
  }
1230
1258
  try {
1231
1259
  r.name = t;
@@ -1272,12 +1300,12 @@ function k(t) {
1272
1300
  a[R] = s[A][R];
1273
1301
  for (let R = 16; R < 80; ++R)
1274
1302
  a[R] = D(a[R - 3] ^ a[R - 8] ^ a[R - 14] ^ a[R - 16], 1);
1275
- let o = e[0], T = e[1], i = e[2], I = e[3], S = e[4];
1303
+ let o = e[0], N = e[1], i = e[2], m = e[3], c = e[4];
1276
1304
  for (let R = 0; R < 80; ++R) {
1277
- const P = Math.floor(R / 20), u = D(o, 5) + Z(P, T, i, I) + S + E[P] + a[R] >>> 0;
1278
- S = I, I = i, i = D(T, 30) >>> 0, T = o, o = u;
1305
+ const P = Math.floor(R / 20), u = D(o, 5) + Z(P, N, i, m) + c + E[P] + a[R] >>> 0;
1306
+ c = m, m = i, i = D(N, 30) >>> 0, N = o, o = u;
1279
1307
  }
1280
- e[0] = e[0] + o >>> 0, e[1] = e[1] + T >>> 0, e[2] = e[2] + i >>> 0, e[3] = e[3] + I >>> 0, e[4] = e[4] + S >>> 0;
1308
+ e[0] = e[0] + o >>> 0, e[1] = e[1] + N >>> 0, e[2] = e[2] + i >>> 0, e[3] = e[3] + m >>> 0, e[4] = e[4] + c >>> 0;
1281
1309
  }
1282
1310
  return [e[0] >> 24 & 255, e[0] >> 16 & 255, e[0] >> 8 & 255, e[0] & 255, e[1] >> 24 & 255, e[1] >> 16 & 255, e[1] >> 8 & 255, e[1] & 255, e[2] >> 24 & 255, e[2] >> 16 & 255, e[2] >> 8 & 255, e[2] & 255, e[3] >> 24 & 255, e[3] >> 16 & 255, e[3] >> 8 & 255, e[3] & 255, e[4] >> 24 & 255, e[4] >> 16 & 255, e[4] >> 8 & 255, e[4] & 255];
1283
1311
  }
@@ -1311,18 +1339,18 @@ class ie extends x {
1311
1339
  body: s,
1312
1340
  selector: (o) => o.json()
1313
1341
  }).pipe(
1314
- O((o) => N(this.decode(o))),
1342
+ O((o) => T(this.decode(o))),
1315
1343
  O((o) => o.code && (o.type === "modal" || o.type === "message") ? (this.logError(
1316
1344
  `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(o)}`
1317
- ), U.getInstance().setSubject(!1), B.getInstance().setSubject(o), this.errorResponse ? N(this.errorResponse) : d) : N(o)),
1345
+ ), U.getInstance().setSubject(!1), M.getInstance().setSubject(o), this.errorResponse ? T(this.errorResponse) : d) : T(o)),
1318
1346
  O((o) => (U.getInstance().setSubject(!1), this.logDebug(
1319
1347
  `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(o)}`
1320
- ), N(o))),
1321
- c((o) => (this.logError(
1348
+ ), T(o))),
1349
+ S((o) => (this.logError(
1322
1350
  `FetchServiceFE <URL>: ${this.apiUrl} <HEADERS>: ${JSON.stringify(this.headers)} <PARAMS> ${JSON.stringify(e)} <BODY> ${s} <RESPONSE>: ${JSON.stringify(o)}`
1323
- ), U.getInstance().setSubject(!1), B.getInstance().setSubject(
1351
+ ), U.getInstance().setSubject(!1), M.getInstance().setSubject(
1324
1352
  new C().get(o, l)
1325
- ), this.errorResponse ? N(this.errorResponse) : d))
1353
+ ), this.errorResponse ? T(this.errorResponse) : d))
1326
1354
  );
1327
1355
  }
1328
1356
  }
@@ -1332,7 +1360,7 @@ export {
1332
1360
  Oe as FetchServiceBE,
1333
1361
  ie as FetchServiceFE,
1334
1362
  U as LoadingHandler,
1335
- B as MessageHandler,
1336
- Ie as RxSubjectManager,
1363
+ M as MessageHandler,
1364
+ me as RxSubjectManager,
1337
1365
  ge as ServiceToken
1338
1366
  };
@@ -1,4 +1,4 @@
1
- import { t } from "./index-9490465f.js";
1
+ import { t } from "./index-4208b2e9.js";
2
2
  const e = {
3
3
  errors: {}
4
4
  }, a = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mp-front-cli",
3
- "version": "0.0.106",
3
+ "version": "0.0.108",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "scripts": {