@silenteer/natsu-port-server
Advanced tools
Comparing version 0.0.37 to 0.0.38
@@ -0,6 +1,8 @@ | ||
/// <reference types="node" /> | ||
import type { FastifyRequest } from 'fastify'; | ||
import 'colors'; | ||
import type { NatsPortResponse, NatsPortErrorResponse } from '@silenteer/natsu-type'; | ||
export declare type CustomFastifyRequest = FastifyRequest & { | ||
export declare type CustomFastifyRequest = FastifyRequest<any> & { | ||
parts: () => any; | ||
file?: Buffer; | ||
}; | ||
@@ -7,0 +9,0 @@ export declare type OnBeforeSendNatsRequest = (request: CustomFastifyRequest) => Promise<void>; |
@@ -9,3 +9,3 @@ "use strict"; | ||
const fastify_cors_1 = (0, tslib_1.__importDefault)(require("fastify-cors")); | ||
const fastify_multipart_1 = (0, tslib_1.__importDefault)(require("fastify-multipart")); | ||
const multipart_1 = (0, tslib_1.__importDefault)(require("@fastify/multipart")); | ||
const fastify_websocket_1 = (0, tslib_1.__importDefault)(require("fastify-websocket")); | ||
@@ -40,3 +40,3 @@ require("colors"); | ||
}) | ||
.register(fastify_multipart_1.default, multipartOptions) | ||
.register(multipart_1.default, multipartOptions) | ||
.register(fastify_websocket_1.default) | ||
@@ -43,0 +43,0 @@ .post(configuration_1.default.httpPath, (request, reply) => (0, tslib_1.__awaiter)(this, void 0, void 0, function* () { |
{ | ||
"name": "@silenteer/natsu-port-server", | ||
"version": "0.0.37", | ||
"version": "0.0.38", | ||
"license": "MIT", | ||
@@ -24,2 +24,3 @@ "private": false, | ||
"dependencies": { | ||
"@fastify/multipart": "6.0.0", | ||
"@silenteer/natsu-type": "*", | ||
@@ -32,3 +33,2 @@ "arg": "5.0.1", | ||
"fastify-cors": "6.0.2", | ||
"fastify-multipart": "5.4.0", | ||
"fastify-websocket": "4.0.0", | ||
@@ -35,0 +35,0 @@ "nats": "2.6.1", |
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
50578
772
+ Added@fastify/multipart@6.0.0
+ Added@fastify/error@2.0.0(transitive)
+ Added@fastify/multipart@6.0.0(transitive)
- Removedfastify-multipart@5.4.0
- Removedfastify-multipart@5.3.15.4.0(transitive)