langsmith 0.3.30 → 0.3.31

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.3.30";
11
+ exports.__version__ = "0.3.31";
package/dist/index.d.ts CHANGED
@@ -2,4 +2,4 @@ export { Client, type ClientConfig, type LangSmithTracingClientInterface, } from
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.3.30";
5
+ export declare const __version__ = "0.3.31";
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.3.30";
5
+ export const __version__ = "0.3.31";
@@ -19,9 +19,7 @@ const isWebWorker = () => typeof globalThis === "object" &&
19
19
  globalThis.constructor.name === "DedicatedWorkerGlobalScope";
20
20
  exports.isWebWorker = isWebWorker;
21
21
  const isJsDom = () => (typeof window !== "undefined" && window.name === "nodejs") ||
22
- (typeof navigator !== "undefined" &&
23
- (navigator.userAgent.includes("Node.js") ||
24
- navigator.userAgent.includes("jsdom")));
22
+ (typeof navigator !== "undefined" && navigator.userAgent.includes("jsdom"));
25
23
  exports.isJsDom = isJsDom;
26
24
  // Supabase Edge Function provides a `Deno` global object
27
25
  // without `version` property
package/dist/utils/env.js CHANGED
@@ -6,9 +6,7 @@ export const isWebWorker = () => typeof globalThis === "object" &&
6
6
  globalThis.constructor &&
7
7
  globalThis.constructor.name === "DedicatedWorkerGlobalScope";
8
8
  export const isJsDom = () => (typeof window !== "undefined" && window.name === "nodejs") ||
9
- (typeof navigator !== "undefined" &&
10
- (navigator.userAgent.includes("Node.js") ||
11
- navigator.userAgent.includes("jsdom")));
9
+ (typeof navigator !== "undefined" && navigator.userAgent.includes("jsdom"));
12
10
  // Supabase Edge Function provides a `Deno` global object
13
11
  // without `version` property
14
12
  export const isDeno = () => typeof Deno !== "undefined";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "langsmith",
3
- "version": "0.3.30",
3
+ "version": "0.3.31",
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": [