@rendley/sdk 1.4.2 → 1.4.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/dist/Engine.d.ts +5 -4
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/libs/ffmpeg/types.d.ts +1 -0
- package/dist/modules/clip/Clip.d.ts +1 -0
- package/dist/modules/layer/Layer.d.ts +1 -1
- package/dist/modules/settings/Settings.d.ts +7 -0
- package/dist/modules/timeline/Timeline.d.ts +1 -1
- package/dist/utils/browser/isIosSafari.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1240,5 +1240,6 @@ export declare class Clip<T extends PIXI.Sprite = PIXI.Sprite, K extends ClipSty
|
|
|
1240
1240
|
} | undefined;
|
|
1241
1241
|
customData?: [string, unknown][] | undefined;
|
|
1242
1242
|
};
|
|
1243
|
+
protected postDeserialize(validatedData: z.infer<typeof ClipSchema>): void;
|
|
1243
1244
|
static deserialize(data: object): Clip<PIXI.Sprite, ClipStyle<PIXI.Sprite>>;
|
|
1244
1245
|
}
|
|
@@ -83,7 +83,7 @@ export declare class Layer {
|
|
|
83
83
|
transitions: Transition[];
|
|
84
84
|
container: PIXI.Container;
|
|
85
85
|
constructor();
|
|
86
|
-
init(): void
|
|
86
|
+
init(): Promise<void>;
|
|
87
87
|
destroy(): void;
|
|
88
88
|
addClip(options: Clip): Promise<Clip | null>;
|
|
89
89
|
addClip(options: ClipOptions): Promise<Clip | null>;
|
|
@@ -6,24 +6,31 @@ export declare enum PreferredAcceleration {
|
|
|
6
6
|
export declare const SettingsSchema: z.ZodObject<{
|
|
7
7
|
preferredDecodingAcceleration: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PreferredAcceleration>>>;
|
|
8
8
|
preferredEncodingAcceleration: z.ZodDefault<z.ZodOptional<z.ZodNativeEnum<typeof PreferredAcceleration>>>;
|
|
9
|
+
m3u8MaxResolution: z.ZodDefault<z.ZodOptional<z.ZodTuple<[z.ZodNumber, z.ZodNumber], null>>>;
|
|
9
10
|
}, "strip", z.ZodTypeAny, {
|
|
10
11
|
preferredDecodingAcceleration: PreferredAcceleration;
|
|
11
12
|
preferredEncodingAcceleration: PreferredAcceleration;
|
|
13
|
+
m3u8MaxResolution: [number, number];
|
|
12
14
|
}, {
|
|
13
15
|
preferredDecodingAcceleration?: PreferredAcceleration | undefined;
|
|
14
16
|
preferredEncodingAcceleration?: PreferredAcceleration | undefined;
|
|
17
|
+
m3u8MaxResolution?: [number, number] | undefined;
|
|
15
18
|
}>;
|
|
16
19
|
export declare class Settings {
|
|
17
20
|
private preferredDecodingAcceleration;
|
|
18
21
|
private preferredEncodingAcceleration;
|
|
22
|
+
private m3u8MaxResolution;
|
|
19
23
|
constructor();
|
|
20
24
|
setPreferredDecodingAcceleration(acceleration: PreferredAcceleration): void;
|
|
21
25
|
getPreferredDecodingAcceleration(): PreferredAcceleration;
|
|
22
26
|
setPreferredEncodingAcceleration(acceleration: PreferredAcceleration): void;
|
|
23
27
|
getPreferredEncodingAcceleration(): PreferredAcceleration;
|
|
28
|
+
setM3u8MaxResolution(width: number, height: number): void;
|
|
29
|
+
getM3u8MaxResolution(): number[];
|
|
24
30
|
serialize(): {
|
|
25
31
|
preferredDecodingAcceleration: PreferredAcceleration;
|
|
26
32
|
preferredEncodingAcceleration: PreferredAcceleration;
|
|
33
|
+
m3u8MaxResolution: [number, number];
|
|
27
34
|
};
|
|
28
35
|
static deserialize(data: object): Settings;
|
|
29
36
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rendley/sdk",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.3",
|
|
4
4
|
"license": "LICENSE",
|
|
5
5
|
"author": "Onix Technologies",
|
|
6
6
|
"homepage": "https://rendley.com",
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"ts-jest": "29.1.1",
|
|
62
62
|
"typedoc": "0.25.12",
|
|
63
63
|
"typescript": "5.3.3",
|
|
64
|
-
"vite": "5.
|
|
64
|
+
"vite": "^5.4.9",
|
|
65
65
|
"vite-plugin-dts": "3.7.2"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|