@glydeunity/voice-sdk 1.6.9 → 1.6.10
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/voice-sdk.es.js
CHANGED
|
@@ -13468,7 +13468,7 @@ let tl = null, Zl = null;
|
|
|
13468
13468
|
const kl = /* @__PURE__ */ new Map(), zf = {
|
|
13469
13469
|
/**
|
|
13470
13470
|
* Initialize the chat widget
|
|
13471
|
-
*
|
|
13471
|
+
*
|
|
13472
13472
|
* @param config - Widget configuration
|
|
13473
13473
|
* @returns Control object for the widget
|
|
13474
13474
|
*/
|
|
@@ -13515,7 +13515,7 @@ const kl = /* @__PURE__ */ new Map(), zf = {
|
|
|
13515
13515
|
},
|
|
13516
13516
|
/**
|
|
13517
13517
|
* Render widget into a specific container (non-floating)
|
|
13518
|
-
*
|
|
13518
|
+
*
|
|
13519
13519
|
* @param container - DOM element or selector
|
|
13520
13520
|
* @param config - Widget configuration
|
|
13521
13521
|
*/
|
|
@@ -13643,7 +13643,7 @@ function Jg() {
|
|
|
13643
13643
|
}, Z = async () => {
|
|
13644
13644
|
let k = $;
|
|
13645
13645
|
const ot = await Kg(B, o);
|
|
13646
|
-
ot && (k = { ...k, contextType: ot.contextType, contextId: ot.contextId }, console.log("[GlydeChat] Screen token applied: contextType=
|
|
13646
|
+
ot && (k = { ...k, contextType: ot.contextType.trim(), contextId: ot.contextId.trim() }, console.log("[GlydeChat] Screen token applied: contextType=", ot.contextType, "contextId=", ot.contextId)), I(k);
|
|
13647
13647
|
}, J = () => {
|
|
13648
13648
|
Z();
|
|
13649
13649
|
};
|