sera-ai 1.0.9 → 1.0.10

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.mts CHANGED
@@ -7,6 +7,7 @@ interface AudioRecorderProps {
7
7
  patientId?: number;
8
8
  patientName?: string;
9
9
  patientHistory?: string;
10
+ selectedFormat?: "json" | "hl7" | "fhir";
10
11
  onTranscriptionUpdate?: (text: string, sessionId: string) => void;
11
12
  onTranscriptionComplete?: (text: string, classification: ClassificationInfoResponse, sessionId: string) => void;
12
13
  onSuccess?: (data: any) => void;
package/dist/index.d.ts CHANGED
@@ -7,6 +7,7 @@ interface AudioRecorderProps {
7
7
  patientId?: number;
8
8
  patientName?: string;
9
9
  patientHistory?: string;
10
+ selectedFormat?: "json" | "hl7" | "fhir";
10
11
  onTranscriptionUpdate?: (text: string, sessionId: string) => void;
11
12
  onTranscriptionComplete?: (text: string, classification: ClassificationInfoResponse, sessionId: string) => void;
12
13
  onSuccess?: (data: any) => void;
package/dist/index.js CHANGED
@@ -4366,6 +4366,7 @@ var AudioRecorder = ({
4366
4366
  patientId,
4367
4367
  patientName,
4368
4368
  patientHistory,
4369
+ selectedFormat = "json",
4369
4370
  onTranscriptionUpdate,
4370
4371
  onTranscriptionComplete,
4371
4372
  onSuccess,
@@ -4401,6 +4402,7 @@ var AudioRecorder = ({
4401
4402
  patientName,
4402
4403
  patientId,
4403
4404
  patientHistory,
4405
+ selectedFormat,
4404
4406
  onTranscriptionUpdate: (text, sessionId) => {
4405
4407
  console.log("onTranscriptionUpdate called with text:", text, "sessionId:", sessionId);
4406
4408
  if (text.length > 0) {