@arkadiuminc/sdk 2.29.0 → 2.30.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.
|
@@ -21,11 +21,12 @@ export declare enum AdTypes {
|
|
|
21
21
|
}
|
|
22
22
|
/** @hidden */
|
|
23
23
|
export declare class DisplayAd {
|
|
24
|
-
static domain
|
|
25
|
-
static
|
|
24
|
+
private static domain;
|
|
25
|
+
private static url;
|
|
26
|
+
static getInstance(domain?: string, url?: string): DisplayAd;
|
|
26
27
|
protected _scriptLoaded: Promise<void>;
|
|
27
28
|
private ads;
|
|
28
|
-
constructor(domain: string);
|
|
29
|
+
constructor(domain: string, url: string);
|
|
29
30
|
private matchAdSize;
|
|
30
31
|
removeAllAds(): void;
|
|
31
32
|
show(options: BannerAdOptions): void;
|
|
@@ -39,6 +39,7 @@ export declare class AdsArenaProvider implements AdsArena {
|
|
|
39
39
|
constructor(rpcProvider: RpcProvider, auth: Auth, lifecycle: GameLifecycleArena);
|
|
40
40
|
setVideoAdsUrl(url: string): void;
|
|
41
41
|
setVideoAdsDomain(domain: string): void;
|
|
42
|
+
setDisplayAdsUrl(url: string): void;
|
|
42
43
|
setDisplayAdsDomain(domain: string): void;
|
|
43
44
|
showPrerollAd({ duration }: {
|
|
44
45
|
duration?: number;
|
|
@@ -6,7 +6,6 @@ export declare class VideoAd {
|
|
|
6
6
|
private static url;
|
|
7
7
|
static getInstance(domain?: string, url?: string): VideoAd;
|
|
8
8
|
protected _scriptLoaded: Promise<void>;
|
|
9
|
-
protected timer: any;
|
|
10
9
|
constructor(domain: string, url: string);
|
|
11
10
|
preroll({ duration, env }: {
|
|
12
11
|
duration?: number | undefined;
|