@crvouga/mockingbird-service-firstpromoter 1.7.0 → 1.7.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,14 +1,16 @@
1
1
  # Changelog — @crvouga/mockingbird-service-firstpromoter
2
2
 
3
- ## 1.7.0 (2026-10-01)
3
+ ## 1.7.1 (2026-10-01)
4
4
 
5
- ### Features
5
+ ### Fixes and improvements
6
6
 
7
- - record SQL timelines and serve the admin explorer ([8ced17a](https://github.com/crvouga/mockingbird/commit/8ced17ac398e386ef4e9d7e01fc7744c34b95d07))
7
+ - freeze clock before setting time ([a054a1d](https://github.com/crvouga/mockingbird/commit/a054a1defad62539d719b1d31c15107afea623bd))
8
8
 
9
- ### Dependencies
9
+ ## 1.7.0 (2026-09-30)
10
10
 
11
- - `@crvouga/mockingbird-service-sqlite`
11
+ ### Features
12
+
13
+ - record SQL timelines and serve the admin explorer ([8ced17a](https://github.com/crvouga/mockingbird/commit/8ced17ac398e386ef4e9d7e01fc7744c34b95d07))
12
14
 
13
15
  ## 1.6.1 (2026-09-30)
14
16
 
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createRuntime
3
- } from "./chunk-X64AFGTE.js";
3
+ } from "./chunk-WO6IMJ7H.js";
4
4
 
5
5
  // ../../adapters/node/dist/cli.js
6
6
  import { readFile } from "node:fs/promises";
@@ -353,4 +353,4 @@ export {
353
353
  createServer2 as createServer,
354
354
  serveTarget
355
355
  };
356
- //# sourceMappingURL=chunk-CS3GHDD7.js.map
356
+ //# sourceMappingURL=chunk-UOX6JZP3.js.map
@@ -189,6 +189,8 @@ var createControlPlane = (context) => {
189
189
  return adminError(400, "expected a JSON object");
190
190
  if (body.reset === true)
191
191
  context.clock.reset();
192
+ if (body.freeze === true)
193
+ context.clock.freeze();
192
194
  if (body.set !== void 0) {
193
195
  const instant = parseInstant(body.set);
194
196
  if (instant === void 0)
@@ -201,8 +203,6 @@ var createControlPlane = (context) => {
201
203
  return adminError(400, 'advance: expected ms or "15m"-style');
202
204
  context.clock.advance(delta);
203
205
  }
204
- if (body.freeze === true)
205
- context.clock.freeze();
206
206
  if (body.freeze === false)
207
207
  context.clock.unfreeze();
208
208
  return json(200, context.clock.state());
@@ -4053,7 +4053,7 @@ var stateAdminRoutes = (routes) => {
4053
4053
  };
4054
4054
 
4055
4055
  // ../core/dist/version.js
4056
- var PACKAGE_VERSION = true ? "1.7.0" : UNRELEASED_VERSION;
4056
+ var PACKAGE_VERSION = true ? "1.7.1" : UNRELEASED_VERSION;
4057
4057
 
4058
4058
  // ../core/dist/signing.js
4059
4059
  var encoder = new TextEncoder();
@@ -5865,4 +5865,4 @@ export {
5865
5865
  FIRSTPROMOTER_NAMESPACE,
5866
5866
  FirstPromoterAPI
5867
5867
  };
5868
- //# sourceMappingURL=chunk-X64AFGTE.js.map
5868
+ //# sourceMappingURL=chunk-WO6IMJ7H.js.map