@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/cjs/{C7mYp-Sm.cjs → C69Walbl.cjs} +1 -1
- package/dist/cjs/{BvXblDCo.cjs → CWITOvpG.cjs} +1 -1
- package/dist/cjs/{BeDV3w9G.cjs → CgocqP2k.cjs} +1 -1
- package/dist/cjs/{BDAydJst.cjs → ClsAqq5g.cjs} +1 -1
- package/dist/cjs/{B2XEqEtH.cjs → CqvdwZYp.cjs} +1 -1
- package/dist/cjs/{CmZZbL5X.cjs → CsizPe_9.cjs} +1 -1
- package/dist/cjs/{Dnh-zu9I.cjs → Dr2B4zgv.cjs} +1 -1
- package/dist/cjs/{ByqY2Frw.cjs → DsZLsQaz.cjs} +1 -1
- package/dist/cjs/{BzFcEwZu.cjs → DzXaL8bA.cjs} +1 -1
- package/dist/cjs/a9HLj-8m.cjs +305 -0
- package/dist/cjs/{BxR58-VB.cjs → wXYFxrgy.cjs} +1 -1
- package/dist/es/{DINOaKB4.js → 4kOEVHcG.js} +1 -1
- package/dist/es/{BMhOEL86.js → B5VHGvmO.js} +18 -12
- package/dist/es/{Nxjx0s3h.js → BM371CV8.js} +18 -12
- package/dist/es/{DbVz_9m0.js → BOFQ9ECg.js} +18 -12
- package/dist/es/{BNtwGyTL.js → BSEBGgaE.js} +18 -12
- package/dist/es/{BqgL9sJP.js → BaOl2MtS.js} +18 -12
- package/dist/es/{BiYSaYUc.js → BgLqygas.js} +18 -12
- package/dist/es/{DuyZf1Vo.js → C67VQmho.js} +18 -12
- package/dist/es/{DS-fbH3S.js → CNevsYHB.js} +18 -12
- package/dist/es/{C3QOlRLQ.js → Do-qZ-xC.js} +126 -92
- package/dist/es/{DXvyPOw8.js → tJtF43ws.js} +18 -12
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +18 -8
- package/dist/index.js +14 -13
- package/package.json +2 -2
- package/dist/cjs/Bz6nAOkq.cjs +0 -305
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,
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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.
|
|
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.
|
|
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
|
},
|