Socket
Socket
Sign inDemoInstall

langsmith

Package Overview
Dependencies
Maintainers
1
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.0.37 to 0.0.38

3

dist/client.d.ts

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

readRunSharedLink(runId: string): Promise<string | undefined>;
createProject({ projectName, projectExtra, upsert, }: {
createProject({ projectName, projectExtra, upsert, referenceDatasetId, }: {
projectName: string;
projectExtra?: object;
upsert?: boolean;
referenceDatasetId?: string;
}): Promise<TracerSession>;

@@ -94,0 +95,0 @@ readProject({ projectId, projectName, }: {

@@ -324,3 +324,3 @@ import * as uuid from "uuid";

}
async createProject({ projectName, projectExtra, upsert, }) {
async createProject({ projectName, projectExtra, upsert, referenceDatasetId, }) {
const upsert_ = upsert ? `?upsert=true` : "";

@@ -334,2 +334,5 @@ const endpoint = `${this.apiUrl}/sessions${upsert_}`;

}
if (referenceDatasetId !== undefined) {
body["reference_dataset_id"] = referenceDatasetId;
}
const response = await this.caller.call(fetch, endpoint, {

@@ -336,0 +339,0 @@ method: "POST",

{
"name": "langsmith",
"version": "0.0.37",
"version": "0.0.38",
"description": "Client library to connect to the LangSmith LLM Tracing and Evaluation Platform.",

@@ -5,0 +5,0 @@ "files": [

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