@credithub/harlan-components 1.91.0 → 1.91.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.
@@ -95,9 +95,6 @@ var GenerativeAI = function (_a) {
95
95
  ? isGlobalReady(globalData) // clientes financeiros
96
96
  : isDocumentHistoryReady(globalData); // demais clientes
97
97
  }, [globalData, isFinancial]);
98
- /*const isGlobalDataReady = useMemo(() => {
99
- return !!globalData.documentHistory; // verificação direta
100
- }, [globalData]);*/
101
98
  // Atualiza o payload serializado sempre que os dados globais mudarem
102
99
  useEffect(function () {
103
100
  if (globalData && documento && isGlobalDataReady) {
@@ -242,9 +239,7 @@ var GenerativeAI = function (_a) {
242
239
  React.createElement(InitialMessageContent, null,
243
240
  React.createElement("div", { className: "icon-and-text" },
244
241
  React.createElement(Credithub, { size: 18, className: "initial-icon" }),
245
- React.createElement("span", null, streamMode === 'summary' &&
246
- summaryLoading &&
247
- !((_c = messageHistory[0]) === null || _c === void 0 ? void 0 : _c.content) ? (React.createElement(LoadingDots, null)) : (React.createElement(ReactMarkdown, { remarkPlugins: [remarkGfm] }, ((_d = messageHistory[0]) === null || _d === void 0 ? void 0 : _d.content) || '')))),
242
+ React.createElement("span", null, streamMode === 'summary' && !((_c = messageHistory[0]) === null || _c === void 0 ? void 0 : _c.content) ? (React.createElement(LoadingDots, null)) : (React.createElement(ReactMarkdown, { remarkPlugins: [remarkGfm] }, ((_d = messageHistory[0]) === null || _d === void 0 ? void 0 : _d.content) || '')))),
248
243
  React.createElement("div", { className: "additional-message" },
249
244
  React.createElement("p", null, "Voc\u00EA pode fazer perguntas como:"),
250
245
  React.createElement("p", { className: "blue-text" }, "\u00C9 seguro oferecer um cr\u00E9dito de R$ 15.000,00 a uma taxa de 3% em 12x?")),