@crvouga/mockingbird-service-workos 1.14.0 → 1.15.1

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,19 @@
1
1
  # Changelog — @crvouga/mockingbird-service-workos
2
2
 
3
- ## 1.14.0 (2026-11-17)
3
+ ## 1.15.1 (2026-11-18)
4
+
5
+ ### Fixes and improvements
6
+
7
+ - roll back only the rows a scope wrote instead of copying the namespace ([4b5bf7c](https://github.com/crvouga/mockingbird/commit/4b5bf7ca9902946df6164f0a247ddc8708198b5e))
8
+
9
+ ## 1.15.0 (2026-11-16)
10
+
11
+ ### Features
12
+
13
+ - allow checkpointMutations in a fleet entry's adminControls ([f318660](https://github.com/crvouga/mockingbird/commit/f318660116d4237b520dee31e9c3c730aa66eae2))
14
+ - accept checkpointMutations as a boot admin control ([1825da5](https://github.com/crvouga/mockingbird/commit/1825da537184b111df3e7f1081c79cf605fb4d50))
15
+
16
+ ## 1.14.0 (2026-11-16)
4
17
 
5
18
  ### Features
6
19
 
@@ -28,7 +28,7 @@ __export(service_exports, {
28
28
  __reExport(service_exports, service_star);
29
29
  import * as service_star from "@crvouga/mockingbird-runtime/service";
30
30
  import { PACKAGE_VERSION as SHARED_VERSION, createRuntime as sharedRuntime } from "@crvouga/mockingbird-runtime/service";
31
- var PACKAGE_VERSION = true ? "1.14.0" : SHARED_VERSION;
31
+ var PACKAGE_VERSION = true ? "1.15.1" : SHARED_VERSION;
32
32
  var ADMIN_BRAND = typeof define_MOCKINGBIRD_ADMIN_BRAND_default === "object" ? define_MOCKINGBIRD_ADMIN_BRAND_default : void 0;
33
33
  var createRuntime = (options) => sharedRuntime({
34
34
  ...options,
package/dist/index.d.ts CHANGED
@@ -516,6 +516,11 @@ type MockControls = NamespaceControls & {
516
516
  credentials?: Record<string, string>;
517
517
  /** Overrides for named namespaces. A key given here replaces the shared value. */
518
518
  namespaces?: Record<string, NamespaceControls>;
519
+ /**
520
+ * Record a time-travel checkpoint after every accepted write. Default true. The runtime's own
521
+ * `checkpointMutations` option wins over this.
522
+ */
523
+ checkpointMutations?: boolean;
519
524
  };
520
525
  /** A latency rule in milliseconds. */
521
526
  type LatencyRule = {
@@ -799,6 +804,8 @@ declare class Collection<T> {
799
804
  namespace: string,
800
805
  /** Table name inside the namespace. Stable across resets of the rows themselves. */
801
806
  collectionName: string);
807
+ /** Note the record's current row in every open rollback journal that has not seen it yet. */
808
+ private journalRecord;
802
809
  private bumpCollectionSeq;
803
810
  nextSequence(): number;
804
811
  get(id: string): T | undefined;
package/dist/server.d.ts CHANGED
@@ -466,6 +466,11 @@ type MockControls = NamespaceControls & {
466
466
  credentials?: Record<string, string>;
467
467
  /** Overrides for named namespaces. A key given here replaces the shared value. */
468
468
  namespaces?: Record<string, NamespaceControls>;
469
+ /**
470
+ * Record a time-travel checkpoint after every accepted write. Default true. The runtime's own
471
+ * `checkpointMutations` option wins over this.
472
+ */
473
+ checkpointMutations?: boolean;
469
474
  };
470
475
  /** A latency rule in milliseconds. */
471
476
  type LatencyRule = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crvouga/mockingbird-service-workos",
3
- "version": "1.14.0",
3
+ "version": "1.15.1",
4
4
  "description": "Stateful WorkOS AuthKit emulator with signed sessions, rotating refresh tokens and user pagination.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -103,7 +103,7 @@
103
103
  "pack:check": "bun ../../../scripts/pack-check.ts"
104
104
  },
105
105
  "dependencies": {
106
- "@crvouga/mockingbird-runtime": "0.1.0",
106
+ "@crvouga/mockingbird-runtime": "0.2.1",
107
107
  "@crvouga/mockingbird-service-sqlite": "3.5.1",
108
108
  "hono": "4.13.11"
109
109
  },