@crvouga/mockingbird-service-aws-iot 0.15.0 → 0.16.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 +16 -3
- package/dist/chunk-KRK6PUDG.js +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/server.d.ts +5 -0
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,15 +1,28 @@
|
|
|
1
1
|
# Changelog — @crvouga/mockingbird-service-aws-iot
|
|
2
2
|
|
|
3
|
-
## 0.
|
|
3
|
+
## 0.16.1 (2026-11-18)
|
|
4
4
|
|
|
5
|
-
###
|
|
5
|
+
### Fixes and improvements
|
|
6
6
|
|
|
7
|
-
-
|
|
7
|
+
- roll back only the rows a scope wrote instead of copying the namespace ([4b5bf7c](https://github.com/crvouga/mockingbird/commit/4b5bf7ca9902946df6164f0a247ddc8708198b5e))
|
|
8
8
|
|
|
9
9
|
### Dependencies
|
|
10
10
|
|
|
11
11
|
- `@crvouga/mockingbird-runtime`
|
|
12
12
|
|
|
13
|
+
## 0.16.0 (2026-11-16)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
- allow checkpointMutations in a fleet entry's adminControls ([f318660](https://github.com/crvouga/mockingbird/commit/f318660116d4237b520dee31e9c3c730aa66eae2))
|
|
18
|
+
- accept checkpointMutations as a boot admin control ([1825da5](https://github.com/crvouga/mockingbird/commit/1825da537184b111df3e7f1081c79cf605fb4d50))
|
|
19
|
+
|
|
20
|
+
## 0.15.0 (2026-11-16)
|
|
21
|
+
|
|
22
|
+
### Features
|
|
23
|
+
|
|
24
|
+
- let a runtime skip the checkpoint it records after every write ([40a7387](https://github.com/crvouga/mockingbird/commit/40a7387208ec5f1fc0108859eded818efc3e3b5e))
|
|
25
|
+
|
|
13
26
|
## 0.14.1 (2026-11-16)
|
|
14
27
|
|
|
15
28
|
Dependency updates only.
|
package/dist/chunk-KRK6PUDG.js
CHANGED
|
@@ -36,7 +36,7 @@ __export(service_exports, {
|
|
|
36
36
|
__reExport(service_exports, service_star);
|
|
37
37
|
import * as service_star from "@crvouga/mockingbird-runtime/service";
|
|
38
38
|
import { PACKAGE_VERSION as SHARED_VERSION, createRuntime as sharedRuntime } from "@crvouga/mockingbird-runtime/service";
|
|
39
|
-
var PACKAGE_VERSION = true ? "0.
|
|
39
|
+
var PACKAGE_VERSION = true ? "0.16.1" : SHARED_VERSION;
|
|
40
40
|
var ADMIN_BRAND = typeof define_MOCKINGBIRD_ADMIN_BRAND_default === "object" ? define_MOCKINGBIRD_ADMIN_BRAND_default : void 0;
|
|
41
41
|
var createRuntime = (options) => sharedRuntime({
|
|
42
42
|
...options,
|
package/dist/index.d.ts
CHANGED
|
@@ -65,6 +65,8 @@ declare class Collection$1<T> {
|
|
|
65
65
|
namespace: string,
|
|
66
66
|
/** Table name inside the namespace. Stable across resets of the rows themselves. */
|
|
67
67
|
collectionName: string);
|
|
68
|
+
/** Note the record's current row in every open rollback journal that has not seen it yet. */
|
|
69
|
+
private journalRecord;
|
|
68
70
|
private bumpCollectionSeq;
|
|
69
71
|
nextSequence(): number;
|
|
70
72
|
get(id: string): T | undefined;
|
|
@@ -1086,6 +1088,11 @@ type MockControls = NamespaceControls & {
|
|
|
1086
1088
|
credentials?: Record<string, string>;
|
|
1087
1089
|
/** Overrides for named namespaces. A key given here replaces the shared value. */
|
|
1088
1090
|
namespaces?: Record<string, NamespaceControls>;
|
|
1091
|
+
/**
|
|
1092
|
+
* Record a time-travel checkpoint after every accepted write. Default true. The runtime's own
|
|
1093
|
+
* `checkpointMutations` option wins over this.
|
|
1094
|
+
*/
|
|
1095
|
+
checkpointMutations?: boolean;
|
|
1089
1096
|
};
|
|
1090
1097
|
/** A latency rule in milliseconds. */
|
|
1091
1098
|
type LatencyRule = {
|
|
@@ -1369,6 +1376,8 @@ declare class Collection<T> {
|
|
|
1369
1376
|
namespace: string,
|
|
1370
1377
|
/** Table name inside the namespace. Stable across resets of the rows themselves. */
|
|
1371
1378
|
collectionName: string);
|
|
1379
|
+
/** Note the record's current row in every open rollback journal that has not seen it yet. */
|
|
1380
|
+
private journalRecord;
|
|
1372
1381
|
private bumpCollectionSeq;
|
|
1373
1382
|
nextSequence(): number;
|
|
1374
1383
|
get(id: string): T | undefined;
|
package/dist/server.d.ts
CHANGED
|
@@ -465,6 +465,11 @@ type MockControls = NamespaceControls & {
|
|
|
465
465
|
credentials?: Record<string, string>;
|
|
466
466
|
/** Overrides for named namespaces. A key given here replaces the shared value. */
|
|
467
467
|
namespaces?: Record<string, NamespaceControls>;
|
|
468
|
+
/**
|
|
469
|
+
* Record a time-travel checkpoint after every accepted write. Default true. The runtime's own
|
|
470
|
+
* `checkpointMutations` option wins over this.
|
|
471
|
+
*/
|
|
472
|
+
checkpointMutations?: boolean;
|
|
468
473
|
};
|
|
469
474
|
/** A latency rule in milliseconds. */
|
|
470
475
|
type LatencyRule = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crvouga/mockingbird-service-aws-iot",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.16.1",
|
|
4
4
|
"description": "Stateful emulator of the AWS IoT Core data plane: SigV4-signed HTTP Publish and the MQTT 5 message broker over TCP and WebSocket, with custom-authorizer policies and persistent sessions.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -105,7 +105,7 @@
|
|
|
105
105
|
"pack:check": "bun ../../../scripts/pack-check.ts"
|
|
106
106
|
},
|
|
107
107
|
"dependencies": {
|
|
108
|
-
"@crvouga/mockingbird-runtime": "0.1
|
|
108
|
+
"@crvouga/mockingbird-runtime": "0.2.1",
|
|
109
109
|
"@crvouga/mockingbird-service-sqlite": "3.5.1"
|
|
110
110
|
},
|
|
111
111
|
"devDependencies": {
|