@shotstack/shotstack-studio 2.26.2 → 2.27.0
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/dist/index.d.ts +6 -1
- package/dist/internal.d.ts +6 -1
- package/dist/internal.es.js +3260 -3233
- package/dist/internal.umd.js +42 -31
- package/dist/shotstack-studio.es.js +3695 -3668
- package/dist/shotstack-studio.umd.js +118 -107
- package/package.json +1 -1
- package/readme.md +8 -0
package/dist/index.d.ts
CHANGED
|
@@ -164,6 +164,7 @@ declare type Destination = components["schemas"]["Destinations"];
|
|
|
164
164
|
export declare class Edit {
|
|
165
165
|
private static readonly MAX_HISTORY_SIZE;
|
|
166
166
|
private document;
|
|
167
|
+
private readonly html5Prerender;
|
|
167
168
|
private backgroundColor;
|
|
168
169
|
private tracks;
|
|
169
170
|
playbackTime: number;
|
|
@@ -202,7 +203,7 @@ export declare class Edit {
|
|
|
202
203
|
/**
|
|
203
204
|
* Create an Edit instance from a template configuration.
|
|
204
205
|
*/
|
|
205
|
-
constructor(template: Edit_2);
|
|
206
|
+
constructor(template: Edit_2, options?: EditOptions);
|
|
206
207
|
/**
|
|
207
208
|
* Load the edit session.
|
|
208
209
|
*/
|
|
@@ -631,6 +632,10 @@ declare type EditEventMap = {
|
|
|
631
632
|
};
|
|
632
633
|
};
|
|
633
634
|
|
|
635
|
+
export declare interface EditOptions {
|
|
636
|
+
html5Prerender?: "on-load" | "on-play";
|
|
637
|
+
}
|
|
638
|
+
|
|
634
639
|
declare type EventPayloadMap<TPayload = any> = Record<string, TPayload>;
|
|
635
640
|
|
|
636
641
|
export declare interface ExportBlobOptions {
|
package/dist/internal.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ declare type Destination = components["schemas"]["Destinations"];
|
|
|
53
53
|
export declare class Edit {
|
|
54
54
|
private static readonly MAX_HISTORY_SIZE;
|
|
55
55
|
private document;
|
|
56
|
+
private readonly html5Prerender;
|
|
56
57
|
private backgroundColor;
|
|
57
58
|
private tracks;
|
|
58
59
|
playbackTime: number;
|
|
@@ -91,7 +92,7 @@ export declare class Edit {
|
|
|
91
92
|
/**
|
|
92
93
|
* Create an Edit instance from a template configuration.
|
|
93
94
|
*/
|
|
94
|
-
constructor(template: Edit_2);
|
|
95
|
+
constructor(template: Edit_2, options?: EditOptions);
|
|
95
96
|
/**
|
|
96
97
|
* Load the edit session.
|
|
97
98
|
*/
|
|
@@ -517,6 +518,10 @@ declare type EditEventMap = {
|
|
|
517
518
|
};
|
|
518
519
|
};
|
|
519
520
|
|
|
521
|
+
declare interface EditOptions {
|
|
522
|
+
html5Prerender?: "on-load" | "on-play";
|
|
523
|
+
}
|
|
524
|
+
|
|
520
525
|
declare class EventEmitter<TEventPayloadMap extends EventPayloadMap = EventPayloadMap> {
|
|
521
526
|
private readonly events;
|
|
522
527
|
constructor();
|