@getsupertab/supertab-js 3.41.0 → 3.43.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,4 +1,4 @@
1
- import { c as R, g as z } from "./supertab-GWPJ1w3u.js";
1
+ import { c as R, g as z } from "./supertab-BIb207cm.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-GWPJ1w3u.js";
1
+ import { r as mu, T as gu, P as _u, a as Su, V as yu } from "./supertab-BIb207cm.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;
@@ -4859,7 +4859,7 @@ const SH = pr({
4859
4859
  VITE_STATIC_REDIRECT_URI: void 0,
4860
4860
  VITE_GTM_CONTAINER_ID: "GTM-NG9GT7FM",
4861
4861
  VITE_SENTRY_DSN: "https://d08f3f301f364ceba6345c393c538faf@o23455.ingest.us.sentry.io/4507736861573120",
4862
- VITE_BASE_URL: "https://js.supertab.co/v3.41.0/",
4862
+ VITE_BASE_URL: "https://js.supertab.co/v3.43.0/",
4863
4863
  VITE_DEMO_CLIENT_ID: void 0,
4864
4864
  VITE_API_BASE_URL: void 0,
4865
4865
  VITE_SSO_BASE_URL: void 0,
@@ -4868,7 +4868,7 @@ const SH = pr({
4868
4868
  VITE_CHECKOUT_URL: void 0,
4869
4869
  TAPPER_ENV: "prod",
4870
4870
  PACKAGE_NAME: "@getsupertab/supertab-js",
4871
- PACKAGE_VERSION: "3.41.0",
4871
+ PACKAGE_VERSION: "3.43.0",
4872
4872
  MONETIZATION_PROVIDER_SCRIPT_URL: void 0,
4873
4873
  VITE_POSTHOG_API_HOST: void 0,
4874
4874
  VITE_POSTHOG_API_KEY: void 0
@@ -9417,6 +9417,7 @@ function KW() {
9417
9417
  function n3() {
9418
9418
  return KW() && Js.init(gN, {
9419
9419
  api_host: vN,
9420
+ autocapture: !1,
9420
9421
  defaults: "2025-05-24",
9421
9422
  person_profiles: "always",
9422
9423
  capture_pageview: !1,
@@ -9918,7 +9919,7 @@ function Xv(t) {
9918
9919
  }
9919
9920
  const G2 = async (t) => {
9920
9921
  if (EH) {
9921
- const { captureException: e } = await import("./sentry-CxQ8a3Pq.js");
9922
+ const { captureException: e } = await import("./sentry-BWnayj-y.js");
9922
9923
  e(t);
9923
9924
  }
9924
9925
  }, v5 = "tabjs";
@@ -72307,7 +72308,7 @@ typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObje
72307
72308
  typeof Tb != "function" && (Tb = void 0);
72308
72309
  if (!Tb && !K5 && !X7)
72309
72310
  try {
72310
- import("./browser-ponyfill-qFvxF7UP.js").then((t) => t.b).then(function(t) {
72311
+ import("./browser-ponyfill-DGknnuGI.js").then((t) => t.b).then(function(t) {
72311
72312
  Tb = t.default;
72312
72313
  }).catch(function() {
72313
72314
  });
@@ -73088,13 +73089,11 @@ const Uue = ({
73088
73089
  // TODO: salesModel is legacy now, we should remove it and not keep this abstraction
73089
73090
  salesModel: i != null && i.isRecurring ? "subscription" : "time_pass"
73090
73091
  };
73091
- }), Bue = (t, e) => {
73092
- const n = Js.getFeatureFlag(
73093
- "new-add-to-my-account-cta-button"
73094
- );
73092
+ }), Bue = (t, e, n) => {
73093
+ const i = !n && Js.getFeatureFlag("cta-button-copy-get-access-vs-create-account");
73095
73094
  return Wt.log(
73096
73095
  "Experiment CTA Button Copy Feature Flag:",
73097
- n
73096
+ i
73098
73097
  ), {
73099
73098
  title: (e == null ? void 0 : e.title) || /* @__PURE__ */ pe.jsx(mn, { i18nKey: "paygate.title" }),
73100
73099
  labelTooltip: /* @__PURE__ */ pe.jsx(mn, { i18nKey: "paygate.label_tooltip" }),
@@ -73104,7 +73103,7 @@ const Uue = ({
73104
73103
  loginButtonLabel: /* @__PURE__ */ pe.jsx(mn, { i18nKey: "paygate.login_button_label" }),
73105
73104
  ctaButton: {
73106
73105
  label: {
73107
- putItOnMyTab: n === "test" ? /* @__PURE__ */ pe.jsx(mn, { i18nKey: "paygate.cta_button.label.add_to_my_account" }) : /* @__PURE__ */ pe.jsx(mn, { i18nKey: "paygate.cta_button.label.get_access" }),
73106
+ putItOnMyTab: i === "test" ? /* @__PURE__ */ pe.jsx(mn, { i18nKey: "paygate.cta_button.label.create_account" }) : /* @__PURE__ */ pe.jsx(mn, { i18nKey: "paygate.cta_button.label.get_access" }),
73108
73107
  continueToCheckout: /* @__PURE__ */ pe.jsx(mn, { i18nKey: "paygate.cta_button.label.continue_to_checkout" })
73109
73108
  }
73110
73109
  },
@@ -73196,7 +73195,8 @@ const Uue = ({
73196
73195
  Q(fe === Is.VALID);
73197
73196
  }, q = N.useMemo(() => Sb(k.limit), [k]), ne = Wue(D == null ? void 0 : D.uiConfig, j), Y = (ne == null ? void 0 : ne.paywallCopy) && ((ae = ne.paywallCopy) == null ? void 0 : ae[d]), ee = Bue(
73198
73197
  q,
73199
- Y
73198
+ Y,
73199
+ W
73200
73200
  ), he = {
73201
73201
  onStartPurchase: e,
73202
73202
  onCancel: n,
@@ -1,4 +1,4 @@
1
- import { S as e } from "./supertab-GWPJ1w3u.js";
1
+ import { S as e } from "./supertab-BIb207cm.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.41.0",
25
+ "version": "3.43.0",
26
26
  "type": "module",
27
27
  "scripts": {
28
28
  "dev": "vite --config .vite/vite.dev.config.ts",