Skip to content

Commit e4c3277

Browse files
committed
πŸ› fix new event type
1 parent d6cf31c commit e4c3277

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

β€Žpackages/rum-core/src/domain/assembly.tsβ€Ž

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,11 @@ export function startRumAssembly(
9292
...VIEW_MODIFIABLE_FIELD_PATHS,
9393
...ROOT_MODIFIABLE_FIELD_PATHS,
9494
},
95+
[RumEventType.TRANSITION]: {
96+
...USER_CUSTOMIZABLE_FIELD_PATHS,
97+
...VIEW_MODIFIABLE_FIELD_PATHS,
98+
...ROOT_MODIFIABLE_FIELD_PATHS,
99+
},
95100
}
96101
const eventRateLimiters = {
97102
[RumEventType.ERROR]: createEventRateLimiter(

β€Žpackages/rum-core/src/rawRumEvent.types.tsβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export const RumEventType = {
2929
RESOURCE: 'resource',
3030
VITAL: 'vital',
3131
STREAM: 'stream',
32+
TRANSITION: 'transition',
3233
} as const
3334

3435
export type RumEventType = (typeof RumEventType)[keyof typeof RumEventType]

0 commit comments

Comments
Β (0)