@vlprojects-chat/chat 0.15.0 → 0.16.0
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.mjs +8 -5
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -28521,10 +28521,13 @@ function yS(e, t) {
|
|
|
28521
28521
|
}
|
|
28522
28522
|
var Sj = yS($te, { path: "/" }), h2 = /* @__PURE__ */ ((e) => (e.ACCESS_TOKEN = "ldChatAccessToken", e))(h2 || {});
|
|
28523
28523
|
const ene = "livedigital-chat", tne = "data-appId", nne = "data-chatid", rne = "data-apiUrl", wA = "poll-container", Ej = "main-container", one = () => Sj.get(h2.ACCESS_TOKEN), ine = (e) => {
|
|
28524
|
-
|
|
28525
|
-
|
|
28526
|
-
|
|
28527
|
-
|
|
28524
|
+
if (e) {
|
|
28525
|
+
const n = new Date(Date.now() + 1728e5);
|
|
28526
|
+
Sj.set(h2.ACCESS_TOKEN, e, {
|
|
28527
|
+
expires: n
|
|
28528
|
+
// 2 days
|
|
28529
|
+
});
|
|
28530
|
+
}
|
|
28528
28531
|
}, bS = 80, SA = 52, ol = {
|
|
28529
28532
|
HEADER: 10,
|
|
28530
28533
|
TOOLTIP_POPPER: 9,
|
|
@@ -39106,7 +39109,7 @@ const vP = {
|
|
|
39106
39109
|
}, gce = () => {
|
|
39107
39110
|
const e = pe.useContext(D2);
|
|
39108
39111
|
return e ? e.chatSnackbarContainer : null;
|
|
39109
|
-
}, vce = "@vlprojects-chat/chat", yce = "vlprojects", bce = "0.15.0
|
|
39112
|
+
}, vce = "@vlprojects-chat/chat", yce = "vlprojects", bce = "0.15.0", wce = "vlprojects chat", Sce = "ISC", Ece = "dist/index.d.ts", xce = "./dist/index.mjs", Cce = "./dist/index.mjs", Tce = [
|
|
39110
39113
|
"dist"
|
|
39111
39114
|
], Oce = {
|
|
39112
39115
|
type: "git",
|