@sendbird/ai-agent-messenger-react 1.1.2 → 1.1.3

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.
@@ -1,6 +1,6 @@
1
1
  import * as t from "react";
2
2
  import n from "styled-components";
3
- import { P as a, I as l, a as c, c as s } from "./CDRdmzMT.js";
3
+ import { P as a, I as l, a as c, c as s } from "./DQVTDao9.js";
4
4
  const d = ({ label: r = "Something went wrong", action: e, ...o }) => /* @__PURE__ */ t.createElement(a, { icon: "error", label: r, ...o }, e && /* @__PURE__ */ t.createElement(i, { onClick: e.onClick, label: e.label ?? "Retry" })), i = ({ label: r, onClick: e }) => /* @__PURE__ */ t.createElement(m, { tabIndex: 0, onClick: e }, /* @__PURE__ */ t.createElement(l, { type: "refresh", size: 20 }), /* @__PURE__ */ t.createElement(c, { variant: "button", color: s.color.primary.main }, r)), m = n.button`all:unset;display:flex;cursor:pointer;gap:4px;align-items:center;justify-content:center;`;
5
5
  export {
6
6
  d as default
@@ -1,5 +1,5 @@
1
1
  import * as o from "react";
2
- import { P as r } from "./CDRdmzMT.js";
2
+ import { P as r } from "./DQVTDao9.js";
3
3
  const c = ({ label: e = "No channels", ...a }) => /* @__PURE__ */ o.createElement(r, { icon: "chat", label: e, ...a });
4
4
  export {
5
5
  c as default
package/dist/index.cjs CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./cjs/DxybKbeY.cjs");require("react");exports.AgentProviderContainer=e.AgentProviderContainer;exports.AgentUIProviderContainer=e.AgentUIProviderContainer;exports.CSATType=e.CSATType;exports.Commands=e.Commands;exports.Conversation=e.Conversation;exports.ConversationLayout=e.ConversationLayout;exports.ConversationList=e.ConversationList;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.MessageLogs=e.MessageLogs;exports.OutgoingMessageLayout=e.OutgoingMessageLayout;exports.SystemMessageLayout=e.SystemMessageLayout;exports.messengerDispatcher=e.messengerDispatcher;exports.useLocalizationContext=e.useLocalizationContext;exports.useMessengerContext=e.useMessengerContext;exports.useMessengerSessionContext=e.useMessengerSessionContext;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./cjs/DWvpgvvZ.cjs");require("react");exports.AgentProviderContainer=e.AgentProviderContainer;exports.AgentUIProviderContainer=e.AgentUIProviderContainer;exports.CSATType=e.CSATType;exports.Commands=e.Commands;exports.Conversation=e.Conversation;exports.ConversationLayout=e.ConversationLayout;exports.ConversationList=e.ConversationList;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.MessageLogs=e.MessageLogs;exports.OutgoingMessageLayout=e.OutgoingMessageLayout;exports.SystemMessageLayout=e.SystemMessageLayout;exports.messengerDispatcher=e.messengerDispatcher;exports.useLocalizationContext=e.useLocalizationContext;exports.useMessengerContext=e.useMessengerContext;exports.useMessengerSessionContext=e.useMessengerSessionContext;
package/dist/index.d.ts CHANGED
@@ -1,14 +1,20 @@
1
+ import { Action } from '@sendbird/uikit-message-template';
2
+ import { AIAgentChannelFilter } from '@sendbird/chat/aiAgent';
1
3
  import { AIAgentModule } from '@sendbird/chat/aiAgent';
2
4
  import { ComponentType } from 'react';
3
5
  import { Context } from 'react';
4
6
  import { ConversationStatus } from '@sendbird/chat/aiAgent';
7
+ import { DeskChannelFilter } from '@sendbird/chat/aiAgent';
5
8
  import { format } from 'date-fns';
9
+ import { ForwardRefExoticComponent } from 'react';
10
+ import { GroupChannel } from '@sendbird/chat/groupChannel';
6
11
  import { GroupChannelModule } from '@sendbird/chat/groupChannel';
7
12
  import { JSX } from 'react/jsx-runtime';
8
13
  import { Locale } from 'date-fns';
9
14
  import { LogLevel as LogLevel_2 } from '@sendbird/chat';
10
15
  import { PropsWithChildren } from 'react';
11
16
  import { ReactNode } from 'react';
17
+ import { RefAttributes } from 'react';
12
18
  import { SendbirdChatWith } from '@sendbird/chat';
13
19
  import { SessionHandler } from '@sendbird/chat';
14
20
 
@@ -74,7 +80,111 @@ export declare interface AgentPreviewConfigs {
74
80
  };
75
81
  }
