seogitan 1.1.3 → 1.2.0

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.
@@ -132,6 +132,7 @@ export function registerRecordCommand(program) {
132
132
  audio_signed_url: signedUrlData.signedUrl,
133
133
  is_final: false,
134
134
  created_by: userId,
135
+ chunk_duration: chunkDurationSeconds,
135
136
  });
136
137
  }
137
138
  try {
@@ -189,6 +190,7 @@ export function registerRecordCommand(program) {
189
190
  audio_signed_url: signedUrlData.signedUrl,
190
191
  is_final: true,
191
192
  created_by: userId,
193
+ chunk_duration: chunkDurationSeconds,
192
194
  });
193
195
  }
194
196
  }
@@ -100,6 +100,7 @@ export function registerUploadCommand(program) {
100
100
  audio_signed_url: signedData.signedUrl,
101
101
  is_final: isFinal,
102
102
  created_by: userId,
103
+ chunk_duration: chunkDuration,
103
104
  });
104
105
  }
105
106
  console.log(`청크 ${i}/${chunkFiles.length - 1} 업로드 완료${isFinal ? " (최종)" : ""}`);
package/dist/lib/n8n.d.ts CHANGED
@@ -5,6 +5,7 @@ export interface ChunkUploadedPayload {
5
5
  is_final: boolean;
6
6
  created_by: string;
7
7
  attendees?: string[];
8
+ chunk_duration?: number;
8
9
  }
9
10
  export declare function triggerChunkTranscription(payload: ChunkUploadedPayload): Promise<void>;
10
11
  export declare function triggerSummarize(meetingId: string): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "seogitan",
3
- "version": "1.1.3",
3
+ "version": "1.2.0",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "seogitan": "dist/index.js"