@appcues/web-sdk 7.20.5 → 7.20.6

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.
Files changed (15) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/build/{bootstrap.npm.BzMfG0gZ.js → bootstrap.npm.BaIPiHsl.js} +10 -10
  3. package/build/{index.DMYl6zRT.js → index.B5p4CZC0.js} +1 -1
  4. package/build/{index.npm.BOVoqi5a.js → index.npm.DiyQuxB2.js} +1 -1
  5. package/build/index.npm.js +1 -1
  6. package/build/{open-builder.BiuFpS3-.js → open-builder.wAjF_CFl.js} +2 -6
  7. package/package.json +1 -1
  8. /package/build/{checklist.7a2c18aec9182dc963b6066f76aa88ba9a976026.css → checklist.d1abccc98d1663c45b640c25283d5c7d896fb40d.css} +0 -0
  9. /package/build/{container.7a2c18aec9182dc963b6066f76aa88ba9a976026.css → container.d1abccc98d1663c45b640c25283d5c7d896fb40d.css} +0 -0
  10. /package/build/{debugger.7a2c18aec9182dc963b6066f76aa88ba9a976026.css → debugger.d1abccc98d1663c45b640c25283d5c7d896fb40d.css} +0 -0
  11. /package/build/{modal-step-legacy-render.7a2c18aec9182dc963b6066f76aa88ba9a976026.css → modal-step-legacy-render.d1abccc98d1663c45b640c25283d5c7d896fb40d.css} +0 -0
  12. /package/build/{modal.7a2c18aec9182dc963b6066f76aa88ba9a976026.css → modal.d1abccc98d1663c45b640c25283d5c7d896fb40d.css} +0 -0
  13. /package/build/{satisfaction-survey.7a2c18aec9182dc963b6066f76aa88ba9a976026.css → satisfaction-survey.d1abccc98d1663c45b640c25283d5c7d896fb40d.css} +0 -0
  14. /package/build/{test-mode.7a2c18aec9182dc963b6066f76aa88ba9a976026.css → test-mode.d1abccc98d1663c45b640c25283d5c7d896fb40d.css} +0 -0
  15. /package/build/{tooltip.7a2c18aec9182dc963b6066f76aa88ba9a976026.css → tooltip.d1abccc98d1663c45b640c25283d5c7d896fb40d.css} +0 -0
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @appcues/web-sdk
2
2
 
3
+ ## 7.20.5
4
+
5
+ ### Patch Changes
6
+
7
+ - 7a2c18a: Fix launchpad and embeds "freezing" after user property change
8
+
3
9
  ## 7.20.4
4
10
 
