Skip to content

Regrip API / session/replay/jsonlMock / readJsonlMockIdentity

Function: readJsonlMockIdentity()

readJsonlMockIdentity(contents): JsonlMockIdentity

Defined in: packages/core/src/session/replay/jsonlMock.ts:241

Reads capture identity from the replay header. Older, headerless exports deliberately retain the generic mock identity so they remain replayable.

Parameters

contents

string

Returns

JsonlMockIdentity