@streamlayer/react 1.24.8-pre.84ab1b9 → 1.24.8-pre.a96f156

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.
@@ -38263,7 +38263,7 @@ const tE = (r, e) => {
38263
38263
  let o = localStorage.getItem("sl-device-id") || Wu(), u = sessionStorage.getItem("sl-ad-session-id");
38264
38264
  u || (u = Wu(), sessionStorage.setItem("sl-ad-session-id", u)), oh(o) || (o = Nn(`https://${o}`, Nn.URL)), n.searchParams.get("url") || n.searchParams.set("url", "https://streamlayer.io"), n.searchParams.get("description_url") || n.searchParams.set("description_url", "https://streamlayer.io"), a.adWillAutoPlay = n.searchParams.get("vpa") === "auto", a.adWillPlayMuted = n.searchParams.get("vpmute") === "1", a.continuousPlayback = !0, a.descriptionUrl = n.searchParams.get("description_url"), a.iconsSupported = !0, a.sessionId = o, a.supportedApiFrameworks = "2,7,9", a.videoHeight = e?.clientHeight ?? 0, a.videoWidth = e?.clientWidth ?? 0;
38265
38265
  const c = await s.loadNonceManager(a);
38266
- return n.searchParams.get("is_lat") === "[placeholder]" && n.searchParams.set("is_lat", "1"), n.searchParams.get("rdid") === "[placeholder]" && n.searchParams.set("rdid", o), n.searchParams.get("correlator") === "[placeholder]" && n.searchParams.set("correlator", u), n.searchParams.set("wta", "1"), n.searchParams.set("givn", c.getNonce()), {
38266
+ return n.searchParams.get("is_lat") === "[placeholder]" && n.searchParams.set("is_lat", "1"), n.searchParams.get("rdid") === "[placeholder]" && n.searchParams.set("rdid", o), n.searchParams.get("correlator") === "[placeholder]" && n.searchParams.set("correlator", u), n.searchParams.set("wta", "1"), n.searchParams.set("givn", c.getNonce()), console.log("res url", new URL(n.toString())), {
38267
38267
  url: n,
38268
38268
  manager: c
38269
38269
  };
@@ -38351,7 +38351,7 @@ const tE = (r, e) => {
38351
38351
  externalAd: i,
38352
38352
  skipAutoClose: s
38353
38353
  }) => {
38354
- const [n, a] = Ii(null), o = Tm(i?.url), [u, c, h, v] = _m(n, o), {
38354
+ const [n, a] = Ii(null), o = Tm(i?.url), [u, c, h, v] = _m(n, o, e), {
38355
38355
  time: A,
38356
38356
  adCount: b,
38357
38357
  adPosition: E,
@@ -38395,7 +38395,7 @@ const tE = (r, e) => {
38395
38395
  )
38396
38396
  ] })
38397
38397
  ] }),
38398
- /* @__PURE__ */ J(pl, { className: St(ko, k && Po, !k && Ro), children: /* @__PURE__ */ xe(d_, { ref: a, children: [
38398
+ /* @__PURE__ */ J(pl, { className: St("ExternalAdOverlayMedia", ko, k && Po, !k && Ro), children: /* @__PURE__ */ xe(d_, { ref: a, children: [
38399
38399
  V && /* @__PURE__ */ J(_h, { whyThisAd: V }),
38400
38400
  /* @__PURE__ */ xe(
38401
38401
  l_,