@fluojs/runtime 1.1.6 → 1.1.7

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.
@@ -1,3 +1,2 @@
1
- export { bootstrapHttpAdapterApplication, createHttpAdapterMiddleware, formatHttpAdapterListenMessage, runHttpAdapterApplication, type BootstrapHttpAdapterApplicationOptions, type HttpAdapterCorsInput, type HttpAdapterListenTarget, type HttpAdapterMiddlewareOptions, type HttpAdapterShutdownRegistration, type RunHttpAdapterApplicationOptions, } from '../http-adapter-shared.js';
2
- export { createConsoleApplicationLogger } from '../logging/logger.js';
1
+ export { bootstrapHttpAdapterApplication, createDefaultApplicationLogger, createHttpAdapterMiddleware, formatHttpAdapterListenMessage, runHttpAdapterApplication, type BootstrapHttpAdapterApplicationOptions, type HttpAdapterCorsInput, type HttpAdapterListenTarget, type HttpAdapterMiddlewareOptions, type HttpAdapterShutdownRegistration, type RunHttpAdapterApplicationOptions, } from '../http-adapter-shared.js';
3
2
  //# sourceMappingURL=internal-http-adapter.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"internal-http-adapter.d.ts","sourceRoot":"","sources":["../../src/adapters/internal-http-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,+BAA+B,EAC/B,2BAA2B,EAC3B,8BAA8B,EAC9B,yBAAyB,EACzB,KAAK,sCAAsC,EAC3C,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,GACtC,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAC"}
1
+ {"version":3,"file":"internal-http-adapter.d.ts","sourceRoot":"","sources":["../../src/adapters/internal-http-adapter.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,+BAA+B,EAC/B,8BAA8B,EAC9B,2BAA2B,EAC3B,8BAA8B,EAC9B,yBAAyB,EACzB,KAAK,sCAAsC,EAC3C,KAAK,oBAAoB,EACzB,KAAK,uBAAuB,EAC5B,KAAK,4BAA4B,EACjC,KAAK,+BAA+B,EACpC,KAAK,gCAAgC,GACtC,MAAM,2BAA2B,CAAC"}
@@ -1,2 +1 @@
1
- export { bootstrapHttpAdapterApplication, createHttpAdapterMiddleware, formatHttpAdapterListenMessage, runHttpAdapterApplication } from '../http-adapter-shared.js';
2
- export { createConsoleApplicationLogger } from '../logging/logger.js';
1
+ export { bootstrapHttpAdapterApplication, createDefaultApplicationLogger, createHttpAdapterMiddleware, formatHttpAdapterListenMessage, runHttpAdapterApplication } from '../http-adapter-shared.js';
@@ -1,5 +1,7 @@
1
1
  import { type CorsOptions, type HttpApplicationAdapter, type MiddlewareLike, type SecurityHeadersOptions } from '@fluojs/http';
2
+ import { createDefaultApplicationLogger } from './logging/default-logger.js';
2
3
  import type { Application, ApplicationLogger, CreateApplicationOptions, ModuleType } from './types.js';
4
+ export { createDefaultApplicationLogger };
3
5
  /**
4
6
  * Input type for configuring CORS in an HTTP adapter.
5
7
  */
@@ -84,5 +86,4 @@ export declare function formatHttpAdapterListenMessage(target: HttpAdapterListen
84
86
  * @returns A promise that resolves to the running application instance.
85
87
  */
86
88
  export declare function runHttpAdapterApplication(rootModule: ModuleType, options: RunHttpAdapterApplicationOptions, adapter: ManagedHttpApplicationAdapter, logger?: ApplicationLogger): Promise<Application>;
87
- export {};
88
89
  //# sourceMappingURL=http-adapter-shared.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"http-adapter-shared.d.ts","sourceRoot":"","sources":["../src/http-adapter-shared.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,WAAW,EAKhB,KAAK,sBAAsB,EAE3B,KAAK,cAAc,EAKnB,KAAK,sBAAsB,EAC5B,MAAM,cAAc,CAAC;AAItB,OAAO,KAAK,EAAE,WAAW,EAAE,iBAAiB,EAAE,wBAAwB,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAEvG;;GAEG;AACH,MAAM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AAC,CA8EtB"}
@@ -1,6 +1,7 @@
1
1
  import { createCorsMiddleware, createErrorResponse, createSecurityHeadersMiddleware, matchRoutePattern, NotFoundException, normalizeRoutePattern } from '@fluojs/http';
2
2
  import { bootstrapApplication } from './bootstrap.js';
3
3
  import { createDefaultApplicationLogger } from './logging/default-logger.js';
4
+ export { createDefaultApplicationLogger };
4
5
 
5
6
  /**
6
7
  * Input type for configuring CORS in an HTTP adapter.
package/package.json CHANGED
@@ -9,7 +9,7 @@
9
9
  "module-graph",
10
10
  "orchestration"
11
11
  ],
12
- "version": "1.1.6",
12
+ "version": "1.1.7",
13
13
  "private": false,
14
14
  "license": "MIT",
15
15
  "repository": {
@@ -67,10 +67,10 @@
67
67
  "dist"
68
68
  ],
69
69
  "dependencies": {
70
- "@fluojs/config": "^1.0.2",
70
+ "@fluojs/config": "^1.0.3",
71
71
  "@fluojs/core": "^1.0.3",
72
72
  "@fluojs/di": "^1.1.0",
73
- "@fluojs/http": "^1.1.0"
73
+ "@fluojs/http": "^1.1.1"
74
74
  },
75
75
  "devDependencies": {
76
76
  "vitest": "^3.2.4",