@epam/ai-dial-chat-hooks 1.2.0-dev.48 → 1.2.0-dev.50

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.
@@ -27,13 +27,14 @@ var o = () => {
27
27
  progress: { percent: 100 },
28
28
  errorCode: void 0
29
29
  });
30
- }, [u]), m = n((t, n) => {
31
- s((r) => r.map((r) => r.id !== t || r.status !== e.InProgress ? r : {
32
- ...r,
30
+ }, [u]), m = n((t, n, r) => {
31
+ s((i) => i.map((i) => i.id !== t || i.status !== e.InProgress ? i : {
32
+ ...i,
33
33
  status: e.Warning,
34
34
  progress: { percent: 100 },
35
35
  errorCode: void 0,
36
- warningCode: n
36
+ warningCode: n,
37
+ warningNames: r
37
38
  }));
38
39
  }, []), h = n((t, n) => {
39
40
  u(t, {
@@ -57,7 +58,9 @@ var o = () => {
57
58
  return l.current.set(t, () => (u(t, {
58
59
  status: e.InProgress,
59
60
  progress: { percent: 0 },
60
- errorCode: void 0
61
+ errorCode: void 0,
62
+ warningCode: void 0,
63
+ warningNames: void 0
61
64
  }), r())), r();
62
65
  }, [u]);
63
66
  return r(() => {
@@ -191,7 +191,7 @@ var b = 5, x = 5, S = (e) => /\.(dial|zip)$/i.test(e.name), C = (e) => new Promi
191
191
  jobId: n,
192
192
  code: t.AttachmentSkipped,
193
193
  names: [...j]
194
- }), A.length > 0 ? D.failJob(n, h.Unknown) : j.size > 0 ? D.warnJob(n, t.AttachmentSkipped) : D.succeedJob(n);
194
+ }), A.length > 0 ? D.failJob(n, h.Unknown) : j.size > 0 ? D.warnJob(n, t.AttachmentSkipped, [...j]) : D.succeedJob(n);
195
195
  }
196
196
  }, [
197
197
  l,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@epam/ai-dial-chat-hooks",
3
3
  "description": "Framework-level React hooks extracted from AI DIAL Chat for building custom chat interfaces",
4
- "version": "1.2.0-dev.48",
4
+ "version": "1.2.0-dev.50",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",
7
7
  "main": "./index.js",
@@ -106,7 +106,7 @@
106
106
  }
107
107
  },
108
108
  "dependencies": {
109
- "@epam/ai-dial-chat-api-client": "1.2.0-dev.48",
109
+ "@epam/ai-dial-chat-api-client": "1.2.0-dev.50",
110
110
  "dompurify": "3.4.15",
111
111
  "fflate": "^0.8.3",
112
112
  "lru-cache": "^10.4.3",
@@ -115,20 +115,20 @@
115
115
  },
116
116
  "peerDependencies": {
117
117
  "react": "^19.2.8",
118
- "@epam/ai-dial-attachment-canvas": "1.2.0-dev.48",
119
- "@epam/ai-dial-attachment-input": "1.2.0-dev.48",
120
- "@epam/ai-dial-builder-form": "1.2.0-dev.48",
121
- "@epam/ai-dial-catalog": "1.2.0-dev.48",
122
- "@epam/ai-dial-chat-overlay": "1.2.0-dev.48",
123
- "@epam/ai-dial-chat-shared": "1.2.0-dev.48",
124
- "@epam/ai-dial-mcp-apps": "1.2.0-dev.48",
125
- "@epam/ai-dial-publish-panel": "1.2.0-dev.48",
126
- "@epam/ai-dial-quotations": "1.2.0-dev.48",
118
+ "@epam/ai-dial-attachment-canvas": "1.2.0-dev.50",
119
+ "@epam/ai-dial-attachment-input": "1.2.0-dev.50",
120
+ "@epam/ai-dial-builder-form": "1.2.0-dev.50",
121
+ "@epam/ai-dial-catalog": "1.2.0-dev.50",
122
+ "@epam/ai-dial-chat-overlay": "1.2.0-dev.50",
123
+ "@epam/ai-dial-chat-shared": "1.2.0-dev.50",
124
+ "@epam/ai-dial-mcp-apps": "1.2.0-dev.50",
125
+ "@epam/ai-dial-publish-panel": "1.2.0-dev.50",
126
+ "@epam/ai-dial-quotations": "1.2.0-dev.50",
127
127
  "@epam/ai-dial-react-file-manager": "^0.3.0-dev.2",
128
- "@epam/ai-dial-scheduled-tasks": "1.2.0-dev.48",
129
- "@epam/ai-dial-share": "1.2.0-dev.48",
130
- "@epam/ai-dial-skill-editor": "1.2.0-dev.48",
131
- "@epam/ai-dial-source-panel": "1.2.0-dev.48",
128
+ "@epam/ai-dial-scheduled-tasks": "1.2.0-dev.50",
129
+ "@epam/ai-dial-share": "1.2.0-dev.50",
130
+ "@epam/ai-dial-skill-editor": "1.2.0-dev.50",
131
+ "@epam/ai-dial-source-panel": "1.2.0-dev.50",
132
132
  "@epam/ai-dial-ui-kit": "^0.15.0-dev.7",
133
133
  "@modelcontextprotocol/sdk": "^1.29.0",
134
134
  "@epam/pdf-highlighter-kit": "^0.0.19",