@sendbird/ai-agent-messenger-react 1.2.3 → 1.2.5
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/{Dr0IKtV9.cjs → B5U4XbGK.cjs} +1 -1
- package/dist/cjs/{BfJ7Izyu.cjs → BokUvJrm.cjs} +5 -5
- package/dist/cjs/{DKjB_ZFo.cjs → CXRPEuG-.cjs} +1 -1
- package/dist/cjs/{C-xAG8K6.cjs → CeP-jUfc.cjs} +1 -1
- package/dist/cjs/{D3l33ZWe.cjs → D6uDjEGT.cjs} +1 -1
- package/dist/cjs/{B3amOKMy.cjs → FrkbUcen.cjs} +1 -1
- package/dist/es/{CDvzufwm.js → 7Dvv5RpD.js} +1 -1
- package/dist/es/{CSENM0Ja.js → BsmWumox.js} +1 -1
- package/dist/es/{DnQv_mT2.js → ClNlgaQQ.js} +1 -1
- package/dist/es/{O53SSRM8.js → DPH4j4kU.js} +1 -1
- package/dist/es/{C5iCey_D.js → DX0dsMPA.js} +141 -140
- package/dist/es/{Cj-eLEq_.js → mlHVKYk3.js} +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
|
@@ -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 "./
|
|
3
|
+
import { P as a, I as l, a as c, c as s } from "./DX0dsMPA.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
|
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/BokUvJrm.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
|
@@ -1043,6 +1043,10 @@ declare interface MessengerSessionContextValue {
|
|
|
1043
1043
|
}
|
|
1044
1044
|
|
|
1045
1045
|
export declare interface MessengerSessionRef {
|
|
1046
|
+
activeChannel?: {
|
|
1047
|
+
url: string;
|
|
1048
|
+
status: ConversationStatus;
|
|
1049
|
+
};
|
|
1046
1050
|
chatSDK: AIAgentContextValue['chatSDK'];
|
|
1047
1051
|
deauthenticate: () => Promise<void>;
|
|
1048
1052
|
updateContext: (context: Record<string, string>) => Promise<ContextObject>;
|
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/
|
|
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/DX0dsMPA.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.2.
|
|
3
|
+
"version": "1.2.5",
|
|
4
4
|
"description": "Sendbird AI Agent Messenger for React",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -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.2.
|
|
48
|
+
"@sendbird/ai-agent-core": "1.2.5",
|
|
49
49
|
"@sendbird/vite-tools": "0.0.1"
|
|
50
50
|
},
|
|
51
51
|
"msw": {
|