Socket
Socket
Sign inDemoInstall

langsmith

Package Overview
Dependencies
Maintainers
5
Versions
151
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

langsmith - npm Package Compare versions

Comparing version 0.1.56-rc.1 to 0.1.56

dist/evaluation/langchain.cjs

2

dist/client.d.ts

@@ -641,7 +641,5 @@ import { AsyncCallerParams } from "./utils/async_caller.js";

/**
*
* This method should not be used directly, use `import { pull } from "langchain/hub"` instead.
* Using this method directly returns the JSON string of the prompt rather than a LangChain object.
* @private
*
*/

@@ -648,0 +646,0 @@ _pullPrompt(promptIdentifier: string, options?: {

@@ -677,3 +677,18 @@ import { Client } from "../index.js";

? traceable(async (inputs) => {
return fn.invoke(inputs);
let langChainCallbacks;
try {
// TODO: Deprecate this and rely on interop on 0.2 minor bump.
const { getLangchainCallbacks } = await import("../langchain.js");
langChainCallbacks = await getLangchainCallbacks();
}
catch {
// no-op
}
// Issue with retrieving LangChain callbacks, rely on interop
if (langChainCallbacks === undefined) {
return await fn.invoke(inputs);
}
else {
return await fn.invoke(inputs, { callbacks: langChainCallbacks });
}
}, options)

@@ -680,0 +695,0 @@ : traceable(fn, options);

@@ -5,2 +5,2 @@ export { Client, type ClientConfig } from "./client.js";

export { overrideFetchImplementation } from "./singletons/fetch.js";
export declare const __version__ = "0.1.56-rc.1";
export declare const __version__ = "0.1.56";

@@ -5,2 +5,2 @@ export { Client } from "./client.js";

// Update using yarn bump-version
export const __version__ = "0.1.56-rc.1";
export const __version__ = "0.1.56";
{
"name": "langsmith",
"version": "0.1.56-rc.1",
"version": "0.1.56",
"description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.",

@@ -24,2 +24,6 @@ "packageManager": "yarn@1.22.19",

"evaluation.d.cts",
"evaluation/langchain.cjs",
"evaluation/langchain.js",
"evaluation/langchain.d.ts",
"evaluation/langchain.d.cts",
"schemas.cjs",

@@ -29,2 +33,6 @@ "schemas.js",

"schemas.d.cts",
"langchain.cjs",
"langchain.js",
"langchain.d.ts",
"langchain.d.cts",
"wrappers.cjs",

@@ -106,5 +114,5 @@ "wrappers.js",

"@jest/globals": "^29.5.0",
"@langchain/core": "^0.2.17",
"@langchain/langgraph": "^0.0.29",
"@langchain/openai": "^0.2.5",
"@langchain/core": "^0.3.1",
"@langchain/langgraph": "^0.2.3",
"@langchain/openai": "^0.3.0",
"@tsconfig/recommended": "^1.0.2",

@@ -124,3 +132,3 @@ "@types/jest": "^29.5.1",

"jest": "^29.5.0",
"langchain": "^0.2.10",
"langchain": "^0.3.2",
"openai": "^4.38.5",

@@ -193,2 +201,11 @@ "prettier": "^2.8.8",

},
"./evaluation/langchain": {
"types": {
"import": "./evaluation/langchain.d.ts",
"require": "./evaluation/langchain.d.cts",
"default": "./evaluation/langchain.d.ts"
},
"import": "./evaluation/langchain.js",
"require": "./evaluation/langchain.cjs"
},
"./schemas": {

@@ -203,2 +220,11 @@ "types": {

},
"./langchain": {
"types": {
"import": "./langchain.d.ts",
"require": "./langchain.d.cts",
"default": "./langchain.d.ts"
},
"import": "./langchain.js",
"require": "./langchain.cjs"
},
"./wrappers": {

@@ -205,0 +231,0 @@ "types": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc