@514labs/moose-lib 0.6.252-ci-3-g37e54b29 → 0.6.252-ci-5-g3da4ba34

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.mjs CHANGED
@@ -613,6 +613,7 @@ var ClickHouseEngines = /* @__PURE__ */ ((ClickHouseEngines2) => {
613
613
  ClickHouseEngines2["Buffer"] = "Buffer";
614
614
  ClickHouseEngines2["Distributed"] = "Distributed";
615
615
  ClickHouseEngines2["IcebergS3"] = "IcebergS3";
616
+ ClickHouseEngines2["Kafka"] = "Kafka";
616
617
  ClickHouseEngines2["ReplicatedMergeTree"] = "ReplicatedMergeTree";
617
618
  ClickHouseEngines2["ReplicatedReplacingMergeTree"] = "ReplicatedReplacingMergeTree";
618
619
  ClickHouseEngines2["ReplicatedAggregatingMergeTree"] = "ReplicatedAggregatingMergeTree";
@@ -2514,19 +2515,7 @@ var WebApp = class {
2514
2515
  return app.callback();
2515
2516
  }
2516
2517
  if (typeof app.routing === "function") {
2517
- let isReady = false;
2518
- let readyPromise = null;
2519
- if (typeof app.ready === "function") {
2520
- readyPromise = app.ready().then(() => {
2521
- isReady = true;
2522
- });
2523
- } else {
2524
- isReady = true;
2525
- }
2526
- return async (req, res) => {
2527
- if (!isReady && readyPromise) {
2528
- await readyPromise;
2529
- }
2518
+ return (req, res) => {
2530
2519
  app.routing(req, res);
2531
2520
  };
2532
2521
  }