@qte/nest-axios 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +3 -1
- package/package.json +2 -7
package/README.md
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
# @qte/nest-axios
|
2
|
-
This small library is a rewrite of [@nestjs/axios](https://github.com/nestjs/axios
|
2
|
+
This small library is a rewrite of [@nestjs/axios](https://github.com/nestjs/axios) returning `Promises` instead of `Observables`.
|
3
3
|
|
4
4
|
## Installation
|
5
5
|
```bash
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -1,5 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.HttpModule = void 0;
|
3
|
+
exports.HttpService = exports.HttpModule = void 0;
|
4
4
|
var http_module_1 = require("./http.module");
|
5
5
|
Object.defineProperty(exports, "HttpModule", { enumerable: true, get: function () { return http_module_1.HttpModule; } });
|
6
|
+
var http_service_1 = require("./http.service");
|
7
|
+
Object.defineProperty(exports, "HttpService", { enumerable: true, get: function () { return http_service_1.HttpService; } });
|
package/package.json
CHANGED
@@ -1,7 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@qte/nest-axios",
|
3
|
-
"version": "1.0.
|
4
|
-
"private": false,
|
3
|
+
"version": "1.0.2",
|
5
4
|
"main": "dist/index.js",
|
6
5
|
"author": "Jakob Råhlén <jakob@qte.se>",
|
7
6
|
"license": "MIT",
|
@@ -25,24 +24,20 @@
|
|
25
24
|
"@nestjs/core": "^9.2.0",
|
26
25
|
"@nestjs/platform-express": "^9.2.0",
|
27
26
|
"@nestjs/testing": "^9.2.0",
|
28
|
-
"@types/express": "^4.17.14",
|
29
27
|
"@types/jest": "^29.2.3",
|
30
28
|
"@types/node": "^18.11.9",
|
31
|
-
"@types/supertest": "^2.0.12",
|
32
29
|
"@typescript-eslint/eslint-plugin": "^5.44.0",
|
33
30
|
"@typescript-eslint/parser": "^5.44.0",
|
34
31
|
"eslint": "^8.28.0",
|
35
32
|
"eslint-config-prettier": "^8.5.0",
|
36
33
|
"eslint-plugin-jest": "^27.1.5",
|
37
34
|
"eslint-plugin-prettier": "^4.2.1",
|
38
|
-
"express": "^4.18.2",
|
39
35
|
"husky": "^8.0.2",
|
40
36
|
"jest": "^29.3.1",
|
41
37
|
"prettier": "^2.8.0",
|
42
38
|
"reflect-metadata": "^0.1.13",
|
43
39
|
"rxjs": "^7.2.0",
|
44
40
|
"semantic-release": "^19.0.5",
|
45
|
-
"supertest": "^6.3.1",
|
46
41
|
"ts-jest": "^29.0.3",
|
47
42
|
"typescript": "^4.9.3"
|
48
43
|
},
|
@@ -56,6 +51,6 @@
|
|
56
51
|
"access": "public"
|
57
52
|
},
|
58
53
|
"dependencies": {
|
59
|
-
"axios": "^1.
|
54
|
+
"axios": "^1.1.3"
|
60
55
|
}
|
61
56
|
}
|