Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion examples/gnt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"@nhost/nextjs": "^2.2.3",
"gqty": "workspace:^",
"graphql": "^16.10.0",
"graphql-ws": "^5.16.2",
"graphql-ws": "^6.0.3",
"next": "15.1.7",
"react": "^18.3.1",
"react-dom": "^18.3.1"
Expand Down
2 changes: 1 addition & 1 deletion internal/test-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
"graphql": "^16.10.0",
"graphql-ez": "^0.16.1",
"graphql-scalars": "^1.24.1",
"graphql-ws": "^5.16.2",
"graphql-ws": "^6.0.3",
"graphql-yoga": "^5.11.0",
"jest": "^29.7.0",
"jest-watch-typeahead": "^2.2.2",
Expand Down
4 changes: 2 additions & 2 deletions packages/gqty/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"eslint-plugin-you-dont-need-lodash-underscore": "^6.14.0",
"graphql": "^16.10.0",
"graphql-sse": "^2.5.4",
"graphql-ws": "^5.16.2",
"graphql-ws": "^6.0.3",
"jest": "^30.0.0-alpha.7",
"just-memoize": "^2.2.0",
"p-lazy": "^3.1.0",
Expand All @@ -106,7 +106,7 @@
"peerDependencies": {
"graphql": "*",
"graphql-sse": "^2.5.4",
"graphql-ws": "^5.16.2"
"graphql-ws": "^6.0.3"
},
"peerDependenciesMeta": {
"graphql": {
Expand Down
7 changes: 6 additions & 1 deletion packages/gqty/src/Client/resolvers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,12 @@ export const createResolvers = <TSchema extends BaseGeneratedSchema>({
cache: context.cache,
debugger: debug,
extensions,
fetchOptions: { ...fetchOptions, cachePolicy, retryPolicy },
fetchOptions: {
...fetchOptions,
cachePolicy,
retryPolicy,
subscriber,
},
operationName,
});

Expand Down
2 changes: 1 addition & 1 deletion packages/gqty/src/Client/subscriber.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export type GQtyWsClient = WsClient & {
};

/**
* Warning: If the WebSocket is already connected before this funciton is
* Warning: If the WebSocket is already connected before this function is
* called, the `onSubscribe` will not be called until next connected event.
*/
export const createSubscriber = (input: WsClient): GQtyWsClient => {
Expand Down
4 changes: 2 additions & 2 deletions packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@
"gqty": "workspace:^",
"graphql": "^16.10.0",
"graphql-sse": "^2.5.4",
"graphql-ws": "^5.16.2",
"graphql-ws": "^6.0.3",
"jest": "^29.7.0",
"jest-environment-jsdom": "^29.7.0",
"lodash-es": "^4.17.21",
Expand All @@ -124,7 +124,7 @@
"gqty": "workspace:^3.4.1",
"graphql": "*",
"graphql-sse": "^2.5.4",
"graphql-ws": "^5.16.2",
"graphql-ws": "^6.0.3",
"react": "^16.14.0 || ^17.0.0 || ^18.0.0 || ^19.0.0",
"react-dom": "^18.0.0 || ^19.0.0"
},
Expand Down
35 changes: 27 additions & 8 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading