@eka-care/ekascribe-ts-sdk 1.5.14 → 1.5.16
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.
|
@@ -34,7 +34,7 @@ const pushFileToS3 = async ({ fileBlob, fileName, txnID, businessID, is_shared_w
|
|
|
34
34
|
console.error('pushFilesToS3V2 error =>', err);
|
|
35
35
|
if (error.statusCode && error.statusCode >= 400) {
|
|
36
36
|
return {
|
|
37
|
-
error: `Expired token
|
|
37
|
+
error: `Expired token! ${err}`,
|
|
38
38
|
errorCode: 'ExpiredToken',
|
|
39
39
|
code: error.statusCode,
|
|
40
40
|
};
|
|
@@ -253,7 +253,7 @@ export type TEventCallback = (args: {
|
|
|
253
253
|
msg: string;
|
|
254
254
|
details?: unknown;
|
|
255
255
|
};
|
|
256
|
-
data?: TFileUploadCallbackData
|
|
256
|
+
data?: TFileUploadCallbackData;
|
|
257
257
|
timestamp: string;
|
|
258
258
|
metadata?: Record<string, unknown>;
|
|
259
259
|
}) => void;
|
|
@@ -263,9 +263,6 @@ export type TFileUploadCallbackData = {
|
|
|
263
263
|
is_uploaded?: boolean;
|
|
264
264
|
fileName?: string;
|
|
265
265
|
chunkData?: Uint8Array<ArrayBufferLike>[];
|
|
266
|
-
};
|
|
267
|
-
export type TTransactionCallbackData = {
|
|
268
|
-
txn_id?: string;
|
|
269
266
|
request?: unknown;
|
|
270
267
|
response?: unknown;
|
|
271
268
|
status_code?: number;
|