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

nestjs-http-manager

Package Overview
Dependencies
Maintainers
0
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nestjs-http-manager - npm Package Compare versions

Comparing version 0.1.18 to 0.1.19

4

dist/http-manager/http-manager.service.js

@@ -70,3 +70,5 @@ "use strict";

async delete(path, options = {}) {
const { data } = await (0, rxjs_1.firstValueFrom)(this.httpService.delete(path, { headers: options.headers }).pipe((0, rxjs_1.catchError)((error) => {
const { data } = await (0, rxjs_1.firstValueFrom)(this.httpService
.delete(path, { headers: options.headers, data: options.data })
.pipe((0, rxjs_1.catchError)((error) => {
throw new common_1.HttpException(error.response.data, error.response.status);

@@ -73,0 +75,0 @@ })));

@@ -21,4 +21,6 @@ import { AxiosHeaders } from 'axios';

export type DeleteRequestOpt<D> = {
/** Необязательно. Тело запроса */
data?: D;
/** Необязательно. Заголовки запроса */
headers?: object;
};
{
"name": "nestjs-http-manager",
"version": "0.1.18",
"version": "0.1.19",
"author": "byteflowstudio",

@@ -5,0 +5,0 @@ "description": "Обертка над http-модулем с использованием реактивного программирования и отловом ошибок для nestjs",

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