@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.js
CHANGED
|
@@ -612,7 +612,9 @@ var DrizzleStateStore = class {
|
|
|
612
612
|
error: s.error ?? null,
|
|
613
613
|
events: s.events ?? null,
|
|
614
614
|
startedAt: s.startedAt.getTime(),
|
|
615
|
-
finishedAt: s.finishedAt.getTime()
|
|
615
|
+
finishedAt: s.finishedAt.getTime(),
|
|
616
|
+
// A settled step has no dispatch lease left.
|
|
617
|
+
wakeAt: null
|
|
616
618
|
});
|
|
617
619
|
}
|
|
618
620
|
const writes = [];
|
|
@@ -1334,7 +1336,8 @@ var SETTLED_FIELDS = [
|
|
|
1334
1336
|
"error",
|
|
1335
1337
|
"events",
|
|
1336
1338
|
"startedAt",
|
|
1337
|
-
"finishedAt"
|
|
1339
|
+
"finishedAt",
|
|
1340
|
+
"wakeAt"
|
|
1338
1341
|
];
|
|
1339
1342
|
function inSequence(steps, from = 0) {
|
|
1340
1343
|
for (let i = from; i < steps.length; i += 1) {
|