@sendbird/ai-agent-messenger-react 1.9.1 → 1.9.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.
package/dist/index.d.ts CHANGED
@@ -1921,7 +1921,6 @@ declare type SingleSelectField = {
1921
1921
  * Uses SNAKE_CASE keys for backward compatibility
1922
1922
  */
1923
1923
  declare type StringSet = {
1924
- CHANNEL_FROZEN: string;
1925
1924
  PLACE_HOLDER__WRONG: string;
1926
1925
  PLACE_HOLDER__NO_MESSAGES: string;
1927
1926
  UNKNOWN__UNKNOWN_MESSAGE_TYPE: string;
@@ -1931,10 +1930,7 @@ declare type StringSet = {
1931
1930
  MESSAGE_INPUT__PLACE_HOLDER__SUGGESTED_REPLIES: string;
1932
1931
  MESSAGE_INPUT__PLACE_HOLDER__DISABLED: string;
1933
1932
  BUTTON__CANCEL: string;
1934
- BUTTON__SAVE: string;
1935
- BUTTON__OK: string;
1936
1933
  BUTTON__SUBMIT: string;
1937
- NO_NAME: string;
1938
1934
  RETRY: string;
1939
1935
  POWERED_BY: string;
1940
1936
  OPTIONAL: string;
@@ -1964,12 +1960,8 @@ declare type StringSet = {
1964
1960
  CSAT5_RATING_SCORE_5: string;
1965
1961
  CSAT_SUBMIT_LABEL: string;
1966
1962
  CSAT_SUBMISSION_EXPIRED: string;
1967
- CONVERSATION_CLOSED_FOOTER_LABEL: string;
1968
- START_NEW_CONVERSATION: string;
1969
- RETURN_TO_CONVERSATION: string;
1970
1963
  TALK_TO_AGENT: string;
1971
1964
  CONVERSATION_LIST__HEADER_TITLE: string;
1972
- CONVERSATION_LIST__TOPICS_FALLBACK: string;
1973
1965
  CONVERSATION_LIST__NO_CONVERSATIONS: string;
1974
1966
  CONVERSATION_LIST__ENDED: string;
1975
1967
  CITATION_SOURCE_TITLE: string;
@@ -2000,6 +1992,22 @@ declare type StringSet = {
2000
1992
  DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE: string;
2001
1993
  /** @deprecated Unused string **/
2002
1994
  DATE_FORMAT__CONVERSATION_LIST__LIST_ITEM_TITLE_CAPTION: string;
1995
+ /** @deprecated Unused string **/
1996
+ CONVERSATION_LIST__TOPICS_FALLBACK: string;
1997
+ /** @deprecated Unused string **/
1998
+ CONVERSATION_CLOSED_FOOTER_LABEL: string;
1999
+ /** @deprecated Unused string **/
2000
+ START_NEW_CONVERSATION: string;
2001
+ /** @deprecated Unused string **/
2002
+ RETURN_TO_CONVERSATION: string;
2003
+ /** @deprecated Unused string **/
2004
+ BUTTON__SAVE: string;
2005
+ /** @deprecated Unused string **/
2006
+ BUTTON__OK: string;
2007
+ /** @deprecated Unused string **/
2008
+ NO_NAME: string;
2009
+ /** @deprecated Unused string **/
2010
+ CHANNEL_FROZEN: string;
2003
2011
  };
2004
2012
 
2005
2013
  declare function SystemAdminMessage(props: SystemMessageProps): JSX.Element | null;
@@ -2139,6 +2147,8 @@ export declare interface UserActionRequestedData {
2139
2147
 
2140
2148
  export declare type UserActionStatus = 'action_requested' | 'action_started' | 'action_submitted' | 'action_processing' | 'action_succeeded' | 'action_failed' | 'action_canceled' | (string & {});
2141
2149
 
2150
+ export declare const useRefreshActiveChannel: (updater: () => Promise<void>) => () => Promise<void>;
2151
+
2142
2152
  declare type UserSession = {
2143
2153
  userId: string;
2144
2154
  authToken: string;
package/dist/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { a as o, b as n, x as t, t as i, D as r, i as C, k as L, l as u, j as g, o as v, q as x, r as y, C as M, p as m, h as d, F as l, I, L as P, v as S, w as c, M as f, O as p, P as h, S as A, g as D, n as F, s as O, f as T, u as b, d as j } from "./es/C3QOlRLQ.js";
1
+ import { a as o, b as n, y as t, v as i, D as r, j as C, l as u, n as L, k as v, p as g, r as x, s as y, C as M, q as m, h as d, F as l, I as c, L as f, w as h, x as I, M as P, O as S, P as p, S as A, g as D, o as F, t as O, f as T, u as b, d as j, i as k } from "./es/Do-qZ-xC.js";
2
2
  import "react";
3
3
  export {
4
4
  o as AgentProviderContainer,
@@ -7,28 +7,29 @@ export {
7
7
  i as CSATType,
8
8
  r as Commands,
9
9
  C as Conversation,
10
- L as ConversationContext,
11
- u as ConversationContextProvider,
12
- g as ConversationLayout,
13
- v as ConversationList,
10
+ u as ConversationContext,
11
+ L as ConversationContextProvider,
12
+ v as ConversationLayout,
13
+ g as ConversationList,
14
14
  x as ConversationListContext,
15
15
  y as ConversationListContextProvider,
16
16
  M as ConversationListItemLayout,
17
17
  m as ConversationListLayout,
18
18
  d as DefaultMessenger,
19
19
  l as FixedMessenger,
20
- I as IncomingMessageLayout,
21
- P as LauncherBase,
22
- S as LogLevel,
23
- c as ManualSessionInfo,
24
- f as MessageLogs,
25
- p as OutgoingMessageLayout,
26
- h as PlaceholderLayout,
20
+ c as IncomingMessageLayout,
21
+ f as LauncherBase,
22
+ h as LogLevel,
23
+ I as ManualSessionInfo,
24
+ P as MessageLogs,
25
+ S as OutgoingMessageLayout,
26
+ p as PlaceholderLayout,
27
27
  A as SystemMessageLayout,
28
28
  D as messengerDispatcher,
29
29
  F as useConversationContext,
30
30
  O as useConversationListContext,
31
31
  T as useLocalizationContext,
32
32
  b as useMessengerContext,
33
- j as useMessengerSessionContext
33
+ j as useMessengerSessionContext,
34
+ k as useRefreshActiveChannel
34
35
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sendbird/ai-agent-messenger-react",
3
- "version": "1.9.1",
3
+ "version": "1.9.3",
4
4
  "description": "Sendbird AI Agent Messenger for React",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
@@ -44,7 +44,7 @@
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.9.1",
47
+ "@sendbird/ai-agent-core": "1.9.3",
48
48
  "@sendbird/vite-tools": "0.0.1",
49
49
  "@sendbird/config-editor": "0.1.0"
50
50
  },