@busy-hour/blaze
Advanced tools
Comparing version 3.1.2 to 3.1.3
@@ -5,2 +5,10 @@ # Changelog | ||
## [3.1.3](https://github.com/Busy-Hour-Studio/blaze/compare/v3.1.2...v3.1.3) (2024-05-16) | ||
### Bug Fixes | ||
* action service meta types ([72a24b7](https://github.com/Busy-Hour-Studio/blaze/commit/72a24b7b4e24351623611e53ebca5c60d5a08d2c)) | ||
* port conflict on bun ([7a788f1](https://github.com/Busy-Hour-Studio/blaze/commit/7a788f1b9540954997c0249a5252b8b6107495e2)) | ||
## [3.1.2](https://github.com/Busy-Hour-Studio/blaze/compare/v3.1.1...v3.1.2) (2024-05-16) | ||
@@ -7,0 +15,0 @@ |
@@ -118,2 +118,3 @@ "use strict"; | ||
fetch: this.fetch, | ||
reusePort: true, | ||
port | ||
@@ -120,0 +121,0 @@ }; |
@@ -86,2 +86,3 @@ // src/router/Blaze.ts | ||
fetch: this.fetch, | ||
reusePort: true, | ||
port | ||
@@ -88,0 +89,0 @@ }; |
/// <reference types="node" /> | ||
import { AddressInfo } from 'node:net'; | ||
import type { BlazeFetch, CreateBlazeOption } from '../types/router'; | ||
import type { BlazeFetch, CreateBlazeOption, ServeConfig } from '../types/router'; | ||
import { LoadServicesOption } from '../types/service'; | ||
@@ -52,11 +52,4 @@ import { BlazeService } from '../utils/setup/service'; | ||
*/ | ||
serve(): BlazeFetch; | ||
serve(port: number): { | ||
fetch: BlazeFetch; | ||
port: number; | ||
}; | ||
serve<Listener extends (addressInfo: AddressInfo) => void>(port: number, listener: Listener): [{ | ||
fetch: BlazeFetch; | ||
port: number; | ||
}, Listener]; | ||
serve(port?: number): ServeConfig; | ||
serve<Listener extends (addressInfo: AddressInfo) => void>(port: number, listener: Listener): [ServeConfig, Listener]; | ||
} |
@@ -40,3 +40,3 @@ import type { ResponseConfig } from '@asteasolutions/zod-to-openapi'; | ||
}; | ||
export type AnyAction = Action<Random, Random, RecordUnknown, Random, Random, Random>; | ||
export type AnyAction = Action<Random, Random, RecordUnknown, Random, Random, Random, Random>; | ||
export type AnyValidator = ActionValidator<z.ZodObject<z.ZodRawShape>, z.ZodObject<z.ZodRawShape>, z.ZodObject<z.ZodRawShape>>; | ||
@@ -43,0 +43,0 @@ export interface Actions { |
@@ -26,1 +26,6 @@ /// <reference types="node" /> | ||
} | ||
export interface ServeConfig { | ||
fetch: BlazeFetch; | ||
port: number; | ||
reusePort: boolean; | ||
} |
@@ -7,3 +7,3 @@ { | ||
"type": "module", | ||
"version": "3.1.2", | ||
"version": "3.1.3", | ||
"license": "MIT", | ||
@@ -10,0 +10,0 @@ "devDependencies": { |
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
193633