@getsupertab/supertab-js 3.5.0 → 3.6.1

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 } from "./sdk-CfgHfbKj.js";
1
+ import { c as R } from "./sdk-BV7L6JlG.js";
2
2
  function V(w, d) {
3
3
  for (var b = 0; b < d.length; b++) {
4
4
  const y = d[b];
@@ -4854,10 +4854,10 @@ const DN = Hr({
4854
4854
  VITE_STATIC_REDIRECT_URI: void 0,
4855
4855
  VITE_GTM_CONTAINER_ID: "GTM-NG9GT7FM",
4856
4856
  VITE_SENTRY_DSN: "https://d08f3f301f364ceba6345c393c538faf@o23455.ingest.us.sentry.io/4507736861573120",
4857
- VITE_BASE_URL: "https://js.supertab.co/v3.5.0/",
4857
+ VITE_BASE_URL: "https://js.supertab.co/v3.6.1/",
4858
4858
  TAPPER_ENV: "prod",
4859
4859
  PACKAGE_NAME: "@getsupertab/supertab-js",
4860
- PACKAGE_VERSION: "3.5.0",
4860
+ PACKAGE_VERSION: "3.6.1",
4861
4861
  MONETIZATION_PROVIDER_SCRIPT_URL: void 0
4862
4862
  });
4863
4863
  function QI(o, i = {}) {
@@ -5496,7 +5496,7 @@ const xr = /* @__PURE__ */ p6(j), N9 = /* @__PURE__ */ XL({
5496
5496
  default: xr
5497
5497
  }, [j]), z1 = async (o) => {
5498
5498
  if (LN) {
5499
- const { captureException: i } = await import("./sentry-ZWgrg1WJ.js");
5499
+ const { captureException: i } = await import("./sentry-CJra19F1.js");
5500
5500
  i(o);
5501
5501
  }
5502
5502
  };
@@ -29455,9 +29455,8 @@ const Jj = J2(({ input: o, sendBack: i }) => {
29455
29455
  } = o;
29456
29456
  console.log("Loading actor started with site in context:", { contextSite: y });
29457
29457
  const C = (await s.api.retrieveCustomer()).tab, S = y || await s.api.retrieveSite();
29458
- if (Su({ event: "state_tab_loaded" }), console.log("Loaded", { tab: C, site: S }), !p)
29459
- throw new Error("Experience is not provided");
29460
- const k = m6(S, p.id), O = await JI({
29458
+ Su({ event: "state_tab_loaded" }), console.log("Loaded", { tab: C, site: S });
29459
+ const k = f ? S.offerings : p ? m6(S, p.id) : S.offerings, O = await JI({
29461
29460
  offerings: k,
29462
29461
  selectedOfferingId: f
29463
29462
  });
@@ -63421,7 +63420,7 @@ typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObje
63421
63420
  typeof Z1 != "function" && (Z1 = void 0);
63422
63421
  if (!Z1 && !nS && !E5)
63423
63422
  try {
63424
- import("./browser-ponyfill-DGlRwnUK.js").then((o) => o.b).then(function(o) {
63423
+ import("./browser-ponyfill-Dv9Y3m1D.js").then((o) => o.b).then(function(o) {
63425
63424
  Z1 = o.default;
63426
63425
  }).catch(function() {
63427
63426
  });
@@ -1,4 +1,4 @@
1
- import { S as e } from "./sdk-CfgHfbKj.js";
1
+ import { S as e } from "./sdk-BV7L6JlG.js";
2
2
  export {
3
3
  e as Supertab
4
4
  };
@@ -1,4 +1,4 @@
1
- import { r as nu, T as ru, P as su, a as iu, V as ou } from "./sdk-CfgHfbKj.js";
1
+ import { r as nu, T as ru, P as su, a as iu, V as ou } from "./sdk-BV7L6JlG.js";
2
2
  const w = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, st = "9.22.0", $ = globalThis;
3
3
  function ft() {
4
4
  return nr($), $;
package/package.json CHANGED
@@ -22,7 +22,7 @@
22
22
  "engines": {
23
23
  "node": ">=22.13.1"
24
24
  },
25
- "version": "3.5.0",
25
+ "version": "3.6.1",
26
26
  "type": "module",
27
27
  "scripts": {
28
28
  "dev": "vite --config .vite/vite.dev.config.ts",