@crvouga/mockingbird-service-payload-cms 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 +7 -5
- package/dist/{chunk-GTV3AI6Q.js → chunk-IASSS3Z5.js} +2 -2
- package/dist/{chunk-GLSGZ74L.js → chunk-MW3LF4G2.js} +4 -4
- package/dist/chunk-MW3LF4G2.js.map +7 -0
- package/dist/cli.js +2 -2
- package/dist/index.js +1 -1
- package/dist/server.js +2 -2
- package/package.json +1 -1
- package/dist/chunk-GLSGZ74L.js.map +0 -7
- /package/dist/{chunk-GTV3AI6Q.js.map → chunk-IASSS3Z5.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
# Changelog — @crvouga/mockingbird-service-payload-cms
|
|
2
2
|
|
|
3
|
-
## 1.7.
|
|
3
|
+
## 1.7.1 (2026-10-01)
|
|
4
4
|
|
|
5
|
-
###
|
|
5
|
+
### Fixes and improvements
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- freeze clock before setting time ([a054a1d](https://github.com/crvouga/mockingbird/commit/a054a1defad62539d719b1d31c15107afea623bd))
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
## 1.7.0 (2026-09-30)
|
|
10
10
|
|
|
11
|
-
|
|
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-
|
|
3
|
+
} from "./chunk-MW3LF4G2.js";
|
|
4
4
|
|
|
5
5
|
// src/server.ts
|
|
6
6
|
import { readFile as readFile2 } from "node:fs/promises";
|
|
@@ -351,4 +351,4 @@ export {
|
|
|
351
351
|
createServer2 as createServer,
|
|
352
352
|
serveTarget
|
|
353
353
|
};
|
|
354
|
-
//# sourceMappingURL=chunk-
|
|
354
|
+
//# sourceMappingURL=chunk-IASSS3Z5.js.map
|
|
@@ -327,6 +327,8 @@ var createControlPlane = (context) => {
|
|
|
327
327
|
return adminError(400, "expected a JSON object");
|
|
328
328
|
if (body.reset === true)
|
|
329
329
|
context.clock.reset();
|
|
330
|
+
if (body.freeze === true)
|
|
331
|
+
context.clock.freeze();
|
|
330
332
|
if (body.set !== void 0) {
|
|
331
333
|
const instant = parseInstant(body.set);
|
|
332
334
|
if (instant === void 0)
|
|
@@ -339,8 +341,6 @@ var createControlPlane = (context) => {
|
|
|
339
341
|
return adminError(400, 'advance: expected ms or "15m"-style');
|
|
340
342
|
context.clock.advance(delta);
|
|
341
343
|
}
|
|
342
|
-
if (body.freeze === true)
|
|
343
|
-
context.clock.freeze();
|
|
344
344
|
if (body.freeze === false)
|
|
345
345
|
context.clock.unfreeze();
|
|
346
346
|
return json(200, context.clock.state());
|
|
@@ -3803,7 +3803,7 @@ var stateAdminRoutes = (routes) => {
|
|
|
3803
3803
|
};
|
|
3804
3804
|
|
|
3805
3805
|
// ../core/dist/version.js
|
|
3806
|
-
var PACKAGE_VERSION = true ? "1.7.
|
|
3806
|
+
var PACKAGE_VERSION = true ? "1.7.1" : UNRELEASED_VERSION;
|
|
3807
3807
|
|
|
3808
3808
|
// ../core/dist/webhooks.js
|
|
3809
3809
|
var json4 = (status, body) => new Response(JSON.stringify(body), { status, headers: { "content-type": "application/json" } });
|
|
@@ -4970,4 +4970,4 @@ export {
|
|
|
4970
4970
|
compileWhere,
|
|
4971
4971
|
PayloadCmsAPI
|
|
4972
4972
|
};
|
|
4973
|
-
//# sourceMappingURL=chunk-
|
|
4973
|
+
//# sourceMappingURL=chunk-MW3LF4G2.js.map
|