@arkadiuminc/sdk 2.52.1 → 2.52.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,7 @@ import { IHost } from '../features/host';
4
4
  export { defaultConfig };
5
5
  export declare type AdsConfig = {
6
6
  isEnabled: boolean;
7
+ gameIdChanged: boolean;
7
8
  adTypes?: string[];
8
9
  cooldown?: number;
9
10
  };
@@ -129,6 +130,7 @@ export declare class ConfigService {
129
130
  private _gameId;
130
131
  private _platformId;
131
132
  private _platformType;
133
+ private _host;
132
134
  private constructor();
133
135
  static get Instance(): ConfigService;
134
136
  subscribe(callback: ConfigChangeCallback): () => void;
@@ -9,6 +9,7 @@ export declare enum ArenaType {
9
9
  export interface IHost {
10
10
  getQueryParameter(key: string): Promise<string | null>;
11
11
  getGameId(): Promise<string>;
12
+ getGameIdSync?(): string;
12
13
  setGameId(id: string): void;
13
14
  getDetails(): Promise<WebEnvironmentDetails>;
14
15
  setDetails?(p: Partial<WebEnvironmentDetails>): Promise<void>;
@@ -46,6 +47,7 @@ export declare class HostArena implements IHost {
46
47
  noOp(): Promise<void>;
47
48
  getQueryParameter(key: string): Promise<string | null>;
48
49
  getGameId(): Promise<string>;
50
+ getGameIdSync(): string;
49
51
  setGameId(id: string): Promise<void>;
50
52
  getDetails(): Promise<WebEnvironmentDetails>;
51
53
  setDetails(p: Partial<WebEnvironmentDetails>): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arkadiuminc/sdk",
3
- "version": "2.52.1",
3
+ "version": "2.52.2",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "main": "dist/pkg/arkadium-sdk.umd.js",