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

wsgrpc

Package Overview
Dependencies
Maintainers
1
Versions
124
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

wsgrpc - npm Package Compare versions

Comparing version 1.4.9 to 1.4.10

lib/cli/grpc.d.ts

4

lib/GrpcProtocol.js

@@ -56,4 +56,4 @@ "use strict";

this.streams.forEach(function (stream, sid) {
stream.messages.close(new Error("underlining connection closed"));
stream.headers.close(new Error("underlining connection closed"));
stream.messages.close(status_1.ConnectionLostError);
stream.headers.close(status_1.ConnectionLostError);
});

@@ -60,0 +60,0 @@ this.streams.clear();

@@ -6,1 +6,2 @@ export { ServiceFactory, RpcMeta, ServiceMeta } from "./types";

export { StreamReader, StreamController } from "./stream";
export { ConnectionLostError } from "./status";

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

exports.StreamController = stream_1.StreamController;
var status_1 = require("./status");
exports.ConnectionLostError = status_1.ConnectionLostError;

@@ -20,1 +20,2 @@ export declare class StatusCode {

}
export declare const ConnectionLostError: Error;

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

exports.StatusCode = StatusCode;
exports.ConnectionLostError = new Error("underlining connection closed");

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

this.descriptors.set(name, { meta: meta, factory: factory });
console.log("add rpc [" + name + "], methods:", meta);
// console.log(`add rpc [${name}], methods:`, meta);
};

@@ -62,0 +62,0 @@ return Server;

@@ -8,1 +8,2 @@ /**

export { StreamReader, StreamController } from "./stream";
export { ConnectionLostError } from "./status";

@@ -13,1 +13,3 @@ "use strict";

exports.StreamController = stream_1.StreamController;
var status_1 = require("./status");
exports.ConnectionLostError = status_1.ConnectionLostError;
{
"name": "wsgrpc",
"version": "1.4.9",
"version": "1.4.10",
"description": "TODO",

@@ -5,0 +5,0 @@ "author": "tsangpo",

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