Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@benzene/ws

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@benzene/ws - npm Package Compare versions

Comparing version 0.5.0 to 0.5.1

6

CHANGELOG.md
# @benzene/ws
## 0.5.1
### Patch Changes
- 05944c6: Make `extra` optional on `graphqlHTTP` and `graphqlWS`
## 0.5.0

@@ -4,0 +10,0 @@

2

dist/handler.d.ts

@@ -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)",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc