@ttt-productions/upload-core 0.2.1 → 0.2.2

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.
@@ -10,7 +10,7 @@ export declare class UploadError extends Error {
10
10
  }
11
11
  /**
12
12
  * Returns true if the given string looks like a valid media MIME type
13
- * accepted by TTT's storage rules: image/*, video/*, or audio/*.
13
+ * for an image, video, or audio upload: image/*, video/*, or audio/*.
14
14
  * Empty strings, application/octet-stream, and anything else → false.
15
15
  */
16
16
  export declare function isValidMediaContentType(contentType: string | undefined | null): boolean;
@@ -15,7 +15,7 @@ export class UploadError extends Error {
15
15
  }
16
16
  /**
17
17
  * Returns true if the given string looks like a valid media MIME type
18
- * accepted by TTT's storage rules: image/*, video/*, or audio/*.
18
+ * for an image, video, or audio upload: image/*, video/*, or audio/*.
19
19
  * Empty strings, application/octet-stream, and anything else → false.
20
20
  */
21
21
  export function isValidMediaContentType(contentType) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ttt-productions/upload-core",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/ttt-productions/ttt-packages.git",