@eka-care/ekascribe-ts-sdk 1.5.16 → 1.5.18
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.
|
@@ -163,6 +163,7 @@ class AudioFileManager {
|
|
|
163
163
|
}
|
|
164
164
|
case SHARED_WORKER_ACTION.UPLOAD_FILE_WITH_WORKER_SUCCESS: {
|
|
165
165
|
const { fileCount: fileName, chunkIndex, fileBlob, compressedAudioBuffer, } = workerResponse.requestBody;
|
|
166
|
+
console.log(workerResponse.response, 'SDK response');
|
|
166
167
|
if (onEventCallback && compressedAudioBuffer) {
|
|
167
168
|
onEventCallback({
|
|
168
169
|
callback_type: CALLBACK_TYPE.FILE_UPLOAD_STATUS,
|
|
@@ -253,11 +253,11 @@ export type TEventCallback = (args: {
|
|
|
253
253
|
msg: string;
|
|
254
254
|
details?: unknown;
|
|
255
255
|
};
|
|
256
|
-
data?:
|
|
256
|
+
data?: TEventCallbackData;
|
|
257
257
|
timestamp: string;
|
|
258
258
|
metadata?: Record<string, unknown>;
|
|
259
259
|
}) => void;
|
|
260
|
-
export type
|
|
260
|
+
export type TEventCallbackData = {
|
|
261
261
|
success?: number;
|
|
262
262
|
total?: number;
|
|
263
263
|
is_uploaded?: boolean;
|