@benzene/ws
Advanced tools
Comparing version 0.5.0 to 0.5.1
# @benzene/ws | ||
## 0.5.1 | ||
### Patch Changes | ||
- 05944c6: Make `extra` optional on `graphqlHTTP` and `graphqlWS` | ||
## 0.5.0 | ||
@@ -4,0 +10,0 @@ |
@@ -8,2 +8,2 @@ import { Benzene, ExtractExtraType } from "@benzene/core"; | ||
*/ | ||
export declare function makeHandler<TBenzene extends Benzene>(GQL: TBenzene, options?: HandlerOptions<ExtractExtraType<TBenzene>>): (socket: WebSocket, extra: ExtractExtraType<TBenzene>) => void; | ||
export declare function makeHandler<TBenzene extends Benzene>(GQL: TBenzene, options?: HandlerOptions<ExtractExtraType<TBenzene>>): (socket: WebSocket, extra?: ExtractExtraType<TBenzene> | undefined) => void; |
@@ -51,3 +51,3 @@ import { ValueOrPromise } from "@benzene/core"; | ||
connectionInitReceived: boolean; | ||
extra: TExtra; | ||
extra?: TExtra; | ||
} | ||
@@ -54,0 +54,0 @@ export interface HandlerOptions<TExtra> { |
{ | ||
"name": "@benzene/ws", | ||
"type": "module", | ||
"version": "0.5.0", | ||
"version": "0.5.1", | ||
"description": "Fast and minimal GraphQL over WebSockets server", | ||
@@ -6,0 +6,0 @@ "author": "Hoang Vo (https://hoangvvo.com)", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
21722