Skip to content

Commit 586dce1

Browse files
committed
Add session key property
1 parent 0afbdfb commit 586dce1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

sdk/highlight-run/src/sdk/record.ts

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -664,6 +664,16 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`,
664664
}
665665
}
666666

667+
if (this.options.sessionKey || options?.sessionKey) {
668+
this.addProperties(
669+
{
670+
sessionKey:
671+
options?.sessionKey ?? this.options.sessionKey,
672+
},
673+
{ type: 'session' },
674+
)
675+
}
676+
667677
this._setupWindowListeners()
668678
this.ready = true
669679
this.state = 'Recording'

0 commit comments

Comments
 (0)