@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?: TFileUploadCallbackData;
256
+ data?: TEventCallbackData;
257
257
  timestamp: string;
258
258
  metadata?: Record<string, unknown>;
259
259
  }) => void;
260
- export type TFileUploadCallbackData = {
260
+ export type TEventCallbackData = {
261
261
  success?: number;
262
262
  total?: number;
263
263
  is_uploaded?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eka-care/ekascribe-ts-sdk",
3
- "version": "1.5.16",
3
+ "version": "1.5.18",
4
4
  "main": "dist/index.js",
5
5
  "repository": "git@github.com:eka-care/eka-js-sdk.git",
6
6
  "author": "Sanikagoyal28 <sanikagoyal9@gmail.com>",