@crvouga/mockingbird-service-cognito 3.18.0 → 3.19.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-KDE35R22.js +1 -1
- package/dist/index.d.ts +7 -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-cognito
|
|
2
2
|
|
|
3
|
-
## 3.
|
|
3
|
+
## 3.19.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
|
+
## 3.19.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
|
+
## 3.18.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
|
## 3.17.1 (2026-11-16)
|
|
14
27
|
|
|
15
28
|
Dependency updates only.
|
package/dist/chunk-KDE35R22.js
CHANGED
|
@@ -31,7 +31,7 @@ __export(service_exports, {
|
|
|
31
31
|
__reExport(service_exports, service_star);
|
|
32
32
|
import * as service_star from "@crvouga/mockingbird-runtime/service";
|
|
33
33
|
import { PACKAGE_VERSION as SHARED_VERSION, createRuntime as sharedRuntime } from "@crvouga/mockingbird-runtime/service";
|
|
34
|
-
var PACKAGE_VERSION = true ? "3.
|
|
34
|
+
var PACKAGE_VERSION = true ? "3.19.1" : SHARED_VERSION;
|
|
35
35
|
var ADMIN_BRAND = typeof define_MOCKINGBIRD_ADMIN_BRAND_default === "object" ? define_MOCKINGBIRD_ADMIN_BRAND_default : void 0;
|
|
36
36
|
var createRuntime = (options) => sharedRuntime({
|
|
37
37
|
...options,
|
package/dist/index.d.ts
CHANGED
|
@@ -474,6 +474,11 @@ type MockControls = NamespaceControls & {
|
|
|
474
474
|
credentials?: Record<string, string>;
|
|
475
475
|
/** Overrides for named namespaces. A key given here replaces the shared value. */
|
|
476
476
|
namespaces?: Record<string, NamespaceControls>;
|
|
477
|
+
/**
|
|
478
|
+
* Record a time-travel checkpoint after every accepted write. Default true. The runtime's own
|
|
479
|
+
* `checkpointMutations` option wins over this.
|
|
480
|
+
*/
|
|
481
|
+
checkpointMutations?: boolean;
|
|
477
482
|
};
|
|
478
483
|
/** A latency rule in milliseconds. */
|
|
479
484
|
type LatencyRule = {
|
|
@@ -757,6 +762,8 @@ declare class Collection<T> {
|
|
|
757
762
|
namespace: string,
|
|
758
763
|
/** Table name inside the namespace. Stable across resets of the rows themselves. */
|
|
759
764
|
collectionName: string);
|
|
765
|
+
/** Note the record's current row in every open rollback journal that has not seen it yet. */
|
|
766
|
+
private journalRecord;
|
|
760
767
|
private bumpCollectionSeq;
|
|
761
768
|
nextSequence(): number;
|
|
762
769
|
get(id: string): T | undefined;
|
package/dist/server.d.ts
CHANGED
|
@@ -464,6 +464,11 @@ type MockControls = NamespaceControls & {
|
|
|
464
464
|
credentials?: Record<string, string>;
|
|
465
465
|
/** Overrides for named namespaces. A key given here replaces the shared value. */
|
|
466
466
|
namespaces?: Record<string, NamespaceControls>;
|
|
467
|
+
/**
|
|
468
|
+
* Record a time-travel checkpoint after every accepted write. Default true. The runtime's own
|
|
469
|
+
* `checkpointMutations` option wins over this.
|
|
470
|
+
*/
|
|
471
|
+
checkpointMutations?: boolean;
|
|
467
472
|
};
|
|
468
473
|
/** A latency rule in milliseconds. */
|
|
469
474
|
type LatencyRule = {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@crvouga/mockingbird-service-cognito",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.19.1",
|
|
4
4
|
"description": "Stateful Amazon Cognito User Pools emulator for AWS SDK and browser authentication tests.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -98,7 +98,7 @@
|
|
|
98
98
|
"pack:check": "bun ../../../scripts/pack-check.ts"
|
|
99
99
|
},
|
|
100
100
|
"dependencies": {
|
|
101
|
-
"@crvouga/mockingbird-runtime": "0.1
|
|
101
|
+
"@crvouga/mockingbird-runtime": "0.2.1",
|
|
102
102
|
"@crvouga/mockingbird-service-sqlite": "3.5.1"
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|