@langchain/langgraph-sdk 0.0.14-rc.0 → 0.0.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/client.cjs CHANGED
@@ -732,11 +732,13 @@ class StoreClient extends BaseClient {
732
732
  const response = await this.fetch("/store/items", {
733
733
  params: { namespace: namespace.join("."), key },
734
734
  });
735
- return {
736
- ...response,
737
- createdAt: response.created_at,
738
- updatedAt: response.updated_at,
739
- };
735
+ return response
736
+ ? {
737
+ ...response,
738
+ createdAt: response.created_at,
739
+ updatedAt: response.updated_at,
740
+ }
741
+ : null;
740
742
  }
741
743
  /**
742
744
  * Delete an item.
package/dist/client.js CHANGED
@@ -725,11 +725,13 @@ export class StoreClient extends BaseClient {
725
725
  const response = await this.fetch("/store/items", {
726
726
  params: { namespace: namespace.join("."), key },
727
727
  });
728
- return {
729
- ...response,
730
- createdAt: response.created_at,
731
- updatedAt: response.updated_at,
732
- };
728
+ return response
729
+ ? {
730
+ ...response,
731
+ createdAt: response.created_at,
732
+ updatedAt: response.updated_at,
733
+ }
734
+ : null;
733
735
  }
734
736
  /**
735
737
  * Delete an item.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@langchain/langgraph-sdk",
3
- "version": "0.0.14-rc.0",
3
+ "version": "0.0.14",
4
4
  "description": "Client library for interacting with the LangGraph API",
5
5
  "type": "module",
6
6
  "packageManager": "yarn@1.22.19",