This commit is contained in:
William Fu-Hinthorn
2025-03-13 09:55:41 -07:00
parent 318889bc6c
commit c0abfc7df6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@langchain/langgraph-sdk",
"version": "0.0.54",
"version": "0.0.56",
"description": "Client library for interacting with the LangGraph API",
"type": "module",
"packageManager": "yarn@1.22.19",
+1 -1
View File
@@ -282,7 +282,7 @@ function getBranchView<StateType extends Record<string, unknown>>(
branchByCheckpoint[item.value.checkpoint.checkpoint_id!] = {
branch: item.path.join(PATH_SEP),
branchOptions: (item.path.length > 0
? (pathMap[item.path.at(-2) ?? ROOT_ID] ?? [])
? pathMap[item.path.at(-2) ?? ROOT_ID] ?? []
: []
).map((p) => p.join(PATH_SEP)),
};