saltfish 0.2.74 → 0.2.75
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.
|
@@ -3025,10 +3025,10 @@ class StateMachineActionHandler {
|
|
|
3025
3025
|
}
|
|
3026
3026
|
} else {
|
|
3027
3027
|
const timeoutTransition = currentStep.transitions.find((t) => t.type === "timeout");
|
|
3028
|
-
const
|
|
3029
|
-
(button) => button.action.type === "goto"
|
|
3028
|
+
const hasStepTransitionButtons = (_a = currentStep.buttons) == null ? void 0 : _a.some(
|
|
3029
|
+
(button) => button.action.type === "goto" || button.action.type === "next"
|
|
3030
3030
|
);
|
|
3031
|
-
if (timeoutTransition && !
|
|
3031
|
+
if (timeoutTransition && !hasStepTransitionButtons) {
|
|
3032
3032
|
const timeout = timeoutTransition.timeout || 0;
|
|
3033
3033
|
log(`StateMachineActionHandler: Video ended, setting up timeout transition to ${timeoutTransition.nextStep} with ${timeout}ms delay`);
|
|
3034
3034
|
setTimeout(() => {
|
|
@@ -3046,8 +3046,8 @@ class StateMachineActionHandler {
|
|
|
3046
3046
|
step: currentStep
|
|
3047
3047
|
});
|
|
3048
3048
|
} else {
|
|
3049
|
-
if (
|
|
3050
|
-
log("StateMachineActionHandler: Video ended, has
|
|
3049
|
+
if (hasStepTransitionButtons) {
|
|
3050
|
+
log("StateMachineActionHandler: Video ended, has step-transition button (goto/next) - waiting for user to click button");
|
|
3051
3051
|
} else {
|
|
3052
3052
|
log("StateMachineActionHandler: Video ended, waiting for user interaction");
|
|
3053
3053
|
}
|
|
@@ -10796,7 +10796,7 @@ const SaltfishPlayer$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
10796
10796
|
__proto__: null,
|
|
10797
10797
|
SaltfishPlayer
|
|
10798
10798
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10799
|
-
const version = "0.2.
|
|
10799
|
+
const version = "0.2.75";
|
|
10800
10800
|
const packageJson = {
|
|
10801
10801
|
version
|
|
10802
10802
|
};
|