@credithub/harlan-components 1.116.3 → 1.116.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.
@@ -232,8 +232,8 @@ var Liminar = function (_a) {
232
232
  }
233
233
  setIsLoadingLiminarProtestosDoPassado(false);
234
234
  finalStatus = indiciosApi ||
235
- processosComAssuntoValido.length ||
236
- indiciosDeLiminarProtestosDoPassado
235
+ processosComAssuntoValido.length /*||
236
+ indiciosDeLiminarProtestosDoPassado*/
237
237
  ? 'Encontrado'
238
238
  : 'Não encontrado';
239
239
  invertedIdsRef.current = newIds;
@@ -314,7 +314,7 @@ var Liminar = function (_a) {
314
314
  * marcou `indicioDeLiminar = true`.
315
315
  * ------------------------------------------------------------------*/
316
316
  var typesForHistory = useMemo(function () {
317
- var _a, _b, _c, _d;
317
+ var _a, _b, _c;
318
318
  var set = new Set();
319
319
  /* 1) API (Cenprot/Serasa) */
320
320
  var apiIndicio = ((_a = ctx.document) === null || _a === void 0 ? void 0 : _a.indiciosDeLiminar) === true;
@@ -326,9 +326,9 @@ var Liminar = function (_a) {
326
326
  .forEach(function (t) { return set.add(String(t).toLowerCase()); });
327
327
  }
328
328
  /* 2) Cenprot – detectado por protestos desaparecidos */
329
- if ((_d = globalData === null || globalData === void 0 ? void 0 : globalData.liminar) === null || _d === void 0 ? void 0 : _d.indiciosDeLiminarProtestosDoPassado) {
330
- set.add('cenprot');
331
- }
329
+ /*if (globalData?.liminar?.indiciosDeLiminarProtestosDoPassado) {
330
+ set.add('cenprot');
331
+ }*/
332
332
  /* 3) Judicial */
333
333
  if (processosComAssuntoValido.length > 0) {
334
334
  set.add('judicial');
@@ -432,6 +432,7 @@ var Liminar = function (_a) {
432
432
  return [2 /*return*/];
433
433
  });
434
434
  }); };
435
+ return null;
435
436
  if (!isFinancial || !shouldRender)
436
437
  return null;
437
438
  return (React.createElement(React.Fragment, null,