New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

graphql-ws

Package Overview
Dependencies
Maintainers
0
Versions
163
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

graphql-ws - npm Package Compare versions

Comparing version

to
6.0.3-rc-f61306b17d18a106f729e49fccbca98402962f54

dist/common-DY-PBNYy.d.ts

10

dist/client.d.ts

@@ -1,3 +0,3 @@

import { c as ConnectionAckMessage, P as PingMessage, d as PongMessage, k as Message, b as ConnectionInitMessage, f as SubscribePayload, I as ID, J as JSONMessageReviver, l as JSONMessageReplacer, a as Disposable, S as Sink, F as FormattedExecutionResult, h as FormattedExecutionPatchResult } from './common-DlmoEedZ.js';
export { C as CloseCode, j as CompleteMessage, D as DEPRECATED_GRAPHQL_WS_PROTOCOL, i as ErrorMessage, g as ExecutionPatchResult, E as ExecutionResult, G as GRAPHQL_TRANSPORT_WS_PROTOCOL, M as MessageType, N as NextMessage, e as SubscribeMessage, p as parseMessage, s as stringifyMessage, v as validateMessage } from './common-DlmoEedZ.js';
import { c as ConnectionAckMessage, P as PingMessage, d as PongMessage, i as Message, b as ConnectionInitMessage, f as SubscribePayload, I as ID, J as JSONMessageReviver, j as JSONMessageReplacer, a as Disposable, S as Sink, F as FormattedExecutionResult } from './common-DY-PBNYy.js';
export { C as CloseCode, h as CompleteMessage, D as DEPRECATED_GRAPHQL_WS_PROTOCOL, g as ErrorMessage, E as ExecutionResult, G as GRAPHQL_TRANSPORT_WS_PROTOCOL, M as MessageType, N as NextMessage, e as SubscribeMessage, p as parseMessage, s as stringifyMessage, v as validateMessage } from './common-DY-PBNYy.js';
import 'graphql';

@@ -349,3 +349,3 @@

