@speakableio/core 0.1.48 → 0.1.49

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.web.js CHANGED
@@ -2720,7 +2720,7 @@ var useBaseOpenAI = ({
2720
2720
  aiEnabled
2721
2721
  });
2722
2722
  const getTranscript = async (audioUrl, language) => {
2723
- var _a2, _b2;
2723
+ var _a2, _b2, _c2, _d2;
2724
2724
  try {
2725
2725
  const response = await ((_b2 = (_a2 = SpeakableFirebaseFunctions).getAssemblyAITranscript) == null ? void 0 : _b2.call(_a2, {
2726
2726
  audioUrl,
@@ -2730,7 +2730,7 @@ var useBaseOpenAI = ({
2730
2730
  response,
2731
2731
  audioUrl,
2732
2732
  language,
2733
- getAssemblyAITranscript: SpeakableFirebaseFunctions.getAssemblyAITranscript
2733
+ getAssemblyAITranscript: (_d2 = (_c2 = api).httpsCallable) == null ? void 0 : _d2.call(_c2, "transcribeAssemblyAIAudio")
2734
2734
  });
2735
2735
  const transcript = response == null ? void 0 : response.data;
2736
2736
  onTranscriptSuccess(transcript);