@ujet/websdk-headless 6.37.1 → 6.39.1
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/index.js +1 -1
- package/dist/index.mjs +3 -3
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -773,7 +773,7 @@ const j6 = (r) => {
|
|
|
773
773
|
const s = t.slice(n, n + i);
|
|
774
774
|
return n += i, s;
|
|
775
775
|
}).join("-");
|
|
776
|
-
}, Zbe = "prod", LO = "6.
|
|
776
|
+
}, Zbe = "prod", LO = "6.39.1", XC = "https://main.api.ujet.co", ri = {
|
|
777
777
|
companyId: "",
|
|
778
778
|
tenant: "",
|
|
779
779
|
trackerId: "",
|
|
@@ -2465,14 +2465,14 @@ class KW {
|
|
|
2465
2465
|
var l;
|
|
2466
2466
|
let t = e.host;
|
|
2467
2467
|
t || (e.tenant ? t = XC.replace("main.api", e.tenant) : t = XC);
|
|
2468
|
-
const n = e.lang || "en", i = !!((l = e.cobrowse) != null && l.enabled), a = (e.bridge || "https://websdk.ujet.co/v3/bridge.html") + "?6.
|
|
2468
|
+
const n = e.lang || "en", i = !!((l = e.cobrowse) != null && l.enabled), a = (e.bridge || "https://websdk.ujet.co/v3/bridge.html") + "?6.39.1", c = /^https:/.test(a) ? new URL(a).origin : "*", o = ["twilio_chat", "nexmo_chat", "ujet_chat"];
|
|
2469
2469
|
i && o.push("cobrowse"), this.config = {
|
|
2470
2470
|
host: t,
|
|
2471
2471
|
lang: n,
|
|
2472
2472
|
cobrowse: i,
|
|
2473
2473
|
companyId: e.companyId,
|
|
2474
2474
|
location: location.href,
|
|
2475
|
-
version: e.version || "6.
|
|
2475
|
+
version: e.version || "6.39.1",
|
|
2476
2476
|
bridge: a,
|
|
2477
2477
|
bridgeOrigin: c,
|
|
2478
2478
|
modules: o
|