@encatch/web-sdk 0.0.30-beta.0 → 0.0.30

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 oa, x as Zb, k as Ph, t as Wb, u as As } from "./module-Bz2cskno.js";
1
+ import { l as oa, x as Zb, k as Ph, t as Wb, u as As } from "./module-CnLkzFTr.js";
2
2
  var Jo, Dt, hc, td, Xo = 0, Fh = [], Ut = oa, rd = Ut.__b, nd = Ut.__r, id = Ut.diffed, od = Ut.__c, sd = Ut.unmount, ad = Ut.__;
3
3
  function ql(e, t) {
4
4
  Ut.__h && Ut.__h(Dt, e, Xo || t), Xo = 0;
@@ -23242,7 +23242,7 @@ const Dh = (e) => {
23242
23242
  return;
23243
23243
  }
23244
23244
  if (window.encatch.config.setUser) {
23245
- const { userId: de, traits: ne } = window.encatch.config.setUser;
23245
+ const { userName: de, properties: ne } = window.encatch.config.setUser;
23246
23246
  de && wt(de, ne);
23247
23247
  }
23248
23248
  r.autoStartEnabled === !0 && ot({
@@ -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-C7gYOoB6.js")).default;
322
+ const { render: t } = await Promise.resolve().then(() => be), e = (await import("./core-wrapper-Bv0Roeyg.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-Bz2cskno.js";
1
+ import { E as e, e as t } from "./module-CnLkzFTr.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.30-beta.0",
3
+ "version": "0.0.30",
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",
@@ -54,9 +54,9 @@
54
54
  "@preact/preset-vite": "^2.10.2",
55
55
  "vite": "^7.2.4",
56
56
  "@encatch/web-form-engine-core": "0.0.0",
57
- "@encatch/event-publisher": "0.0.1",
57
+ "@encatch/schema": "0.1.36",
58
58
  "@encatch/api-sdk": "0.0.10",
59
- "@encatch/schema": "0.1.36"
59
+ "@encatch/event-publisher": "0.0.1"
60
60
  },
61
61
  "eslintConfig": {
62
62
  "extends": "preact"