*/
subscribe<Data = Record<string, unknown>, Extensions = unknown>(payload: SubscribePayload, sink: Sink<FormattedExecutionResult<Data, Extensions> | FormattedExecutionPatchResult<Data, Extensions>>): () => void;
subscribe<Data = Record<string, unknown>, Extensions = unknown>(payload: SubscribePayload, sink: Sink<FormattedExecutionResult<Data, Extensions>>): () => void;
/**

@@ -355,3 +355,3 @@ * Subscribes and iterates over emitted results from the WebSocket

*/
iterate<Data = Record<string, unknown>, Extensions = unknown>(payload: SubscribePayload): AsyncIterableIterator<FormattedExecutionResult<Data, Extensions> | FormattedExecutionPatchResult<Data, Extensions>>;
iterate<Data = Record<string, unknown>, Extensions = unknown>(payload: SubscribePayload): AsyncIterableIterator<FormattedExecutionResult<Data, Extensions>>;
/**

@@ -394,2 +394,2 @@ * Terminates the WebSocket abruptly and immediately.

export { type Client, type ClientOptions, ConnectionAckMessage, ConnectionInitMessage, Disposable, type Event, type EventClosed, type EventClosedListener, type EventConnected, type EventConnectedListener, type EventConnecting, type EventConnectingListener, type EventError, type EventErrorListener, type EventListener, type EventMessage, type EventMessageListener, type EventOpened, type EventOpenedListener, type EventPing, type EventPingListener, type EventPong, type EventPongListener, FormattedExecutionPatchResult, FormattedExecutionResult, ID, JSONMessageReplacer, JSONMessageReviver, Message, PingMessage, PongMessage, Sink, SubscribePayload, TerminatedCloseEvent, createClient };
export { type Client, type ClientOptions, ConnectionAckMessage, ConnectionInitMessage, Disposable, type Event, type EventClosed, type EventClosedListener, type EventConnected, type EventConnectedListener, type EventConnecting, type EventConnectingListener, type EventError, type EventErrorListener, type EventListener, type EventMessage, type EventMessageListener, type EventOpened, type EventOpenedListener, type EventPing, type EventPingListener, type EventPong, type EventPongListener, FormattedExecutionResult, ID, JSONMessageReplacer, JSONMessageReviver, Message, PingMessage, PongMessage, Sink, SubscribePayload, TerminatedCloseEvent, createClient };
export { Client, ClientOptions, Event, EventClosed, EventClosedListener, EventConnected, EventConnectedListener, EventConnecting, EventConnectingListener, EventError, EventErrorListener, EventListener, EventMessage, EventMessageListener, EventOpened, EventOpenedListener, EventPing, EventPingListener, EventPong, EventPongListener, TerminatedCloseEvent, createClient } from './client.js';
export { C as Context, G as GraphQLExecutionContextValue, O as OperationResult, a as Server, S as ServerOptions, W as WebSocket, b as areGraphQLErrors, h as handleProtocols, m as makeServer } from './server-DS_TJgtb.js';
export { C as CloseCode, j as CompleteMessage, c as ConnectionAckMessage, b as ConnectionInitMessage, D as DEPRECATED_GRAPHQL_WS_PROTOCOL, a as Disposable, i as ErrorMessage, g as ExecutionPatchResult, E as ExecutionResult, h as FormattedExecutionPatchResult, F as FormattedExecutionResult, G as GRAPHQL_TRANSPORT_WS_PROTOCOL, I as ID, l as JSONMessageReplacer, J as JSONMessageReviver, k as Message, M as MessageType, N as NextMessage, P as PingMessage, d as PongMessage, S as Sink, e as SubscribeMessage, f as SubscribePayload, p as parseMessage, s as stringifyMessage, v as validateMessage } from './common-DlmoEedZ.js';
export { C as Context, G as GraphQLExecutionContextValue, O as OperationResult, a as Server, S as ServerOptions, W as WebSocket, b as areGraphQLErrors, h as handleProtocols, m as makeServer } from './server-CRG3y31G.js';
export { C as CloseCode, h as CompleteMessage, c as ConnectionAckMessage, b as ConnectionInitMessage, D as DEPRECATED_GRAPHQL_WS_PROTOCOL, a as Disposable, g as ErrorMessage, E as ExecutionResult, F as FormattedExecutionResult, G as GRAPHQL_TRANSPORT_WS_PROTOCOL, I as ID, j as JSONMessageReplacer, J as JSONMessageReviver, i as Message, M as MessageType, N as NextMessage, P as PingMessage, d as PongMessage, S as Sink, e as SubscribeMessage, f as SubscribePayload, p as parseMessage, s as stringifyMessage, v as validateMessage } from './common-DY-PBNYy.js';
import 'graphql';
import { WebSocket, WebsocketHandler } from '@fastify/websocket';
import { FastifyRequest } from 'fastify';
import { b as ConnectionInitMessage } from '../../common-DlmoEedZ.js';
import { S as ServerOptions } from '../../server-DS_TJgtb.js';
import { b as ConnectionInitMessage } from '../../common-DY-PBNYy.js';
import { S as ServerOptions } from '../../server-CRG3y31G.js';
import 'graphql';

@@ -6,0 +6,0 @@

import { ServerWebSocket, WebSocketHandler } from 'bun';
import { b as ConnectionInitMessage } from '../common-DlmoEedZ.js';
import { S as ServerOptions } from '../server-DS_TJgtb.js';
export { h as handleProtocols } from '../server-DS_TJgtb.js';
import { b as ConnectionInitMessage } from '../common-DY-PBNYy.js';
import { S as ServerOptions } from '../server-CRG3y31G.js';
export { h as handleProtocols } from '../server-CRG3y31G.js';
import 'graphql';

@@ -6,0 +6,0 @@

@@ -1,4 +0,4 @@

import { b as ConnectionInitMessage } from '../common-DlmoEedZ.js';
export { G as GRAPHQL_TRANSPORT_WS_PROTOCOL } from '../common-DlmoEedZ.js';
import { S as ServerOptions } from '../server-DS_TJgtb.js';
import { b as ConnectionInitMessage } from '../common-DY-PBNYy.js';
export { G as GRAPHQL_TRANSPORT_WS_PROTOCOL } from '../common-DY-PBNYy.js';
import { S as ServerOptions } from '../server-CRG3y31G.js';
import 'graphql';

@@ -5,0 +5,0 @@

import http__default from 'http';
import * as uWS from 'uWebSockets.js';
import { b as ConnectionInitMessage } from '../common-DlmoEedZ.js';
import { S as ServerOptions } from '../server-DS_TJgtb.js';
import { b as ConnectionInitMessage } from '../common-DY-PBNYy.js';
import { S as ServerOptions } from '../server-CRG3y31G.js';
import 'graphql';

@@ -6,0 +6,0 @@

import * as http from 'http';
import WebSocket from 'ws';
export { default as WebSocket } from 'ws';
import { b as ConnectionInitMessage, a as Disposable } from '../common-DlmoEedZ.js';
import { S as ServerOptions } from '../server-DS_TJgtb.js';
import { b as ConnectionInitMessage, a as Disposable } from '../common-DY-PBNYy.js';
import { S as ServerOptions } from '../server-CRG3y31G.js';
import 'graphql';

@@ -7,0 +7,0 @@

{
"name": "graphql-ws",
"version": "6.0.2",
"version": "6.0.3-rc-f61306b17d18a106f729e49fccbca98402962f54",
"type": "module",

@@ -5,0 +5,0 @@ "description": "Coherent, zero-dependency, lazy, simple, GraphQL over WebSocket Protocol compliant server and client",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet