@crvouga/mockingbird-runtime 0.0.2 → 0.1.0
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/dist/adapter-node.js +2 -2
- package/dist/{chunk-G62YDIIJ.js → chunk-J4M2I37S.js} +6 -5
- package/dist/{chunk-G62YDIIJ.js.map → chunk-J4M2I37S.js.map} +2 -2
- package/dist/{chunk-ANCCZFF2.js → chunk-SNMV36AZ.js} +2 -2
- package/dist/http-provider.js +1 -1
- package/dist/mqtt-broker/node.js +2 -2
- package/dist/mqtt-broker.js +2 -2
- package/dist/service.d.ts +7 -0
- package/dist/service.js +1 -1
- package/package.json +1 -1
- /package/dist/{chunk-ANCCZFF2.js.map → chunk-SNMV36AZ.js.map} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DEFAULT_NAMESPACE
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-J4M2I37S.js";
|
|
4
4
|
import {
|
|
5
5
|
fromBase64,
|
|
6
6
|
matchNamespacePath
|
|
@@ -775,4 +775,4 @@ export {
|
|
|
775
775
|
connectNamespace,
|
|
776
776
|
brokerAdminRoutes
|
|
777
777
|
};
|
|
778
|
-
//# sourceMappingURL=chunk-
|
|
778
|
+
//# sourceMappingURL=chunk-SNMV36AZ.js.map
|
package/dist/http-provider.js
CHANGED
package/dist/mqtt-broker/node.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
MAX_VARIABLE_BYTE_INTEGER,
|
|
3
3
|
MQTT_WEBSOCKET_PATH
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-
|
|
4
|
+
} from "../chunk-SNMV36AZ.js";
|
|
5
|
+
import "../chunk-J4M2I37S.js";
|
|
6
6
|
import "../chunk-2KDYLZXC.js";
|
|
7
7
|
import "../chunk-XNS34BPF.js";
|
|
8
8
|
import "../chunk-2Y25NPCV.js";
|
package/dist/mqtt-broker.js
CHANGED
|
@@ -14,11 +14,11 @@ import {
|
|
|
14
14
|
observeClock,
|
|
15
15
|
takeConnackFault,
|
|
16
16
|
webSocketNamespace
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-SNMV36AZ.js";
|
|
18
18
|
import {
|
|
19
19
|
Collection,
|
|
20
20
|
IdSequence
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-J4M2I37S.js";
|
|
22
22
|
import "./chunk-2KDYLZXC.js";
|
|
23
23
|
import {
|
|
24
24
|
fromBase64,
|
package/dist/service.d.ts
CHANGED
|
@@ -2395,6 +2395,13 @@ type RuntimeOptions<T extends ServiceInstance> = {
|
|
|
2395
2395
|
webhooks?: WebhookHub;
|
|
2396
2396
|
/** Retained time-travel checkpoints per namespace. Default 1,000. */
|
|
2397
2397
|
maxCheckpoints?: number;
|
|
2398
|
+
/**
|
|
2399
|
+
* Record a time-travel checkpoint after every accepted mutation and stamp its id in
|
|
2400
|
+
* `x-mockingbird-checkpoint`. Default true. Each checkpoint reads the whole namespace, so a
|
|
2401
|
+
* long-running mock that never travels back can turn this off to keep a write's cost its own;
|
|
2402
|
+
* `checkpoint`, `snapshot`, `branch` and `checkout` still capture when called.
|
|
2403
|
+
*/
|
|
2404
|
+
checkpointMutations?: boolean;
|
|
2398
2405
|
/** Injectable process IO used for observability and delays; logical service time uses `clock`. */
|
|
2399
2406
|
io?: Partial<RuntimeIO>;
|
|
2400
2407
|
/**
|
package/dist/service.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crvouga/mockingbird-runtime",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "The shared Mockingbird runtime every emulator service depends on: router, admin API and page, snapshots, faults and clock, installed once however many emulators an application uses.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
File without changes
|