ddan-js 3.0.3 → 3.0.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/bin/ddan-js.browser.js +1 -1
- package/bin/ddan-js.js +1 -1
- package/bin/ddan-js.mjs +1 -1
- package/bin/modules/html.d.ts +5 -0
- package/bin/tiny/mini.d.ts +5 -0
- package/bin/tiny/web.d.ts +5 -0
- package/package.json +1 -1
package/bin/modules/html.d.ts
CHANGED
|
@@ -24,5 +24,10 @@ declare const _default: {
|
|
|
24
24
|
takeHtml: (htmlContent: string, regex: RegExp) => string[];
|
|
25
25
|
toBlobUrl: (part: BlobPart, mime?: string) => string;
|
|
26
26
|
workerURL: (fn: Function) => string;
|
|
27
|
+
getVideoMetadata: (source: string | Blob | MediaSource | File, timeout?: number) => Promise<{
|
|
28
|
+
width: number;
|
|
29
|
+
height: number;
|
|
30
|
+
duration: number;
|
|
31
|
+
}>;
|
|
27
32
|
};
|
|
28
33
|
export default _default;
|
package/bin/tiny/mini.d.ts
CHANGED
|
@@ -102,6 +102,11 @@ declare const dMini: {
|
|
|
102
102
|
takeHtml: (htmlContent: string, regex: RegExp) => string[];
|
|
103
103
|
toBlobUrl: (part: BlobPart, mime?: string) => string;
|
|
104
104
|
workerURL: (fn: Function) => string;
|
|
105
|
+
getVideoMetadata: (source: string | Blob | MediaSource | File, timeout?: number) => Promise<{
|
|
106
|
+
width: number;
|
|
107
|
+
height: number;
|
|
108
|
+
duration: number;
|
|
109
|
+
}>;
|
|
105
110
|
};
|
|
106
111
|
};
|
|
107
112
|
export default dMini;
|
package/bin/tiny/web.d.ts
CHANGED
|
@@ -111,6 +111,11 @@ declare const dWeb: {
|
|
|
111
111
|
takeHtml: (htmlContent: string, regex: RegExp) => string[];
|
|
112
112
|
toBlobUrl: (part: BlobPart, mime?: string) => string;
|
|
113
113
|
workerURL: (fn: Function) => string;
|
|
114
|
+
getVideoMetadata: (source: string | Blob | MediaSource | File, timeout?: number) => Promise<{
|
|
115
|
+
width: number;
|
|
116
|
+
height: number;
|
|
117
|
+
duration: number;
|
|
118
|
+
}>;
|
|
114
119
|
};
|
|
115
120
|
rsa: {
|
|
116
121
|
generateKeys: () => Promise<{
|