@forklaunch/core 1.3.17 → 1.4.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.
@@ -1,4 +1,5 @@
1
- export { T as TtlCache, a as TtlCacheRecord } from '../ttlCache.interface-DClm-lSa.mjs';
1
+ export { T as TtlCache } from '../ttlCache.interface-CEOkrt8d.mjs';
2
+ export { C as ComplianceContext, T as TtlCacheRecord } from '../ttlCacheRecord.types-oX0ti5SP.mjs';
2
3
 
3
4
  /**
4
5
  * Creates a function that generates cache keys with a given prefix.
@@ -1,4 +1,5 @@
1
- export { T as TtlCache, a as TtlCacheRecord } from '../ttlCache.interface-DClm-lSa.js';
1
+ export { T as TtlCache } from '../ttlCache.interface-B3xaLT00.js';
2
+ export { C as ComplianceContext, T as TtlCacheRecord } from '../ttlCacheRecord.types-oX0ti5SP.js';
2
3
 
3
4
  /**
4
5
  * Creates a function that generates cache keys with a given prefix.
@@ -14,13 +14,14 @@ import http from 'http';
14
14
  import { OpenAPIObject } from 'openapi3-ts/oas31';
15
15
  import { LevelWithSilentOrString } from 'pino';
16
16
  export { LevelWithSilent, LevelWithSilentOrString, Logger } from 'pino';
17
- import { T as TtlCache } from '../ttlCache.interface-DClm-lSa.mjs';
17
+ import { T as TtlCache } from '../ttlCache.interface-CEOkrt8d.mjs';
18
18
  export { ATTR_HTTP_REQUEST_METHOD, ATTR_HTTP_RESPONSE_STATUS_CODE, ATTR_HTTP_ROUTE, ATTR_SERVICE_NAME } from '@opentelemetry/semantic-conventions';
19
19
  import '@opentelemetry/api';
20
20
  import '@opentelemetry/api-logs';
21
21
  import 'stream';
22
22
  import 'cors';
23
23
  import '@scalar/express-api-reference';
24
+ import '../ttlCacheRecord.types-oX0ti5SP.mjs';
24
25
 
25
26
  interface PathBasedHandler<RouterHandler> {
26
27
  (path: string, ...handlers: RouterHandler[]): unknown;
@@ -14,13 +14,14 @@ import http from 'http';
14
14
  import { OpenAPIObject } from 'openapi3-ts/oas31';
15
15
  import { LevelWithSilentOrString } from 'pino';
16
16
  export { LevelWithSilent, LevelWithSilentOrString, Logger } from 'pino';
17
- import { T as TtlCache } from '../ttlCache.interface-DClm-lSa.js';
17
+ import { T as TtlCache } from '../ttlCache.interface-B3xaLT00.js';
18
18
  export { ATTR_HTTP_REQUEST_METHOD, ATTR_HTTP_RESPONSE_STATUS_CODE, ATTR_HTTP_ROUTE, ATTR_SERVICE_NAME } from '@opentelemetry/semantic-conventions';
19
19
  import '@opentelemetry/api';
20
20
  import '@opentelemetry/api-logs';
21
21
  import 'stream';
22
22
  import 'cors';
23
23
  import '@scalar/express-api-reference';
24
+ import '../ttlCacheRecord.types-oX0ti5SP.js';
24
25
 
25
26
  interface PathBasedHandler<RouterHandler> {
26
27
  (path: string, ...handlers: RouterHandler[]): unknown;
package/lib/http/index.js CHANGED
@@ -1571,6 +1571,12 @@ var ForklaunchExpressLikeRouter = class _ForklaunchExpressLikeRouter {
1571
1571
  }
1572
1572
  this.internal.use(createContext(this.schemaValidator));
1573
1573
  }
1574
+ basePath;
1575
+ schemaValidator;
1576
+ internal;
1577
+ postEnrichMiddleware;
1578
+ openTelemetryCollector;
1579
+ routerOptions;
1574
1580
  requestHandler;
1575
1581
  routers = [];
1576
1582
  routes = [];
@@ -2316,6 +2322,11 @@ var ForklaunchExpressLikeApplication = class extends ForklaunchExpressLikeRouter
2316
2322
  this.appOptions = appOptions;
2317
2323
  this.internal.use(cors(this.appOptions?.cors ?? {}));
2318
2324
  }
2325
+ schemaValidator;
2326
+ internal;
2327
+ postEnrichMiddleware;
2328
+ openTelemetryCollector;
2329
+ appOptions;
2319
2330
  /**
2320
2331
  * Validates all registered routes across the app and all mounted routers.
2321
2332
  * Call this at the start of listen() to fail fast at startup.
@@ -4390,6 +4401,7 @@ var RateLimiter = class {
4390
4401
  constructor(cache) {
4391
4402
  this.cache = cache;
4392
4403
  }
4404
+ cache;
4393
4405
  /**
4394
4406
  * Check whether the given key is within its rate limit.
4395
4407
  *