utilitas 2001.1.108 → 2001.1.109

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/lib/alan.mjs CHANGED
@@ -1419,7 +1419,7 @@ const talk = async (request, options = {}) => {
1419
1419
  request && response && session.messages.push(chat);
1420
1420
  await setSession(sessionId, session, options);
1421
1421
  // tts
1422
- if ((options?.tts || session?.config?.tts) && result?.spoken
1422
+ if ((options?.settings?.tts || session?.settings?.tts) && result?.spoken
1423
1423
  && Object.values(msgs).find(x => !x.audio?.length)) {
1424
1424
  await ignoreErrFunc(async () => {
1425
1425
  const ttsAi = await getAi(null, { select: { audio: true, fast: true } });
package/lib/manifest.mjs CHANGED
@@ -1,7 +1,7 @@
1
1
  const manifest = {
2
2
  "name": "utilitas",
3
3
  "description": "Just another common utility for JavaScript.",
4
- "version": "2001.1.108",
4
+ "version": "2001.1.109",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "utilitas",
3
3
  "description": "Just another common utility for JavaScript.",
4
- "version": "2001.1.108",
4
+ "version": "2001.1.109",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/utilitas",
7
7
  "main": "index.mjs",