@arkadiuminc/sdk
Advanced tools
Comparing version 2.10.0 to 2.11.0
export declare class DisplayAd { | ||
static getInstance(): DisplayAd; | ||
static domain: string; | ||
static getInstance(domain?: string): DisplayAd; | ||
protected _scriptLoaded: Promise<void>; | ||
private ads; | ||
constructor(); | ||
constructor(domain: string); | ||
removeAllAds(): void; | ||
show(containerId: string, dimensions: number[][]): void; | ||
} |
@@ -16,3 +16,3 @@ import { RpcProvider } from '../../core/rpc'; | ||
}>; | ||
showBannerAd(adId: string, dimensions: AdTypes[]): any; | ||
showBannerAd?(adId: string, dimensions: AdTypes[]): any; | ||
} | ||
@@ -36,3 +36,6 @@ export declare enum AdTypes { | ||
private preroll; | ||
private banner; | ||
constructor(rpcProvider: RpcProvider, auth: Auth); | ||
setVideoAdsDomain(domain: string): void; | ||
setDisplayAdsDomain(domain: string): void; | ||
showPrerollAd({ duration }: { | ||
@@ -49,3 +52,2 @@ duration?: number; | ||
}>; | ||
showBannerAd(): void; | ||
} | ||
@@ -52,0 +54,0 @@ export declare class GameAdsProxy implements GameAdsContract { |
import { ApiEnv } from "../backend/backend.api"; | ||
export declare class VideoAd { | ||
static getInstance(): VideoAd; | ||
static domain: string; | ||
static getInstance(domain?: string): VideoAd; | ||
protected _scriptLoaded: Promise<void>; | ||
protected timer: any; | ||
constructor(); | ||
constructor(domain: string); | ||
preroll({ duration, env }: { | ||
@@ -8,0 +9,0 @@ duration?: number | undefined; |
{ | ||
"name": "@arkadiuminc/sdk", | ||
"version": "2.10.0", | ||
"version": "2.11.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
47105
1069