@skippr/live-agent-sdk 0.20.0 → 0.21.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/esm/lib-exports.js +14 -12
- package/dist/skippr-sdk.js +1 -1
- package/package.json +1 -1
package/dist/esm/lib-exports.js
CHANGED
|
@@ -1856,25 +1856,27 @@ function LiveAgent({
|
|
|
1856
1856
|
auth.logout,
|
|
1857
1857
|
auth.isSubmitting
|
|
1858
1858
|
]);
|
|
1859
|
-
const
|
|
1859
|
+
const sdkWidgets = /* @__PURE__ */ jsxs12(Fragment3, {
|
|
1860
1860
|
children: [
|
|
1861
1861
|
connection && /* @__PURE__ */ jsx16(RoomAudioRenderer, {}),
|
|
1862
1862
|
isMinimized && /* @__PURE__ */ jsx16(MinimizedBubble, {}),
|
|
1863
1863
|
/* @__PURE__ */ jsx16(SidebarTrigger, {}),
|
|
1864
|
-
/* @__PURE__ */ jsx16(Sidebar, {})
|
|
1865
|
-
children
|
|
1864
|
+
/* @__PURE__ */ jsx16(Sidebar, {})
|
|
1866
1865
|
]
|
|
1867
1866
|
});
|
|
1868
|
-
return /* @__PURE__ */
|
|
1867
|
+
return /* @__PURE__ */ jsxs12(LiveAgentContext.Provider, {
|
|
1869
1868
|
value: ctx,
|
|
1870
|
-
children:
|
|
1871
|
-
|
|
1872
|
-
|
|
1873
|
-
|
|
1874
|
-
|
|
1875
|
-
|
|
1876
|
-
|
|
1877
|
-
|
|
1869
|
+
children: [
|
|
1870
|
+
connection ? /* @__PURE__ */ jsx16(LiveKitRoom, {
|
|
1871
|
+
serverUrl: connection.livekitUrl,
|
|
1872
|
+
token: connection.token,
|
|
1873
|
+
connect: shouldConnect,
|
|
1874
|
+
audio: true,
|
|
1875
|
+
onDisconnected: disconnect,
|
|
1876
|
+
children: sdkWidgets
|
|
1877
|
+
}) : sdkWidgets,
|
|
1878
|
+
children
|
|
1879
|
+
]
|
|
1878
1880
|
});
|
|
1879
1881
|
}
|
|
1880
1882
|
export {
|