@crvouga/mockingbird-service-posthog 3.7.0 → 3.9.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.
@@ -11,7 +11,7 @@ import {
11
11
  resolveAdminPrefix,
12
12
  restoreClock,
13
13
  specsFromState
14
- } from "./chunk-2ZTMN4SX.js";
14
+ } from "./chunk-ECNCDCGV.js";
15
15
 
16
16
  // ../../adapters/node/dist/cli.js
17
17
  import { readFile as readFile5 } from "node:fs/promises";
@@ -3059,7 +3059,7 @@ async function preflightFleet(config, options) {
3059
3059
  break;
3060
3060
  }
3061
3061
  }
3062
- targets.set(name, { ...target, packageVersion: packageVersion ?? "3.7.0" });
3062
+ targets.set(name, { ...target, packageVersion: packageVersion ?? "3.9.0" });
3063
3063
  } catch (error) {
3064
3064
  throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
3065
3065
  }
@@ -3285,7 +3285,11 @@ var serve = async (api, options = {}) => {
3285
3285
  // ../../adapters/node/dist/listen.js
3286
3286
  var listen = async (api, options = {}) => {
3287
3287
  const host = options.host ?? "127.0.0.1";
3288
- const server = await serve(api, { port: options.port ?? 0, host });
3288
+ const server = await serve(api, {
3289
+ port: options.port ?? 0,
3290
+ host,
3291
+ ...options.maxBodyBytes !== void 0 ? { maxBodyBytes: options.maxBodyBytes } : {}
3292
+ });
3289
3293
  const address = server.address();
3290
3294
  const port = typeof address === "object" && address !== null ? address.port : options.port ?? 0;
3291
3295
  const shown = host.includes(":") ? `[${host}]` : host;
@@ -3484,7 +3488,8 @@ var httpChild = async (target, entry, options, admission, generation, privateAcc
3484
3488
  try {
3485
3489
  server = await listen(api, {
3486
3490
  port: entry.port ?? target.defaultPort,
3487
- host: entry.host ?? "127.0.0.1"
3491
+ host: entry.host ?? "127.0.0.1",
3492
+ ...target.maxBodyBytes !== void 0 ? { maxBodyBytes: target.maxBodyBytes } : {}
3488
3493
  });
3489
3494
  target.listening?.(server);
3490
3495
  } catch (error) {
@@ -4875,7 +4880,11 @@ var start = async (target, values, config) => {
4875
4880
  });
4876
4881
  if (config.idBase !== void 0)
4877
4882
  runtime.setIdBase?.(config.idBase);
4878
- const listening = await listen(runtime, { port: config.port, host: config.host });
4883
+ const listening = await listen(runtime, {
4884
+ port: config.port,
4885
+ host: config.host,
4886
+ ...target.maxBodyBytes !== void 0 ? { maxBodyBytes: target.maxBodyBytes } : {}
4887
+ });
4879
4888
  target.listening?.(listening);
4880
4889
  console.log(`${target.name} emulator listening on ${listening.url}`);
4881
4890
  console.log(`${target.name} health: GET ${listening.url}${adminPrefix}/health`);
@@ -5029,4 +5038,4 @@ export {
5029
5038
  createServer2 as createServer,
5030
5039
  serveTarget
5031
5040
  };
5032
- //# sourceMappingURL=chunk-E3VNLDYM.js.map
5041
+ //# sourceMappingURL=chunk-LI7IJXS5.js.map