@arkadiuminc/sdk 2.29.1 → 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: string;
25
- static getInstance(domain?: string): DisplayAd;
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkadiuminc/sdk",
3
- "version": "2.29.1",
3
+ "version": "2.30.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/pkg/arkadium-sdk.umd.js",