@verba-ai/chat-sdk 1.0.7 → 1.0.8
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/chat-sdk.es.js
CHANGED
|
@@ -2921,6 +2921,7 @@ function ga() {
|
|
|
2921
2921
|
height: 600px;
|
|
2922
2922
|
box-shadow: 0 24px 64px rgba(0, 0, 0, 0.18), 0 8px 24px rgba(0, 0, 0, 0.12);
|
|
2923
2923
|
opacity: 0;
|
|
2924
|
+
display: none;
|
|
2924
2925
|
transform: translateY(12px) scale(0.97);
|
|
2925
2926
|
transform-origin: bottom right;
|
|
2926
2927
|
pointer-events: none;
|
|
@@ -3203,7 +3204,7 @@ class Aa {
|
|
|
3203
3204
|
}
|
|
3204
3205
|
buildWidgetUrl() {
|
|
3205
3206
|
const t = new URL(wa);
|
|
3206
|
-
if (t.searchParams.set("tag-id", this.config.tagId), t.searchParams.set("sdk-version", "1.0.
|
|
3207
|
+
if (t.searchParams.set("tag-id", this.config.tagId), t.searchParams.set("sdk-version", "1.0.8"), typeof this.config.theme == "object") {
|
|
3207
3208
|
const n = this.config.theme;
|
|
3208
3209
|
n.primaryColor && t.searchParams.set("color", n.primaryColor), n.textColor && t.searchParams.set("textColor", n.textColor), n.backgroundColor && t.searchParams.set("backgroundColor", n.backgroundColor), n.fontFamily && t.searchParams.set("fontFamily", n.fontFamily);
|
|
3209
3210
|
} else
|