@forklaunch/core 1.3.16 → 1.4.0
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/lib/cache/index.d.mts +2 -1
- package/lib/cache/index.d.ts +2 -1
- package/lib/http/index.d.mts +2 -1
- package/lib/http/index.d.ts +2 -1
- package/lib/http/index.js +12 -0
- package/lib/http/index.js.map +1 -1
- package/lib/http/index.mjs +12 -0
- package/lib/http/index.mjs.map +1 -1
- package/lib/objectstore/index.d.mts +18 -44
- package/lib/objectstore/index.d.ts +18 -44
- package/lib/persistence/index.js +29 -11
- package/lib/persistence/index.js.map +1 -1
- package/lib/persistence/index.mjs +29 -11
- package/lib/persistence/index.mjs.map +1 -1
- package/lib/services/index.js +6 -0
- package/lib/services/index.js.map +1 -1
- package/lib/services/index.mjs +6 -0
- package/lib/services/index.mjs.map +1 -1
- package/lib/ttlCache.interface-B3xaLT00.d.ts +77 -0
- package/lib/ttlCache.interface-CEOkrt8d.d.mts +77 -0
- package/lib/ttlCacheRecord.types-oX0ti5SP.d.mts +25 -0
- package/lib/ttlCacheRecord.types-oX0ti5SP.d.ts +25 -0
- package/package.json +3 -3
- package/lib/ttlCache.interface-DClm-lSa.d.mts +0 -133
- package/lib/ttlCache.interface-DClm-lSa.d.ts +0 -133
package/lib/http/index.mjs
CHANGED
|
@@ -1501,6 +1501,12 @@ var ForklaunchExpressLikeRouter = class _ForklaunchExpressLikeRouter {
|
|
|
1501
1501
|
}
|
|
1502
1502
|
this.internal.use(createContext(this.schemaValidator));
|
|
1503
1503
|
}
|
|
1504
|
+
basePath;
|
|
1505
|
+
schemaValidator;
|
|
1506
|
+
internal;
|
|
1507
|
+
postEnrichMiddleware;
|
|
1508
|
+
openTelemetryCollector;
|
|
1509
|
+
routerOptions;
|
|
1504
1510
|
requestHandler;
|
|
1505
1511
|
routers = [];
|
|
1506
1512
|
routes = [];
|
|
@@ -2246,6 +2252,11 @@ var ForklaunchExpressLikeApplication = class extends ForklaunchExpressLikeRouter
|
|
|
2246
2252
|
this.appOptions = appOptions;
|
|
2247
2253
|
this.internal.use(cors(this.appOptions?.cors ?? {}));
|
|
2248
2254
|
}
|
|
2255
|
+
schemaValidator;
|
|
2256
|
+
internal;
|
|
2257
|
+
postEnrichMiddleware;
|
|
2258
|
+
openTelemetryCollector;
|
|
2259
|
+
appOptions;
|
|
2249
2260
|
/**
|
|
2250
2261
|
* Validates all registered routes across the app and all mounted routers.
|
|
2251
2262
|
* Call this at the start of listen() to fail fast at startup.
|
|
@@ -4334,6 +4345,7 @@ var RateLimiter = class {
|
|
|
4334
4345
|
constructor(cache) {
|
|
4335
4346
|
this.cache = cache;
|
|
4336
4347
|
}
|
|
4348
|
+
cache;
|
|
4337
4349
|
/**
|
|
4338
4350
|
* Check whether the given key is within its rate limit.
|
|
4339
4351
|
*
|