bstp-agent-widget 0.2.79 → 0.2.81
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/agent-widget.js
CHANGED
|
@@ -28657,8 +28657,8 @@ function PF() {
|
|
|
28657
28657
|
return;
|
|
28658
28658
|
}
|
|
28659
28659
|
let l = nk(e), u = await rk(e);
|
|
28660
|
-
if (!
|
|
28661
|
-
p("Missing customer
|
|
28660
|
+
if (!u) {
|
|
28661
|
+
p("Missing customer token.");
|
|
28662
28662
|
return;
|
|
28663
28663
|
}
|
|
28664
28664
|
d(!0), p(null);
|
|
@@ -28668,7 +28668,7 @@ function PF() {
|
|
|
28668
28668
|
chat_id: s,
|
|
28669
28669
|
assistant_id: a,
|
|
28670
28670
|
is_sync: !0,
|
|
28671
|
-
unique_user_id: l,
|
|
28671
|
+
...l ? { unique_user_id: l } : {},
|
|
28672
28672
|
tool_headers: { _default: { Authorization: `Bearer ${u}` } }
|
|
28673
28673
|
} }));
|
|
28674
28674
|
if (!e) return;
|
|
@@ -33534,7 +33534,7 @@ var zB = RB(), BB = {
|
|
|
33534
33534
|
apiPaths: {
|
|
33535
33535
|
crm: "/crm",
|
|
33536
33536
|
uiAuthz: "/ui-authz",
|
|
33537
|
-
genai: "genai/api/v1"
|
|
33537
|
+
genai: "/genai/api/v1"
|
|
33538
33538
|
}
|
|
33539
33539
|
},
|
|
33540
33540
|
keycloak: {
|