@crvouga/mockingbird-service-emqx 0.6.0 → 0.8.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/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # Changelog — @crvouga/mockingbird-service-emqx
2
2
 
3
- ## 0.6.0 (2026-10-19)
3
+ ## 0.8.0 (2026-10-21)
4
+
5
+ ### Features
6
+
7
+ - add manual response controls ([4599960](https://github.com/crvouga/mockingbird/commit/45999603e8b860c633181367afc7baa906ba486b))
8
+
9
+ ## 0.7.0 (2026-10-20)
10
+
11
+ ### Features
12
+
13
+ - raise the serve and fleet body limit to the S3 maximum ([86b9e2b](https://github.com/crvouga/mockingbird/commit/86b9e2b80bcaaaef57f52edbac50b27da0b42f33))
14
+
15
+ ## 0.6.0 (2026-10-18)
4
16
 
5
17
  ### Features
6
18
 
@@ -10,7 +10,7 @@ import {
10
10
  parseFaultHeader,
11
11
  resolveAdminPrefix,
12
12
  restoreClock
13
- } from "./chunk-YXGEJYVV.js";
13
+ } from "./chunk-MTQEN6HA.js";
14
14
 
15
15
  // ../../adapters/node/dist/cli.js
16
16
  import { readFile as readFile5 } from "node:fs/promises";
@@ -3058,7 +3058,7 @@ async function preflightFleet(config, options) {
3058
3058
  break;
3059
3059
  }
3060
3060
  }
3061
- targets.set(name, { ...target, packageVersion: packageVersion ?? "0.6.0" });
3061
+ targets.set(name, { ...target, packageVersion: packageVersion ?? "0.8.0" });
3062
3062
  } catch (error) {
3063
3063
  throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
3064
3064
  }
@@ -3284,7 +3284,11 @@ var serve = async (api, options = {}) => {
3284
3284
  // ../../adapters/node/dist/listen.js
3285
3285
  var listen = async (api, options = {}) => {
3286
3286
  const host = options.host ?? "127.0.0.1";
3287
- const server = await serve(api, { port: options.port ?? 0, host });
3287
+ const server = await serve(api, {
3288
+ port: options.port ?? 0,
3289
+ host,
3290
+ ...options.maxBodyBytes !== void 0 ? { maxBodyBytes: options.maxBodyBytes } : {}
3291
+ });
3288
3292
  const address = server.address();
3289
3293
  const port = typeof address === "object" && address !== null ? address.port : options.port ?? 0;
3290
3294
  const shown = host.includes(":") ? `[${host}]` : host;
@@ -3483,7 +3487,8 @@ var httpChild = async (target, entry, options, admission, generation, privateAcc
3483
3487
  try {
3484
3488
  server = await listen(api, {
3485
3489
  port: entry.port ?? target.defaultPort,
3486
- host: entry.host ?? "127.0.0.1"
3490
+ host: entry.host ?? "127.0.0.1",
3491
+ ...target.maxBodyBytes !== void 0 ? { maxBodyBytes: target.maxBodyBytes } : {}
3487
3492
  });
3488
3493
  target.listening?.(server);
3489
3494
  } catch (error) {
@@ -4874,7 +4879,11 @@ var start = async (target, values, config) => {
4874
4879
  });
4875
4880
  if (config.idBase !== void 0)
4876
4881
  runtime.setIdBase?.(config.idBase);
4877
- const listening = await listen(runtime, { port: config.port, host: config.host });
4882
+ const listening = await listen(runtime, {
4883
+ port: config.port,
4884
+ host: config.host,
4885
+ ...target.maxBodyBytes !== void 0 ? { maxBodyBytes: target.maxBodyBytes } : {}
4886
+ });
4878
4887
  target.listening?.(listening);
4879
4888
  console.log(`${target.name} emulator listening on ${listening.url}`);
4880
4889
  console.log(`${target.name} health: GET ${listening.url}${adminPrefix}/health`);
@@ -5395,4 +5404,4 @@ export {
5395
5404
  connectStream,
5396
5405
  serveTarget
5397
5406
  };
5398
- //# sourceMappingURL=chunk-NB5GDNQB.js.map
5407
+ //# sourceMappingURL=chunk-HNW36ZRK.js.map