5
11
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { C as X, a as Wn, A as _t, M as Xd, b as Jd, c as ie, d as zt, V as wo, e as wr, f as Xe, g as kt, B as gt, T as Qi, h as Qd, i as Zd, j as ef, k as Qo, l as Mn, F as Y, G as Zo, m as Yl, E as fn, n as tf, D as es, o as nf, p as Ni, L as De, S as rc, q as ts, r as ve, s as Xt, t as ns, N as $n, u as zl, v as rf, w as No, W as of, x as hi, y as sf, z as wn, U as rs, H as cf, I as lf, J as is, K as pn, O as ko, P as xr, Q as mi, R as af, X as Zi, Y as Xl, Z as Vn, _ as eo, $ as Un, a0 as Oo, a1 as ic, a2 as Gn, a3 as uf } from "./index.npm.BOVoqi5a.js";
1
+ import { C as X, a as Wn, A as _t, M as Xd, b as Jd, c as ie, d as zt, V as wo, e as wr, f as Xe, g as kt, B as gt, T as Qi, h as Qd, i as Zd, j as ef, k as Qo, l as Mn, F as Y, G as Zo, m as Yl, E as fn, n as tf, D as es, o as nf, p as Ni, L as De, S as rc, q as ts, r as ve, s as Xt, t as ns, N as $n, u as zl, v as rf, w as No, W as of, x as hi, y as sf, z as wn, U as rs, H as cf, I as lf, J as is, K as pn, O as ko, P as xr, Q as mi, R as af, X as Zi, Y as Xl, Z as Vn, _ as eo, $ as Un, a0 as Oo, a1 as ic, a2 as Gn, a3 as uf } from "./index.npm.DiyQuxB2.js";
2
2
  var df = Object.assign || function(e) {
3
3
  for (var t = 1; t < arguments.length; t++) {
4
4
  var n = arguments[t];
@@ -2175,7 +2175,7 @@ function jt(e) {
2175
2175
  }
2176
2176
  return `https://fast.appcues.com${e}`;
2177
2177
  }
2178
- const Jh = "/generic/main/7.20.5/checklist.7a2c18aec9182dc963b6066f76aa88ba9a976026.css", Qh = "sha256-B3IM66R3am8teThQaWvlSxHaPUFXo+mNdS8RK5z2nsw=", so = jt(Jh), co = 30, Zh = -300, em = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/";
2178
+ const Jh = "/generic/main/7.20.6/checklist.d1abccc98d1663c45b640c25283d5c7d896fb40d.css", Qh = "sha256-B3IM66R3am8teThQaWvlSxHaPUFXo+mNdS8RK5z2nsw=", so = jt(Jh), co = 30, Zh = -300, em = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/";
2179
2179
  let pr = null, hr = null, mr = null, Qr = null;
2180
2180
  const tm = (e) => {
2181
2181
  const {
@@ -6044,7 +6044,7 @@ function Os(e, t, n, r) {
6044
6044
  Bh(e.defaultView, i), window.setTimeout(i, 200);
6045
6045
  }
6046
6046
  }
6047
- const Qg = "/generic/main/7.20.5/modal.7a2c18aec9182dc963b6066f76aa88ba9a976026.css", Zg = "/generic/main/7.20.5/modal-step-legacy-render.7a2c18aec9182dc963b6066f76aa88ba9a976026.css", ey = "sha256-4/hpW9ONoiD80NHCgX4Nn/iogB1Wblm1nx1DUXqgDZk=", ty = "sha256-Ea5gC5g6QacVSWApI6ApmuZheqr4EDl50hD7GyRsaz0=", ny = jt(Zg), ni = jt(Qg), ol = /* @__PURE__ */ new Set(["shorty", "slideout"]);
6047
+ const Qg = "/generic/main/7.20.6/modal.d1abccc98d1663c45b640c25283d5c7d896fb40d.css", Zg = "/generic/main/7.20.6/modal-step-legacy-render.d1abccc98d1663c45b640c25283d5c7d896fb40d.css", ey = "sha256-4/hpW9ONoiD80NHCgX4Nn/iogB1Wblm1nx1DUXqgDZk=", ty = "sha256-Ea5gC5g6QacVSWApI6ApmuZheqr4EDl50hD7GyRsaz0=", ny = jt(Zg), ni = jt(Qg), ol = /* @__PURE__ */ new Set(["shorty", "slideout"]);
6048
6048
  function sl(e) {
6049
6049
  if (!e) return;
6050
6050
  const { style: t } = e, n = t.transform;
@@ -6316,7 +6316,7 @@ function sy({ patternType: e, hidden: t }) {
6316
6316
  }
6317
6317
  );
6318
6318
  }
6319
- const cy = "/generic/main/7.20.5/tooltip.7a2c18aec9182dc963b6066f76aa88ba9a976026.css", ly = "sha256-9y1o/fRpWDU82ZWAjihfIJSZnx+knnDTkr5DYPSqYhg=", ri = jt(cy), ll = "//twemoji.maxcdn.com/2/svg/", ay = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Ar = "hs", al = "pattern-title", ul = "Hide these tips";
6319
+ const cy = "/generic/main/7.20.6/tooltip.d1abccc98d1663c45b640c25283d5c7d896fb40d.css", ly = "sha256-9y1o/fRpWDU82ZWAjihfIJSZnx+knnDTkr5DYPSqYhg=", ri = jt(cy), ll = "//twemoji.maxcdn.com/2/svg/", ay = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Ar = "hs", al = "pattern-title", ul = "Hide these tips";
6320
6320
  function uy(e, t) {
6321
6321
  return {
6322
6322
  skippable: e.skippable,
@@ -7611,7 +7611,7 @@ function Dy(e) {
7611
7611
  )
7612
7612
  )));
