@dudousxd/nestjs-durable-store-drizzle 0.29.0 → 0.29.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/dist/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/dist/pg/index.cjs +4 -3
- package/dist/pg/index.cjs.map +1 -1
- package/dist/pg/index.js +4 -3
- package/dist/pg/index.js.map +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
|
@@ -647,7 +647,9 @@ var DrizzleStateStore = class {
|
|
|
647
647
|
error: s.error ?? null,
|
|
648
648
|
events: s.events ?? null,
|
|
649
649
|
startedAt: s.startedAt.getTime(),
|
|
650
|
-
finishedAt: s.finishedAt.getTime()
|
|
650
|
+
finishedAt: s.finishedAt.getTime(),
|
|
651
|
+
// A settled step has no dispatch lease left.
|
|
652
|
+
wakeAt: null
|
|
651
653
|
});
|
|
652
654
|
}
|
|
653
655
|
const writes = [];
|
|
@@ -1369,7 +1371,8 @@ var SETTLED_FIELDS = [
|
|
|
1369
1371
|
"error",
|
|
1370
1372
|
"events",
|
|
1371
1373
|
"startedAt",
|
|
1372
|
-
"finishedAt"
|
|
1374
|
+
"finishedAt",
|
|
1375
|
+
"wakeAt"
|
|
1373
1376
|
];
|
|
1374
1377
|
function inSequence(steps, from = 0) {
|
|
1375
1378
|
for (let i = from; i < steps.length; i += 1) {
|