@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 +7 -5
- package/dist/client.js +7 -5
- package/package.json +1 -1
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
|
-
|
|
737
|
-
|
|
738
|
-
|
|
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
|
-
|
|
730
|
-
|
|
731
|
-
|
|
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.
|