@encatch/web-sdk 0.0.13 → 0.0.14

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.
@@ -1,4 +1,4 @@
1
- import { l as da, x as bv, k as up, t as vv, u as Ps } from "./module-CGKWqAgY.js";
1
+ import { l as da, x as bv, k as up, t as vv, u as Ps } from "./module-BT0v0qUn.js";
2
2
  var is, zt, pc, yd, os = 0, dp = [], Ut = da, _d = Ut.__b, xd = Ut.__r, kd = Ut.diffed, Sd = Ut.__c, $d = Ut.unmount, Td = Ut.__;
3
3
  function Wl(e, t) {
4
4
  Ut.__h && Ut.__h(zt, e, os || t), os = 0;
@@ -20829,7 +20829,7 @@ function HM(e, t) {
20829
20829
  backgroundColor: "#fff"
20830
20830
  }
20831
20831
  })), i = w(t, "currentMode", 12, "light"), o = w(t, "currentLanguage", 28, () => ({ value: "en", label: "en", isFixed: !0 })), s = w(t, "questions", 28, () => ({})), a = w(t, "questionLanguages", 28, () => []), u = w(t, "otherConfigurationProperties", 12, null), c = w(t, "welcomeScreenProperties", 12, null), d = w(t, "endScreenProperties", 12, null), m = w(t, "translations", 28, () => ({})), h = w(t, "sections", 28, () => []), p = w(t, "themeSettings", 12, null), g = w(t, "onClose", 12, void 0), _ = w(t, "onSectionChange", 12, void 0), C = w(t, "apiKey", 12, void 0), M = w(t, "hostUrl", 12, void 0), q = w(t, "feedbackConfigId", 12, void 0), A = w(t, "identifier", 12, void 0), k = w(t, "cssLink", 12, void 0), T = w(t, "scale", 12, 100), L = w(t, "persistMode", 12, "none"), b = w(t, "instanceId", 12, void 0);
20832
- const y = "https://app.dev.encatch.com/s/index.css";
20832
+ const y = "https://app.dev.encatch.com/s/index-latest.css";
20833
20833
  let $ = /* @__PURE__ */ ee(!1), D = /* @__PURE__ */ ee(!1), I = /* @__PURE__ */ ee(!1), P = /* @__PURE__ */ ee();
20834
20834
  const te = (S) => {
20835
20835
  if (!S) return null;
@@ -24223,13 +24223,13 @@ const KO = () => {
24223
24223
  p
24224
24224
  ]);
24225
24225
  const G = [];
24226
- return c && o && R && (G.push("https://app.dev.encatch.com/s/index.css"), c?.appearanceProperties?.featureSettings?.customCss && G.push(c.appearanceProperties.featureSettings.customCss), r.customCssLink && G.push(r.customCssLink)), /* @__PURE__ */ Ps(up, { children: [
24226
+ return c && o && R && (G.push("https://app.dev.encatch.com/s/index-latest.css"), c?.appearanceProperties?.featureSettings?.customCss && G.push(c.appearanceProperties.featureSettings.customCss), r.customCssLink && G.push(r.customCssLink)), /* @__PURE__ */ Ps(up, { children: [
24227
24227
  /* @__PURE__ */ Ps(
24228
24228
  "link",
24229
24229
  {
24230
24230
  rel: "preload",
24231
24231
  as: "style",
24232
- href: "https://app.dev.encatch.com/s/index.css"
24232
+ href: "https://app.dev.encatch.com/s/index-latest.css"
24233
24233
  }
24234
24234
  ),
24235
24235
  c && c !== null && o && o !== null && R && /* @__PURE__ */ Ps(
@@ -319,7 +319,7 @@ async function Ee() {
319
319
  if (!(te || typeof window > "u" || typeof document > "u")) {
320
320
  te = !0;
321
321
  try {
322
- const { render: t } = await Promise.resolve().then(() => be), e = (await import("./core-wrapper-CAKT3nVS.js")).default;
322
+ const { render: t } = await Promise.resolve().then(() => be), e = (await import("./core-wrapper-CN7qr0lD.js")).default;
323
323
  if (typeof document > "u") return;
324
324
  let n = document.getElementById("enisght-root");
325
325
  !n && document.body && (n = document.createElement("div"), n.id = "enisght-root", document.body.appendChild(n)), n && t(/* @__PURE__ */ Se(e, {}), n);
@@ -1,4 +1,4 @@
1
- import { E as e, e as t } from "./module-CGKWqAgY.js";
1
+ import { E as e, e as t } from "./module-BT0v0qUn.js";
2
2
  export {
3
3
  e as Encatch,
4
4
  t as encatch
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@encatch/web-sdk",
3
- "version": "0.0.13",
3
+ "version": "0.0.14",
4
4
  "description": "A powerful, lightweight JavaScript SDK for collecting user feedback and running surveys on web applications",
5
5
  "type": "module",
6
6
  "main": "dist-sdk/plugin/sdk/module.js",