saltfish 0.2.58 → 0.2.59
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.
|
@@ -2319,10 +2319,6 @@ class PlaylistValidator {
|
|
|
2319
2319
|
}
|
|
2320
2320
|
updatedOptions = onceValidation.updatedOptions || options;
|
|
2321
2321
|
}
|
|
2322
|
-
if (updatedOptions && "_triggeredByTriggerManager" in updatedOptions) {
|
|
2323
|
-
const { _triggeredByTriggerManager, ...cleanOptions } = updatedOptions;
|
|
2324
|
-
updatedOptions = cleanOptions;
|
|
2325
|
-
}
|
|
2326
2322
|
const compatibilityValidation = await this.validateDeviceCompatibility(
|
|
2327
2323
|
foundPlaylist,
|
|
2328
2324
|
playlistId
|
|
@@ -8987,6 +8983,7 @@ class PlaylistLoader {
|
|
|
8987
8983
|
determineStartStep(manifest, options, savedProgress) {
|
|
8988
8984
|
const isPersistenceEnabled = options.persistence ?? manifest.isPersistent ?? true;
|
|
8989
8985
|
const manifestIdForProgress = manifest.id;
|
|
8986
|
+
const wasTriggered = options._triggeredByTriggerManager === true;
|
|
8990
8987
|
let startStepId = manifest.startStep;
|
|
8991
8988
|
if (options.startNodeId) {
|
|
8992
8989
|
const customStep = manifest.steps.find((step) => step.id === options.startNodeId);
|
|
@@ -8996,6 +8993,8 @@ class PlaylistLoader {
|
|
|
8996
8993
|
} else {
|
|
8997
8994
|
log(`PlaylistLoader: Custom start node '${options.startNodeId}' not found, using default start step`);
|
|
8998
8995
|
}
|
|
8996
|
+
} else if (wasTriggered) {
|
|
8997
|
+
startStepId = manifest.startStep;
|
|
8999
8998
|
} else if (isPersistenceEnabled && savedProgress && savedProgress[manifestIdForProgress]) {
|
|
9000
8999
|
const progressData = savedProgress[manifestIdForProgress];
|
|
9001
9000
|
if (progressData.status === "completed") {
|
|
@@ -10362,7 +10361,7 @@ const SaltfishPlayer$1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.de
|
|
|
10362
10361
|
__proto__: null,
|
|
10363
10362
|
SaltfishPlayer
|
|
10364
10363
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
10365
|
-
const version = "0.2.
|
|
10364
|
+
const version = "0.2.59";
|
|
10366
10365
|
const packageJson = {
|
|
10367
10366
|
version
|
|
10368
10367
|
};
|