fix(sdk-js): Release 0.0.14

This commit is contained in:
Brace Sproul
2024-10-01 13:18:02 -07:00
committed by GitHub
2 changed files with 9 additions and 6 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "@langchain/langgraph-sdk",
"version": "0.0.13",
"version": "0.0.14",
"description": "Client library for interacting with the LangGraph API",
"type": "module",
"packageManager": "yarn@1.22.19",
+8 -5
View File
@@ -1050,11 +1050,14 @@ export class StoreClient extends BaseClient {
const response = await this.fetch<APIItem>("/store/items", {
params: { namespace: namespace.join("."), key },
});
return {
...response,
createdAt: response.created_at,
updatedAt: response.updated_at,
};
return response
? {
...response,
createdAt: response.created_at,
updatedAt: response.updated_at,
}
: null;
}
/**