@rsdk/http.server.fastify 5.11.0 → 5.12.0-next.1
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.
|
@@ -18,11 +18,11 @@ class FastifyHttpTransport extends http_server_1.AbstractHttpTransport {
|
|
|
18
18
|
cookie: false,
|
|
19
19
|
}, parsers);
|
|
20
20
|
if (body.urlencoded) {
|
|
21
|
-
// eslint-disable-next-line @typescript-eslint/no-
|
|
21
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports,import/no-extraneous-dependencies
|
|
22
22
|
fastifyAdapter.register(require('@fastify/formbody'));
|
|
23
23
|
}
|
|
24
24
|
if (cookie) {
|
|
25
|
-
// eslint-disable-next-line @typescript-eslint/no-
|
|
25
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports,import/no-extraneous-dependencies
|
|
26
26
|
fastifyAdapter.register(require('@fastify/cookie'));
|
|
27
27
|
}
|
|
28
28
|
return fastifyAdapter;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fastify-http-transport.js","sourceRoot":"","sources":["../src/fastify-http-transport.ts"],"names":[],"mappings":";;;AACA,+DAA0D;AAE1D,mDAA0D;AAG1D,MAAa,oBAAqB,SAAQ,mCAAqB;IAC7D,iBAAiB,CAAC,UAAsB;QACtC,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC;QACvC,MAAM,EAAE,SAAS,EAAE,GAAG,UAAU,CAAC;QACjC,MAAM,cAAc,GAAG,IAAI,iCAAc,CAAC;YACxC,SAAS,EAAE,SAAS,CAAC,KAAK,EAAE;SAC7B,CAAC,CAAC;QACH,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAkB,MAAM,CAAC,MAAM,CACnD;YACE,IAAI,EAAE;gBACJ,IAAI,EAAE,IAAI;gBACV,UAAU,EAAE,KAAK;aAClB;YACD,MAAM,EAAE,KAAK;SACd,EACD,OAAO,CACR,CAAC;QAEF,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,
|
|
1
|
+
{"version":3,"file":"fastify-http-transport.js","sourceRoot":"","sources":["../src/fastify-http-transport.ts"],"names":[],"mappings":";;;AACA,+DAA0D;AAE1D,mDAA0D;AAG1D,MAAa,oBAAqB,SAAQ,mCAAqB;IAC7D,iBAAiB,CAAC,UAAsB;QACtC,MAAM,EAAE,OAAO,EAAE,GAAG,IAAI,CAAC,OAAO,IAAI,EAAE,CAAC;QACvC,MAAM,EAAE,SAAS,EAAE,GAAG,UAAU,CAAC;QACjC,MAAM,cAAc,GAAG,IAAI,iCAAc,CAAC;YACxC,SAAS,EAAE,SAAS,CAAC,KAAK,EAAE;SAC7B,CAAC,CAAC;QACH,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,GAAkB,MAAM,CAAC,MAAM,CACnD;YACE,IAAI,EAAE;gBACJ,IAAI,EAAE,IAAI;gBACV,UAAU,EAAE,KAAK;aAClB;YACD,MAAM,EAAE,KAAK;SACd,EACD,OAAO,CACR,CAAC;QAEF,IAAI,IAAI,CAAC,UAAU,EAAE,CAAC;YACpB,mGAAmG;YACnG,cAAc,CAAC,QAAQ,CAAC,OAAO,CAAC,mBAAmB,CAAC,CAAC,CAAC;QACxD,CAAC;QACD,IAAI,MAAM,EAAE,CAAC;YACX,mGAAmG;YACnG,cAAc,CAAC,QAAQ,CAAC,OAAO,CAAC,iBAAiB,CAAC,CAAC,CAAC;QACtD,CAAC;QACD,OAAO,cAAc,CAAC;IACxB,CAAC;CACF;AA5BD,oDA4BC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rsdk/http.server.fastify",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.12.0-next.1",
|
|
4
4
|
"description": "Adapter for @rsdk/http.server",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"repository": {
|
|
@@ -34,5 +34,5 @@
|
|
|
34
34
|
"optional": true
|
|
35
35
|
}
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "9ef9770256f8fa9285d60e87cfaf468e5a9367c5"
|
|
38
38
|
}
|
|
@@ -23,11 +23,11 @@ export class FastifyHttpTransport extends AbstractHttpTransport {
|
|
|
23
23
|
);
|
|
24
24
|
|
|
25
25
|
if (body.urlencoded) {
|
|
26
|
-
// eslint-disable-next-line @typescript-eslint/no-
|
|
26
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports,import/no-extraneous-dependencies
|
|
27
27
|
fastifyAdapter.register(require('@fastify/formbody'));
|
|
28
28
|
}
|
|
29
29
|
if (cookie) {
|
|
30
|
-
// eslint-disable-next-line @typescript-eslint/no-
|
|
30
|
+
// eslint-disable-next-line @typescript-eslint/no-require-imports,import/no-extraneous-dependencies
|
|
31
31
|
fastifyAdapter.register(require('@fastify/cookie'));
|
|
32
32
|
}
|
|
33
33
|
return fastifyAdapter;
|