@arkadiuminc/sdk 0.0.39 → 0.0.40
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.
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import { RpcProvider } from '../../core/rpc';
|
|
2
2
|
declare type InterstitialAdContract = {
|
|
3
|
-
show(
|
|
3
|
+
show(options: {
|
|
4
|
+
duration?: number;
|
|
5
|
+
}): Promise<void>;
|
|
4
6
|
};
|
|
5
7
|
declare type RewardAdContract = {
|
|
6
|
-
show(
|
|
8
|
+
show(options: {
|
|
9
|
+
duration?: number;
|
|
10
|
+
}): Promise<{
|
|
7
11
|
value: number;
|
|
8
12
|
}>;
|
|
9
13
|
};
|
|
@@ -2,7 +2,13 @@ export declare class VideoAd {
|
|
|
2
2
|
static getInstance(): VideoAd;
|
|
3
3
|
protected _scriptLoaded: Promise<void>;
|
|
4
4
|
constructor();
|
|
5
|
-
interstitial(
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
interstitial({ duration }: {
|
|
6
|
+
duration?: number | undefined;
|
|
7
|
+
}): Promise<void>;
|
|
8
|
+
rewarded({ duration }: {
|
|
9
|
+
duration?: number | undefined;
|
|
10
|
+
}): Promise<void>;
|
|
11
|
+
protected triggerRender({ duration }: {
|
|
12
|
+
duration: any;
|
|
13
|
+
}): Promise<void>;
|
|
8
14
|
}
|