opik 1.7.24 → 1.7.25
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/{Client-C7dnzttj.d.cts → Client-DEn_NVx8.d.cts} +4 -0
- package/dist/{Client-C7dnzttj.d.ts → Client-DEn_NVx8.d.ts} +4 -0
- package/dist/{chunk-6LLEDJAY.js → chunk-P4NACDZ7.js} +4 -4
- package/dist/index.cjs +4 -4
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/vercel/index.cjs +3 -3
- package/dist/vercel/index.d.cts +12 -7
- package/dist/vercel/index.d.ts +12 -7
- package/dist/vercel/index.js +1 -1
- package/package.json +2 -2
|
@@ -6158,6 +6158,7 @@ interface SavedSpan extends Span$1 {
|
|
|
6158
6158
|
declare class Span {
|
|
6159
6159
|
data: SavedSpan;
|
|
6160
6160
|
private opik;
|
|
6161
|
+
private childSpans;
|
|
6161
6162
|
constructor(data: SavedSpan, opik: OpikClient);
|
|
6162
6163
|
end: () => this;
|
|
6163
6164
|
score: (score: {
|
|
@@ -6167,6 +6168,9 @@ declare class Span {
|
|
|
6167
6168
|
reason?: string;
|
|
6168
6169
|
}) => void;
|
|
6169
6170
|
update: (updates: Omit<SpanUpdate$1, "traceId" | "parentSpanId" | "projectId" | "projectName">) => this;
|
|
6171
|
+
span: (spanData: Omit<Span$1, "startTime" | "traceId" | "parentSpanId" | "projectId" | "projectName" | "id"> & {
|
|
6172
|
+
startTime?: Date;
|
|
6173
|
+
}) => Span;
|
|
6170
6174
|
}
|
|
6171
6175
|
|
|
6172
6176
|
interface SavedTrace extends Trace$1 {
|
|
@@ -6158,6 +6158,7 @@ interface SavedSpan extends Span$1 {
|
|
|
6158
6158
|
declare class Span {
|
|
6159
6159
|
data: SavedSpan;
|
|
6160
6160
|
private opik;
|
|
6161
|
+
private childSpans;
|
|
6161
6162
|
constructor(data: SavedSpan, opik: OpikClient);
|
|
6162
6163
|
end: () => this;
|
|
6163
6164
|
score: (score: {
|
|
@@ -6167,6 +6168,9 @@ declare class Span {
|
|
|
6167
6168
|
reason?: string;
|
|
6168
6169
|
}) => void;
|
|
6169
6170
|
update: (updates: Omit<SpanUpdate$1, "traceId" | "parentSpanId" | "projectId" | "projectName">) => this;
|
|
6171
|
+
span: (spanData: Omit<Span$1, "startTime" | "traceId" | "parentSpanId" | "projectId" | "projectName" | "id"> & {
|
|
6172
|
+
startTime?: Date;
|
|
6173
|
+
}) => Span;
|
|
6170
6174
|
}
|
|
6171
6175
|
|
|
6172
6176
|
interface SavedTrace extends Trace$1 {
|