@rendley/sdk 1.8.2 → 1.8.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
CHANGED
|
@@ -16,8 +16,10 @@ export declare enum ExportVideoType {
|
|
|
16
16
|
VIDEO_AUDIO = "video_audio"
|
|
17
17
|
}
|
|
18
18
|
interface EngineLicense {
|
|
19
|
+
enableRemoteValidation?: boolean;
|
|
20
|
+
isSublicense?: boolean;
|
|
19
21
|
licenseName: string;
|
|
20
|
-
licenseKey
|
|
22
|
+
licenseKey?: string;
|
|
21
23
|
}
|
|
22
24
|
export interface ExportResult {
|
|
23
25
|
blob: Blob;
|
|
@@ -61,6 +63,7 @@ export declare class Engine {
|
|
|
61
63
|
hasInstance(): boolean;
|
|
62
64
|
getFFmpeg(): import("./libs/ffmpeg").FFmpeg;
|
|
63
65
|
init(options: EngineOptions): Promise<void>;
|
|
66
|
+
private getLicenseCredentials;
|
|
64
67
|
destroy(everything?: boolean): Promise<void>;
|
|
65
68
|
getProjectId(): string;
|
|
66
69
|
getDisplay(): Display;
|
package/dist/config/config.d.ts
CHANGED
|
@@ -3,3 +3,6 @@ export declare const BACKGROUND_SPRITE_NAME = "CANVAS_BACKGROUND_SPRITE";
|
|
|
3
3
|
export declare const STAGE_CONTAINER_NAME = "STAGE_CONTAINER";
|
|
4
4
|
export declare const RENDLEY_CDN: any;
|
|
5
5
|
export declare const FFMPEG_CDN: string;
|
|
6
|
+
export declare const RENDLEY_API_BASE_URL = "https://api.rendley.com/sdk/v1";
|
|
7
|
+
export declare const LICENSE_LOCAL_STORAGE_KEY = "license";
|
|
8
|
+
export declare const getLicenseEndpoint: (licenseName: string, isSublicense?: boolean) => string;
|