openvideo 0.1.2 → 0.1.3
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 +11 -4
- package/src/index.ts +0 -50
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "openvideo",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "Video rendering and processing library",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -21,9 +21,16 @@
|
|
|
21
21
|
"files": [
|
|
22
22
|
"dist"
|
|
23
23
|
],
|
|
24
|
-
"main": "
|
|
25
|
-
"module": "
|
|
26
|
-
"types": "
|
|
24
|
+
"main": "dist/index.umd.js",
|
|
25
|
+
"module": "dist/index.es.js",
|
|
26
|
+
"types": "dist/index.d.ts",
|
|
27
|
+
"exports": {
|
|
28
|
+
".": {
|
|
29
|
+
"types": "./dist/index.d.ts",
|
|
30
|
+
"import": "./dist/index.es.js",
|
|
31
|
+
"require": "./dist/index.umd.js"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
27
34
|
"scripts": {
|
|
28
35
|
"test": "vitest",
|
|
29
36
|
"test:browser": "vitest run --project unit-chromium",
|
package/src/index.ts
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
export { fastConcatMP4, fixFMP4Duration, mixinMP4AndAudio } from './mp4-utils';
|
|
2
|
-
export { createChromakey } from './utils/chromakey';
|
|
3
|
-
export { renderTxt2ImgBitmap } from './utils/dom';
|
|
4
|
-
|
|
5
|
-
export {
|
|
6
|
-
Audio,
|
|
7
|
-
Caption,
|
|
8
|
-
Image,
|
|
9
|
-
Video,
|
|
10
|
-
Text,
|
|
11
|
-
Effect,
|
|
12
|
-
Transition,
|
|
13
|
-
Placeholder,
|
|
14
|
-
} from './clips';
|
|
15
|
-
|
|
16
|
-
// Export types
|
|
17
|
-
export type { IClip, IMP4ClipOpts } from './clips';
|
|
18
|
-
|
|
19
|
-
// Constants
|
|
20
|
-
export { DEFAULT_AUDIO_CONF } from './clips/iclip';
|
|
21
|
-
|
|
22
|
-
// Keep MP4Clip as alias for backward compatibility
|
|
23
|
-
export { Video as MP4Clip } from './clips';
|
|
24
|
-
export { Compositor } from './compositor';
|
|
25
|
-
export type { ICompositorOpts } from './compositor';
|
|
26
|
-
export { Studio } from './studio';
|
|
27
|
-
export type { IStudioOpts } from './studio';
|
|
28
|
-
|
|
29
|
-
export { Log } from './utils/log';
|
|
30
|
-
export {
|
|
31
|
-
clipToJSON,
|
|
32
|
-
jsonToClip,
|
|
33
|
-
type ClipJSON,
|
|
34
|
-
type ProjectJSON,
|
|
35
|
-
} from './json-serialization';
|
|
36
|
-
|
|
37
|
-
export { fontManager } from './utils/fonts';
|
|
38
|
-
|
|
39
|
-
// Effects
|
|
40
|
-
export { makeEffect } from './effect/effect';
|
|
41
|
-
export type { EffectKey } from './effect/glsl/gl-effect';
|
|
42
|
-
export { GL_EFFECT_OPTIONS } from './effect/glsl/gl-effect';
|
|
43
|
-
|
|
44
|
-
// Transitions
|
|
45
|
-
export { makeTransition } from './transition/transition';
|
|
46
|
-
export type { TransitionKey } from './transition/glsl/gl-transition';
|
|
47
|
-
export { GL_TRANSITION_OPTIONS } from './transition/glsl/gl-transition';
|
|
48
|
-
|
|
49
|
-
// Animations
|
|
50
|
-
export * from './animation';
|