@ai-sdk/otel 1.0.0-beta.29 → 1.0.0-beta.30
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 +8 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +2 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/gen-ai-format-messages.ts +1 -1
- package/src/gen-ai-open-telemetry-integration.ts +1 -1
- package/src/open-telemetry-integration.ts +1 -1
package/dist/index.mjs
CHANGED
|
@@ -802,7 +802,7 @@ var GenAIOpenTelemetryIntegration = class {
|
|
|
802
802
|
}
|
|
803
803
|
})
|
|
804
804
|
);
|
|
805
|
-
} catch (
|
|
805
|
+
} catch (e) {
|
|
806
806
|
}
|
|
807
807
|
} else {
|
|
808
808
|
recordSpanError(span, event.error);
|
|
@@ -1548,7 +1548,7 @@ var OpenTelemetryIntegration = class {
|
|
|
1548
1548
|
}
|
|
1549
1549
|
})
|
|
1550
1550
|
);
|
|
1551
|
-
} catch (
|
|
1551
|
+
} catch (e) {
|
|
1552
1552
|
}
|
|
1553
1553
|
} else {
|
|
1554
1554
|
recordSpanError2(span, event.error);
|