7613
7613
  }
7614
- const Uy = "/generic/main/7.20.5/satisfaction-survey.7a2c18aec9182dc963b6066f76aa88ba9a976026.css", Fy = "sha256-sxJdJpfLXrOLqMGRB1bfYQKkawXgstmlKYOqA1Z9CPo=", yo = jt(Uy);
7614
+ const Uy = "/generic/main/7.20.6/satisfaction-survey.d1abccc98d1663c45b640c25283d5c7d896fb40d.css", Fy = "sha256-sxJdJpfLXrOLqMGRB1bfYQKkawXgstmlKYOqA1Z9CPo=", yo = jt(Uy);
7615
7615
  let gl, ii;
7616
7616
  function Hy(e) {
7617
7617
  const t = Te(e), n = Ur(e), r = je(e), i = it(e), o = at(e), s = Qt(e, o), c = i[s], l = t.attributes.pattern_type, { position: a } = t.attributes, d = e.views.callbacks[X.SATISFACTION_SURVEY], f = n.cssLoaded, m = Bi(e.settings), p = r !== ie.SHOWING;
@@ -10173,7 +10173,7 @@ const OT = b(
10173
10173
  return window.createAppcues(n);
10174
10174
  }, td = async () => {
10175
10175
  if (typeof window.createAppcues != "function") {
10176
- const e = await import("./open-builder.BiuFpS3-.js");
10176
+ const e = await import("./open-builder.wAjF_CFl.js");
10177
10177
  window.createAppcues = e.default;
10178
10178
  }
10179
10179
  }, MT = async () => (await td(), HT), nd = "EVENTS_TRIGGERED", $T = b(nd), Fs = b(It.SET_SESSION), Hs = b(It.START_SESSION), BT = b(It.SESSION_STARTED);
@@ -13014,7 +13014,7 @@ function Ml({ user: e }) {
13014
13014
  };
13015
13015
  return /* @__PURE__ */ u.html("table", null, /* @__PURE__ */ u.html("thead", null, /* @__PURE__ */ u.html("tr", null, /* @__PURE__ */ u.html("th", null, "Property"), /* @__PURE__ */ u.html("th", null, "Value"))), /* @__PURE__ */ u.html("tbody", null, n.sort(r).map((i) => /* @__PURE__ */ u.html("tr", null, /* @__PURE__ */ u.html("td", null, i.name), /* @__PURE__ */ u.html("td", null, JSON.stringify(i.value))))));
13016
13016
  }
13017
- const $_ = "/generic/main/7.20.5/debugger.7a2c18aec9182dc963b6066f76aa88ba9a976026.css", B_ = "sha256-LMjol9lu4iFfr9P6lIri9GX+onG7x+pqiR+EzoaK2sU=", W_ = jt($_), vo = tr(
13017
+ const $_ = "/generic/main/7.20.6/debugger.d1abccc98d1663c45b640c25283d5c7d896fb40d.css", B_ = "sha256-LMjol9lu4iFfr9P6lIri9GX+onG7x+pqiR+EzoaK2sU=", W_ = jt($_), vo = tr(
13018
13018
  [
13019
13019
  or,
13020
13020
  ir,
@@ -13118,7 +13118,7 @@ const q_ = "https://docs.appcues.com/user-experiences-faq/faq-test-mode", K_ = (
13118
13118
  },
13119
13119
  "Restart"
13120
13120
  ), /* @__PURE__ */ u.html("div", { "class-clickable": !0, "on-click": t.onCancelClicked }, "End Test"))));
