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

@arkadiuminc/sdk

Package Overview
Dependencies
Maintainers
0
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 2.15.1 to 2.16.0

10

dist/pkg/api/features/game-lifecycle/game-lifecycle.api.d.ts

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

GAME_PAUSE = 7,
GAME_RESUME = 8
GAME_RESUME = 8,
GEMS_UPDATE = 9
}
declare type LifecycleFn = (event: LifecycleEvent, payload?: any) => void;
export interface GameLifecycleContract {
subscribe(fn: LifecycleFn): void;
onTestReady(): Promise<void>;

@@ -24,3 +26,3 @@ onPauseReady(): Promise<void>;

onGameEnd(): Promise<void>;
subscribe(fn: LifecycleFn): void;
onGemsUpdate(): Promise<void>;
}

@@ -33,2 +35,3 @@ /** @hidden */

private processLifecycleEvent;
subscribe(cb: LifecycleFn): void;
onTestReady(): Promise<void>;

@@ -39,6 +42,6 @@ onGameStart(): Promise<void>;

onGameEnd(): Promise<void>;
subscribe(cb: LifecycleFn): void;
onGamePause(): Promise<void>;
onGameResume(): Promise<void>;
onPauseReady(): Promise<void>;
onGemsUpdate(): Promise<void>;
}

@@ -61,3 +64,4 @@ export declare class GameLifecycleProxy implements GameLifecycleContract {

onPauseReady(): Promise<void>;
onGemsUpdate(): Promise<void>;
}
export {};
import { ApiEnv, Backend } from '../backend/backend.api';
import { GameLifecycleContract } from '../game-lifecycle/game-lifecycle.api';

@@ -10,6 +11,7 @@ export interface Wallet {

private backendApi;
private lifecycle;
private virtualItemsApi;
private virtualItemGateway;
private currencySku;
constructor(backendApi: Backend);
constructor(backendApi: Backend, lifecycle: GameLifecycleContract);
init(env: ApiEnv): Promise<void>;

@@ -16,0 +18,0 @@ /**

{
"name": "@arkadiuminc/sdk",
"version": "2.15.1",
"version": "2.16.0",
"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