@arkadiuminc/sdk 2.76.0 → 2.77.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.
@@ -16,14 +16,16 @@ export declare class VideoAd {
16
16
  env?: ApiEnv | undefined;
17
17
  product?: string | undefined;
18
18
  }): Promise<void>;
19
- rewarded({ duration, env, product }: {
19
+ rewarded({ duration, env, product, keyvalues }: {
20
20
  duration?: number | undefined;
21
21
  env?: ApiEnv | undefined;
22
22
  product?: string | undefined;
23
+ keyvalues?: {} | undefined;
23
24
  }): Promise<void>;
24
- protected render({ duration, env, product }: {
25
+ protected render({ duration, env, product, keyvalues }: {
25
26
  duration: any;
26
27
  env: any;
27
28
  product: any;
29
+ keyvalues?: {} | undefined;
28
30
  }): Promise<void>;
29
31
  }
@@ -12,11 +12,13 @@ export declare type RewardAdResult = {
12
12
  };
13
13
  export declare type ShowInterstitialAdOptions = {
14
14
  duration?: number;
15
+ placementId?: string;
15
16
  };
16
17
  export declare type ShowRewardAdOptions = {
17
18
  duration?: number;
18
19
  context?: 'core' | 'default' | 'video-watch-bonus';
19
20
  data?: any;
21
+ placementId?: string;
20
22
  };
21
23
  /** @hidden */
22
24
  export interface AdsArena extends Ads, AdsArenaBanner {
@@ -60,8 +62,8 @@ export declare class AdsGameProvider implements AdsGame {
60
62
  private readonly rewarded;
61
63
  private readonly banner;
62
64
  constructor(rpcProvider: RpcProvider, env: ApiEnv, auth: Auth, lifecycle: GameLifecycleGame);
63
- showInterstitialAd({ duration }?: ShowInterstitialAdOptions): Promise<void>;
64
- showRewardAd({ duration, context, data }?: ShowRewardAdOptions): Promise<RewardAdResult>;
65
+ showInterstitialAd({ duration, placementId }?: ShowInterstitialAdOptions): Promise<void>;
66
+ showRewardAd({ duration, context, data, placementId }?: ShowRewardAdOptions): Promise<RewardAdResult>;
65
67
  showBannerAd(adId: string, dimensions: AdTypes[]): Promise<void>;
66
68
  }
67
69
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkadiuminc/sdk",
3
- "version": "2.76.0",
3
+ "version": "2.77.0",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/pkg/arkadium-sdk.umd.js",