Socket
Book a DemoInstallSign in
Socket

@arkadiuminc/sdk

Package Overview
Dependencies
Maintainers
8
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arkadiuminc/sdk

This library lets you integrate your game with [Arkadium SDK](https://arkadiumsdk.z19.web.core.windows.net/).

npmnpm
Version
0.0.54
Version published
Maintainers
8
Created
Source

Arkadium SDK

This library lets you integrate your game with Arkadium SDK.

Installation

$ npm install @arkadiuminc/sdk

Usage

import { getInstance, Env } from '@arkadiuminc/sdk';

const Game = {
  pause: () => console.log('Game paused!'),
  resume: () => console.log('Game resumed!'),
};

async function main() {
  Game.pause();
  const { ads } = await getInstance(Env.DEV);
  await ads.interstitial.show();
  Game.resume();
}

main();

Reference documents

FAQs

Package last updated on 01 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts