langsmith 0.2.2-rc.2 → 0.2.3

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 CHANGED
@@ -8,4 +8,4 @@ Object.defineProperty(exports, "RunTree", { enumerable: true, get: function () {
8
8
  var fetch_js_1 = require("./singletons/fetch.cjs");
9
9
  Object.defineProperty(exports, "overrideFetchImplementation", { enumerable: true, get: function () { return fetch_js_1.overrideFetchImplementation; } });
10
10
  // Update using yarn bump-version
11
- exports.__version__ = "0.2.2-rc.2";
11
+ exports.__version__ = "0.2.3";
package/dist/index.d.ts CHANGED
@@ -2,4 +2,4 @@ export { Client, type ClientConfig } from "./client.js";
2
2
  export type { Dataset, Example, TracerSession, Run, Feedback, RetrieverOutput, } from "./schemas.js";
3
3
  export { RunTree, type RunTreeConfig } from "./run_trees.js";
4
4
  export { overrideFetchImplementation } from "./singletons/fetch.js";
5
- export declare const __version__ = "0.2.2-rc.2";
5
+ export declare const __version__ = "0.2.3";
package/dist/index.js CHANGED
@@ -2,4 +2,4 @@ export { Client } from "./client.js";
2
2
  export { RunTree } from "./run_trees.js";
3
3
  export { overrideFetchImplementation } from "./singletons/fetch.js";
4
4
  // Update using yarn bump-version
5
- export const __version__ = "0.2.2-rc.2";
5
+ export const __version__ = "0.2.3";
package/dist/vercel.cjs CHANGED
@@ -290,7 +290,7 @@ class AISDKExporter {
290
290
  const parsedEnd = convertToTimestamp(span.endTime);
291
291
  let name = rawConfig.name;
292
292
  // if user provided a custom name, only use it if it's the root
293
- if (span.parentSpanId == null) {
293
+ if (this.isRootRun(span)) {
294
294
  name =
295
295
  this.getSpanAttributeKey(span, RUN_NAME_METADATA_KEY.output) || name;
296
296
  }
package/dist/vercel.js CHANGED
@@ -287,7 +287,7 @@ export class AISDKExporter {
287
287
  const parsedEnd = convertToTimestamp(span.endTime);
288
288
  let name = rawConfig.name;
289
289
  // if user provided a custom name, only use it if it's the root
290
- if (span.parentSpanId == null) {
290
+ if (this.isRootRun(span)) {
291
291
  name =
292
292
  this.getSpanAttributeKey(span, RUN_NAME_METADATA_KEY.output) || name;
293
293
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "langsmith",
3
- "version": "0.2.2-rc.2",
3
+ "version": "0.2.3",
4
4
  "description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.",
5
5
  "packageManager": "yarn@1.22.19",
6
6
  "files": [