Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@arkadiuminc/sdk

Package Overview
Dependencies
Maintainers
8
Versions
101
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arkadiuminc/sdk - npm Package Compare versions

Comparing version 0.0.48 to 0.0.49

dist/pkg/api/features/ads/display-ad.d.ts

21

dist/pkg/api/features/ads/index.d.ts

@@ -16,6 +16,25 @@ import { RpcProvider } from '../../core/rpc';

};
export declare enum AdTypes {
AD_300x250 = "AD_300x250",
AD_250x250 = "AD_250x250",
AD_336x280 = "AD_336x280",
AD_300x600 = "AD_300x600",
AD_728x90 = "AD_728x90",
AD_970x90 = "AD_970x90",
AD_970x250 = "AD_970x250",
AD_320x50 = "AD_320x50",
AD_320x100 = "AD_320x100",
AD_468x60 = "AD_468x60",
AD_160x600 = "AD_160x600"
}
declare class BannerAds {
private displayAd;
show(adId: string, dimensions: AdTypes[]): void;
private matchAdSize;
}
export declare class AdsApi {
interstitial: InterstitialAdContract;
rewarded: RewardAdContract;
constructor(interstitial: InterstitialAdContract, rewarded: RewardAdContract);
private bannerAd;
constructor(interstitial: InterstitialAdContract, rewarded: RewardAdContract, bannerAd: BannerAds | undefined);
static getArenaApi(rpcProvider: RpcProvider, userStateApi: UserStateApi): AdsApi;

@@ -22,0 +41,0 @@ static getGameApi(rpcProvider: RpcProvider, env: ApiEnv): AdsApi;

@@ -7,3 +7,6 @@ import { RpcProvider } from '../../core/rpc';

SCORE_CHANGED = 4,
GAME_END = 5
GAME_END = 5,
PAUSE_READY = 6,
GAME_PAUSE = 7,
GAME_RESUME = 8
}

@@ -13,2 +16,5 @@ declare type LifecycleFn = (event: LifecycleEvent, payload?: any) => void;

OnTestReady(): Promise<void>;
OnPauseReady(): Promise<void>;
OnGamePause(): Promise<void>;
OnGameResume(): Promise<void>;
OnGameStart(): Promise<void>;

@@ -30,2 +36,5 @@ OnInteract(): Promise<void>;

subscribe(cb: LifecycleFn): void;
OnGamePause(): Promise<void>;
OnGameResume(): Promise<void>;
OnPauseReady(): Promise<void>;
}

@@ -41,3 +50,6 @@ export declare class GameLifecycleProxy implements GameLifecycleContract {

subscribe(fn: LifecycleFn): void;
OnGamePause(): Promise<void>;
OnGameResume(): Promise<void>;
OnPauseReady(): Promise<void>;
}
export {};

2

package.json
{
"name": "@arkadiuminc/sdk",
"version": "0.0.48",
"version": "0.0.49",
"description": "",

@@ -5,0 +5,0 @@ "keywords": [],

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc