@credithub/harlan-components 1.86.0 → 1.86.1

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.
@@ -49,7 +49,6 @@ var __generator = (this && this.__generator) || function (thisArg, body) {
49
49
  import ProtestosIcon from '../../assets/icones/protestos';
50
50
  import { useGlobalData } from '../../contexts/globalDataContext';
51
51
  import theme from '../../styles/theme';
52
- import { isDocumentHistoryReady } from '../../utils/isGlobalReady';
53
52
  import { formatMoney } from '../../utils/number';
54
53
  import { normalizeName, normalizeNameStrong, similarCompanyNames } from '../../utils/similarNames';
55
54
  import { hasOneOfTags } from '../../utils/tags';
@@ -181,10 +180,9 @@ var Liminar = function (_a) {
181
180
  processosComAssuntoValido,
182
181
  (_f = globalData === null || globalData === void 0 ? void 0 : globalData.liminar) === null || _f === void 0 ? void 0 : _f.indiciosDeLiminarProtestosDoPassado
183
182
  ]), origensDetectadas = _w.origensDetectadas, foundBusinessEntity = _w.foundBusinessEntity;
184
- var documentHistoryReady = useMemo(function () { return isDocumentHistoryReady(globalData); }, [globalData]);
185
183
  var protestosIsReady = useMemo(function () { var _a; return (_a = globalData === null || globalData === void 0 ? void 0 : globalData.protestosData) === null || _a === void 0 ? void 0 : _a.isLoaded; }, [globalData]);
186
184
  useEffect(function () {
187
- if (!documentHistoryReady || !protestosIsReady)
185
+ if (!protestosIsReady)
188
186
  return;
189
187
  var fetch = function () { return __awaiter(void 0, void 0, void 0, function () {
190
188
  var dossie, processosJuridicos, depsLoaded, newIds, hash, indiciosApi, indiciosDeLiminarProtestosDoPassado, protestosDoPassadoIds, _a, possuiIndiciosDeLiminarProtestosDoPassado, protestosIds, finalStatus, descricaoLiminar;
@@ -258,7 +256,6 @@ var Liminar = function (_a) {
258
256
  ctx.document,
259
257
  globalData === null || globalData === void 0 ? void 0 : globalData.dossie,
260
258
  globalData === null || globalData === void 0 ? void 0 : globalData.processosJuridicosData,
261
- globalData === null || globalData === void 0 ? void 0 : globalData.documentHistory,
262
259
  processosComAssuntoValido,
263
260
  setData,
264
261
  foundBusinessEntity