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
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 0.0.17 to 0.0.18

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

9

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

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

private virtualItemApiGateway;
events: {
onAuthStateChanged: number;
};
private userGateway;

@@ -23,2 +20,8 @@ userGameData: UserGameDataApi | null;

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

@@ -25,0 +28,0 @@ init(e: ApiEnv, isGameSide: boolean): Promise<void>;

@@ -15,2 +15,3 @@ import { BackendApi } from '../backend/backend.api';

interface UserProfileReaderContract {
authStatus: ReturnType<typeof createStore<boolean>>;
isUserAuthorized(): Promise<boolean>;

@@ -17,0 +18,0 @@ getUserProfile(): Promise<UserProfile | null>;

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

import { UserStateApi } from './api/features/user-state/user-state.api';
import { AnalyticsApiContract } from './api/features/analytics/analytics.api';
export declare class ArkadiumGameSdk {

@@ -15,3 +16,4 @@ backendApi: BackendApi;

userStateApi: UserStateApi;
constructor(backendApi: BackendApi, environment: EnvironmentApi, gameState: GameStateContract, lifecycle: GameLifecycleContract, ads: AdsApi, userStateApi: UserStateApi);
analytics: AnalyticsApiContract;
constructor(backendApi: BackendApi, environment: EnvironmentApi, gameState: GameStateContract, lifecycle: GameLifecycleContract, ads: AdsApi, userStateApi: UserStateApi, analytics: AnalyticsApiContract);
initialize(env: ApiEnv, isGameSide: boolean): Promise<void>;

@@ -18,0 +20,0 @@ updateWinReference(target: any): void;

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

import { UserStateApi } from './api/features/user-state/user-state.api';
import { AnalyticsApiContract } from './api/features/analytics/analytics.api';
export declare class ArkadiumGameSdk {

@@ -15,3 +16,4 @@ backendApi: BackendApi;

userStateApi: UserStateApi;
constructor(backendApi: BackendApi, environment: EnvironmentApi, gameState: GameStateContract, lifecycle: GameLifecycleContract, ads: AdsApi, userStateApi: UserStateApi);
analytics: AnalyticsApiContract;
constructor(backendApi: BackendApi, environment: EnvironmentApi, gameState: GameStateContract, lifecycle: GameLifecycleContract, ads: AdsApi, userStateApi: UserStateApi, analytics: AnalyticsApiContract);
initialize(env: ApiEnv, isGameSide: boolean): Promise<void>;

@@ -18,0 +20,0 @@ updateWinReference(target: any): void;

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