@agentrq/agentrq-ws 0.19.3 → 0.19.4
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 +1 -1
- package/src/attachments.js +5 -0
package/package.json
CHANGED
package/src/attachments.js
CHANGED
|
@@ -13,8 +13,10 @@ import { UserError } from './errors.js'
|
|
|
13
13
|
* application/octet-stream, which is correct, just unspecific.
|
|
14
14
|
*/
|
|
15
15
|
export const MIME_TYPES = {
|
|
16
|
+
'.aac': 'audio/aac',
|
|
16
17
|
'.bmp': 'image/bmp',
|
|
17
18
|
'.csv': 'text/csv',
|
|
19
|
+
'.flac': 'audio/flac',
|
|
18
20
|
'.gif': 'image/gif',
|
|
19
21
|
'.gz': 'application/gzip',
|
|
20
22
|
'.htm': 'text/html',
|
|
@@ -25,9 +27,12 @@ export const MIME_TYPES = {
|
|
|
25
27
|
'.js': 'text/javascript',
|
|
26
28
|
'.json': 'application/json',
|
|
27
29
|
'.log': 'text/plain',
|
|
30
|
+
'.m4a': 'audio/mp4',
|
|
28
31
|
'.md': 'text/markdown',
|
|
29
32
|
'.mp3': 'audio/mpeg',
|
|
30
33
|
'.mp4': 'video/mp4',
|
|
34
|
+
'.ogg': 'audio/ogg',
|
|
35
|
+
'.opus': 'audio/ogg',
|
|
31
36
|
'.pdf': 'application/pdf',
|
|
32
37
|
'.png': 'image/png',
|
|
33
38
|
'.svg': 'image/svg+xml',
|