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

@push-rpc/websocket

Package Overview
Dependencies
Maintainers
1
Versions
43
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@push-rpc/websocket - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

dist/index.d.ts
export { createWebsocket } from "./client";
export { createWebsocketServer } from "./server";
export { createWebsocketServer, wrapWebsocket } from "./server";

@@ -7,1 +7,2 @@ "use strict";

exports.createWebsocketServer = server_1.createWebsocketServer;
exports.wrapWebsocket = server_1.wrapWebsocket;

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

onConnection: function (h) {
wss.on("connection", function (ws, req) { return h(wrapWebsocket(ws), req); });
wss.on("connection", function (ws, req) { return h(wrapWebsocket(ws), req, ws.protocol); });
},

@@ -15,0 +15,0 @@ close: function (h) { return wss.close(h); },

{
"name": "@push-rpc/websocket",
"version": "1.0.2",
"version": "1.0.3",
"main": "dist/index.js",

@@ -5,0 +5,0 @@ "types": "dist/index.d.ts",

export {createWebsocket} from "./client"
export {createWebsocketServer} from "./server"
export {createWebsocketServer, wrapWebsocket} from "./server"

@@ -14,3 +14,3 @@ import * as WebSocket from "ws"

onConnection: h => {
wss.on("connection", (ws, req) => h(wrapWebsocket(ws), req))
wss.on("connection", (ws, req) => h(wrapWebsocket(ws), req, ws.protocol))
},

@@ -17,0 +17,0 @@ close: h => wss.close(h),

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