@eka-care/ekascribe-ts-sdk 1.5.17 → 1.5.19
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.
|
@@ -190,7 +190,9 @@ class AudioFileManager {
|
|
|
190
190
|
response: workerResponse.response.success,
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
+
console.log(onEventCallback, '182 - SDK');
|
|
193
194
|
if (onEventCallback) {
|
|
195
|
+
console.log(onEventCallback, '184 - SDK');
|
|
194
196
|
onEventCallback({
|
|
195
197
|
callback_type: CALLBACK_TYPE.FILE_UPLOAD_STATUS,
|
|
196
198
|
status: 'success',
|
|
@@ -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;
|