@arkadiuminc/sdk
Advanced tools
Comparing version 0.0.29 to 0.0.30
@@ -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": [], |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
24
397
20483