@tracelog/lib 2.8.0-rc.100.11 → 2.8.0-rc.100.13
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.
|
@@ -1074,7 +1074,8 @@ class et extends _ {
|
|
|
1074
1074
|
* - `true`: Send succeeded OR skipped (standalone mode)
|
|
1075
1075
|
* - `false`: Send failed (network error, browser rejected beacon)
|
|
1076
1076
|
*
|
|
1077
|
-
* **Important**: No retry mechanism
|
|
1077
|
+
* **Important**: No retry mechanism. Failed events are persisted to localStorage for
|
|
1078
|
+
* recovery on next page load via `recoverPersistedEvents()`.
|
|
1078
1079
|
*
|
|
1079
1080
|
* **Custom Headers Limitation**: Custom headers set via `setCustomHeaders()` are NOT applied
|
|
1080
1081
|
* to sendBeacon requests due to browser API limitations. The sendBeacon API only supports
|
|
@@ -1522,7 +1523,7 @@ class et extends _ {
|
|
|
1522
1523
|
* - Oversized payloads persisted instead of silently failing
|
|
1523
1524
|
*
|
|
1524
1525
|
* @param body - EventsQueue to send
|
|
1525
|
-
* @returns `true` on success
|
|
1526
|
+
* @returns `true` on success, `false` on failure (events persisted for recovery)
|
|
1526
1527
|
* @private
|
|
1527
1528
|
*/
|
|
1528
1529
|
sendQueueSyncInternal(e) {
|