@financial-times/ads-heavy-ad-reporting
Advanced tools
Comparing version 5.3.0 to 5.3.1
@@ -18,3 +18,2 @@ /** @typedef {import("$typings/heavy-ad-reporting")} */ | ||
*/ | ||
/** | ||
@@ -32,5 +31,6 @@ * @param {({ | ||
buffered: true // enabled to collect reports generated before the observer was created | ||
}); | ||
}); | ||
observer.observe(); | ||
/* | ||
@@ -40,3 +40,2 @@ * pull all pending reports from the queue | ||
*/ | ||
self.addEventListener("visibilitychange", () => { | ||
@@ -43,0 +42,0 @@ let reports = observer.takeRecords(); |
@@ -20,3 +20,3 @@ { | ||
}, | ||
"version": "5.3.0" | ||
"version": "5.3.1" | ||
} |
3340