@crvouga/mockingbird-service-stripe 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.
package/CHANGELOG.md CHANGED
@@ -1,6 +1,18 @@
1
1
  # Changelog — @crvouga/mockingbird-service-stripe
2
2
 
3
- ## 3.7.0 (2026-10-19)
3
+ ## 3.9.0 (2026-10-21)
4
+
5
+ ### Features
6
+
7
+ - add manual response controls ([4599960](https://github.com/crvouga/mockingbird/commit/45999603e8b860c633181367afc7baa906ba486b))
8
+
9
+ ## 3.8.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
+ ## 3.7.0 (2026-10-18)
4
16
 
5
17
  ### Features
6
18
 
@@ -17,7 +17,7 @@ import {
17
17
  requestBaseUrl,
18
18
  resolveSchema,
19
19
  signers
20
- } from "./chunk-BP7APLM4.js";
20
+ } from "./chunk-IKHJFW6E.js";
21
21
 
22
22
  // src/account.ts
23
23
  var accountOfKey = (key) => `acct_${opaqueToken(key, 8)}`;
@@ -15855,4 +15855,4 @@ export {
15855
15855
  createRuntime2 as createRuntime,
15856
15856
  StripeAPI
15857
15857
  };
15858
- //# sourceMappingURL=chunk-42WPENBP.js.map
15858
+ //# sourceMappingURL=chunk-4XKRIJAN.js.map
@@ -9,7 +9,7 @@ import {
9
9
  resolveAdminPrefix,
10
10
  restoreClock,
11
11
  signV4
12
- } from "./chunk-BP7APLM4.js";
12
+ } from "./chunk-IKHJFW6E.js";
13
13
 
14
14
  // ../../adapters/node/dist/fleet-archive.js
15
15
  import { createHash } from "node:crypto";
@@ -1869,7 +1869,11 @@ var serve = async (api, options = {}) => {
1869
1869
  // ../../adapters/node/dist/listen.js
1870
1870
  var listen = async (api, options = {}) => {
1871
1871
  const host = options.host ?? "127.0.0.1";
1872
- const server = await serve(api, { port: options.port ?? 0, host });
1872
+ const server = await serve(api, {
1873
+ port: options.port ?? 0,
1874
+ host,
1875
+ ...options.maxBodyBytes !== void 0 ? { maxBodyBytes: options.maxBodyBytes } : {}
1876
+ });
1873
1877
  const address = server.address();
1874
1878
  const port = typeof address === "object" && address !== null ? address.port : options.port ?? 0;
1875
1879
  const shown = host.includes(":") ? `[${host}]` : host;
@@ -3869,7 +3873,7 @@ async function preflightFleet(config, options) {
3869
3873
  break;
3870
3874
  }
3871
3875
  }
3872
- targets.set(name, { ...target, packageVersion: packageVersion ?? "3.7.0" });
3876
+ targets.set(name, { ...target, packageVersion: packageVersion ?? "3.9.0" });
3873
3877
  } catch (error) {
3874
3878
  throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
3875
3879
  }
@@ -4133,7 +4137,8 @@ var httpChild = async (target, entry, options, admission, generation, privateAcc
4133
4137
  try {
4134
4138
  server = await listen(api, {
4135
4139
  port: entry.port ?? target.defaultPort,
4136
- host: entry.host ?? "127.0.0.1"
4140
+ host: entry.host ?? "127.0.0.1",
4141
+ ...target.maxBodyBytes !== void 0 ? { maxBodyBytes: target.maxBodyBytes } : {}
4137
4142
  });
4138
4143
  target.listening?.(server);
4139
4144
  } catch (error) {
@@ -5524,7 +5529,11 @@ var start = async (target, values, config) => {
5524
5529
  });
5525
5530
  if (config.idBase !== void 0)
5526
5531
  runtime.setIdBase?.(config.idBase);
5527
- const listening = await listen(runtime, { port: config.port, host: config.host });
5532
+ const listening = await listen(runtime, {
5533
+ port: config.port,
5534
+ host: config.host,
5535
+ ...target.maxBodyBytes !== void 0 ? { maxBodyBytes: target.maxBodyBytes } : {}
5536
+ });
5528
5537
  target.listening?.(listening);
5529
5538
  console.log(`${target.name} emulator listening on ${listening.url}`);
5530
5539
  console.log(`${target.name} health: GET ${listening.url}${adminPrefix}/health`);
@@ -6659,4 +6668,4 @@ export {
6659
6668
  withFleetRun,
6660
6669
  NamespacePool
6661
6670
  };
6662
- //# sourceMappingURL=chunk-MZ55KBZZ.js.map
6671
+ //# sourceMappingURL=chunk-A2FQVZQW.js.map