@getsupertab/supertab-js 3.17.6 → 3.17.7

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 { c as R, g as z } from "./supertab-OBu7iZK7.js";
1
+ import { c as R, g as z } from "./supertab-D8SpwqXt.js";
2
2
  function $(w, d) {
3
3
  for (var b = 0; b < d.length; b++) {
4
4
  const y = d[b];
@@ -1,4 +1,4 @@
1
- import { r as mu, T as gu, P as _u, a as Su, V as yu } from "./supertab-OBu7iZK7.js";
1
+ import { r as mu, T as gu, P as _u, a as Su, V as yu } from "./supertab-D8SpwqXt.js";
2
2
  const b = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, q = globalThis, at = "9.40.0";
3
3
  function ht() {
4
4
  return lr(q), q;
@@ -4855,7 +4855,7 @@ const oM = sr({
4855
4855
  VITE_STATIC_REDIRECT_URI: void 0,
4856
4856
  VITE_GTM_CONTAINER_ID: "GTM-NG9GT7FM",
4857
4857
  VITE_SENTRY_DSN: "https://d08f3f301f364ceba6345c393c538faf@o23455.ingest.us.sentry.io/4507736861573120",
4858
- VITE_BASE_URL: "https://js.supertab.co/v3.17.6/",
4858
+ VITE_BASE_URL: "https://js.supertab.co/v3.17.7/",
4859
4859
  VITE_DEMO_CLIENT_ID: void 0,
4860
4860
  VITE_API_BASE_URL: void 0,
4861
4861
  VITE_SSO_BASE_URL: void 0,
@@ -4864,7 +4864,7 @@ const oM = sr({
4864
4864
  VITE_CHECKOUT_URL: void 0,
4865
4865
  TAPPER_ENV: "prod",
4866
4866
  PACKAGE_NAME: "@getsupertab/supertab-js",
4867
- PACKAGE_VERSION: "3.17.6",
4867
+ PACKAGE_VERSION: "3.17.7",
4868
4868
  MONETIZATION_PROVIDER_SCRIPT_URL: void 0
4869
4869
  }), M3 = jS === "ctl" || jS === "sbx" || jS === "stg" ? !0 : jS === "prod" && typeof window < "u" && window.location ? new URLSearchParams(window.location.search).has("supertab-enable-logging") : !1, qt = {
4870
4870
  log: (...o) => {
@@ -5564,7 +5564,7 @@ const lr = /* @__PURE__ */ DT(M), eR = /* @__PURE__ */ _P({
5564
5564
  default: lr
5565
5565
  }, [M]), $1 = async (o) => {
5566
5566
  if (lM) {
5567
- const { captureException: a } = await import("./sentry-BcrU8CAF.js");
5567
+ const { captureException: a } = await import("./sentry-C_99G29q.js");
5568
5568
  a(o);
5569
5569
  }
5570
5570
  };
@@ -30399,7 +30399,6 @@ const Dz = ix(({ input: o, sendBack: a }) => {
30399
30399
  // Reset previous purchase data
30400
30400
  // Used when starting a new purchase flow or when showing the paygate.
30401
30401
  resetPreviousPurchaseData: Na({
30402
- priorEntitlement: null,
30403
30402
  purchasedOffering: null,
30404
30403
  purchase: null,
30405
30404
  selectedOfferingId: void 0,
@@ -64628,7 +64627,7 @@ typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObje
64628
64627
  typeof n0 != "function" && (n0 = void 0);
64629
64628
  if (!n0 && !hk && !M4)
64630
64629
  try {
64631
- import("./browser-ponyfill-CPX88gnp.js").then((o) => o.b).then(function(o) {
64630
+ import("./browser-ponyfill-B02GKcEW.js").then((o) => o.b).then(function(o) {
64632
64631
  n0 = o.default;
64633
64632
  }).catch(function() {
64634
64633
  });
@@ -65387,6 +65386,7 @@ class WY extends AY {
65387
65386
  P && (P.unmount(), P = null);
65388
65387
  }, re = {
65389
65388
  show: async () => new Promise((q, ne) => {
65389
+ C.resetPreviousPurchaseData();
65390
65390
  const { priorEntitlement: W } = D.getSnapshot().context;
65391
65391
  if (W) {
65392
65392
  qt.warn(
@@ -65398,7 +65398,7 @@ class WY extends AY {
65398
65398
  );
65399
65399
  return;
65400
65400
  }
65401
- C.resetPreviousPurchaseData(), P || (P = q9.createRoot(L)), P.render(
65401
+ P || (P = q9.createRoot(L)), P.render(
65402
65402
  /* @__PURE__ */ ue.jsx(K9, { value: R, children: /* @__PURE__ */ ue.jsxs(NT, { children: [
65403
65403
  /* @__PURE__ */ ue.jsx(Z9, {}),
65404
65404
  /* @__PURE__ */ ue.jsx(M.Suspense, { fallback: null, children: /* @__PURE__ */ ue.jsx(
@@ -1,4 +1,4 @@
1
- import { S as e } from "./supertab-OBu7iZK7.js";
1
+ import { S as e } from "./supertab-D8SpwqXt.js";
2
2
  export {
3
3
  e as Supertab
4
4
  };
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "engines": {
23
23
  "node": ">=22.13.1"
24
24
  },
25
- "version": "3.17.6",
25
+ "version": "3.17.7",
26
26
  "type": "module",
27
27
  "scripts": {
28
28
  "dev": "vite --config .vite/vite.dev.config.ts",