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

@join-com/grpc

Package Overview
Dependencies
Maintainers
32
Versions
105
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@join-com/grpc - npm Package Compare versions

Comparing version 3.3.7 to 3.3.8-alpha.1

3

dist/Service.d.ts

@@ -27,2 +27,5 @@ import * as grpc from '@grpc/grpc-js';

private logCall;
prepareMetadata(metadata: grpc.Metadata): {
[key: string]: grpc.MetadataValue;
};
private reformatError;

@@ -29,0 +32,0 @@ private handleError;

@@ -132,3 +132,8 @@ "use strict";

if (!(result instanceof Error)) {
this.logger.info(`GRPC Service ${methodDefinition.path}`, { request, response, latency });
this.logger.info(`GRPC Service ${methodDefinition.path}`, {
request,
response,
latency,
requestMetadata: this.prepareMetadata(call.metadata),
});
}

@@ -138,5 +143,13 @@ else {

const logger = (0, severityLogger_1.severityLogger)(this.logger);
logger.log(severity, `GRPC Service ${methodDefinition.path}`, { request, error: response, latency });
logger.log(severity, `GRPC Service ${methodDefinition.path}`, {
request,
error: response,
latency,
requestMetadata: this.prepareMetadata(call.metadata),
});
}
}
prepareMetadata(metadata) {
return metadata?.getMap();
}
reformatError(error) {

@@ -143,0 +156,0 @@ if (!(error instanceof Error)) {

2

package.json
{
"name": "@join-com/grpc",
"version": "3.3.7",
"version": "3.3.8-alpha.1",
"description": "gRPC library",

@@ -5,0 +5,0 @@ "author": "JOIN Solutions",

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