@wastedondestiny/destiny-library 1.5.0 → 1.5.1

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.
@@ -2750,7 +2750,8 @@ const OQ = {
2750
2750
  setup(g) {
2751
2751
  const { waitForRamp: A } = yQ(), { waitForGoogle: B } = xQ(), I = x(), C = x(), Q = x(), M = x(Math.random() <= 1e-3);
2752
2752
  function w() {
2753
- Promise.race([A(), B()]).then(() => {
2753
+ const D = [];
2754
+ ({}).VITE_USE_PLAYWIRE === "true" && D.push(A), {}.VITE_USE_GOOGLE_ADSENSE === "true" && D.push(B), Promise.race(D.map((i) => i())).then(() => {
2754
2755
  I.value = !0;
2755
2756
  }).catch(() => {
2756
2757
  I.value = !1;