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

@4c/graphql-subscription-server

Package Overview
Dependencies
Maintainers
4
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@4c/graphql-subscription-server - npm Package Compare versions

Comparing version 1.0.1 to 1.1.0

2

AuthorizedSocketConnection.d.ts

@@ -54,5 +54,5 @@ import { GraphQLSchema, ValidationContext } from 'graphql';

handleSubscribe: ({ id, query, variables }: Subscription, cb?: (() => void) | undefined) => Promise<void>;
handleUnsubscribe: (id: string) => Promise<void>;
handleUnsubscribe: (id: string, cb?: (() => void) | undefined) => Promise<void>;
handleDisconnect: () => Promise<void>;
}
export {};

@@ -162,3 +162,3 @@ "use strict";

this.handleUnsubscribe = async id => {
this.handleUnsubscribe = async (id, cb) => {
const subscriptionContext = this.subscriptionContexts.get(id);

@@ -175,2 +175,3 @@

this.subscriptionContexts.delete(id);
acknowledge(cb);
};

@@ -177,0 +178,0 @@

{
"name": "@4c/graphql-subscription-server",
"version": "1.0.1",
"version": "1.1.0",
"author": {

@@ -40,3 +40,3 @@ "name": "4Catalyzer"

"@types/express": "^4.17.6",
"@types/jest": "^25.1.3",
"@types/jest": "^26.0.3",
"@types/redis": "^2.8.16",

@@ -59,3 +59,3 @@ "@types/socket.io": "^2.1.6",

"homepage": "https://github.com/4Catalyzer/graphql-subscription-server#readme",
"_id": "@4c/graphql-subscription-server@0.11.0"
"_id": "@4c/graphql-subscription-server@1.0.0"
}
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