@verba-ai/chat-sdk 1.0.4 → 1.0.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/chat-sdk.es.js
CHANGED
|
@@ -3187,7 +3187,7 @@ class Aa {
|
|
|
3187
3187
|
}
|
|
3188
3188
|
buildWidgetUrl() {
|
|
3189
3189
|
const t = new URL(wa);
|
|
3190
|
-
if (t.searchParams.set("
|
|
3190
|
+
if (t.searchParams.set("tag-id", this.config.tenant), t.searchParams.set("sdk-version", "1.0.5"), typeof this.config.theme == "object") {
|
|
3191
3191
|
const n = this.config.theme;
|
|
3192
3192
|
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);
|
|
3193
3193
|
} else
|