13121
- }, Y_ = "/generic/main/7.20.5/test-mode.7a2c18aec9182dc963b6066f76aa88ba9a976026.css", z_ = "sha256-nd0yl8XfotWCT+9jaAUZdIayDPvnbBNhrvbhzXcWLNs=", X_ = jt(Y_), Ao = tr(
13121
+ }, Y_ = "/generic/main/7.20.6/test-mode.d1abccc98d1663c45b640c25283d5c7d896fb40d.css", z_ = "sha256-nd0yl8XfotWCT+9jaAUZdIayDPvnbBNhrvbhzXcWLNs=", X_ = jt(Y_), Ao = tr(
13122
13122
  [
13123
13123
  or,
13124
13124
  ir,
@@ -14244,7 +14244,7 @@ function* uv({ payload: e }) {
14244
14244
  (o) => o.type === "launchpad"
14245
14245
  );
14246
14246
  if (i) {
14247
- yield import("./index.DMYl6zRT.js");
14247
+ yield import("./index.B5p4CZC0.js");
14248
14248
  const o = yield A(Te);
14249
14249
  if (!(o?.type === X.HOTSPOTS) && o) {
14250
14250
  const { experiences: c, launchpads: l } = bi(n);
@@ -15183,7 +15183,7 @@ function* yA() {
15183
15183
  o.length > 0 && (yield g(jl, o)), e.close(), t.close();
15184
15184
  }
15185
15185
  }
15186
- const SA = "/generic/main/7.20.5/container.7a2c18aec9182dc963b6066f76aa88ba9a976026.css", TA = "sha256-hDvMQUFhRDDvNjMfTY9We9v9kJw7VBaXX8yL5nYcIcA=";
15186
+ const SA = "/generic/main/7.20.6/container.d1abccc98d1663c45b640c25283d5c7d896fb40d.css", TA = "sha256-hDvMQUFhRDDvNjMfTY9We9v9kJw7VBaXX8yL5nYcIcA=";
15187
15187
  window.performance && window.performance.mark && window.performance.mark("apc-init");
15188
15188
  yT();
15189
15189
  const Tt = window.AppcuesBundleSettings;
@@ -1,4 +1,4 @@
1
- import { c as ut, g as Ve, o as We, a as Ze, n as te, b as Fe } from "./bootstrap.npm.BzMfG0gZ.js";
1
+ import { c as ut, g as Ve, o as We, a as Ze, n as te, b as Fe } from "./bootstrap.npm.BaIPiHsl.js";
2
2
  const pt = window, Vt = pt.ShadowRoot && (pt.ShadyCSS === void 0 || pt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Wt = /* @__PURE__ */ Symbol(), ee = /* @__PURE__ */ new WeakMap();
3
3
  let xe = class {
4
4
  constructor(t, i, s) {
@@ -223,7 +223,7 @@ function u(s, e, t) {
223
223
  };
224
224
  }
225
225
  async function d() {
226
- const { default: s } = await import("./bootstrap.npm.BzMfG0gZ.js").then((e) => e.d);
226
+ const { default: s } = await import("./bootstrap.npm.BaIPiHsl.js").then((e) => e.d);
227
227
  window.Appcues = s, T = !0;
228
228
  }
229
229
  async function l(s) {
@@ -1,4 +1,4 @@
1
- import { a5 as s, a4 as t } from "./index.npm.BOVoqi5a.js";
1
+ import { a5 as s, a4 as t } from "./index.npm.DiyQuxB2.js";
2
2
  export {
3
3
  s as default,
4
4
  t as setup
@@ -5710,11 +5710,7 @@ const Ud = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5710
5710
  },
5711
5711
  {
5712
5712
  target: "reloading_traits",
5713
- actions: [
5714
- "setVirtualizedContent",
5715
- "updateStepContext",
5716
- "rebindActions"
5717
- ],
5713
+ actions: ["setVirtualizedContent", "updateStepContext"],
5718
5714
  cond: "shouldOnlyReloadTraits"
5719
5715
  },
5720
5716
  {
@@ -5794,7 +5790,7 @@ const Ud = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5794
5790
  }
5795
5791
  },
5796
5792
  reloading_traits: {
5797
- entry: ["runStepEndHooks", "runStepBeginHooks"],
5793
+ entry: ["runStepEndHooks", "rebindActions", "runStepBeginHooks"],
5798
5794
  // Only run for the changed traits
5799
5795
  on: {
5800
5796
  // Certain traits can dispatch errors while in begin state
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcues/web-sdk",
3
- "version": "7.20.5",
3
+ "version": "7.20.6",
4
4
  "description": "The Appcues Javascript SDK",
5
5
  "main": "build/index.npm.js",
6
6
  "types": "build/index.npm.d.ts",