@crvouga/mockingbird-service-pharmetika 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-pharmetika
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
 
@@ -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());
@@ -4123,7 +4123,7 @@ var stateAdminRoutes = (routes) => {
4123
4123
  };
4124
4124
 
4125
4125
  // ../core/dist/version.js
4126
- var PACKAGE_VERSION = true ? "1.7.0" : UNRELEASED_VERSION;
4126
+ var PACKAGE_VERSION = true ? "1.7.1" : UNRELEASED_VERSION;
4127
4127
 
4128
4128
  // ../core/dist/signing.js
4129
4129
  var encoder = new TextEncoder();
@@ -6082,4 +6082,4 @@ export {
6082
6082
  tokenCredential,
6083
6083
  PharmetikaAPI
6084
6084
  };
6085
- //# sourceMappingURL=chunk-ZAUHRESG.js.map
6085
+ //# sourceMappingURL=chunk-MJHJS7HH.js.map