@appcues/web-sdk 7.25.1 → 7.26.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.
@@ -1 +1 @@
1
- {"version":3,"file":"websocket.d.ts","sourceRoot":"","sources":["../../../src/scripts/data/transports/websocket.js"],"names":[],"mappings":";IA4JU,uFAUP;IAEK,gGAmCL;IAEiB,yEAGjB;IAEY,oEAKZ;IAEa,2CAOb;IAEU,gEA6BV"}
1
+ {"version":3,"file":"websocket.d.ts","sourceRoot":"","sources":["../../../src/scripts/data/transports/websocket.js"],"names":[],"mappings":";IAyLU,uFAsCP;IAEK,gGAmCL;IAEiB,yEAQjB;IAEY,oEAKZ;IAEa,2CAOb;IAEU,gEA6BV"}
@@ -35,7 +35,7 @@ function s(e, t, n) {
35
35
  };
36
36
  }
37
37
  async function c() {
38
- let { default: e } = await import("./bootstrap.npm.D9rMPDG3.js");
38
+ let { default: e } = await import("./bootstrap.npm.ScfEaBCC.js");
39
39
  window.Appcues = e, i = !0;
40
40
  }
41
41
  async function l(e) {
@@ -5870,15 +5870,15 @@ var hs = /* @__PURE__ */ u(ps(), 1), gs = typeof hs.default == "function" ? hs.d
5870
5870
  }, ws = (e) => {
5871
5871
  if (typeof e == "string") return ys(e);
5872
5872
  if (e == null) return la([]);
5873
- let { is: t = "div", children: n = [], style: r, behaviors: i, ...a } = e.props, { state: o, ...s } = r ?? {}, c = e.props.id, l = e.props[_s], u = ca(t, {
5874
- ...Object.keys(s).length > 0 && { style: s },
5875
- ...Object.keys(a).length > 0 && { attrs: a }
5873
+ let { is: t = "div", children: n = [], style: r, behaviors: i, htmlCode: a, ...o } = e.props, { state: s, ...c } = r ?? {}, l = e.props.id, u = e.props[_s], d = ca(t, {
5874
+ ...Object.keys(c).length > 0 && { style: c },
5875
+ ...Object.keys(o).length > 0 && { attrs: o }
5876
5876
  }, n.map(ws));
5877
- return o ? la([ca("style", bs({
5878
- nodeId: c,
5879
- interactionId: l,
5880
- state: o
5881
- })), u]) : u;
5877
+ return s ? la([ca("style", bs({
5878
+ nodeId: l,
5879
+ interactionId: u,
5880
+ state: s
5881
+ })), d]) : d;
5882
5882
  }, Ts = (e, t) => {
5883
5883
  let n = t(xs(e)) ?? {};
5884
5884
  return {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcues/web-sdk",
3
- "version": "7.25.1",
3
+ "version": "7.26.0",
4
4
  "description": "The Appcues Javascript SDK",
5
5
  "main": "build/index.npm.js",
6
6
  "types": "build/index.npm.d.ts",