@sendbird/ai-agent-messenger-react 1.11.0 → 1.12.0
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.
- package/dist/cjs/{YtrvrXVz.cjs → 0FArne3s.cjs} +1 -1
- package/dist/cjs/{B67X1Iqo.cjs → B3EdwVP_.cjs} +1 -1
- package/dist/cjs/{DJHcCTBQ.cjs → BC8yV2vW.cjs} +1 -1
- package/dist/cjs/{DEvSjhk8.cjs → BDwqrgZD.cjs} +1 -1
- package/dist/cjs/BZWmhiRy.cjs +306 -0
- package/dist/cjs/{DRHmPssY.cjs → CQbdMB7S.cjs} +1 -1
- package/dist/cjs/{xdrSyggS.cjs → CdV-y2tE.cjs} +1 -1
- package/dist/cjs/{CnUoYEuF.cjs → ChN6oo70.cjs} +1 -1
- package/dist/cjs/{DwfLm8cw.cjs → XUKkIcnf.cjs} +1 -1
- package/dist/cjs/{YeT3srxs.cjs → ZgKCWcTm.cjs} +1 -1
- package/dist/cjs/{EXVCD1YT.cjs → mzSLgcai.cjs} +1 -1
- package/dist/es/{DqXeh6FM.js → BI9lULk5.js} +1 -1
- package/dist/es/{BAV-gHD8.js → BNpZ-PNc.js} +1 -1
- package/dist/es/{dMeDdhti.js → BNrrEkaM.js} +1 -1
- package/dist/es/{TEW248Kp.js → BXQEb3Gj.js} +1 -1
- package/dist/es/{CaQjuywv.js → BnmtYOQR.js} +1 -1
- package/dist/es/{DQK4qx1t.js → CDp93E9_.js} +1 -1
- package/dist/es/{C4gM95cu.js → D9GVP-3J.js} +1539 -1539
- package/dist/es/{Bf3Vm8Wc.js → DJw82TDk.js} +1 -1
- package/dist/es/{D5rUGMTR.js → DftOx_kr.js} +1 -1
- package/dist/es/{DsjXFMRf.js → DgQD8JsO.js} +1 -1
- package/dist/es/{sfhJJXtA.js → q3o5Qi21.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +13 -0
- package/dist/index.js +1 -1
- package/package.json +4 -4
- package/dist/cjs/DgWOJuCM.cjs +0 -306
|
@@ -3,7 +3,7 @@ import { useCallback as s } from "react";
|
|
|
3
3
|
import h from "dompurify";
|
|
4
4
|
import x, { RuleType as g } from "markdown-to-jsx";
|
|
5
5
|
import b from "styled-components";
|
|
6
|
-
import { A as c, e as m, c as r } from "./
|
|
6
|
+
import { A as c, e as m, c as r } from "./D9GVP-3J.js";
|
|
7
7
|
const w = (d, o, a, e) => o.type === g.textStrikethroughed ? /* @__PURE__ */ t.createElement("span", { key: e.key }, `~~${a(o.children, e)}~~`) : d(), v = ({ className: d, children: o, style: a, onClickImage: e }) => {
|
|
8
8
|
const p = s((i) => {
|
|
9
9
|
const n = /* @__PURE__ */ t.createElement("img", { ...i, alt: i.alt || "" }), l = i.src;
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./cjs/
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./cjs/BZWmhiRy.cjs");require("react");exports.AgentProviderContainer=e.AgentProviderContainer;exports.AgentUIProviderContainer=e.AgentUIProviderContainer;exports.AnonymousSessionInfo=e.AnonymousSessionInfo;exports.CSATType=e.CSATType;exports.Commands=e.DispatcherCommands;exports.Conversation=e.Conversation;exports.ConversationContext=e.ConversationContext;exports.ConversationContextProvider=e.ConversationContextProvider;exports.ConversationHeaderLayout=e.ConversationHeaderLayout;exports.ConversationLayout=e.ConversationLayout;exports.ConversationList=e.ConversationList;exports.ConversationListContext=e.ConversationListContext;exports.ConversationListContextProvider=e.ConversationListContextProvider;exports.ConversationListHeaderLayout=e.ConversationListHeaderLayout;exports.ConversationListItemLayout=e.ConversationListItemLayout;exports.ConversationListLayout=e.ConversationListLayout;exports.DefaultMessenger=e.DefaultMessenger;exports.FixedMessenger=e.FixedMessenger;exports.IncomingMessageLayout=e.IncomingMessageLayout;exports.LauncherBase=e.LauncherBase;exports.LogLevel=e.LogLevel;exports.ManualSessionInfo=e.ManualSessionInfo;exports.MessageLogs=e.MessageLogs;exports.OutgoingMessageLayout=e.OutgoingMessageLayout;exports.PlaceholderLayout=e.PlaceholderLayout;exports.SystemMessageLayout=e.SystemMessageLayout;exports.messengerDispatcher=e.messengerDispatcher;exports.useConversationContext=e.useConversationContext;exports.useConversationListContext=e.useConversationListContext;exports.useLocalizationContext=e.useLocalizationContext;exports.useMessengerContext=e.useMessengerContext;exports.useMessengerSessionContext=e.useMessengerSessionContext;exports.useRefreshActiveChannel=e.useRefreshActiveChannel;
|
package/dist/index.d.ts
CHANGED
|
@@ -263,6 +263,18 @@ declare interface AIAgentConfig {
|
|
|
263
263
|
isTalkToAgentViewEnabled?: boolean;
|
|
264
264
|
scrollMode?: ConversationScrollMode;
|
|
265
265
|
newMessageIndicatorEnabled?: boolean;
|
|
266
|
+
/**
|
|
267
|
+
* Whether to show the sender's avatar image next to each message.
|
|
268
|
+
* @default true
|
|
269
|
+
* */
|
|
270
|
+
senderAvatarEnabled?: boolean;
|
|
271
|
+
header?: {
|
|
272
|
+
/**
|
|
273
|
+
* Whether to show the avatar in the conversation header.
|
|
274
|
+
* @default true
|
|
275
|
+
* */
|
|
276
|
+
avatarEnabled?: boolean;
|
|
277
|
+
};
|
|
266
278
|
input?: {
|
|
267
279
|
/**
|
|
268
280
|
* (Mobile only) Whether to enable the camera option in the attachment menu.
|
|
@@ -1369,6 +1381,7 @@ BaseMessageProps<{
|
|
|
1369
1381
|
isConversationClosed?: boolean;
|
|
1370
1382
|
isFeedbackEnabled?: boolean;
|
|
1371
1383
|
isFeedbackCommentEnabled?: boolean;
|
|
1384
|
+
isSenderAvatarVisible?: boolean;
|
|
1372
1385
|
|
|
1373
1386
|
// handlers
|
|
1374
1387
|
onGetCachedMessageTemplate?: (templateKey: string) => string | null;
|
package/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as o, b as n, B as t, x as i, D as r, j as C, n as L, o as u, l as v, k as g, q as y, t as x, v as d, s as M, C as m, r as l, h as c, F as f, I as h, L as I, y as P, z as S, M as p, O as A, P as D, S as z, g as B, p as F, w as H, f as O, u as T, d as b, i as j } from "./es/
|
|
1
|
+
import { a as o, b as n, B as t, x as i, D as r, j as C, n as L, o as u, l as v, k as g, q as y, t as x, v as d, s as M, C as m, r as l, h as c, F as f, I as h, L as I, y as P, z as S, M as p, O as A, P as D, S as z, g as B, p as F, w as H, f as O, u as T, d as b, i as j } from "./es/D9GVP-3J.js";
|
|
2
2
|
import "react";
|
|
3
3
|
export {
|
|
4
4
|
o as AgentProviderContainer,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sendbird/ai-agent-messenger-react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.12.0",
|
|
4
4
|
"description": "Delight AI Agent Messenger for React",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -44,9 +44,9 @@
|
|
|
44
44
|
"react-dom": "^19.0.0",
|
|
45
45
|
"strip-json-comments": "^5.0.1",
|
|
46
46
|
"styled-components": "^6.1.15",
|
|
47
|
-
"@sendbird/ai-agent-core": "1.
|
|
48
|
-
"@sendbird/
|
|
49
|
-
"@sendbird/
|
|
47
|
+
"@sendbird/ai-agent-core": "1.12.0",
|
|
48
|
+
"@sendbird/config-editor": "0.1.0",
|
|
49
|
+
"@sendbird/vite-tools": "0.0.1"
|
|
50
50
|
},
|
|
51
51
|
"msw": {
|
|
52
52
|
"workerDirectory": [
|