observa-sdk 0.0.13 → 0.0.14
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/index.cjs +6 -1
- package/dist/index.js +6 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -576,7 +576,12 @@ async function traceStreamText(originalFn, args, options) {
|
|
|
576
576
|
);
|
|
577
577
|
const wrappedResult = Object.create(Object.getPrototypeOf(result));
|
|
578
578
|
Object.assign(wrappedResult, result);
|
|
579
|
-
wrappedResult
|
|
579
|
+
Object.defineProperty(wrappedResult, "textStream", {
|
|
580
|
+
value: wrappedStream,
|
|
581
|
+
writable: true,
|
|
582
|
+
enumerable: true,
|
|
583
|
+
configurable: true
|
|
584
|
+
});
|
|
580
585
|
return wrappedResult;
|
|
581
586
|
}
|
|
582
587
|
recordTrace3(
|
package/dist/index.js
CHANGED
|
@@ -556,7 +556,12 @@ async function traceStreamText(originalFn, args, options) {
|
|
|
556
556
|
);
|
|
557
557
|
const wrappedResult = Object.create(Object.getPrototypeOf(result));
|
|
558
558
|
Object.assign(wrappedResult, result);
|
|
559
|
-
wrappedResult
|
|
559
|
+
Object.defineProperty(wrappedResult, "textStream", {
|
|
560
|
+
value: wrappedStream,
|
|
561
|
+
writable: true,
|
|
562
|
+
enumerable: true,
|
|
563
|
+
configurable: true
|
|
564
|
+
});
|
|
560
565
|
return wrappedResult;
|
|
561
566
|
}
|
|
562
567
|
recordTrace3(
|
package/package.json
CHANGED