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

graphql-ws

Package Overview
Dependencies
Maintainers
1
Versions
103
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 0.1.5 to 0.1.6

2

dist/BinaryReceiver.d.ts

@@ -23,4 +23,4 @@ /// <reference types="node" />

private stopReceiving();
private onMessage({data});
private onMessage(data);
private sendAck(seq);
}

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

else {
this.socket.addEventListener('message', this.onMessage);
this.socket.on('message', this.onMessage);
}

@@ -55,3 +55,3 @@ });

}
onMessage({ data }) {
onMessage(data) {
return __awaiter(this, void 0, void 0, function* () {

@@ -58,0 +58,0 @@ const buf = Buffer.from(data);

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

return new Promise(resolve => {
const onMessage = ({ data }) => {
const onMessage = (data) => {
const message = Buffer.from(data);

@@ -92,3 +92,3 @@ let id, fileId, seq;

};
this.socket.addEventListener('message', onMessage);
this.socket.on('message', onMessage);
});

@@ -95,0 +95,0 @@ });

{
"name": "graphql-ws",
"version": "0.1.5",
"version": "0.1.6",
"description": "WebSocket transport for GraphQL",

@@ -5,0 +5,0 @@ "main": "dist/index.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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