@moostjs/event-http 0.5.30 → 0.5.31
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/dist/index.d.ts +2 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ import { TCookieAttributes as TCookieAttributes$1, useSetCookies, WooksHttp, TWo
|
|
|
3
3
|
export { HttpError, TCacheControl, TCookieAttributesInput, TSetCookieData, useHttpContext } from '@wooksjs/event-http';
|
|
4
4
|
import * as moost from 'moost';
|
|
5
5
|
import { TInterceptorFn, TMoostAdapter, Moost, TConsoleBase, TMoostAdapterOptions } from 'moost';
|
|
6
|
+
import * as _prostojs_infact from '@prostojs/infact';
|
|
6
7
|
import * as http from 'http';
|
|
7
8
|
import { TProstoRouterPathBuilder } from '@prostojs/router';
|
|
8
9
|
import { ListenOptions } from 'net';
|
|
@@ -318,7 +319,7 @@ declare class MoostHttp implements TMoostAdapter<THttpHandlerMeta> {
|
|
|
318
319
|
onNotFound(): Promise<unknown>;
|
|
319
320
|
protected moost?: Moost;
|
|
320
321
|
onInit(moost: Moost): void;
|
|
321
|
-
getProvideRegistry():
|
|
322
|
+
getProvideRegistry(): _prostojs_infact.TProvideRegistry;
|
|
322
323
|
getLogger(): TConsoleBase;
|
|
323
324
|
bindHandler<T extends object = object>(opts: TMoostAdapterOptions<THttpHandlerMeta, T>): void;
|
|
324
325
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moostjs/event-http",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.31",
|
|
4
4
|
"description": "@moostjs/event-http",
|
|
5
5
|
"main": "dist/index.cjs",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -41,7 +41,7 @@
|
|
|
41
41
|
"@wooksjs/event-core": "^0.6.1",
|
|
42
42
|
"@prostojs/infact": "^0.3.3",
|
|
43
43
|
"@prostojs/router": "^0.2.1",
|
|
44
|
-
"moost": "^0.5.
|
|
44
|
+
"moost": "^0.5.31"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@wooksjs/event-http": "^0.6.1",
|