@crvouga/mockingbird-service-flex 4.0.6 → 4.0.7

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,5 +1,11 @@
1
1
  # Changelog — @crvouga/mockingbird-service-flex
2
2
 
3
+ ## 4.0.7 (2026-11-02)
4
+
5
+ ### Fixes and improvements
6
+
7
+ - save and replay a 500 the endpoint produced under an Idempotency-Key ([789bbcc](https://github.com/crvouga/mockingbird/commit/789bbcccb792cddaf27f4f6db6d2fcf2da1d07fe))
8
+
3
9
  ## 4.0.6 (2026-11-02)
4
10
 
5
11
  ### Fixes and improvements
@@ -9,7 +9,7 @@ import {
9
9
  parseFaultHeader,
10
10
  resolveAdminPrefix,
11
11
  restoreClock
12
- } from "./chunk-3ESVXTZO.js";
12
+ } from "./chunk-Q2G2RMGH.js";
13
13
 
14
14
  // ../../adapters/node/dist/cli.js
15
15
  import { readFile as readFile5 } from "node:fs/promises";
@@ -3057,7 +3057,7 @@ async function preflightFleet(config, options) {
3057
3057
  break;
3058
3058
  }
3059
3059
  }
3060
- targets.set(name, { ...target, packageVersion: packageVersion ?? "4.0.6" });
3060
+ targets.set(name, { ...target, packageVersion: packageVersion ?? "4.0.7" });
3061
3061
  } catch (error) {
3062
3062
  throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
3063
3063
  }
@@ -5062,4 +5062,4 @@ export {
5062
5062
  createServer2 as createServer,
5063
5063
  serveTarget
5064
5064
  };
5065
- //# sourceMappingURL=chunk-MVNUNHKW.js.map
5065
+ //# sourceMappingURL=chunk-7LXOATGK.js.map
@@ -3401,6 +3401,7 @@ var IdempotencyStore = class {
3401
3401
  * the method, path and canonical body). Only `replayable` responses are stored (default:
3402
3402
  * every status below 500), so a transient failure can be retried. `replayable` also sees the
3403
3403
  * response, for vendors that decide from more than the status.
3404
+ * Stripe also saves endpoint-produced 500 responses.
3404
3405
  */
3405
3406
  async run(key, fingerprint, errors, handler, replayable = (status) => status < 500) {
3406
3407
  const slot = `${this.namespace}\0${key}`;
@@ -4152,7 +4153,7 @@ var stateAdminRoutes = (routes) => {
4152
4153
  };
4153
4154
 
4154
4155
  // ../core/dist/version.js
4155
- var PACKAGE_VERSION = true ? "4.0.6" : UNRELEASED_VERSION;
4156
+ var PACKAGE_VERSION = true ? "4.0.7" : UNRELEASED_VERSION;
4156
4157
 
4157
4158
  // ../core/dist/webhooks.js
4158
4159
  var signers = {
@@ -8479,4 +8480,4 @@ export {
8479
8480
  FlexAPI,
8480
8481
  isNextActionType
8481
8482
  };
8482
- //# sourceMappingURL=chunk-3ESVXTZO.js.map
8483
+ //# sourceMappingURL=chunk-Q2G2RMGH.js.map