@@ -135,46 +135,46 @@ function configToJson(config) {
135135 json . attributionValues = config . attributionValues ;
136136 }
137137 // Limits -----------------------------------------------
138- if ( config . limits . maxKeyLength ) {
139- if ( config . limits . maxKeyLength < 1 ) {
138+ if ( config . sdkInternalLimits . maxKeyLength ) {
139+ if ( config . sdkInternalLimits . maxKeyLength < 1 ) {
140140 L . w ( `configToJson, Provided value for maxKeyLength is invalid!` )
141141 } else {
142- json . maxKeyLength = config . limits . maxKeyLength ;
142+ json . maxKeyLength = config . sdkInternalLimits . maxKeyLength ;
143143 }
144144 }
145- if ( config . limits . maxValueSize ) {
146- if ( config . limits . maxValueSize < 1 ) {
145+ if ( config . sdkInternalLimits . maxValueSize ) {
146+ if ( config . sdkInternalLimits . maxValueSize < 1 ) {
147147 L . w ( `configToJson, Provided value for maxValueSize is invalid!` )
148148 } else {
149- json . maxValueSize = config . limits . maxValueSize ;
149+ json . maxValueSize = config . sdkInternalLimits . maxValueSize ;
150150 }
151151 }
152- if ( config . limits . maxSegmentationValues ) {
153- if ( config . limits . maxSegmentationValues < 1 ) {
152+ if ( config . sdkInternalLimits . maxSegmentationValues ) {
153+ if ( config . sdkInternalLimits . maxSegmentationValues < 1 ) {
154154 L . w ( `configToJson, Provided value for maxSegmentationValues is invalid!` )
155155 } else {
156- json . maxSegmentationValues = config . limits . maxSegmentationValues ;
156+ json . maxSegmentationValues = config . sdkInternalLimits . maxSegmentationValues ;
157157 }
158158 }
159- if ( config . limits . maxBreadcrumbCount ) {
160- if ( config . limits . maxBreadcrumbCount < 1 ) {
159+ if ( config . sdkInternalLimits . maxBreadcrumbCount ) {
160+ if ( config . sdkInternalLimits . maxBreadcrumbCount < 1 ) {
161161 L . w ( `configToJson, Provided value for maxBreadcrumbCount is invalid!` )
162162 } else {
163- json . maxBreadcrumbCount = config . limits . maxBreadcrumbCount ;
163+ json . maxBreadcrumbCount = config . sdkInternalLimits . maxBreadcrumbCount ;
164164 }
165165 }
166- if ( config . limits . maxStackTraceLinesPerThread ) {
167- if ( config . limits . maxStackTraceLinesPerThread < 1 ) {
166+ if ( config . sdkInternalLimits . maxStackTraceLinesPerThread ) {
167+ if ( config . sdkInternalLimits . maxStackTraceLinesPerThread < 1 ) {
168168 L . w ( `configToJson, Provided value for maxStackTraceLinesPerThread is invalid!` )
169169 } else {
170- json . maxStackTraceLinesPerThread = config . limits . maxStackTraceLinesPerThread ;
170+ json . maxStackTraceLinesPerThread = config . sdkInternalLimits . maxStackTraceLinesPerThread ;
171171 }
172172 }
173- if ( config . limits . maxStackTraceLineLength ) {
174- if ( config . limits . maxStackTraceLineLength < 1 ) {
173+ if ( config . sdkInternalLimits . maxStackTraceLineLength ) {
174+ if ( config . sdkInternalLimits . maxStackTraceLineLength < 1 ) {
175175 L . w ( `configToJson, Provided value for maxStackTraceLineLength is invalid!` )
176176 } else {
177- json . maxStackTraceLineLength = config . limits . maxStackTraceLineLength ;
177+ json . maxStackTraceLineLength = config . sdkInternalLimits . maxStackTraceLineLength ;
178178 }
179179 }
180180 // Limits End --------------------------------------------
0 commit comments