From 9a9fe2fdec6cfba92ad285b35d820b656b3721fe Mon Sep 17 00:00:00 2001 From: jacoblee93 Date: Mon, 30 Dec 2024 10:14:51 -0800 Subject: [PATCH] Update JS SDK command types --- libs/sdk-js/package.json | 2 +- libs/sdk-js/src/types.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/sdk-js/package.json b/libs/sdk-js/package.json index 8e3e061b2..727faaec0 100644 --- a/libs/sdk-js/package.json +++ b/libs/sdk-js/package.json @@ -1,6 +1,6 @@ { "name": "@langchain/langgraph-sdk", - "version": "0.0.32", + "version": "0.0.33", "description": "Client library for interacting with the LangGraph API", "type": "module", "packageManager": "yarn@1.22.19", diff --git a/libs/sdk-js/src/types.ts b/libs/sdk-js/src/types.ts index 6a668ef4c..5afd3123a 100644 --- a/libs/sdk-js/src/types.ts +++ b/libs/sdk-js/src/types.ts @@ -32,7 +32,7 @@ export interface Command { /** * An object to update the thread state with. */ - update?: Record; + update?: Record | Record[]; /** * The value to return from an `interrupt` function call.