med-scribe-alliance-ts-sdk 2.0.14 → 2.0.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.
package/dist/index.d.ts CHANGED
@@ -312,11 +312,11 @@ export interface GetSessionStatusResponse {
312
312
  session_id: string;
313
313
  status: SessionStatus;
314
314
  created_at: string;
315
- expires_at?: string;
316
- expired_at?: string;
317
- completed_at?: string;
318
- model_used?: string;
319
- language_detected?: string;
315
+ expires_at?: string | null;
316
+ expired_at?: string | null;
317
+ completed_at?: string | null;
318
+ model_used?: string | null;
319
+ language_detected?: string | null;
320
320
  audio_files_received: number;
321
321
  audio_files: string[];
322
322
  audio_files_processed?: number;
package/dist/index.mjs CHANGED
@@ -208,11 +208,11 @@ var r = "/.well-known/medscribealliance", i = 3600 * 1e3, a = /* @__PURE__ */ fu
208
208
  session_id: e.string().min(1, "session_id is required"),
209
209
  status: e.string(),
210
210
  created_at: e.string(),
211
- expires_at: e.string().optional(),
212
- expired_at: e.string().optional(),
213
- completed_at: e.string().optional(),
214
- model_used: e.string().optional(),
215
- language_detected: e.string().optional(),
211
+ expires_at: e.string().nullish(),
212
+ expired_at: e.string().nullish(),
213
+ completed_at: e.string().nullish(),
214
+ model_used: e.string().nullish(),
215
+ language_detected: e.string().nullish(),
216
216
  audio_files_received: e.number().int(),
217
217
  audio_files: e.array(e.string()),
218
218
  audio_files_processed: e.number().int().optional(),
@@ -421,7 +421,7 @@ var R = class {
421
421
  let n = {
422
422
  method: e.method,
423
423
  headers: t,
424
- credentials: "same-origin"
424
+ credentials: "include"
425
425
  };
426
426
  return e.isUpload && e.uploadBlob ? n.body = e.uploadBlob : e.body !== void 0 && (n.body = JSON.stringify(e.body)), n;
427
427
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "med-scribe-alliance-ts-sdk",
3
- "version": "2.0.14",
3
+ "version": "2.0.16",
4
4
  "description": "TypeScript SDK for the MedScribe Alliance Protocol",
5
5
  "main": "dist/index.mjs",
6
6
  "module": "dist/index.mjs",