@speakableio/core 0.1.86 → 0.1.87
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 +1 -1
- package/dist/index.native.d.ts +1 -1
- package/dist/index.native.js +1 -1
- package/dist/index.native.js.map +1 -1
- package/dist/index.native.mjs +1 -1
- package/dist/index.native.mjs.map +1 -1
- package/dist/index.web.d.mts +1 -1
- package/dist/index.web.js +1 -1
- package/dist/index.web.js.map +1 -1
- package/package.json +1 -1
package/dist/index.native.d.mts
CHANGED
|
@@ -2369,7 +2369,7 @@ declare const useBaseOpenAI: ({ onTranscriptSuccess, onTranscriptError, onComple
|
|
|
2369
2369
|
fileName: string;
|
|
2370
2370
|
}>;
|
|
2371
2371
|
uploadAudioAndGetTranscript: (audio: string, language: string) => Promise<string>;
|
|
2372
|
-
onUploadAndTranscript
|
|
2372
|
+
onUploadAndTranscript?: (args: {
|
|
2373
2373
|
transcript?: string;
|
|
2374
2374
|
audioUrl?: string;
|
|
2375
2375
|
}) => void;
|
package/dist/index.native.d.ts
CHANGED
|
@@ -2369,7 +2369,7 @@ declare const useBaseOpenAI: ({ onTranscriptSuccess, onTranscriptError, onComple
|
|
|
2369
2369
|
fileName: string;
|
|
2370
2370
|
}>;
|
|
2371
2371
|
uploadAudioAndGetTranscript: (audio: string, language: string) => Promise<string>;
|
|
2372
|
-
onUploadAndTranscript
|
|
2372
|
+
onUploadAndTranscript?: (args: {
|
|
2373
2373
|
transcript?: string;
|
|
2374
2374
|
audioUrl?: string;
|
|
2375
2375
|
}) => void;
|
package/dist/index.native.js
CHANGED
|
@@ -3159,7 +3159,7 @@ var useBaseOpenAI = ({
|
|
|
3159
3159
|
if (feedbackAccess == null ? void 0 : feedbackAccess.canAccessFeedback) {
|
|
3160
3160
|
transcript = await getTranscript(audio, language);
|
|
3161
3161
|
onTranscriptSuccess(transcript);
|
|
3162
|
-
onUploadAndTranscript({ transcript, audioUrl: audio });
|
|
3162
|
+
onUploadAndTranscript == null ? void 0 : onUploadAndTranscript({ transcript, audioUrl: audio });
|
|
3163
3163
|
} else {
|
|
3164
3164
|
console.info(
|
|
3165
3165
|
`Transcript not available: ${(feedbackAccess == null ? void 0 : feedbackAccess.reason) || "No feedback access"}`
|