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

@noveo/dual-rpc-ws

Package Overview
Dependencies
Maintainers
7
Versions
23
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@noveo/dual-rpc-ws - npm Package Compare versions

Comparing version 0.0.11 to 0.0.12

6

build/server.d.ts
import WebSocket, { ServerOptions as WSServerOptions } from 'ws';
declare type id = string;
export interface ServerOptions extends WSServerOptions {
handshake?: (token: id) => Promise<boolean>;
handshake?: (token: id, ws: DeviceSocket) => Promise<boolean>;
}

@@ -14,3 +14,3 @@ export interface DeviceSocket extends WebSocket {

reject: Function;
private id;
private readonly id;
constructor({ server, timeout, resolve, reject, id, }: {

@@ -29,3 +29,3 @@ server: Server;

requests: Map<id, Request>;
private handshake;
private readonly handshake;
constructor(params: ServerOptions);

@@ -32,0 +32,0 @@ call(token: string, method: string, params: object): Promise<object>;

{
"name": "@noveo/dual-rpc-ws",
"version": "0.0.11",
"version": "0.0.12",
"description": "Remote procedure call",

@@ -5,0 +5,0 @@ "browser": "build/client.js",

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