@mastra/observability 1.16.4-alpha.1 → 1.16.4
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/CHANGELOG.md +28 -0
- package/dist/index.cjs +1 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1 -2
- package/dist/index.js.map +1 -1
- package/dist/spans/base.d.ts.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -2516,7 +2516,6 @@ var BaseSpan = class {
|
|
|
2516
2516
|
...options.parent?.metadata,
|
|
2517
2517
|
...options.metadata
|
|
2518
2518
|
} : void 0, this.deepCleanOptions);
|
|
2519
|
-
if (options.requestContext && options.requestContext.size() > 0) this.requestContext = deepClean(options.requestContext.all, this.deepCleanOptions);
|
|
2520
2519
|
this.parent = options.parent;
|
|
2521
2520
|
this.startTime = options.startTime ?? /* @__PURE__ */ new Date();
|
|
2522
2521
|
this.observabilityInstance = observabilityInstance;
|
|
@@ -2533,7 +2532,7 @@ var BaseSpan = class {
|
|
|
2533
2532
|
return;
|
|
2534
2533
|
}
|
|
2535
2534
|
this.attributes = deepClean(options.attributes, this.deepCleanOptions) || {};
|
|
2536
|
-
if (options.requestContext && options.requestContext.size() > 0) this.requestContext = deepClean(options.requestContext
|
|
2535
|
+
if (options.requestContext && options.requestContext.size() > 0) this.requestContext = deepClean(options.requestContext, this.deepCleanOptions);
|
|
2537
2536
|
if (this.isEvent) this.output = deepClean(options.output, this.deepCleanOptions);
|
|
2538
2537
|
else this.input = deepClean(options.input, this.deepCleanOptions);
|
|
2539
2538
|
}
|