@nestjs/axios
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -39,3 +39,3 @@ "use strict"; | ||
provide: http_constants_1.HTTP_MODULE_ID, | ||
useValue: random_string_generator_util_1.randomStringGenerator(), | ||
useValue: (0, random_string_generator_util_1.randomStringGenerator)(), | ||
}, | ||
@@ -58,3 +58,3 @@ ], | ||
provide: http_constants_1.HTTP_MODULE_ID, | ||
useValue: random_string_generator_util_1.randomStringGenerator(), | ||
useValue: (0, random_string_generator_util_1.randomStringGenerator)(), | ||
}, | ||
@@ -93,3 +93,3 @@ ...(options.extraProviders || []), | ||
HttpModule = HttpModule_1 = __decorate([ | ||
common_1.Module({ | ||
(0, common_1.Module)({ | ||
providers: [ | ||
@@ -96,0 +96,0 @@ http_service_1.HttpService, |
@@ -14,3 +14,3 @@ import { AxiosInstance, AxiosPromise, AxiosRequestConfig, AxiosResponse } from 'axios'; | ||
get axiosRef(): AxiosInstance; | ||
protected makeObservable<T>(axios: (...args: any[]) => AxiosPromise<T>, ...args: any[]): Observable<AxiosResponse<T>>; | ||
protected makeObservable<T>(axios: (...args: any[]) => AxiosPromise<T>, ...args: any[]): Observable<AxiosResponse<T, any>>; | ||
} |
@@ -79,5 +79,5 @@ "use strict"; | ||
HttpService = __decorate([ | ||
__param(0, common_1.Inject(http_constants_1.AXIOS_INSTANCE_TOKEN)), | ||
__param(0, (0, common_1.Inject)(http_constants_1.AXIOS_INSTANCE_TOKEN)), | ||
__metadata("design:paramtypes", [Function]) | ||
], HttpService); | ||
exports.HttpService = HttpService; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
import { ModuleMetadata, Provider, Type } from '@nestjs/common'; | ||
import { AxiosRequestConfig } from 'axios'; | ||
export declare type HttpModuleOptions = AxiosRequestConfig; | ||
export type HttpModuleOptions = AxiosRequestConfig; | ||
export interface HttpModuleOptionsFactory { | ||
@@ -5,0 +5,0 @@ createHttpOptions(): Promise<HttpModuleOptions> | HttpModuleOptions; |
"use strict"; | ||
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) { | ||
if (k2 === undefined) k2 = k; | ||
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } }); | ||
var desc = Object.getOwnPropertyDescriptor(m, k); | ||
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) { | ||
desc = { enumerable: true, get: function() { return m[k]; } }; | ||
} | ||
Object.defineProperty(o, k2, desc); | ||
}) : (function(o, m, k, k2) { | ||
@@ -6,0 +10,0 @@ if (k2 === undefined) k2 = k; |
{ | ||
"name": "@nestjs/axios", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "Nest - modern, fast, powerful node.js web framework (@axios)", | ||
@@ -22,28 +22,28 @@ "author": "Kamil Mysliwiec", | ||
"dependencies": { | ||
"axios": "1.1.3" | ||
"axios": "1.2.1" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "17.2.0", | ||
"@commitlint/config-angular": "17.2.0", | ||
"@nestjs/common": "9.1.6", | ||
"@nestjs/core": "9.1.6", | ||
"@nestjs/platform-express": "9.1.6", | ||
"@nestjs/testing": "9.1.6", | ||
"@types/jest": "29.2.1", | ||
"@types/node": "18.11.9", | ||
"@typescript-eslint/eslint-plugin": "5.42.0", | ||
"@typescript-eslint/parser": "5.42.0", | ||
"eslint": "8.26.0", | ||
"@commitlint/cli": "17.3.0", | ||
"@commitlint/config-angular": "17.3.0", | ||
"@nestjs/common": "9.2.1", | ||
"@nestjs/core": "9.2.1", | ||
"@nestjs/platform-express": "9.2.1", | ||
"@nestjs/testing": "9.2.1", | ||
"@types/jest": "29.2.4", | ||
"@types/node": "18.11.17", | ||
"@typescript-eslint/eslint-plugin": "5.46.1", | ||
"@typescript-eslint/parser": "5.46.1", | ||
"eslint": "8.30.0", | ||
"eslint-config-prettier": "8.5.0", | ||
"eslint-plugin-import": "2.26.0", | ||
"husky": "8.0.1", | ||
"jest": "29.2.2", | ||
"lint-staged": "13.0.3", | ||
"prettier": "2.7.1", | ||
"husky": "8.0.2", | ||
"jest": "29.3.1", | ||
"lint-staged": "13.1.0", | ||
"prettier": "2.8.1", | ||
"reflect-metadata": "0.1.13", | ||
"release-it": "15.5.0", | ||
"release-it": "15.5.1", | ||
"rimraf": "3.0.2", | ||
"rxjs": "7.5.7", | ||
"rxjs": "7.8.0", | ||
"ts-jest": "29.0.3", | ||
"typescript": "4.8.4" | ||
"typescript": "4.9.4" | ||
}, | ||
@@ -50,0 +50,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
20053
340
+ Addedaxios@1.2.1(transitive)
- Removedaxios@1.1.3(transitive)
Updatedaxios@1.2.1