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
100
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.13.0 to 2.14.0

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

1

dist/pkg/api/core/rpc.d.ts

@@ -36,2 +36,3 @@ declare type RpcRequest = {

export declare function shouldSubscribe(name: string, value: any): boolean;
/** @hidden */
export declare class RpcProvider {

@@ -38,0 +39,0 @@ rpcPublisher: RpcPublisher;

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

}
/** @hidden */
export declare class TimeoutTester {

@@ -11,2 +12,3 @@ constructor(rpcProvider: RpcProvider);

}
/** @hidden */
export declare class TimeoutTesterProxy {

@@ -13,0 +15,0 @@ private rpcProvider;

@@ -0,1 +1,2 @@

/** @hidden */
export declare class DisplayAd {

@@ -2,0 +3,0 @@ static getInstance(): DisplayAd;

import { ApiEnv } from '../../backend/backend.api';
/** @hidden */
export declare class VideoAd {

@@ -4,0 +5,0 @@ static getInstance(): VideoAd;

@@ -0,1 +1,2 @@

/** @hidden */
export declare class DisplayAd {

@@ -2,0 +3,0 @@ static domain: string;

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

/** @hidden */
export interface GameAdsContract {

@@ -33,2 +34,3 @@ showPrerollAd?(options: {

}
/** @hidden */
export declare class GameAds implements GameAdsContract {

@@ -35,0 +37,0 @@ private interstitial;

import { ApiEnv } from '../backend/backend.api';
/** @hidden */
export declare class VideoAd {

@@ -4,0 +5,0 @@ static domain: string;

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

}
/** @hidden */
export declare class AnalyticsApi implements AnalyticsApiContract {

@@ -27,0 +28,0 @@ private host;

@@ -19,2 +19,3 @@ import { DimensionsObject } from '../dimensions';

*/
/** @hidden */
export interface IAppInsightConfig {

@@ -25,2 +26,3 @@ configUrl?: string;

}
/** @hidden */
export interface ICloudAppInsightConfig {

@@ -33,2 +35,3 @@ description: string;

}
/** @hidden */
export declare class AppInsightsProvider extends AnalyticsProvider {

@@ -35,0 +38,0 @@ private _aiTracker;

@@ -7,2 +7,3 @@ import { DimensionsObject } from '../dimensions';

*/
/** @hidden */
export declare class ConsoleProvider extends AnalyticsProvider {

@@ -9,0 +10,0 @@ protected setup(): Promise<void>;

@@ -13,3 +13,5 @@ import { ApiGateway as UserApiGateway } from '@arkadium/eagle-user-client';

}
/** @hidden */
export declare type SessionStorageType = ReturnType<typeof UserApiGateway.prototype.getSessionStorage>;
/** @hidden */
export declare class Backend {

@@ -16,0 +18,0 @@ user: Awaited<ReturnType<typeof UserApiGateway.prototype.getAuthApi>> | null;

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

}
/** @hidden */
export declare class GameLifecycle implements GameLifecycleContract {
private rpcProvider;
private cb;
private subscribers;

@@ -47,2 +47,6 @@ constructor(rpcProvider: RpcProvider);

onGameStart(): Promise<void>;
/** @hidden */
/**
* @deprecated The method should not be used
*/
onInteract(): Promise<void>;

@@ -49,0 +53,0 @@ onChangeScore(score: number): Promise<void>;

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

}
/** @hidden */
export declare class HostArena implements IHost {

@@ -56,3 +57,7 @@ private rpcProvider;

getGameId(): Promise<string>;
setGameId(id: string): Promise<any>;
/** @hidden */
/**
* @deprecated The method should not be used
*/
setGameId(id: string): void;
getDetails(): Promise<WebEnvironmentDetails>;

@@ -59,0 +64,0 @@ openPurchaseForm(r: PurchaseRequest): Promise<void>;

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

}
/** @hidden */
export declare class PersistenceArena implements IPersistence {

@@ -17,0 +18,0 @@ private ls;

@@ -0,1 +1,2 @@

/** @hidden */
export declare class Deferred<T> {

@@ -2,0 +3,0 @@ promise: Promise<T>;

@@ -0,5 +1,8 @@

/** @hidden */
export declare type ObserverFn<T> = (data: T) => void;
/** @hidden */
export interface ReadonlyObservable<T> {
subscribe: (observer: ObserverFn<T>) => any;
}
/** @hidden */
export declare class Observable<T> {

@@ -6,0 +9,0 @@ private lastValue;

6

dist/pkg/arkadium-arena-sdk.d.ts

@@ -12,3 +12,4 @@ import { ApiEnv, Backend, SessionStorageType } from './api/features/backend/backend.api';

export declare class ArkadiumGameSdk {
/** @hidden */
export declare class ArkadiumArenaSdk {
private rpcProvider;

@@ -39,2 +40,3 @@ backendApi: Backend;

export { ApiEnv };
/** @hidden */
export declare class ArenaApi {

@@ -45,3 +47,3 @@ static version: string;

static dispose(): void;
static getInstance(env: ApiEnv, deferInit?: boolean): Promise<ArkadiumGameSdk>;
static getInstance(env: ApiEnv, deferInit?: boolean): Promise<ArkadiumArenaSdk>;
}
import { RpcProvider } from './api/core/rpc';
/** @hidden */
export declare class PingModule {

@@ -8,2 +9,3 @@ constructor(rpcProvider: RpcProvider);

}
/** @hidden */
export declare class PingModuleProxy {

@@ -10,0 +12,0 @@ private rpcProvider;

{
"name": "@arkadiuminc/sdk",
"version": "2.13.0",
"version": "2.14.0",
"description": "",

@@ -12,3 +12,3 @@ "keywords": [],

],
"author": "pavel.orlov <pavel.orlov@arkadium.com>",
"author": "Arkadium",
"repository": {

@@ -15,0 +15,0 @@ "type": "git",

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