@getsupertab/supertab-js 3.28.3 → 3.28.4
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/dist/pkg/prod/{browser-ponyfill-DMFRlJ80.js → browser-ponyfill-CS8TdY3_.js} +1 -1
- package/dist/pkg/prod/{sentry-PXzFmfbp.js → sentry-B4gkNy46.js} +1 -1
- package/dist/pkg/prod/{supertab-BJzuLnM2.js → supertab-X2eGr0Tj.js} +26 -8
- package/dist/pkg/prod/supertab.js +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as mu, T as gu, P as _u, a as Su, V as yu } from "./supertab-
|
|
1
|
+
import { r as mu, T as gu, P as _u, a as Su, V as yu } from "./supertab-X2eGr0Tj.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 EU = cr({
|
|
|
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.28.
|
|
4862
|
+
VITE_BASE_URL: "https://js.supertab.co/v3.28.4/",
|
|
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 EU = cr({
|
|
|
4868
4868
|
VITE_CHECKOUT_URL: void 0,
|
|
4869
4869
|
TAPPER_ENV: "prod",
|
|
4870
4870
|
PACKAGE_NAME: "@getsupertab/supertab-js",
|
|
4871
|
-
PACKAGE_VERSION: "3.28.
|
|
4871
|
+
PACKAGE_VERSION: "3.28.4",
|
|
4872
4872
|
MONETIZATION_PROVIDER_SCRIPT_URL: void 0,
|
|
4873
4873
|
VITE_POSTHOG_API_HOST: void 0,
|
|
4874
4874
|
VITE_POSTHOG_API_KEY: void 0
|
|
@@ -5570,7 +5570,7 @@ const In = /* @__PURE__ */ lN(I), _8 = /* @__PURE__ */ qz({
|
|
|
5570
5570
|
default: In
|
|
5571
5571
|
}, [I]), E2 = async (r) => {
|
|
5572
5572
|
if (CU) {
|
|
5573
|
-
const { captureException: e } = await import("./sentry-
|
|
5573
|
+
const { captureException: e } = await import("./sentry-B4gkNy46.js");
|
|
5574
5574
|
e(r);
|
|
5575
5575
|
}
|
|
5576
5576
|
}, xC = "tabjs";
|
|
@@ -35446,10 +35446,28 @@ const Cq = Ox(({ input: r, sendBack: e }) => {
|
|
|
35446
35446
|
target: "Purchasing"
|
|
35447
35447
|
},
|
|
35448
35448
|
priorEntitlement: {
|
|
35449
|
-
actions:
|
|
35450
|
-
|
|
35451
|
-
|
|
35452
|
-
|
|
35449
|
+
actions: [
|
|
35450
|
+
{
|
|
35451
|
+
type: "sendPostHogEvent",
|
|
35452
|
+
params: ({ context: r }) => {
|
|
35453
|
+
var e, a, l, c, p;
|
|
35454
|
+
return {
|
|
35455
|
+
event: "entitlement_granted",
|
|
35456
|
+
properties: {
|
|
35457
|
+
experienceId: r.experienceId,
|
|
35458
|
+
clientId: r.supertabClient.clientId,
|
|
35459
|
+
offeringId: (e = r.selectedOffering) == null ? void 0 : e.id,
|
|
35460
|
+
tabTotal: (l = (a = r.tab) == null ? void 0 : a.total) == null ? void 0 : l.amount,
|
|
35461
|
+
tabCurrency: (p = (c = r.tab) == null ? void 0 : c.total) == null ? void 0 : p.currency.code
|
|
35462
|
+
}
|
|
35463
|
+
};
|
|
35464
|
+
}
|
|
35465
|
+
},
|
|
35466
|
+
Ua(({ event: r }) => ({
|
|
35467
|
+
priorEntitlement: r.priorEntitlement,
|
|
35468
|
+
tab: r.tab
|
|
35469
|
+
}))
|
|
35470
|
+
]
|
|
35453
35471
|
},
|
|
35454
35472
|
close: {
|
|
35455
35473
|
actions: Ua(({ event: r, context: e }) => ({
|
|
@@ -69622,7 +69640,7 @@ typeof ActiveXObject == "function" && (typeof global < "u" && global.ActiveXObje
|
|
|
69622
69640
|
typeof ab != "function" && (ab = void 0);
|
|
69623
69641
|
if (!ab && !o5 && !iT)
|
|
69624
69642
|
try {
|
|
69625
|
-
import("./browser-ponyfill-
|
|
69643
|
+
import("./browser-ponyfill-CS8TdY3_.js").then((r) => r.b).then(function(r) {
|
|
69626
69644
|
ab = r.default;
|
|
69627
69645
|
}).catch(function() {
|
|
69628
69646
|
});
|