langsmith 0.3.71 → 0.3.72

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.
@@ -9,7 +9,7 @@ const _wrapTools = (tools, lsConfig) => {
9
9
  const wrappedTools = {};
10
10
  if (tools) {
11
11
  for (const [key, tool] of Object.entries(tools)) {
12
- wrappedTools[key] = { ...tool };
12
+ wrappedTools[key] = Object.assign(Object.create(Object.getPrototypeOf(tool)), tool);
13
13
  if (wrappedTools[key] != null &&
14
14
  typeof wrappedTools[key] === "object" &&
15
15
  "execute" in wrappedTools[key] &&
@@ -6,7 +6,7 @@ const _wrapTools = (tools, lsConfig) => {
6
6
  const wrappedTools = {};
7
7
  if (tools) {
8
8
  for (const [key, tool] of Object.entries(tools)) {
9
- wrappedTools[key] = { ...tool };
9
+ wrappedTools[key] = Object.assign(Object.create(Object.getPrototypeOf(tool)), tool);
10
10
  if (wrappedTools[key] != null &&
11
11
  typeof wrappedTools[key] === "object" &&
12
12
  "execute" in wrappedTools[key] &&
package/dist/index.cjs CHANGED
@@ -10,4 +10,4 @@ Object.defineProperty(exports, "overrideFetchImplementation", { enumerable: true
10
10
  var project_js_1 = require("./utils/project.cjs");
11
11
  Object.defineProperty(exports, "getDefaultProjectName", { enumerable: true, get: function () { return project_js_1.getDefaultProjectName; } });
12
12
  // Update using yarn bump-version
13
- exports.__version__ = "0.3.71";
13
+ exports.__version__ = "0.3.72";
package/dist/index.d.ts CHANGED
@@ -3,4 +3,4 @@ export type { Dataset, Example, TracerSession, Run, Feedback, RetrieverOutput, }
3
3
  export { RunTree, type RunTreeConfig } from "./run_trees.js";
4
4
  export { overrideFetchImplementation } from "./singletons/fetch.js";
5
5
  export { getDefaultProjectName } from "./utils/project.js";
6
- export declare const __version__ = "0.3.71";
6
+ export declare const __version__ = "0.3.72";
package/dist/index.js CHANGED
@@ -3,4 +3,4 @@ export { RunTree } from "./run_trees.js";
3
3
  export { overrideFetchImplementation } from "./singletons/fetch.js";
4
4
  export { getDefaultProjectName } from "./utils/project.js";
5
5
  // Update using yarn bump-version
6
- export const __version__ = "0.3.71";
6
+ export const __version__ = "0.3.72";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "langsmith",
3
- "version": "0.3.71",
3
+ "version": "0.3.72",
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": [