File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -51,8 +51,8 @@ export interface DiffMergeOptions {
5151 * Returns undefined if no changes.
5252 *
5353 * Default strategy is REPLACE (isEqual check). Exceptions:
54- * - Both values are plain objects and key is not in replaceKeys: recurse (MERGE)
55- * Sub-paths (e.g. 'view.custom_timings') are propagated to the recursive call.
54+ * - Both values are plain objects and key is not in replaceKeys: recurse (MERGE), sub-paths
55+ * (e.g. 'view.custom_timings') are propagated to the recursive call.
5656 * - Both values are arrays and key is in appendKeys: include only new trailing elements (APPEND)
5757 */
5858export function diffMerge (
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ export function startRumBatch(
139139 // They intentionally bypass RAW_RUM_EVENT_COLLECTED β assembly β RUM_EVENT_COLLECTED, which
140140 // means they skip beforeSend entirely. view_update is an internal bandwidth optimization β
141141 // not a customer-visible event type, and not modifiable via beforeSend.
142- const diff = computeAssembledViewDiff ( serverRumEvent , lastSentView ! )
142+ const diff = computeAssembledViewDiff ( serverRumEvent , lastSentView )
143143 lastSentView = serverRumEvent
144144 if ( diff ) {
145145 sendToExtension ( 'rum' , diff )
You canβt perform that action at this time.
0 commit comments