@orbit-software/sdk 1.85.0 → 1.86.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.
package/dist/esm/sdk.d.ts CHANGED
@@ -203,6 +203,7 @@ interface RequestWageValueParams {
203
203
  export interface InitializeOptions {
204
204
  mode: 'portal';
205
205
  authData?: string;
206
+ disable_startup_ads?: boolean;
206
207
  }
207
208
  export interface StartupConfig {
208
209
  /**
package/dist/esm/sdk.mjs CHANGED
@@ -38,7 +38,7 @@ function promisify(e) {
38
38
  };
39
39
  }
40
40
  promisify.argumentNames = "__ES6-PROMISIFY--CUSTOM-ARGUMENTS__", promisify.Promise = void 0;
41
- const version = "1.85.0";
41
+ const version = "1.86.0";
42
42
  function getDefaultExportFromCjs$3(e) {
43
43
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
44
44
  }
@@ -20131,7 +20131,7 @@ var Rr, F0, Removable = (F0 = class {
20131
20131
  clearGcTimeout() {
20132
20132
  J(this, Rr) && (timeoutManager.clearTimeout(J(this, Rr)), Te(this, Rr, void 0));
20133
20133
  }
20134
- }, Rr = new WeakMap(), F0), define_process_env_default$3 = { NODE_ENV: '"production"', version: '"1.85.0"' }, Ir, Ur, Jt, Mr, Ft, $r, Or, Zt, or, B0, Query = (B0 = class extends Removable {
20134
+ }, Rr = new WeakMap(), F0), define_process_env_default$3 = { NODE_ENV: '"production"', version: '"1.86.0"' }, Ir, Ur, Jt, Mr, Ft, $r, Or, Zt, or, B0, Query = (B0 = class extends Removable {
20135
20135
  constructor(t) {
20136
20136
  super();
20137
20137
  Ke(this, Zt);
@@ -37577,7 +37577,7 @@ function delay(e, { signal: t } = {}) {
37577
37577
  t == null || t.addEventListener("abort", o, { once: !0 });
37578
37578
  });
37579
37579
  }
37580
- var define_process_env_default$2 = { NODE_ENV: '"production"', version: '"1.85.0"' }, win;
37580
+ var define_process_env_default$2 = { NODE_ENV: '"production"', version: '"1.86.0"' }, win;
37581
37581
  if (typeof window > "u") {
37582
37582
  var loc = {
37583
37583
  hostname: ""
@@ -52812,7 +52812,7 @@ const balance$4 = "Balance", topUp$4 = "Top Up", ads$4 = "Ads", adsOn$4 = "On",
52812
52812
  topUpModal,
52813
52813
  inventoryModal
52814
52814
  };
52815
- var define_process_env_default$1 = { NODE_ENV: '"production"', version: '"1.85.0"' };
52815
+ var define_process_env_default$1 = { NODE_ENV: '"production"', version: '"1.86.0"' };
52816
52816
  const resources = {
52817
52817
  en: {
52818
52818
  translation: en
@@ -53343,7 +53343,7 @@ function throttleLeading(e, t) {
53343
53343
  return a - i >= t ? (i = a, e.apply(this, s)) : (console.log(`Function is throttled. Next call available in ${t - (a - i)}ms`), Promise.resolve(!1));
53344
53344
  };
53345
53345
  }
53346
- var define_process_env_default = { NODE_ENV: '"production"', version: '"1.85.0"' };
53346
+ var define_process_env_default = { NODE_ENV: '"production"', version: '"1.86.0"' };
53347
53347
  (function e() {
53348
53348
  if (typeof document > "u") return;
53349
53349
  const t = document.head || document.getElementsByTagName("head")[0];
@@ -53759,7 +53759,7 @@ const CryptoSteamSDK = {
53759
53759
  }), mixpanel.track("game_initialized", {
53760
53760
  game_id: a.game_id,
53761
53761
  game_title: o.title
53762
- }), isPortal || CryptoSteamSDK.requestAd().catch((l) => {
53762
+ }), !isPortal && !(t != null && t.disable_startup_ads) && CryptoSteamSDK.requestAd().catch((l) => {
53763
53763
  console.error("Error requesting initial ad", l);
53764
53764
  });
53765
53765
  } catch (a) {