@@ -87,12 +87,12 @@ function configToJson(config) {
8787 L . i ( `init configuration, Tampering protection salt: ${ config . tamperingProtectionSalt } ` )
8888 }
8989 // APM ------------------------------------------------
90- if ( config . apm . enableForegroundBackground ) {
91- json . enableForegroundBackground = config . apm . enableForegroundBackground ;
90+ if ( config . apm . foregroundBackground ) {
91+ json . enableForegroundBackground = true ;
9292 L . i ( `init configuration, APM enabled foreground background` )
9393 }
94- if ( config . apm . enableManualAppLoaded ) {
95- json . enableManualAppLoaded = config . apm . enableManualAppLoaded ;
94+ if ( config . apm . manualAppLoaded ) {
95+ json . enableManualAppLoaded = true ;
9696 L . i ( `init configuration, APM enabled manual app loaded` )
9797 }
9898 if ( config . apm . startTSOverride ) {
@@ -109,11 +109,11 @@ function configToJson(config) {
109109 L . i ( `init configuration, APM start time recording enabled` )
110110 }
111111 // APM END --------------------------------------------
112- if ( config . experimental . enablePreviousNameRecording ) {
112+ if ( config . experimental . previousNameRecording ) {
113113 json . enablePreviousNameRecording = true ;
114114 L . i ( `init configuration, Enabled previous name recording` )
115115 }
116- if ( config . experimental . enableVisibilityTracking ) {
116+ if ( config . experimental . visibilityTracking ) {
117117 json . enableVisibilityTracking = true ;
118118 L . i ( `init configuration, Enabled visibility tracking` )
119119 }
0 commit comments