From e277220b6a13dfbaa7c7f1e710279da340eb6dad Mon Sep 17 00:00:00 2001 From: Curtis Cummings Date: Mon, 26 Aug 2024 14:45:16 -0400 Subject: [PATCH] chore: @urql/next expose SSRContext --- .changeset/hungry-pandas-accept.md | 5 +++++ packages/next-urql/src/index.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/hungry-pandas-accept.md diff --git a/.changeset/hungry-pandas-accept.md b/.changeset/hungry-pandas-accept.md new file mode 100644 index 0000000000..f36f1306d4 --- /dev/null +++ b/.changeset/hungry-pandas-accept.md @@ -0,0 +1,5 @@ +--- +'@urql/next': patch +--- + +export SSRContext from provider diff --git a/packages/next-urql/src/index.ts b/packages/next-urql/src/index.ts index 971f7d9eec..81c025c4ca 100644 --- a/packages/next-urql/src/index.ts +++ b/packages/next-urql/src/index.ts @@ -1,3 +1,3 @@ export * from 'urql'; export { useQuery } from './useQuery'; -export { UrqlProvider } from './Provider'; +export { UrqlProvider, SSRContext } from './Provider';