@crvouga/mockingbird-service-plane 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-5R4IUSTM.js → chunk-DC2XELGV.js} +2 -2
- package/dist/{chunk-4YH7SZC3.js → chunk-NVLTLMDI.js} +4 -4
- package/dist/chunk-NVLTLMDI.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-4YH7SZC3.js.map +0 -7
- /package/dist/{chunk-5R4IUSTM.js.map → chunk-DC2XELGV.js.map} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
# Changelog — @crvouga/mockingbird-service-plane
|
|
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-NVLTLMDI.js";
|
|
4
4
|
|
|
5
5
|
// ../../adapters/node/dist/cli.js
|
|
6
6
|
import { readFile } from "node:fs/promises";
|
|
@@ -356,4 +356,4 @@ export {
|
|
|
356
356
|
createServer2 as createServer,
|
|
357
357
|
serveTarget
|
|
358
358
|
};
|
|
359
|
-
//# sourceMappingURL=chunk-
|
|
359
|
+
//# sourceMappingURL=chunk-DC2XELGV.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());
|
|
@@ -4106,7 +4106,7 @@ var stateAdminRoutes = (routes) => {
|
|
|
4106
4106
|
};
|
|
4107
4107
|
|
|
4108
4108
|
// ../core/dist/version.js
|
|
4109
|
-
var PACKAGE_VERSION = true ? "1.7.
|
|
4109
|
+
var PACKAGE_VERSION = true ? "1.7.1" : UNRELEASED_VERSION;
|
|
4110
4110
|
|
|
4111
4111
|
// ../core/dist/webhooks.js
|
|
4112
4112
|
var json4 = (status, body) => new Response(JSON.stringify(body), { status, headers: { "content-type": "application/json" } });
|
|
@@ -5476,4 +5476,4 @@ export {
|
|
|
5476
5476
|
apiKeyCredential,
|
|
5477
5477
|
PlaneAPI
|
|
5478
5478
|
};
|
|
5479
|
-
//# sourceMappingURL=chunk-
|
|
5479
|
+
//# sourceMappingURL=chunk-NVLTLMDI.js.map
|