@sberdevices/ad-sdk-types
Advanced tools
Comparing version 1.0.3-canary.19790.660651e73a22cfd0d886a4e85261d6a27ddd072d.0 to 1.0.3-canary.19790.d100aabd228561d48c9634f1ef5154e6739d8b76.0
@@ -21,2 +21,3 @@ export declare enum DeviceType { | ||
test?: boolean; | ||
cooldownTime?: number; | ||
onSuccess?(): void; | ||
@@ -52,3 +53,10 @@ onError?(err: Error): void; | ||
} | ||
export declare function runVideoAdInline(params: RunVideoAdInlineParams): void; | ||
export declare function runVideoAd(params: RunVideoAdInlineParams): void; | ||
export interface RunBannerEvents { | ||
onSuccess?(): void; | ||
onError?(err: Error): void; | ||
onEmptyResponse?(): void; | ||
onAdReady?(): void; | ||
} | ||
export declare function runBanner(events: RunBannerEvents): void; | ||
export interface CreateInlineBannerParams { | ||
@@ -60,5 +68,4 @@ container: HTMLElement; | ||
onEmptyResponse?(): void; | ||
onClick?(): void; | ||
} | ||
export declare function createInlineBanner(params: CreateInlineBannerParams): void; | ||
//# sourceMappingURL=index.d.ts.map |
{ | ||
"name": "@sberdevices/ad-sdk-types", | ||
"version": "1.0.3-canary.19790.660651e73a22cfd0d886a4e85261d6a27ddd072d.0", | ||
"version": "1.0.3-canary.19790.d100aabd228561d48c9634f1ef5154e6739d8b76.0", | ||
"description": "SberDevices Ad SDK types", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
Sorry, the diff of this file is not supported yet
6373
82