@arkadiuminc/sdk
Advanced tools
Comparing version
@@ -9,18 +9,22 @@ import { ApiEnv } from '../../backend/backend.api'; | ||
constructor(); | ||
preroll({ duration, env }: { | ||
preroll({ duration, env, product }: { | ||
duration?: number | undefined; | ||
env?: ApiEnv | undefined; | ||
product?: string | undefined; | ||
}): Promise<void>; | ||
interstitial({ duration, env }: { | ||
interstitial({ duration, env, product }: { | ||
duration?: number | undefined; | ||
env?: ApiEnv | undefined; | ||
product?: string | undefined; | ||
}): Promise<void>; | ||
rewarded({ duration, env }: { | ||
rewarded({ duration, env, product }: { | ||
duration?: number | undefined; | ||
env?: ApiEnv | undefined; | ||
product?: string | undefined; | ||
}): Promise<void>; | ||
protected render({ duration, env }: { | ||
protected render({ duration, env, product }: { | ||
duration: any; | ||
env: any; | ||
product: any; | ||
}): Promise<void>; | ||
} |
@@ -15,8 +15,11 @@ import { RpcProvider } from '../../core/rpc'; | ||
duration?: number; | ||
product?: string; | ||
}): Promise<void>; | ||
showInterstitialAd(options: { | ||
duration?: number; | ||
product?: string; | ||
}): Promise<void>; | ||
showRewardAd(options: { | ||
duration?: number; | ||
product?: string; | ||
}): Promise<{ | ||
@@ -45,10 +48,13 @@ value: number; | ||
setDisplayAdsDomain(domain: string): void; | ||
showPrerollAd({ duration }: { | ||
showPrerollAd({ duration, product }: { | ||
duration?: number; | ||
product?: string; | ||
}): Promise<void>; | ||
showInterstitialAd({ duration }?: { | ||
showInterstitialAd({ duration, product }?: { | ||
duration?: number | undefined; | ||
product?: string | undefined; | ||
}): Promise<void>; | ||
showRewardAd({ duration }?: { | ||
showRewardAd({ duration, product }?: { | ||
duration?: number | undefined; | ||
product?: string | undefined; | ||
}): Promise<{ | ||
@@ -55,0 +61,0 @@ value: number; |
@@ -11,19 +11,23 @@ import { ApiEnv } from '../backend/backend.api'; | ||
constructor(domain: string, url: string); | ||
preroll({ duration, env }: { | ||
preroll({ duration, env, product }: { | ||
duration?: number | undefined; | ||
env?: ApiEnv | undefined; | ||
product?: string | undefined; | ||
}): Promise<void>; | ||
interstitial({ duration, env }: { | ||
interstitial({ duration, env, product }: { | ||
duration?: number | undefined; | ||
env?: ApiEnv | undefined; | ||
product?: string | undefined; | ||
}): Promise<void>; | ||
rewarded({ duration, env }: { | ||
rewarded({ duration, env, product }: { | ||
duration?: number | undefined; | ||
env?: ApiEnv | undefined; | ||
product?: string | undefined; | ||
}): Promise<void>; | ||
isShowing(): boolean; | ||
protected render({ duration, env }: { | ||
protected render({ duration, env, product }: { | ||
duration: any; | ||
env: any; | ||
product: any; | ||
}): Promise<void>; | ||
} |
{ | ||
"name": "@arkadiuminc/sdk", | ||
"version": "2.42.2", | ||
"version": "2.43.0", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "keywords": [], |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
72350
0.77%1806
0.78%0
-100%