@crvouga/mockingbird-service-prism 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-64R5WRLB.js → chunk-OZBUWLPY.js} +4 -4
- package/dist/chunk-OZBUWLPY.js.map +7 -0
- package/dist/{chunk-R2YDIWOB.js → chunk-WWLQURIO.js} +2 -2
- 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-64R5WRLB.js.map +0 -7
- /package/dist/{chunk-R2YDIWOB.js.map → chunk-WWLQURIO.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
# Changelog — @crvouga/mockingbird-service-prism
|
|
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
|
|
|
@@ -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());
|
|
@@ -4072,7 +4072,7 @@ var stateAdminRoutes = (routes) => {
|
|
|
4072
4072
|
};
|
|
4073
4073
|
|
|
4074
4074
|
// ../core/dist/version.js
|
|
4075
|
-
var PACKAGE_VERSION = true ? "1.7.
|
|
4075
|
+
var PACKAGE_VERSION = true ? "1.7.1" : UNRELEASED_VERSION;
|
|
4076
4076
|
|
|
4077
4077
|
// ../core/dist/webhooks.js
|
|
4078
4078
|
var json4 = (status, body) => new Response(JSON.stringify(body), { status, headers: { "content-type": "application/json" } });
|
|
@@ -5362,4 +5362,4 @@ export {
|
|
|
5362
5362
|
scanResults,
|
|
5363
5363
|
PrismAPI
|
|
5364
5364
|
};
|
|
5365
|
-
//# sourceMappingURL=chunk-
|
|
5365
|
+
//# sourceMappingURL=chunk-OZBUWLPY.js.map
|