@speakableio/core 0.1.86 → 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.
@@ -2957,7 +2957,7 @@ var useBaseOpenAI = ({
2957
2957
  aiEnabled,
2958
2958
  submitAudioResponse,
2959
2959
  uploadAudioAndGetTranscript,
2960
- onUploadAndTranscript
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
- onUploadAndTranscript({ transcript, audioUrl: audio });
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"}`