@fkws/klonk 0.0.18 → 0.0.19
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 +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -438,7 +438,7 @@ class Machine {
|
|
|
438
438
|
}
|
|
439
439
|
const resolvedNext = next;
|
|
440
440
|
if (resolvedNext === this.initialState) {
|
|
441
|
-
if (options.mode
|
|
441
|
+
if (options.mode === "roundtrip" || options.mode === "any") {
|
|
442
442
|
logger?.info({ phase: "end", reason: "roundtrip" }, "Stop condition met.");
|
|
443
443
|
return stateData;
|
|
444
444
|
}
|
package/dist/index.js
CHANGED
|
@@ -397,7 +397,7 @@ class Machine {
|
|
|
397
397
|
}
|
|
398
398
|
const resolvedNext = next;
|
|
399
399
|
if (resolvedNext === this.initialState) {
|
|
400
|
-
if (options.mode
|
|
400
|
+
if (options.mode === "roundtrip" || options.mode === "any") {
|
|
401
401
|
logger?.info({ phase: "end", reason: "roundtrip" }, "Stop condition met.");
|
|
402
402
|
return stateData;
|
|
403
403
|
}
|
package/package.json
CHANGED