@lightningjs/blits
Advanced tools
Comparing version
# Changelog | ||
_09 apr 2025_ | ||
## v1.26.1 | ||
- Fixed issue with announcer queue | ||
_08 apr 2025_ | ||
## v1.26.0 | ||
@@ -9,5 +17,2 @@ | ||
_08 apr 2025_ | ||
## v1.25.1 | ||
@@ -14,0 +19,0 @@ |
{ | ||
"name": "@lightningjs/blits", | ||
"version": "1.26.0", | ||
"version": "1.26.1", | ||
"description": "Blits: The Lightning 3 App Development Framework", | ||
@@ -5,0 +5,0 @@ "bin": "bin/index.js", |
@@ -89,3 +89,3 @@ /* | ||
if (delay !== false) { | ||
if (delay !== undefined) { | ||
setTimeout(() => { | ||
@@ -96,15 +96,15 @@ isProcessing = false | ||
}, delay) | ||
return | ||
} else { | ||
speechSynthesis | ||
.speak({ message }) | ||
.then(() => { | ||
isProcessing = false | ||
resolveFn('finished') | ||
processQueue() | ||
}) | ||
.catch((e) => { | ||
isProcessing = false | ||
resolveFn(e.error) | ||
}) | ||
} | ||
speechSynthesis | ||
.speak({ message }) | ||
.then(() => { | ||
isProcessing = false | ||
resolveFn('finished') | ||
processQueue() | ||
}) | ||
.catch((e) => { | ||
isProcessing = false | ||
resolveFn(e.error) | ||
}) | ||
} | ||
@@ -111,0 +111,0 @@ |
750851
0.01%