File tree Expand file tree Collapse file tree 3 files changed +10
-4
lines changed
Expand file tree Collapse file tree 3 files changed +10
-4
lines changed Original file line number Diff line number Diff line change 11# This file is auto generated by SAM CLI build command
22
3- [function_build_definitions .02e7f5fb-ae39-4d32-a885-1919db9b363a ]
4- codeuri = " /Users/vkorolik/work /observability/observability-sdk/e2e/aws-lambda"
3+ [function_build_definitions .b38f7991-91a5-4af8-808e-8156cada9855 ]
4+ codeuri = " /Users/spenceramarantides/code/launchdarkly /observability/observability-sdk/e2e/aws-lambda"
55runtime = " nodejs20.x"
66architecture = " x86_64"
77handler = " src/handlers/api.handler"
Original file line number Diff line number Diff line change @@ -21,10 +21,11 @@ const sessionReplaySettings: ConstructorParameters<typeof SessionReplay>[0] = {
2121 privacySetting : 'none' ,
2222 serviceName : 'ryan-test' ,
2323 backendUrl : 'http://localhost:8082/public' ,
24+ sessionKey : 'task123' ,
2425}
2526
2627export const client = init (
27- '548f6741c1efad40031b18ae ' ,
28+ '586c33cf1cd88133f9a7804f ' ,
2829 { key : 'unknown' } ,
2930 {
3031 // Not including plugins at all would be equivalent to the current LaunchDarkly SDK.
Original file line number Diff line number Diff line change @@ -124,8 +124,13 @@ const H: HighlightPublicInterface = {
124124 const previousSession = getPreviousSessionData ( )
125125 let sessionSecureID = GenerateSecureID ( )
126126
127+ console . log ( 'CHECKING SESSION KEY' , options ?. sessionKey )
127128 if ( options ?. sessionKey ) {
128- sessionSecureID = uuidv5 ( options . sessionKey , `observability-${ projectID } ` )
129+ console . log ( 'SESSION KEY FOUND' , options . sessionKey )
130+ sessionSecureID = uuidv5 (
131+ options . sessionKey ,
132+ `observability-${ projectID } ` ,
133+ )
129134 } else if ( previousSession ?. sessionSecureID ) {
130135 sessionSecureID = previousSession . sessionSecureID
131136 }
You can’t perform that action at this time.
0 commit comments