@aikaara/chat-sdk 1.1.14 → 1.1.15
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/{MountTenant-B06QBb_3.cjs → MountTenant-CBNuUhDN.cjs} +2 -2
- package/dist/{MountTenant-CfeFONXt.mjs → MountTenant-CvzatZXg.mjs} +3 -1
- package/dist/cdn/aikaara-chat.iife.js +2 -2
- package/dist/headless.cjs +1 -1
- package/dist/headless.d.ts +10 -0
- package/dist/headless.mjs +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.d.ts +10 -0
- package/dist/index.mjs +2 -2
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +10 -0
- package/dist/ui.mjs +1 -1
- package/package.json +1 -1
|
@@ -12518,7 +12518,7 @@ class Gh {
|
|
|
12518
12518
|
this.client = new hh(e, {
|
|
12519
12519
|
uploadAdapter: r?.uploadAdapter,
|
|
12520
12520
|
historyAdapter: r?.historyAdapter
|
|
12521
|
-
}), this.isEmbed = e.display === "embed", this.bubble = t.querySelector("aikaara-chat-bubble"), this.panel = t.querySelector(".aikaara-panel"), this.header = t.querySelector("aikaara-chat-header"), this.messageList = t.querySelector("aikaara-message-list"), this.input = t.querySelector("aikaara-chat-input"), this.errorBanner = t.querySelector("aikaara-error-banner"), e.welcomeMessage && this.messageList.setWelcomeMessage(e.welcomeMessage), e.showTimestamps !== void 0 && this.messageList.setShowTimestamps(e.showTimestamps), (e.linkHandlers || e.getLinkBearer) && this.messageList.setLinkConfig(e.linkHandlers ?? [], e.getLinkBearer), this.wireEvents();
|
|
12521
|
+
}), this.isEmbed = e.display === "embed", this.bubble = t.querySelector("aikaara-chat-bubble"), this.panel = t.querySelector(".aikaara-panel"), this.header = t.querySelector("aikaara-chat-header"), this.messageList = t.querySelector("aikaara-message-list"), this.input = t.querySelector("aikaara-chat-input"), this.errorBanner = t.querySelector("aikaara-error-banner"), e.welcomeMessage && this.messageList.setWelcomeMessage(e.welcomeMessage), e.showTimestamps !== void 0 && this.messageList.setShowTimestamps(e.showTimestamps), (e.linkHandlers || e.getLinkBearer) && this.messageList.setLinkConfig(e.linkHandlers ?? [], e.getLinkBearer), e.chatActions !== void 0 && this.header.setActions(e.chatActions), this.wireEvents();
|
|
12522
12522
|
}
|
|
12523
12523
|
async connect() {
|
|
12524
12524
|
try {
|
|
@@ -12736,6 +12736,7 @@ class Kh extends HTMLElement {
|
|
|
12736
12736
|
timestampFormat: this._config.timestampFormat,
|
|
12737
12737
|
input: this._config.input,
|
|
12738
12738
|
templateLayout: this._config.templateLayout,
|
|
12739
|
+
chatActions: this._config.chatActions,
|
|
12739
12740
|
showBubble: this._config.showBubble ?? !0,
|
|
12740
12741
|
display: (this.getAttribute("display") || this._config.display) ?? "popup",
|
|
12741
12742
|
offset: this._config.offset || ql,
|
|
@@ -16675,6 +16676,7 @@ async function lf(l) {
|
|
|
16675
16676
|
timestampFormat: e.timestampFormat,
|
|
16676
16677
|
input: e.input,
|
|
16677
16678
|
templateLayout: e.templateLayout,
|
|
16679
|
+
chatActions: e.chatActions,
|
|
16678
16680
|
tiledesk: p,
|
|
16679
16681
|
tiledeskIdentity: {
|
|
16680
16682
|
userId: n,
|