vargai 0.4.0-alpha64 → 0.4.0-alpha65

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/package.json CHANGED
@@ -70,7 +70,7 @@
70
70
  "zod": "^4.2.1"
71
71
  },
72
72
  "sideEffects": false,
73
- "version": "0.4.0-alpha64",
73
+ "version": "0.4.0-alpha65",
74
74
  "exports": {
75
75
  ".": "./src/index.ts",
76
76
  "./ai": "./src/ai-sdk/index.ts",
@@ -268,6 +268,8 @@ export class File {
268
268
  "video/mp4": ".mp4",
269
269
  "video/webm": ".webm",
270
270
  "video/quicktime": ".mov",
271
+ "text/x-ssa": ".ass",
272
+ "application/x-subrip": ".srt",
271
273
  };
272
274
  return extMap[this._mediaType] ?? "";
273
275
  }
@@ -290,6 +292,9 @@ function inferMediaType(path: string): string {
290
292
  mp4: "video/mp4",
291
293
  webm: "video/webm",
292
294
  mov: "video/quicktime",
295
+ ass: "text/x-ssa",
296
+ ssa: "text/x-ssa",
297
+ srt: "application/x-subrip",
293
298
  };
294
299
  return mimeTypes[ext ?? ""] ?? "application/octet-stream";
295
300
  }