@crvouga/mockingbird-service-wholescripts 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-wholescripts
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-W6USLWSA.js";
3
+ } from "./chunk-QGDPU444.js";
4
4
 
5
5
  // ../../adapters/node/dist/cli.js
6
6
  import { readFile } from "node:fs/promises";
@@ -377,4 +377,4 @@ export {
377
377
  createServer2 as createServer,
378
378
  serveTarget
379
379
  };
380
- //# sourceMappingURL=chunk-5AJOINEM.js.map
380
+ //# sourceMappingURL=chunk-IA2HFEB7.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());
@@ -4064,7 +4064,7 @@ var stateAdminRoutes = (routes) => {
4064
4064
  };
4065
4065
 
4066
4066
  // ../core/dist/version.js
4067
- var PACKAGE_VERSION = true ? "1.7.0" : UNRELEASED_VERSION;
4067
+ var PACKAGE_VERSION = true ? "1.7.1" : UNRELEASED_VERSION;
4068
4068
 
4069
4069
  // ../core/dist/webhooks.js
4070
4070
  var json4 = (status, body) => new Response(JSON.stringify(body), { status, headers: { "content-type": "application/json" } });
@@ -5381,4 +5381,4 @@ export {
5381
5381
  canonicalStatus,
5382
5382
  WholescriptsAPI
5383
5383
  };
5384
- //# sourceMappingURL=chunk-W6USLWSA.js.map
5384
+ //# sourceMappingURL=chunk-QGDPU444.js.map