@crvouga/mockingbird-runtime 0.1.0 → 0.2.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.
@@ -463,6 +463,11 @@ type MockControls = NamespaceControls & {
463
463
  credentials?: Record<string, string>;
464
464
  /** Overrides for named namespaces. A key given here replaces the shared value. */
465
465
  namespaces?: Record<string, NamespaceControls>;
466
+ /**
467
+ * Record a time-travel checkpoint after every accepted write. Default true. The runtime's own
468
+ * `checkpointMutations` option wins over this.
469
+ */
470
+ checkpointMutations?: boolean;
466
471
  };
467
472
  /** A latency rule in milliseconds. */
468
473
  type LatencyRule = {
@@ -2122,6 +2127,9 @@ declare const fleetConfigSchema: {
2122
2127
  credentials: {
2123
2128
  type: string;
2124
2129
  };
2130
+ checkpointMutations: {
2131
+ type: string;
2132
+ };
2125
2133
  namespaces: {
2126
2134
  type: string;
2127
2135
  };
@@ -2,7 +2,7 @@ import {
2
2
  normalizeIdBase,
3
3
  ownedTransport,
4
4
  signV4
5
- } from "./chunk-J4M2I37S.js";
5
+ } from "./chunk-OISPHKE2.js";
6
6
  import "./chunk-2KDYLZXC.js";
7
7
  import {
8
8
  createClock,
@@ -12,7 +12,7 @@ import {
12
12
  parseFaultHeader,
13
13
  resolveAdminPrefix,
14
14
  restoreClock
15
- } from "./chunk-XNS34BPF.js";
15
+ } from "./chunk-LL6NKAJO.js";
16
16
  import "./chunk-2Y25NPCV.js";
17
17
  import "./chunk-EQLY2YOA.js";
18
18
  import "./chunk-HU6IOAFC.js";
@@ -3542,6 +3542,9 @@ var fleet_config_schema_default = {
3542
3542
  credentials: {
3543
3543
  type: "object"
3544
3544
  },
3545
+ checkpointMutations: {
3546
+ type: "boolean"
3547
+ },
3545
3548
  namespaces: {
3546
3549
  type: "object"
3547
3550
  }
@@ -3747,7 +3750,7 @@ async function preflightFleet(config, options) {
3747
3750
  break;
3748
3751
  }
3749
3752
  }
3750
- targets.set(name, { ...target, packageVersion: packageVersion ?? "0.1.0" });
3753
+ targets.set(name, { ...target, packageVersion: packageVersion ?? "0.2.0" });
3751
3754
  } catch (error) {
3752
3755
  throw new Error(`service ${name}: ${error instanceof Error ? error.message : String(error)}`, { cause: error });
3753
3756
  }