o11y 248.11.0 → 248.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/modules/o11y/client/client.js +9 -5
- package/dist/modules/o11y/client/client.js.map +1 -1
- package/dist/modules/o11y/client/version.d.ts +1 -1
- package/dist/modules/o11y/collectors/version.d.ts +1 -1
- package/dist/modules/o11y/core_envelope/version.d.ts +1 -1
- package/dist/modules/o11y/shared/version.d.ts +1 -1
- package/dist/modules/o11y/simple_collector/version.d.ts +1 -1
- package/dist/modules/o11y/web_vitals/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -2200,10 +2200,11 @@ class NextgenImpl {
|
|
|
2200
2200
|
return (_a = this._appInstr) === null || _a === void 0 ? void 0 : _a.name;
|
|
2201
2201
|
}
|
|
2202
2202
|
addLog(loggerName, schema, data, timestamp, rootId) {
|
|
2203
|
-
var _a, _b;
|
|
2203
|
+
var _a, _b, _c;
|
|
2204
2204
|
payloadUtility.checkInputs(schema, data);
|
|
2205
2205
|
this._sequence += 1;
|
|
2206
|
-
const
|
|
2206
|
+
const isInternal = schemaUtil.isInternal(schema);
|
|
2207
|
+
const userSchema = isInternal && (data === null || data === void 0 ? void 0 : data.userPayload) ? data.userPayload.schema : schema;
|
|
2207
2208
|
const schemaId = schemaUtil.getSchemaId(userSchema);
|
|
2208
2209
|
let schemaSequence = this._seqBySchema.get(schemaId) || 0;
|
|
2209
2210
|
schemaSequence += 1;
|
|
@@ -2233,8 +2234,11 @@ class NextgenImpl {
|
|
|
2233
2234
|
}
|
|
2234
2235
|
if (typeof this._decimalPoints === 'number') {
|
|
2235
2236
|
utility.roundNumbersInObject(data, this._decimalPoints);
|
|
2236
|
-
|
|
2237
|
-
|
|
2237
|
+
if (isInternal) {
|
|
2238
|
+
utility.roundNumbersInObject((_a = data.userPayload) === null || _a === void 0 ? void 0 : _a.payload, this._decimalPoints);
|
|
2239
|
+
}
|
|
2240
|
+
utility.roundNumbersInObject((_b = logMeta.pagePayload) === null || _b === void 0 ? void 0 : _b.payload, this._decimalPoints);
|
|
2241
|
+
utility.roundNumbersInObject((_c = logMeta.appPayload) === null || _c === void 0 ? void 0 : _c.payload, this._decimalPoints);
|
|
2238
2242
|
}
|
|
2239
2243
|
if (this._isBufferingEnabled) {
|
|
2240
2244
|
this._buffer.push(payloadArgs);
|
|
@@ -2495,7 +2499,7 @@ class ConsoleCollector {
|
|
|
2495
2499
|
}
|
|
2496
2500
|
}
|
|
2497
2501
|
|
|
2498
|
-
const version = '248.
|
|
2502
|
+
const version = '248.13.0';
|
|
2499
2503
|
|
|
2500
2504
|
const idleDetector = new IdleDetectorImpl({
|
|
2501
2505
|
logThreshold: 300,
|