ytracking-web 0.3.0 → 0.3.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.
- package/package.json +1 -1
- package/src/retry.ts +1 -7
package/package.json
CHANGED
package/src/retry.ts
CHANGED
|
@@ -20,13 +20,7 @@ export function backoffMs(attemptIndexZeroBased: number): number {
|
|
|
20
20
|
return Math.min(Math.max(0, Math.floor(base + jitter)), 600000);
|
|
21
21
|
}
|
|
22
22
|
|
|
23
|
-
const HIGH = new Set([
|
|
24
|
-
"download_click",
|
|
25
|
-
"registration",
|
|
26
|
-
"paid",
|
|
27
|
-
"payment",
|
|
28
|
-
"app_open",
|
|
29
|
-
]);
|
|
23
|
+
const HIGH = new Set(["download_click", "registration", "paid", "app_open"]);
|
|
30
24
|
const LOW = new Set(["pageview", "page_view", "scroll", "heartbeat"]);
|
|
31
25
|
|
|
32
26
|
export function eventPriority(eventType: string): number {
|