@speakableio/core 0.1.87 → 0.1.88
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.native.d.mts +2 -2
- package/dist/index.native.d.ts +2 -2
- package/dist/index.native.js +2 -2
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs +2 -2
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.web.d.mts +2 -2
- package/dist/index.web.js +2 -2
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
package/dist/index.native.mjs
CHANGED
|
@@ -2957,7 +2957,7 @@ var useBaseOpenAI = ({
|
|
|
2957
2957
|
aiEnabled,
|
|
2958
2958
|
submitAudioResponse,
|
|
2959
2959
|
uploadAudioAndGetTranscript,
|
|
2960
|
-
|
|
2960
|
+
onGetAudioUrlAndTranscript
|
|
2961
2961
|
}) => {
|
|
2962
2962
|
const { user, queryClient } = useSpeakableApi();
|
|
2963
2963
|
const currentUserId = user.auth.uid;
|
|
@@ -3054,7 +3054,7 @@ var useBaseOpenAI = ({
|
|
|
3054
3054
|
if (feedbackAccess == null ? void 0 : feedbackAccess.canAccessFeedback) {
|
|
3055
3055
|
transcript = await getTranscript(audio, language);
|
|
3056
3056
|
onTranscriptSuccess(transcript);
|
|
3057
|
-
|
|
3057
|
+
onGetAudioUrlAndTranscript == null ? void 0 : onGetAudioUrlAndTranscript({ transcript, audioUrl: audio });
|
|
3058
3058
|
} else {
|
|
3059
3059
|
console.info(
|
|
3060
3060
|
`Transcript not available: ${(feedbackAccess == null ? void 0 : feedbackAccess.reason) || "No feedback access"}`
|