@iblai/iblai-js 2.36.0 → 2.36.2
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.
|
@@ -330432,7 +330432,7 @@ async function loadTtsAudio(audio, dmUrl, org, userId, chatMessageId, signal) {
|
|
|
330432
330432
|
const token = typeof window !== 'undefined'
|
|
330433
330433
|
? window.localStorage.getItem(LOCAL_STORAGE_KEYS.DM_TOKEN_KEY)
|
|
330434
330434
|
: null;
|
|
330435
|
-
const url = `${dmUrl}/api/ai-mentor/orgs/${org}/users/${userId}/chat-messages/${chatMessageId}/tts
|
|
330435
|
+
const url = `${dmUrl}/api/ai-mentor/orgs/${org}/users/${userId}/chat-messages/${chatMessageId}/tts/`;
|
|
330436
330436
|
const response = await fetch(url, {
|
|
330437
330437
|
method: 'GET',
|
|
330438
330438
|
cache: 'no-cache',
|
|
@@ -333327,7 +333327,7 @@ function ChatInner({ mode = 'default', isPreviewMode = false, hasBorder = true,
|
|
|
333327
333327
|
minHeight: 0,
|
|
333328
333328
|
maxHeight: '100%',
|
|
333329
333329
|
height: '100%',
|
|
333330
|
-
}, children: [jsx(CanvasView, { canvasTitle: canvasState.title, canvasContent: canvasState.content, canvasType: canvasState.type, artifactId: canvasState.artifactId, org: canvasState.org, userId: canvasState.userId, fileExtension: canvasState.fileExtension, metadata: canvasState.metadata, sessionId: sessionId, tenantKey: tenantKey, refreshTrigger: canvasRefreshTrigger, sendMessage: (text, options) => {
|
|
333330
|
+
}, children: [jsx(CanvasView, { canvasTitle: canvasState.title, canvasContent: canvasState.content, canvasType: canvasState.type, artifactId: canvasState.artifactId, org: canvasState.org, userId: canvasState.userId, fileExtension: canvasState.fileExtension, metadata: canvasState.metadata, sessionId: sessionId, tenantKey: tenantKey, activeTools: activeTools, artifactsEnabled: artifactsEnabled, refreshTrigger: canvasRefreshTrigger, sendMessage: (text, options) => {
|
|
333331
333331
|
sendMessage(activeTab, text, options);
|
|
333332
333332
|
}, onClose: handleCloseCanvas }, `${(_m = canvasState.artifactId) !== null && _m !== void 0 ? _m : 'canvas'}-${canvasRefreshTrigger}`), jsx("div", { className: "flex-shrink-0 border-t border-gray-200 bg-white p-3 md:hidden", children: jsx(ChatInputForm, { variant: "redesign", stopStreamingButtonRef: stopStreamingButtonRef, sessionId: sessionId, onSubmit: handleSubmit, stopGenerating: stopAnyGeneration, onScreenSharingClick: handleScreenSharingClick, isScreenSharingModalOpen: isScreenSharingModalOpen, onPhoneCallClick: handlePhoneCallClick, tenantKey: tenantKey, username: username !== null && username !== void 0 ? username : '', setMessage: setMessage, enableSafetyDisclaimer: enableSafetyDisclaimer, isPreviewMode: isPreviewMode, enableWebBrowsing: enableWebBrowsing, isStreaming: isStreaming, updateSessionTools: updateSessionTools, setSessionTools: setSessionTools, activeTools: activeTools, screenSharing: screenSharing, deepResearch: deepResearch, studyMode: studyMode, imageGeneration: imageGeneration, codeInterpreter: codeInterpreter, promptsIsEnabled: promptsIsEnabled, googleSlidesIsEnabled: googleSlidesIsEnabled, googleDocumentIsEnabled: googleDocumentIsEnabled, artifactsEnabled: artifactsEnabled, compactMode: isCompactMode, isConnecting: !isConnected }) })] })] })) : (
|
|
333333
333333
|
/* Normal chat layout when canvas is closed */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@iblai/iblai-js",
|
|
3
|
-
"version": "2.36.
|
|
3
|
+
"version": "2.36.2",
|
|
4
4
|
"description": "Unified JavaScript SDK for IBL.ai — re-exports data-layer, web-containers, and web-utils under a single package",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -76,9 +76,9 @@
|
|
|
76
76
|
"axios": "1.13.6",
|
|
77
77
|
"dotenv": "16.6.1",
|
|
78
78
|
"winston": "3.19.0",
|
|
79
|
-
"@iblai/data-layer": "1.30.
|
|
79
|
+
"@iblai/data-layer": "1.30.1",
|
|
80
80
|
"@iblai/mcp": "1.29.0",
|
|
81
|
-
"@iblai/web-containers": "1.41.
|
|
81
|
+
"@iblai/web-containers": "1.41.1",
|
|
82
82
|
"@iblai/web-utils": "2.8.0"
|
|
83
83
|
},
|
|
84
84
|
"peerDependencies": {
|