@absolutejs/voice 0.0.22-beta.666 → 0.0.22-beta.667
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.js +2 -2
- package/dist/testing/index.js +2 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -7221,11 +7221,11 @@ var createVoiceSession = (options) => {
|
|
|
7221
7221
|
transcriptStabilityMs: turnDetection.transcriptStabilityMs
|
|
7222
7222
|
};
|
|
7223
7223
|
}),
|
|
7224
|
-
setPlaybackRate: async (rate) =>
|
|
7224
|
+
setPlaybackRate: async (rate) => {
|
|
7225
7225
|
const clamped = Math.max(0.5, Math.min(2, Number(rate) || 1));
|
|
7226
7226
|
await send({ rate: clamped, type: "playback_rate" });
|
|
7227
7227
|
return clamped;
|
|
7228
|
-
}
|
|
7228
|
+
}
|
|
7229
7229
|
};
|
|
7230
7230
|
return api;
|
|
7231
7231
|
};
|
package/dist/testing/index.js
CHANGED
|
@@ -10202,11 +10202,11 @@ var createVoiceSession = (options) => {
|
|
|
10202
10202
|
transcriptStabilityMs: turnDetection.transcriptStabilityMs
|
|
10203
10203
|
};
|
|
10204
10204
|
}),
|
|
10205
|
-
setPlaybackRate: async (rate) =>
|
|
10205
|
+
setPlaybackRate: async (rate) => {
|
|
10206
10206
|
const clamped = Math.max(0.5, Math.min(2, Number(rate) || 1));
|
|
10207
10207
|
await send({ rate: clamped, type: "playback_rate" });
|
|
10208
10208
|
return clamped;
|
|
10209
|
-
}
|
|
10209
|
+
}
|
|
10210
10210
|
};
|
|
10211
10211
|
return api;
|
|
10212
10212
|
};
|