observa-sdk 0.0.12 → 0.0.13
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 +4 -4
- package/dist/index.js +4 -4
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -574,10 +574,10 @@ async function traceStreamText(originalFn, args, options) {
|
|
|
574
574
|
),
|
|
575
575
|
"vercel-ai"
|
|
576
576
|
);
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
577
|
+
const wrappedResult = Object.create(Object.getPrototypeOf(result));
|
|
578
|
+
Object.assign(wrappedResult, result);
|
|
579
|
+
wrappedResult.textStream = wrappedStream;
|
|
580
|
+
return wrappedResult;
|
|
581
581
|
}
|
|
582
582
|
recordTrace3(
|
|
583
583
|
{
|
package/dist/index.js
CHANGED
|
@@ -554,10 +554,10 @@ async function traceStreamText(originalFn, args, options) {
|
|
|
554
554
|
),
|
|
555
555
|
"vercel-ai"
|
|
556
556
|
);
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
557
|
+
const wrappedResult = Object.create(Object.getPrototypeOf(result));
|
|
558
|
+
Object.assign(wrappedResult, result);
|
|
559
|
+
wrappedResult.textStream = wrappedStream;
|
|
560
|
+
return wrappedResult;
|
|
561
561
|
}
|
|
562
562
|
recordTrace3(
|
|
563
563
|
{
|
package/package.json
CHANGED