@appcues/web-sdk 7.7.2 → 7.7.3

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @appcues/web-sdk
2
2
 
3
+ ## 7.7.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 5f0784e: styles integrity hash are now generated with SHA prefix following the spec
8
+
3
9
  ## 7.7.2
4
10
 
5
11
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { c as vt, g as gi, o as mi, a as $i, n as fe, b as bi } from "./index.3f0Mx_oK.js";
1
+ import { c as vt, g as gi, o as mi, a as $i, n as fe, b as bi } from "./index.D45Gl5M1.js";
2
2
  const gt = window, ie = gt.ShadowRoot && (gt.ShadyCSS === void 0 || gt.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, We = Symbol(), ve = /* @__PURE__ */ new WeakMap();
3
3
  let yi = class {
4
4
  constructor(t, e, s) {
@@ -1,4 +1,4 @@
1
- import { C as z, a as Un, A as Tt, M as Cd, b as _d, c as te, d as Wt, V as go, e as _r, f as Ke, g as Ut, B as mt, T as Wi, h as Id, i as Ad, j as vd, k as Vo, l as Pn, F as Y, G as Wo, m as Nl, E as on, n as bd, D as Go, o as wd, p as gi, L as De, S as Bs, q as jo, r as Ae, s as pn, t as qo, N as Dn, u as kl, v as Nd, w as yo, W as kd, x as si, y as Od, z as Cn, U as Ko, H as Rd, I as Ld, J as Yo, K as sn, O as So, P as yi, Q as ci, R as xd, X as Gi, Y as Ol, Z as Hn, _ as ji, $ as Rn, a0 as To, a1 as Vs, a2 as Mn, a3 as Pd, a4 as Dd } from "./index.npm.BKFdWN5J.js";
1
+ import { C as z, a as Un, A as Tt, M as Cd, b as _d, c as te, d as Wt, V as go, e as _r, f as Ke, g as Ut, B as mt, T as Wi, h as Id, i as Ad, j as vd, k as Vo, l as Pn, F as Y, G as Wo, m as Nl, E as on, n as bd, D as Go, o as wd, p as gi, L as De, S as Bs, q as jo, r as Ae, s as pn, t as qo, N as Dn, u as kl, v as Nd, w as yo, W as kd, x as si, y as Od, z as Cn, U as Ko, H as Rd, I as Ld, J as Yo, K as sn, O as So, P as yi, Q as ci, R as xd, X as Gi, Y as Ol, Z as Hn, _ as ji, $ as Rn, a0 as To, a1 as Vs, a2 as Mn, a3 as Pd, a4 as Dd } from "./index.npm.4xrILTG5.js";
2
2
  var Fd = Object.assign || function(e) {
3
3
  for (var t = 1; t < arguments.length; t++) {
4
4
  var n = arguments[t];
@@ -2153,7 +2153,7 @@ function Mt(e) {
2153
2153
  }
2154
2154
  return `https://fast.appcues.com${e}`;
2155
2155
  }
2156
- const bh = "/generic/main/7.7.2/checklist.ba2000e87ad9cd20ae8961dc470482e8b42c8486.css", wh = "CIdJsbqZD3OCb40Kncy+q/MzuR2VTtMLi6Unvcp2N9c=", Ji = Mt(bh), uc = 30, Nh = -300, kh = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/";
2156
+ const bh = "/generic/main/7.7.3/checklist.290208e041204c45adbb27d61c666bb97a3ed0f9.css", wh = "sha256-CIdJsbqZD3OCb40Kncy+q/MzuR2VTtMLi6Unvcp2N9c=", Ji = Mt(bh), uc = 30, Nh = -300, kh = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/";
2157
2157
  let ur = null, dr = null;
2158
2158
  const Oh = (e) => {
2159
2159
  const {
@@ -5984,7 +5984,7 @@ function ys(e, t, n, r) {
5984
5984
  Eh(e.defaultView, i), window.setTimeout(i, 200);
5985
5985
  }
5986
5986
  }
5987
- const wg = "/generic/main/7.7.2/modal.ba2000e87ad9cd20ae8961dc470482e8b42c8486.css", Ng = "/generic/main/7.7.2/modal-step-legacy-render.ba2000e87ad9cd20ae8961dc470482e8b42c8486.css", kg = "1ap2xJXPA6+zfau+TTrgl+tyKnVZGWa7bl1nMr+fKvs=", Og = "f+k+n1UzKXzuja/FHkSACvNlJl9YXs1gpc/Z01OXj48=", Rg = Mt(Ng), Yr = Mt(wg), Gc = /* @__PURE__ */ new Set(["shorty", "slideout"]);
5987
+ const wg = "/generic/main/7.7.3/modal.290208e041204c45adbb27d61c666bb97a3ed0f9.css", Ng = "/generic/main/7.7.3/modal-step-legacy-render.290208e041204c45adbb27d61c666bb97a3ed0f9.css", kg = "sha256-1ap2xJXPA6+zfau+TTrgl+tyKnVZGWa7bl1nMr+fKvs=", Og = "sha256-f+k+n1UzKXzuja/FHkSACvNlJl9YXs1gpc/Z01OXj48=", Rg = Mt(Ng), Yr = Mt(wg), Gc = /* @__PURE__ */ new Set(["shorty", "slideout"]);
5988
5988
  function jc(e) {
5989
5989
  if (!e) return;
5990
5990
  const { style: t } = e, n = t.transform;
@@ -6256,7 +6256,7 @@ function Dg({ patternType: e, hidden: t }) {
6256
6256
  }
6257
6257
  );
6258
6258
  }
6259
- const Fg = "/generic/main/7.7.2/tooltip.ba2000e87ad9cd20ae8961dc470482e8b42c8486.css", Ug = "igg3p8Bk45sB0Q7EEhfzxPQN6dMtsQ/8P1+LBIDEddE=", zr = Mt(Fg), Kc = "//twemoji.maxcdn.com/2/svg/", Hg = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Tr = "hs", Yc = "pattern-title", zc = "Hide these tips";
6259
+ const Fg = "/generic/main/7.7.3/tooltip.290208e041204c45adbb27d61c666bb97a3ed0f9.css", Ug = "sha256-igg3p8Bk45sB0Q7EEhfzxPQN6dMtsQ/8P1+LBIDEddE=", zr = Mt(Fg), Kc = "//twemoji.maxcdn.com/2/svg/", Hg = "//cdn.jsdelivr.net/gh/twitter/twemoji@14.0.2/assets/svg/", Tr = "hs", Yc = "pattern-title", zc = "Hide these tips";
6260
6260
  function Mg(e, t) {
6261
6261
  return {
6262
6262
  skippable: e.skippable,
@@ -7561,7 +7561,7 @@ function uy(e) {
7561
7561
  )
7562
7562
  )));
7563
7563
  }
7564
- const dy = "/generic/main/7.7.2/satisfaction-survey.ba2000e87ad9cd20ae8961dc470482e8b42c8486.css", fy = "LCTGoWhoNncfzk7b8jDhPPF8b0PTs04uNa7LjCILym4=", co = Mt(dy);
7564
+ const dy = "/generic/main/7.7.3/satisfaction-survey.290208e041204c45adbb27d61c666bb97a3ed0f9.css", fy = "sha256-LCTGoWhoNncfzk7b8jDhPPF8b0PTs04uNa7LjCILym4=", co = Mt(dy);
7565
7565
  let nl, Xr;
7566
7566
  function py(e) {
7567
7567
  const t = ye(e), n = Rr(e), r = Ve(e), i = tt(e), o = st(e), s = jt(e, o), c = i[s], l = t.attributes.pattern_type, { position: u } = t.attributes, d = e.views.callbacks[z.SATISFACTION_SURVEY], f = n.cssLoaded, p = Ri(e.settings), y = r !== te.SHOWING;
@@ -12869,7 +12869,7 @@ function Il({ user: e }) {
12869
12869
  };
12870
12870
  return /* @__PURE__ */ a.html("table", null, /* @__PURE__ */ a.html("thead", null, /* @__PURE__ */ a.html("tr", null, /* @__PURE__ */ a.html("th", null, "Property"), /* @__PURE__ */ a.html("th", null, "Value"))), /* @__PURE__ */ a.html("tbody", null, n.sort(r).map((i) => /* @__PURE__ */ a.html("tr", null, /* @__PURE__ */ a.html("td", null, i.name), /* @__PURE__ */ a.html("td", null, JSON.stringify(i.value))))));
12871
12871
  }
12872
- const d_ = "/generic/main/7.7.2/debugger.ba2000e87ad9cd20ae8961dc470482e8b42c8486.css", f_ = "ahFr2ozGgr3TQI5KHlN9wZPypwaSYoQUyVsCyMv8vgg=", p_ = Mt(d_), ho = Jn(
12872
+ const d_ = "/generic/main/7.7.3/debugger.290208e041204c45adbb27d61c666bb97a3ed0f9.css", f_ = "sha256-ahFr2ozGgr3TQI5KHlN9wZPypwaSYoQUyVsCyMv8vgg=", p_ = Mt(d_), ho = Jn(
12873
12873
  [
12874
12874
  tr,
12875
12875
  er,
@@ -12973,7 +12973,7 @@ const g_ = "https://docs.appcues.com/user-experiences-faq/faq-test-mode", y_ = (
12973
12973
  },
12974
12974
  "Restart"
12975
12975
  ), /* @__PURE__ */ a.html("div", { "class-clickable": !0, "on-click": t.onCancelClicked }, "End Test"))));
12976
- }, S_ = "/generic/main/7.7.2/test-mode.ba2000e87ad9cd20ae8961dc470482e8b42c8486.css", T_ = "royxrv5ISPWNXk8sIb8ykOuJZkg3+vchIFFlvBuV/2Y=", C_ = Mt(S_), mo = Jn(
12976
+ }, S_ = "/generic/main/7.7.3/test-mode.290208e041204c45adbb27d61c666bb97a3ed0f9.css", T_ = "sha256-royxrv5ISPWNXk8sIb8ykOuJZkg3+vchIFFlvBuV/2Y=", C_ = Mt(S_), mo = Jn(
12977
12977
  [
12978
12978
  tr,
12979
12979
  er,
@@ -14120,7 +14120,7 @@ function* UI({ payload: e }) {
14120
14120
  (o) => o.type === "launchpad"
14121
14121
  );
14122
14122
  if (i) {
14123
- yield import("./index.BC3hD01t.js");
14123
+ yield import("./index.4CeVGcMd.js");
14124
14124
  const o = yield v(ye);
14125
14125
  if (!(o?.type === z.HOTSPOTS) && o) {
14126
14126
  const { experiences: c, launchpads: l } = Ei(n);
@@ -14342,7 +14342,7 @@ function* tA() {
14342
14342
  )
14343
14343
  ];
14344
14344
  }
14345
- const nA = "/generic/main/7.7.2/container.ba2000e87ad9cd20ae8961dc470482e8b42c8486.css", rA = "oAzWkIGu2eINiA7AHWZtghnvS5DuvILEICBpL1HdPkY=";
14345
+ const nA = "/generic/main/7.7.3/container.290208e041204c45adbb27d61c666bb97a3ed0f9.css", rA = "sha256-oAzWkIGu2eINiA7AHWZtghnvS5DuvILEICBpL1HdPkY=";
14346
14346
  window.performance && window.performance.mark && window.performance.mark("apc-init");
14347
14347
  zS();
14348
14348
  const bt = window.AppcuesBundleSettings;
@@ -221,7 +221,7 @@ function O(s, e) {
221
221
  };
222
222
  }
223
223
  async function d() {
224
- await import("./index.3f0Mx_oK.js").then((s) => s.i), E = !0;
224
+ await import("./index.D45Gl5M1.js").then((s) => s.i), E = !0;
225
225
  }
226
226
  async function u() {
227
227
  window.Appcues.forEach((s) => {
@@ -1,4 +1,4 @@
1
- import { a6 as s, a5 as t } from "./index.npm.BKFdWN5J.js";
1
+ import { a6 as s, a5 as t } from "./index.npm.4xrILTG5.js";
2
2
  export {
3
3
  s as default,
4
4
  t as setup
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@appcues/web-sdk",
3
- "version": "7.7.2",
3
+ "version": "7.7.3",
4
4
  "description": "The Appcues Javascript SDK",
5
5
  "main": "build/index.npm.js",
6
6
  "types": "build/index.npm.d.ts",