76
82
 
77
- export declare function AgentProviderContainer({ rootElement, logLevel, language, userSessionInfo, children, ...props }: AIAgentProps): JSX.Element;
83
+ export declare const AgentProviderContainer: ForwardRefExoticComponent< {
84
+ appId: string;
85
+ aiAgentId: string;
86
+ customApiHost?: string;
87
+ customWebSocketHost?: string;
88
+ rootElement?: HTMLElement;
89
+ /**
90
+ * @public
91
+ * @description Custom state management for the ai agent client.
92
+ * */
93
+ state?: {
94
+ opened?: boolean;
95
+ setOpened?: (value: boolean) => void;
96
+ expanded?: boolean;
97
+ setExpanded?: (value: boolean) => void;
98
+ };
99
+ /**
100
+ * @public
101
+ * @description AIAgent Messenger theme
102
+ * */
103
+ theme?: {
104
+ palette?: Partial<PaletteShape>;
105
+ typography?: Partial<{ [K in keyof TypographyShape]: Partial<TypographyShape[K]>; }>;
106
+ };
107
+ /**
108
+ * @public
109
+ * @description Custom User session information to be used in connecting to the agent.
110
+ * */
111
+ userSessionInfo?: UserSessionInfo;
112
+ /**
113
+ * @public
114
+ * @description Localization string set for the ai agent client.
115
+ * */
116
+ stringSet?: Partial<StringSet>;
117
+ /**
118
+ * @public
119
+ * @description dir of the widget.
120
+ * */
121
+ dir?: "ltr" | "rtl";
122
+ /**
123
+ * @public
124
+ * @description logLevel for the ai agent client.
125
+ * */
126
+ logLevel?: LogLevel_2;
127
+ /**
128
+ * @public
129
+ * @description Language for the ai agent client. Should follow the IETF BCP 47 format.
130
+ * For example, "ko-KR" for Korean in South Korea or "en-US" for English in the United States.
131
+ * */
132
+ language?: string;
133
+ /**
134
+ * @public
135
+ * @description Country code for the ai agent client. Should follow the ISO 3166 format.
136
+ * For example, "KR" for South Korea or "US" for the United States.
137
+ * */
138
+ countryCode?: string;
139
+ /**
140
+ * @public
141
+ * @description Context object for the AI agent client. This is injected when the messenger is first loaded and can provide additional context that may influence how the AI responds to user conversations.
142
+ * */
143
+ context?: Record<string, string>;
144
+ /**
145
+ * @internal
146
+ * @description Preview configurations for the ai agent client.
147
+ * */
148
+ agentPreviewConfigs?: AgentPreviewConfigs;
149
+ /**
150
+ * @internal
151
+ * @description Event handlers for the ai agent client.
152
+ */
153
+ handlers?: AgentClientHandlers;
154
+ /**
155
+ * @internal
156
+ * @description Whether to show the manual conversation close button in the header. (default: false)
157
+ */
158
+ enableCloseConversationButton?: boolean;
159
+ /**
160
+ * @internal
161
+ * @description Whether to show the expand button in the header. (default: true)
162
+ * */
163
+ enableExpandButton?: boolean;
164
+ /**
165
+ * @internal
166
+ * @description Whether to automatically disconnect the WebSocket when the user is inactive in launcher mode.
167
+ * Set to false to keep the connection alive even during inactivity. (default: true)
168
+ */
169
+ enableAutoDisconnectInLauncher?: boolean;
170
+ /**
171
+ * @internal
172
+ * @description Whether It's for the dashboard tester or not.
173
+ * @note we're using this for the temporary usage for testing the dashboard tester.
174
+ * This will be removed in the future. DO NOT expose this flag to the public.
175
+ */
176
+ _UNSAFE_INTERNAL_dashboardTester?: {
177
+ testerType: "default" | "actionbook";
178
+ };
179
+ /**
180
+ * @internal DO NOT USE THIS
181
+ * */
182
+ messageTemplate?: {
183
+ __internalVariables?: InternalMessageTemplateVariables;
184
+ };
185
+ } & {
186
+ children?: ReactNode | undefined;
187
+ } & RefAttributes<MessengerSessionRef>>;
78
188
 
