@getsupertab/supertab-js 3.64.1 → 3.65.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 { t as e } from "./chunk-NnHqS4_Y.js";
1
+ import { t as e } from "./chunk-C5e3QaDY.js";
2
2
  //#region node_modules/cross-fetch/dist/browser-ponyfill.js
3
3
  var t = /* @__PURE__ */ e(((e, t) => {
4
4
  var n = typeof globalThis < "u" && globalThis || typeof self < "u" && self || typeof global < "u" && global, r = (function() {
@@ -184,7 +184,11 @@ var t = /* @__PURE__ */ e(((e, t) => {
184
184
  }(), this.referrer = null, (this.method === "GET" || this.method === "HEAD") && r) throw TypeError("Body not allowed for GET or HEAD requests");
185
185
  if (this._initBody(r), (this.method === "GET" || this.method === "HEAD") && (t.cache === "no-store" || t.cache === "no-cache")) {
186
186
  var i = /([?&])_=[^&]*/;
187
- i.test(this.url) ? this.url = this.url.replace(i, "$1_=" + (/* @__PURE__ */ new Date()).getTime()) : this.url += (/\?/.test(this.url) ? "&" : "?") + "_=" + (/* @__PURE__ */ new Date()).getTime();
187
+ if (i.test(this.url)) this.url = this.url.replace(i, "$1_=" + (/* @__PURE__ */ new Date()).getTime());
188
+ else {
189
+ var a = /\?/;
190
+ this.url += (a.test(this.url) ? "&" : "?") + "_=" + (/* @__PURE__ */ new Date()).getTime();
191
+ }
188
192
  }
189
193
  }
190
194
  b.prototype.clone = function() {
@@ -253,7 +257,9 @@ var t = /* @__PURE__ */ e(((e, t) => {
253
257
  new t.DOMException();
254
258
  } catch {
255
259
  t.DOMException = function(e, t) {
256
- this.message = e, this.name = t, this.stack = Error(e).stack;
260
+ this.message = e, this.name = t;
261
+ var n = Error(e);
262
+ this.stack = n.stack;
257
263
  }, t.DOMException.prototype = Object.create(Error.prototype), t.DOMException.prototype.constructor = t.DOMException;
258
264
  }
259
265
  function T(e, i) {
@@ -1,5 +1,5 @@
1
1
  //#region \0rolldown/runtime.js
2
- var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (e && (t = e(e = 0)), t), s = (e, t) => () => (t || e((t = { exports: {} }).exports, t), t.exports), c = (e, n) => {
2
+ var e = Object.create, t = Object.defineProperty, n = Object.getOwnPropertyDescriptor, r = Object.getOwnPropertyNames, i = Object.getPrototypeOf, a = Object.prototype.hasOwnProperty, o = (e, t) => () => (e && (t = e(e = 0)), t), s = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), c = (e, n) => {
3
3
  let r = {};
4
4
  for (var i in e) t(r, i, {
5
5
  get: e[i],
@@ -1,4 +1,4 @@
1
- import { t as e } from "./chunk-NnHqS4_Y.js";
1
+ import { t as e } from "./chunk-C5e3QaDY.js";
2
2
  //#region node_modules/react/cjs/react.production.js
3
3
  var t = /* @__PURE__ */ e(((e) => {
4
4
  var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), i = Symbol.for("react.strict_mode"), a = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), s = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), l = Symbol.for("react.suspense"), u = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), f = Symbol.for("react.activity"), p = Symbol.iterator;
@@ -1218,7 +1218,9 @@ var C = class {
1218
1218
  return {
1219
1219
  success: !1,
1220
1220
  get error() {
1221
- return this._error ||= new l(e.common.issues), this._error;
1221
+ if (this._error) return this._error;
1222
+ let t = new l(e.common.issues);
1223
+ return this._error = t, this._error;
1222
1224
  }
1223
1225
  };
1224
1226
  };
@@ -2504,10 +2506,10 @@ var G = class e extends E {
2504
2506
  }
2505
2507
  _getCached() {
2506
2508
  if (this._cached !== null) return this._cached;
2507
- let e = this._def.shape();
2509
+ let e = this._def.shape(), t = i.objectKeys(e);
2508
2510
  return this._cached = {
2509
2511
  shape: e,
2510
- keys: i.objectKeys(e)
2512
+ keys: t
2511
2513
  }, this._cached;
2512
2514
  }
2513
2515
  _parse(e) {
@@ -3655,7 +3657,7 @@ var { VITE_STATIC_REDIRECT_URI: Xe, VITE_GTM_CONTAINER_ID: Ze, VITE_SENTRY_DSN:
3655
3657
  VITE_STATIC_REDIRECT_URI: void 0,
3656
3658
  VITE_GTM_CONTAINER_ID: "GTM-NG9GT7FM",
3657
3659
  VITE_SENTRY_DSN: "https://d08f3f301f364ceba6345c393c538faf@o23455.ingest.us.sentry.io/4507736861573120",
3658
- VITE_BASE_URL: "https://js.supertab.co/v3.64.1/",
3660
+ VITE_BASE_URL: "https://js.supertab.co/v3.65.0/",
3659
3661
  VITE_DEMO_CLIENT_ID: void 0,
3660
3662
  VITE_API_BASE_URL: void 0,
3661
3663
  VITE_SSO_BASE_URL: void 0,
@@ -3664,7 +3666,7 @@ var { VITE_STATIC_REDIRECT_URI: Xe, VITE_GTM_CONTAINER_ID: Ze, VITE_SENTRY_DSN:
3664
3666
  VITE_CHECKOUT_URL: void 0,
3665
3667
  TAPPER_ENV: "prod",
3666
3668
  PACKAGE_NAME: "@getsupertab/supertab-js",
3667
- PACKAGE_VERSION: "3.64.1",
3669
+ PACKAGE_VERSION: "3.65.0",
3668
3670
  MONETIZATION_PROVIDER_SCRIPT_URL: void 0,
3669
3671
  VITE_POSTHOG_API_HOST: void 0,
3670
3672
  VITE_POSTHOG_API_KEY: void 0