@orbit-software/sdk 1.93.3 → 1.93.7

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.
@@ -1,3 +1,4 @@
1
+ import { getAnalytics } from '@orbit-software/analytics';
1
2
  /**
2
3
  * Base analytics parameters used across multiple tracking events.
3
4
  */
@@ -6,6 +7,8 @@ export declare function getBaseAnalyticsParams(): {
6
7
  game_title: any;
7
8
  game_url: string;
8
9
  };
10
+ type BiAnalytics = ReturnType<typeof getAnalytics>;
11
+ export declare function initAnalytics(): BiAnalytics;
9
12
  export declare function getBiSessionId(): string;
10
13
  declare class AnalyticsServiceImpl {
11
14
  identify(userId: string | number): void;
@@ -0,0 +1,3 @@
1
+ export declare const GAME_INITIALIZED_LAUNCH_KEY = "cs_game_initialized_launch";
2
+ export declare const GAME_READY_LAUNCH_KEY = "cs_game_ready_launch";
3
+ export declare function shouldTrackOncePerLaunch(storageKey: string): boolean;