79
189
  export declare function AgentUIProviderContainer({ appearance, rootElement, logger, language, stringSet, children, messageTemplate, theme, }: Props): JSX.Element;
80
190
 
@@ -91,6 +201,34 @@ declare interface AIAgentContextValue {
91
201
  dispatcher: Dispatcher;
92
202
  }
93
203
 
204
+ declare interface AIAgentGroupChannelFilter {
205
+ /**
206
+ * The filter applied to AI agent channels.
207
+ * It determines whether to include or exclude AI agent channels in the query results.
208
+ */
209
+ aiAgentChannelFilter?: AIAgentChannelFilter;
210
+ /**
211
+ * The filter applied to AI agent conversation statuses.
212
+ * It allows filtering channels based on the status of their conversations.
213
+ */
214
+ aiAgentConversationStatusFilter?: ConversationStatus[];
215
+ /**
216
+ * The list of AI agent IDs to filter the channels.
217
+ * Only channels associated with these AI agents will be included in the results.
218
+ */
219
+ aiAgentIds?: string[];
220
+ /**
221
+ * The filter applied to Desk channels.
222
+ * It determines whether to include or exclude Desk channels in the query results.
223
+ */
224
+ deskChannelFilter?: DeskChannelFilter;
225
+ /**
226
+ * The list of pinned channel URLs.
227
+ * These channels are prioritized in the query results.
228
+ */
229
+ pinnedChannelUrls?: string[];
230
+ }
231
+
94
232
  declare interface AIAgentInfo {
95
233
  userId: string;
96
234
  nickname: string;
@@ -192,11 +330,13 @@ export declare type AIAgentProps = PropsWithChildren<{
192
330
  enableAutoDisconnectInLauncher?: boolean;
193
331
  /**
194
332
  * @internal
195
- * @description Whether its for the dashboard actionbook tester or not.
196
- * @note we're using this for the temporary usage for testing the dashboard actionbook tester.
333
+ * @description Whether It's for the dashboard tester or not.
334
+ * @note we're using this for the temporary usage for testing the dashboard tester.
197
335
  * This will be removed in the future. DO NOT expose this flag to the public.
198
336
  */
199
- _UNSAFE_INTERNAL_isActionbookTester?: boolean;
337
+ _UNSAFE_INTERNAL_dashboardTester?: {
338
+ testerType: 'default' | 'actionbook';
339
+ };
200
340
  /**
201
341
  * @internal DO NOT USE THIS
202
342
  * */
@@ -234,20 +374,37 @@ declare type BaseMessageProps<T> = T & {
234
374
  children?: ReactNode;
235
375
  };
236
376
 
377
+ declare interface CloseConversationCommandParams {
378
+ channelUrl: string;
379
+ }
380
+
237
381
  declare interface CommandPayloads {
238
- [CommandType.ConversationClose]: undefined;
382
+ [CommandType.ConversationClose]: undefined | CloseConversationCommandParams;
239
383
  }
240
384
 
241
385
  export declare const Commands = {
242
- CloseConversation: () => new CloseConversationCommand(),
386
+ CloseConversation: (params?: CloseConversationCommandParams) => new CloseConversationCommand(params),
243
387
  };
244
388
 
245
389
  declare enum CommandType {
246
390
  ConversationClose = 'conv.close',
247
391
  }
248
392
 
393
+ declare interface ContextObject {
394
+ language?: string;
395
+ country?: string;
396
+ context: Record<string, string>;
397
+ }
398
+
249
399
  export declare const Conversation: ({ children, onNavigateToConversationList, closedChannelUrl, onClearClosedChannelUrl, }: Props_4) => JSX.Element;
250
400
 
401
+ declare interface ConversationCreateParams {
402
+ aiAgentId: string;
403
+ language?: string;
404
+ country?: string;
405
+ context?: Record<string, string>;
406
+ }
407
+
251
408
  export declare const ConversationLayout: {
252
409
  (props: PropsWithChildren): ReactNode;
253
410
  defaults: {
@@ -284,7 +441,7 @@ export declare const ConversationLayout: {
284
441
  }) => null;
285
442
  };
286
443
 
287
- export declare const ConversationList: ({ children, onOpenConversationView }: Props_5) => JSX.Element;
444
+ export declare const ConversationList: ({ conversationListFilter, children, onOpenConversationView }: Props_5) => JSX.Element;
288
445
 
289
446
  export declare const ConversationListItemLayout: {
290
447
  (props: PropsWithChildren): ReactNode;
@@ -301,6 +458,7 @@ export declare const ConversationListItemLayout: {
301
458
  } & {};
302
459
 
303
460
  export declare interface ConversationListItemProps {
461
+ channel: GroupChannel;
304
462
  channelUrl: string;
305
463
  title?: string;
306
464
  lastMessageTimestamp?: number;
@@ -403,7 +561,43 @@ declare const _default: {
403
561
  };
404
562
  };
405
563
 
406
- export declare const DefaultMessenger: ({ children, ...props }: AIAgentProps) => JSX.Element;
564
+ export declare const DefaultMessenger: ForwardRefExoticComponent< {
565
+ appId: string;
566
+ aiAgentId: string;
567
+ customApiHost?: string;
568
+ customWebSocketHost?: string;
569
+ rootElement?: HTMLElement;
570
+ state?: {
571
+ opened?: boolean;
572
+ setOpened?: (value: boolean) => void;
573
+ expanded?: boolean;
574
+ setExpanded?: (value: boolean) => void;
575
+ };
576
+ theme?: {
577
+ palette?: Partial<PaletteShape>;
578
+ typography?: Partial<{ [K in keyof TypographyShape]: Partial<TypographyShape[K]>; }>;
579
+ };
580
+ userSessionInfo?: UserSessionInfo;
581
+ stringSet?: Partial<StringSet>;
582
+ dir?: "ltr" | "rtl";
583
+ logLevel?: LogLevel_2;
584
+ language?: string;
585
+ countryCode?: string;
586
+ context?: Record<string, string>;
587
+ agentPreviewConfigs?: AgentPreviewConfigs;
588
+ handlers?: AgentClientHandlers;
589
+ enableCloseConversationButton?: boolean;
590
+ enableExpandButton?: boolean;
591
+ enableAutoDisconnectInLauncher?: boolean;
592
+ _UNSAFE_INTERNAL_dashboardTester?: {
593
+ testerType: "default" | "actionbook";
594
+ };
595
+ messageTemplate?: {
596
+ __internalVariables?: InternalMessageTemplateVariables;
597
+ };
598
+ } & {
599
+ children?: ReactNode | undefined;
600
+ } & RefAttributes<MessengerSessionRef>>;
407
601
 
408
602
  declare interface Dispatcher {
409
603
  send(command: BaseCommand): Promise<void>;
@@ -419,7 +613,7 @@ declare function ExtendedCTAButton({ extendedMessagePayload, onClickCTA, }: Inco
419
613
  /**
420
614
  * This component is a placeholder for the ExtendedMessageLogs component.
421
615
  * Because message logs are only visible in the action book tester.
422
- * @see @contexts/_UNSAFE_INTERNAL_DashboardActionbookTesterContext.tsx
616
+ * @see @contexts/_UNSAFE_INTERNAL_DashboardTesterContext.tsx
423
617
  */
424
618
  declare function ExtendedMessageLogs(_: IncomingMessageProps): JSX.Element;
425
619
 
@@ -449,7 +643,74 @@ declare function ExtendedMessageTemplate(props: Props_3): JSX.Element;
449
643
 
450
644
  declare function ExtendedSuggestedReplies({ extendedMessagePayload, onClickSuggestedReply, suggestedRepliesDirection, }: IncomingMessageProps): JSX.Element | null;
451
645
 
452
- export declare const FixedMessenger: ({ children, ...props }: AIAgentProps) => JSX.Element;
646
+ export declare const FixedMessenger: ForwardRefExoticComponent< {
647
+ appId: string;
648
+ aiAgentId: string;
649
+ customApiHost?: string;
650
+ customWebSocketHost?: string;
651
+ rootElement?: HTMLElement;
652
+ state?: {
653
+ opened?: boolean;
654
+ setOpened?: (value: boolean) => void;
655
+ expanded?: boolean;
656
+ setExpanded?: (value: boolean) => void;
657
+ };
658
+ theme?: {
659
+ palette?: Partial<PaletteShape>;
660
+ typography?: Partial<{ [K in keyof TypographyShape]: Partial<TypographyShape[K]>; }>;
661
+ };
662
+ userSessionInfo?: UserSessionInfo;
663
+ stringSet?: Partial<StringSet>;
664
+ dir?: "ltr" | "rtl";
665
+ logLevel?: LogLevel_2;
666
+ language?: string;
667
+ countryCode?: string;
668
+ context?: Record<string, string>;
669
+ agentPreviewConfigs?: AgentPreviewConfigs;
670
+ handlers?: AgentClientHandlers;
671
+ enableCloseConversationButton?: boolean;
672
+ enableExpandButton?: boolean;
673
+ enableAutoDisconnectInLauncher?: boolean;
674
+ _UNSAFE_INTERNAL_dashboardTester?: {
675
+ testerType: "default" | "actionbook";
676
+ };
677
+ messageTemplate?: {
678
+ __internalVariables?: InternalMessageTemplateVariables;
679
+ };
680
+ } & {
681
+ children?: ReactNode | undefined;
682
+ } & RefAttributes<MessengerSessionRef>> & {
683
+ Style: (props: FixedMessengerStyleProps) => null;
684
+ };
685
+
686
+ export declare type FixedMessengerMargin = {
687
+ top: number;
688
+ bottom: number;
689
+ start: number;
690
+ end: number;
691
+ };
692
+
693
+ export declare type FixedMessengerPosition = `${PositionHorizontal}-${PositionVertical}`;
694
+
695
+ declare interface FixedMessengerStyleProps {
696
+ /**
697
+ * @description Defines the position of the fixed messenger launcher.
698
+ * @default 'end-bottom'
699
+ * */
700
+ position?: FixedMessengerPosition;
701
+ /**
702
+ * @description Defines the margin around the fixed messenger launcher.
703
+ * This can be used to adjust the spacing from the edges of the viewport.
704
+ * @default { top: 24, bottom: 24, start: 24, end: 24 }
705
+ * */
706
+ margin?: Partial<FixedMessengerMargin>;
707
+ /**
708
+ * @description Defines the size of the launcher in pixels.
709
+ * This is used to set the width and height of the launcher.
710
+ * @default 48
711
+ * */
712
+ launcherSize?: number;
713
+ }
453
714
 
454
715
  export declare interface FunctionCallsInfo {
455
716
  key: string;
@@ -484,6 +745,7 @@ declare type IncomingBaseMessageProps<T> = T & BaseMessageProps<{
484
745
  isTyping?: boolean;
485
746
  onGetCachedMessageTemplate?: (templateKey: string) => string | null;
486
747
  onRequestMessageTemplate?: (templateKey: string) => Promise<string>;
748
+ onHandleTemplateInternalAction?: (action: Action) => void;
487
749
  onClickSuggestedReply?: (params: {
488
750
  reply: string;
489
751
  }) => void;
@@ -609,7 +871,7 @@ declare interface LanguageSet {
609
871
  dateLocale: Locale;
610
872
  }
611
873
 
612
- export declare function LauncherBase({ className, isOpened, onClick, type, imageUrl, dir, animated, backgroundColor, }: LauncherProps): JSX.Element;
874
+ export declare function LauncherBase({ className, isOpened, onClick, type, imageUrl, dir, animated, backgroundColor, size, }: LauncherProps): JSX.Element;
613
875
 
614
876
  declare type LauncherImageType = 'default_icon' | 'custom_image';
615
877
 
@@ -627,6 +889,7 @@ declare type LauncherProps = {
627
889
  backgroundColor: string;
628
890
  animated?: boolean;
629
891
  dir?: 'ltr' | 'rtl';
892
+ size?: number;
630
893
  };
631
894
 
632
895
  declare interface LayoutContextValue<Components extends Record<string, ComponentType<Props>>, Props> {
@@ -749,6 +1012,7 @@ declare interface MessengerSessionContextValue {
749
1012
  status: ConversationStatus;
750
1013
  };
751
1014
  refreshActiveChannel: () => Promise<string>;
1015
+ createConversation: (params: ConversationCreateParams) => Promise<string>;
752
1016
  connectionError?: Error;
753
1017
  userSession: {
754
1018
  userId: string;
@@ -758,6 +1022,12 @@ declare interface MessengerSessionContextValue {
758
1022
  launcherInfo: LauncherInfo;
759
1023
  }
760
1024
 
1025
+ export declare interface MessengerSessionRef {
1026
+ updateContext: (context: Record<string, string>) => Promise<ContextObject>;
1027
+ patchContext: (context: Record<string, string>) => Promise<ContextObject>;
1028
+ getContextObject: () => Promise<ContextObject>;
1029
+ }
1030
+
761
1031
  declare type OutgoingBaseMessageProps<T> = T & BaseMessageProps<{
762
1032
  sender: {
763
1033
  nickname: string;
@@ -878,6 +1148,10 @@ declare type PickMessageProps<Union, T extends Union extends {
878
1148
  messageType: T;
879
1149
  } ? Union : never;
880
1150
 
1151
+ export declare type PositionHorizontal = 'start' | 'end';
1152
+
1153
+ export declare type PositionVertical = 'top' | 'bottom';
1154
+
881
1155
  declare type Props = {
882
1156
  children: ReactNode;
883
1157
  rootElement?: HTMLElement;
@@ -921,7 +1195,7 @@ declare type Props_2 = {
921
1195
  }) => ReactNode;
922
1196
  };
923
1197
 
924
- declare type Props_3 = Pick<IncomingMessageProps, 'extendedMessagePayload' | 'onGetCachedMessageTemplate' | 'onRequestMessageTemplate' | 'messageTemplateErrorFallback' | 'messageTemplateLoadingFallback'>;
1198
+ declare type Props_3 = Pick<IncomingMessageProps, 'extendedMessagePayload' | 'onGetCachedMessageTemplate' | 'onRequestMessageTemplate' | 'onHandleTemplateInternalAction' | 'messageTemplateErrorFallback' | 'messageTemplateLoadingFallback'>;
925
1199
 
926
1200
  declare type Props_4 = PropsWithChildren<{
927
1201
  closedChannelUrl?: string;
@@ -930,6 +1204,7 @@ declare type Props_4 = PropsWithChildren<{
930
1204
  }>;
931
1205
 
932
1206
  declare type Props_5 = PropsWithChildren<{
1207
+ conversationListFilter?: Partial<AIAgentGroupChannelFilter>;
933
1208
  onOpenConversationView?: (channelUrl: string, status: ConversationStatus) => void;
934
1209
  }>;
935
1210
 
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { b as o, d as n, i as t, C as i, k as r, l as g, n as L, j as u, o as C, D as m, F as M, h as v, g as y, p as d, M as p, O as x, S as c, m as l, f as S, u as f, e as h } from "./es/CDRdmzMT.js";
1
+ import { b as o, d as n, i as t, C as i, k as r, l as g, n as L, j as u, o as C, D as m, F as M, h as v, g as y, p as d, M as p, O as x, S as c, m as l, f as S, u as f, e as h } from "./es/DQVTDao9.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.1.2",
3
+ "version": "1.1.3",
4
4
  "description": "Sendbird AI Agent Messenger for React",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -20,23 +20,23 @@
20
20
  "sideEffects": false,
21
21
  "dependencies": {
22
22
  "@emotion/is-prop-valid": "^1.3.1",
23
- "@sendbird/react-uikit-message-template-view": "0.0.9",
24
- "@sendbird/uikit-message-template": "0.0.9",
25
- "@sendbird/uikit-tools": "0.0.9",
23
+ "@sendbird/react-uikit-message-template-view": "0.0.13",
24
+ "@sendbird/uikit-message-template": "0.0.13",
25
+ "@sendbird/uikit-tools": "0.0.13",
26
26
  "date-fns": "^4.1.0",
27
27
  "dompurify": "^3.2.4",
28
- "markdown-to-jsx": "^7.7.2",
28
+ "markdown-to-jsx": "^7.7.12",
29
29
  "react-syntax-highlighter": "^15.6.1"
30
30
  },
31
31
  "peerDependencies": {
32
- "@sendbird/chat": "^4.19.2",
32
+ "@sendbird/chat": "^4.19.5",
33
33
  "react": ">=18.0.0",
34
34
  "react-dom": ">=18.0.0",
35
35
  "styled-components": ">=5.0.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@monaco-editor/react": "^4.7.0",
39
- "@sendbird/chat": "^4.19.2",
39
+ "@sendbird/chat": "^4.19.5",
40
40
  "@types/react": "^19.0.2",
41
41
  "@types/react-dom": "^19.0.2",
42
42
  "@types/react-syntax-highlighter": "^15.5.13",
@@ -45,7 +45,7 @@
45
45
  "react-dom": "^19.0.0",
46
46
  "strip-json-comments": "^5.0.1",
47
47
  "styled-components": "^6.1.15",
48
- "@sendbird/ai-agent-core": "1.1.2",
48
+ "@sendbird/ai-agent-core": "1.1.3",
49
49
  "@sendbird/vite-tools": "0.0.1"
50
50
  },
51
51
  "msw": {