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

@arkadiuminc/sdk

Package Overview
Dependencies
Maintainers
6
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 0.0.29 to 0.0.30

dist/pkg/ping.module.d.ts

14

dist/pkg/api/features/backend/backend.api.d.ts

@@ -14,14 +14,4 @@ import { ApiGateway as UserApiGateway } from '@arkadium/eagle-user-client';

userGameData: UserGameDataApi | null;
uiOpenRequest: {
observers: import("../../utils/observable").ObserverFn<boolean>[];
value: boolean;
subscribe: (observer: import("../../utils/observable").ObserverFn<boolean>) => void;
update(newValue: boolean): void;
};
authStatus: {
observers: import("../../utils/observable").ObserverFn<boolean>[];
value: boolean;
subscribe: (observer: import("../../utils/observable").ObserverFn<boolean>) => void;
update(newValue: boolean): void;
};
uiOpenRequest: import("../../utils/observable").Observable<boolean>;
authStatus: import("../../utils/observable").Observable<boolean>;
addEventListener(event: number, cb: () => void): void;

@@ -28,0 +18,0 @@ init(e: ApiEnv, isGameSide: boolean, sessionStorage?: SessionStorageType | null): Promise<void>;

@@ -8,10 +8,6 @@ export declare type ObserverFn<T> = (data: T) => void;

private observers;
constructor(initialValue: T);
subscribe(observer: ObserverFn<T>): () => void;
next(data: T): void;
update(data: T): void;
}
export declare function createStore<T>(initialValue: T): {
observers: ObserverFn<T>[];
value: T;
subscribe: (observer: ObserverFn<T>) => void;
update(newValue: T): void;
};
export declare function createStore<T>(initialValue: T): Observable<T>;

@@ -8,2 +8,3 @@ import { ApiEnv, BackendApi, SessionStorageType } from './api/features/backend/backend.api';

import { AnalyticsApiContract } from './api/features/analytics/analytics.api';
import { Observable } from './api/utils/observable';
export declare class ArkadiumGameSdk {

@@ -17,2 +18,5 @@ backendApi: BackendApi;

analytics: AnalyticsApiContract;
private gamePingSender;
private gamePingListener;
$pingNotification: Observable<number>;
constructor(backendApi: BackendApi, environment: EnvironmentApi, gameState: GameStateContract, lifecycle: GameLifecycleContract, ads: AdsApi, userStateApi: UserStateApi, analytics: AnalyticsApiContract);

@@ -22,2 +26,3 @@ initialize(env: ApiEnv, isGameSide: boolean, sessionStorage?: SessionStorageType | null): Promise<void>;

debugMode(enabled: boolean): void;
ping(): Promise<any>;
}

@@ -24,0 +29,0 @@ export { ApiEnv };

@@ -16,2 +16,4 @@ import { ApiEnv, BackendApi, SessionStorageType } from './api/features/backend/backend.api';

analytics: AnalyticsApiContract;
private arenaPingSender;
private arenaPingListener;
constructor(backendApi: BackendApi, environment: EnvironmentApi, gameState: GameStateContract, lifecycle: GameLifecycleContract, ads: AdsApi, userStateApi: UserStateApi, analytics: AnalyticsApiContract);

@@ -18,0 +20,0 @@ initialize(env: ApiEnv, isGameSide: boolean, sessionStorage?: SessionStorageType | null): Promise<void>;

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