@wastedondestiny/destiny-library 1.6.4 → 1.6.5
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.
|
@@ -12,3 +12,4 @@ import { PlaywireManager } from '../types';
|
|
|
12
12
|
export declare function usePlaywire(timeout?: number, interval?: number): PlaywireManager;
|
|
13
13
|
export declare function addPlaywireUnit(type: string, selectorId?: string): void;
|
|
14
14
|
export declare function destroyPlaywireUnits(selector?: string | string[]): void;
|
|
15
|
+
export declare function triggerRefresh(): void;
|
package/dist/destiny-library.js
CHANGED
|
@@ -4292,9 +4292,9 @@ function _M(B = "all") {
|
|
|
4292
4292
|
function YM(B = 1e4, A = 100) {
|
|
4293
4293
|
const g = T(!1), C = T();
|
|
4294
4294
|
let I, Q;
|
|
4295
|
-
const E = () => (
|
|
4295
|
+
const E = () => (window.adsbygoogle = window.adsbygoogle || [], window.adsbygoogle.push({}), new Promise((w, D) => {
|
|
4296
4296
|
var i;
|
|
4297
|
-
if ((i = window.adsbygoogle) != null && i.loaded) {
|
|
4297
|
+
if ((i = window.adsbygoogle) != null && i.loaded && window.adsbygoogle.pageState) {
|
|
4298
4298
|
g.value = !0, w(window.adsbygoogle);
|
|
4299
4299
|
return;
|
|
4300
4300
|
}
|
|
@@ -4302,7 +4302,7 @@ function YM(B = 1e4, A = 100) {
|
|
|
4302
4302
|
I && clearInterval(I), C.value = new Error("Timeout waiting for adsbygoogle"), D(C.value);
|
|
4303
4303
|
}, B), I = setInterval(() => {
|
|
4304
4304
|
var s;
|
|
4305
|
-
(s = window.adsbygoogle) != null && s.loaded && (clearInterval(I), clearTimeout(Q), g.value = !0, w(window.adsbygoogle));
|
|
4305
|
+
(s = window.adsbygoogle) != null && s.loaded && window.adsbygoogle.pageState && (clearInterval(I), clearTimeout(Q), g.value = !0, w(window.adsbygoogle));
|
|
4306
4306
|
}, A);
|
|
4307
4307
|
})), M = async () => await E();
|
|
4308
4308
|
return MB(() => {
|