[GH-ISSUE #2918] PostgresStore is not an available export from @langchain/langgraph-checkpoint-postgres (typescript) #2695

Closed
opened 2026-06-05 17:26:20 -04:00 by yindo · 0 comments
Owner

Originally created by @ImErvin on GitHub (Mar 4, 2026).
Original GitHub issue: https://github.com/langchain-ai/docs/issues/2918

The reference docs list PostgresStore under @langchain/langgraph-checkpoint-postgres, implying it should be importable as:

import { PostgresStore } from "@langchain/langgraph-checkpoint-postgres";

This does not resolve. The only way to import PostgresStore is through the internal dist path:

import { PostgresStore } from "@langchain/langgraph-checkpoint-postgres/dist/store";

Expected behavior:

PostgresStore should be importable from a public subpath export (/store) or re-exported from the package root, matching what the docs suggest.

Actual behavior

@langchain/langgraph-checkpoint-postgres (root) — does not export PostgresStore
@langchain/langgraph-checkpoint-postgres/dist/store — works, but is an internal path that could break between releases

Environment
@langchain/langgraph-checkpoint-postgres: 1.0.1

Originally created by @ImErvin on GitHub (Mar 4, 2026). Original GitHub issue: https://github.com/langchain-ai/docs/issues/2918 The [reference docs](https://reference.langchain.com/javascript/langchain-langgraph-checkpoint-postgres/store/PostgresStore) list PostgresStore under @langchain/langgraph-checkpoint-postgres, implying it should be importable as: ```ts import { PostgresStore } from "@langchain/langgraph-checkpoint-postgres"; ``` This does not resolve. The only way to import PostgresStore is through the internal dist path: ```ts import { PostgresStore } from "@langchain/langgraph-checkpoint-postgres/dist/store"; ``` ### Expected behavior: PostgresStore should be importable from a public subpath export (/store) or re-exported from the package root, matching what the docs suggest. ### Actual behavior `@langchain/langgraph-checkpoint-postgres` (root) — does not export PostgresStore `@langchain/langgraph-checkpoint-postgres/dist/store` — works, but is an internal path that could break between releases Environment @langchain/langgraph-checkpoint-postgres: 1.0.1
yindo added the external label 2026-06-05 17:26:20 -04:00
yindo closed this issue 2026-06-05 17:26:20 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langchain-ai/docs#2695