@arkadiuminc/sdk 2.29.1 → 2.30.1
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;
|
|
@@ -221,7 +221,6 @@ export declare class AnalyticsApiProxy implements AnalyticsApiContract {
|
|
|
221
221
|
* When player manually quits the game
|
|
222
222
|
*/
|
|
223
223
|
sendQuitConfirmedPageView(dimensions?: DimensionsObject): void;
|
|
224
|
-
sendGameSDKInitEvent(): void;
|
|
225
224
|
clearProviders(): void;
|
|
226
225
|
}
|
|
227
226
|
export {};
|