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

@nclabs/nestjs-rpc-module

Package Overview
Dependencies
Maintainers
0
Versions
138
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nclabs/nestjs-rpc-module - npm Package Compare versions

Comparing version 0.1.22 to 0.1.23

11

lib/nclabs-client/rpc-client.service.js

@@ -40,2 +40,3 @@ "use strict";

return this.client.send(`${rpcPrt}${service}`, payload).pipe((0, rxjs_1.catchError)((err) => {
const { source = {} } = err || {};
const error = new nclabs_exeption_1.NclabsException({

@@ -46,9 +47,7 @@ code: err.code || err.error?.code || 500,

error: err.error || {},
source: err.source || {},
source: {
operation: context.switchToRpc().getContext().getArgs()[0],
source,
},
});
console.log(err);
console.log('-------------------------------');
console.log(error);
console.log('-------------------------------');
console.log(' ');
return (0, rxjs_1.throwError)(() => error);

@@ -55,0 +54,0 @@ return (0, nclabs_rxjs_error_handler_1.NclabsRxjsErrorHandler)(error);

{
"name": "@nclabs/nestjs-rpc-module",
"version": "0.1.22",
"version": "0.1.23",
"description": "Utilitário NestJS para configuração de rotas e cache em microsserviços. Utilizado especificamente para projetos nclabs",

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

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