@zthun/webigail-nest 2.4.1 → 2.4.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 +4 -3
- package/dist/index.cjs +4 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/package.json +8 -8
package/README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
# Webigail Nest
|
|
2
2
|
|
|
3
|
-
NestJs already comes with an http module built in, so it is recommended to just
|
|
4
|
-
webigail-http and you want to inject that service
|
|
5
|
-
|
|
3
|
+
NestJs already comes with an http module built in, so it is recommended to just
|
|
4
|
+
use that one. If you are using webigail-http and you want to inject that service
|
|
5
|
+
into your nest project, then this package comes with the module that will do
|
|
6
|
+
that for you.
|
|
6
7
|
|
|
7
8
|
## Build Status
|
|
8
9
|
|
package/dist/index.cjs
CHANGED
|
@@ -13,7 +13,10 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
13
13
|
if (kind && result) __defProp(target, key, result);
|
|
14
14
|
return result;
|
|
15
15
|
};
|
|
16
|
-
const ZHttpServiceProvider = {
|
|
16
|
+
const ZHttpServiceProvider = {
|
|
17
|
+
provide: ZHttpServiceToken,
|
|
18
|
+
useValue: new webigailHttp.ZHttpService()
|
|
19
|
+
};
|
|
17
20
|
exports.ZHttpModule = class ZHttpModule {
|
|
18
21
|
};
|
|
19
22
|
exports.ZHttpModule = __decorateClass([
|
package/dist/index.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.cjs","sources":["../src/http/http-service-token.ts","../src/http/http-module.ts"],"sourcesContent":["/**\n * The token symbol to inject the http service.\n */\nexport const ZHttpServiceToken = Symbol();\n","import { Module } from
|
|
1
|
+
{"version":3,"file":"index.cjs","sources":["../src/http/http-service-token.ts","../src/http/http-module.ts"],"sourcesContent":["/**\n * The token symbol to inject the http service.\n */\nexport const ZHttpServiceToken = Symbol();\n","import { Module } from \"@nestjs/common\";\nimport { ZHttpService } from \"@zthun/webigail-http\";\nimport { ZHttpServiceToken } from \"./http-service-token\";\n\nconst ZHttpServiceProvider = {\n provide: ZHttpServiceToken,\n useValue: new ZHttpService(),\n};\n\n/**\n * A module that provides http services.\n */\n@Module({\n providers: [ZHttpServiceProvider, ZHttpService],\n exports: [ZHttpServiceProvider, ZHttpService],\n})\nexport class ZHttpModule {}\n"],"names":["ZHttpService","ZHttpModule","Module"],"mappings":";;;;AAGO,MAAM,oBAAoB,OAAO;;;;;;;;;;;ACCxC,MAAM,uBAAuB;AAAA,EAC3B,SAAS;AAAA,EACT,UAAU,IAAIA,aAAAA,aAAa;AAC7B;AASaC,sBAAN,kBAAkB;AAAC;AAAbA,QAAN,cAAA,gBAAA;AAAA,EAJNC,cAAO;AAAA,IACN,WAAW,CAAC,sBAAsBF,yBAAY;AAAA,IAC9C,SAAS,CAAC,sBAAsBA,yBAAY;AAAA,EAAA,CAC7C;AAAA,GACYC,mBAAA;;"}
|
package/dist/index.js
CHANGED
|
@@ -11,7 +11,10 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
11
11
|
if (kind && result) __defProp(target, key, result);
|
|
12
12
|
return result;
|
|
13
13
|
};
|
|
14
|
-
const ZHttpServiceProvider = {
|
|
14
|
+
const ZHttpServiceProvider = {
|
|
15
|
+
provide: ZHttpServiceToken,
|
|
16
|
+
useValue: new ZHttpService()
|
|
17
|
+
};
|
|
15
18
|
let ZHttpModule = class {
|
|
16
19
|
};
|
|
17
20
|
ZHttpModule = __decorateClass([
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/http/http-service-token.ts","../src/http/http-module.ts"],"sourcesContent":["/**\n * The token symbol to inject the http service.\n */\nexport const ZHttpServiceToken = Symbol();\n","import { Module } from
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/http/http-service-token.ts","../src/http/http-module.ts"],"sourcesContent":["/**\n * The token symbol to inject the http service.\n */\nexport const ZHttpServiceToken = Symbol();\n","import { Module } from \"@nestjs/common\";\nimport { ZHttpService } from \"@zthun/webigail-http\";\nimport { ZHttpServiceToken } from \"./http-service-token\";\n\nconst ZHttpServiceProvider = {\n provide: ZHttpServiceToken,\n useValue: new ZHttpService(),\n};\n\n/**\n * A module that provides http services.\n */\n@Module({\n providers: [ZHttpServiceProvider, ZHttpService],\n exports: [ZHttpServiceProvider, ZHttpService],\n})\nexport class ZHttpModule {}\n"],"names":[],"mappings":";;AAGO,MAAM,oBAAoB,OAAO;;;;;;;;;;;ACCxC,MAAM,uBAAuB;AAAA,EAC3B,SAAS;AAAA,EACT,UAAU,IAAI,aAAa;AAC7B;AASO,IAAM,cAAN,MAAkB;AAAC;AAAb,cAAN,gBAAA;AAAA,EAJN,OAAO;AAAA,IACN,WAAW,CAAC,sBAAsB,YAAY;AAAA,IAC9C,SAAS,CAAC,sBAAsB,YAAY;AAAA,EAAA,CAC7C;AAAA,GACY,WAAA;"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zthun/webigail-nest",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.2",
|
|
4
4
|
"description": "A nest-js module that add the tokens and implementations for the http service in webigail-http.",
|
|
5
5
|
"author": "Anthony Bonta",
|
|
6
6
|
"license": "MIT",
|
|
@@ -25,13 +25,13 @@
|
|
|
25
25
|
"access": "public"
|
|
26
26
|
},
|
|
27
27
|
"devDependencies": {
|
|
28
|
-
"@nestjs/common": "^10.
|
|
29
|
-
"@nestjs/core": "^10.
|
|
30
|
-
"@nestjs/testing": "^10.
|
|
28
|
+
"@nestjs/common": "^10.4.1",
|
|
29
|
+
"@nestjs/core": "^10.4.1",
|
|
30
|
+
"@nestjs/testing": "^10.4.1",
|
|
31
31
|
"reflect-metadata": "^0.2.2",
|
|
32
32
|
"rxjs": "^7.8.1",
|
|
33
|
-
"vite": "^5.
|
|
34
|
-
"vitest": "^2.0.
|
|
33
|
+
"vite": "^5.4.2",
|
|
34
|
+
"vitest": "^2.0.5"
|
|
35
35
|
},
|
|
36
36
|
"peerDependencies": {
|
|
37
37
|
"@nestjs/common": "^10.3.0",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"dist"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@zthun/webigail-http": "^2.4.
|
|
46
|
+
"@zthun/webigail-http": "^2.4.2"
|
|
47
47
|
},
|
|
48
48
|
"sideEffects": false,
|
|
49
|
-
"gitHead": "
|
|
49
|
+
"gitHead": "a155bef0b5810770239a0c7b9b9b87b304ed9d96"
|
|
50
50
|
}
|