@graphql-yoga/plugin-graphql-sse 3.21.0 → 3.21.1

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/package.json CHANGED
@@ -1,10 +1,10 @@
1
1
  {
2
2
  "name": "@graphql-yoga/plugin-graphql-sse",
3
- "version": "3.21.0",
3
+ "version": "3.21.1",
4
4
  "description": "GraphQL over Server-Sent Events Protocol plugin for GraphQL Yoga.",
5
5
  "peerDependencies": {
6
6
  "graphql": "^15.2.0 || ^16.0.0",
7
- "graphql-yoga": "^5.21.0"
7
+ "graphql-yoga": "^5.21.1"
8
8
  },
9
9
  "dependencies": {
10
10
  "@whatwg-node/promise-helpers": "^1.3.2",
@@ -1,6 +1,6 @@
1
- import { HandlerOptions } from 'graphql-sse';
2
- import { RequestContext } from 'graphql-sse/lib/use/fetch';
3
- import { Plugin, YogaInitialContext } from 'graphql-yoga';
1
+ import type { HandlerOptions } from 'graphql-sse';
2
+ import type { RequestContext } from 'graphql-sse/lib/use/fetch';
3
+ import type { Plugin, YogaInitialContext } from 'graphql-yoga';
4
4
  export interface GraphQLSSEPluginOptions extends Omit<HandlerOptions<Request, RequestContext, any>, 'validate' | 'execute' | 'subscribe' | 'schema' | 'onSubscribe'> {
5
5
  /**
6
6
  * Endpoint location where GraphQL over SSE will be served.
@@ -1,6 +1,6 @@
1
- import { HandlerOptions } from 'graphql-sse';
2
- import { RequestContext } from 'graphql-sse/lib/use/fetch';
3
- import { Plugin, YogaInitialContext } from 'graphql-yoga';
1
+ import type { HandlerOptions } from 'graphql-sse';
2
+ import type { RequestContext } from 'graphql-sse/lib/use/fetch';
3
+ import type { Plugin, YogaInitialContext } from 'graphql-yoga';
4
4
  export interface GraphQLSSEPluginOptions extends Omit<HandlerOptions<Request, RequestContext, any>, 'validate' | 'execute' | 'subscribe' | 'schema' | 'onSubscribe'> {
5
5
  /**
6
6
  * Endpoint location where GraphQL over SSE will be served.