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.
@@ -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 {