@mparticle/aquarium 1.40.0-poc-unified-nav.6 → 1.40.0-poc-unified-nav.8

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.
@@ -86,6 +86,4 @@ export { useNewExperienceReminder, type INewExperienceReminderOptions, type NewE
86
86
  export { ChartConfig, ChartAxisStyle } from '../constants/ChartConfig';
87
87
  export { ChartColors } from '../constants/ChartColors';
88
88
  export { RoutesAuthorizationsService } from '../shared/services/RoutesAuthorizationsService';
89
- export { initUserPreferences } from '../shared/UserPreferences';
90
- export { InitialDataService } from '../shared/services/InitialDataService';
91
- export { NavigationItemsProvider } from '../shared/NavigationItemsProvider';
89
+ export { InitializationService } from '../shared/services/InitializationService';
@@ -7,5 +7,5 @@ type Preferences = {
7
7
  optedIn: boolean;
8
8
  };
9
9
  };
10
- export declare function initUserPreferences(): Promise<void>;
10
+ export declare function initializeUserPreferences(): Promise<void>;
11
11
  export {};
@@ -0,0 +1,4 @@
1
+ export declare class InitializationService {
2
+ static loadMParticleConfig(baseUrl?: string): Promise<void>;
3
+ static initialize(): Promise<void>;
4
+ }
@@ -1,4 +1,4 @@
1
- import { IGlobalNavigationItem } from '../../../../../../../src/components';
1
+ import { IGlobalNavigationItem } from '../../../../../../../../src/components';
2
2
  export declare enum NavigationItemId {
3
3
  Overview = "overview",
4
4
  Oversight = "oversight",
@@ -46,8 +46,8 @@ export declare enum NavigationItemId {
46
46
  Data = "data",
47
47
  Favorites = "favorites"
48
48
  }
49
- export declare class NavigationItemsProvider {
49
+ export declare class NavigationItemsService {
50
50
  static navigationItems: IGlobalNavigationItem[];
51
- static init(): void;
51
+ static initialize(): void;
52
52
  static findItemById(id: NavigationItemId): IGlobalNavigationItem | undefined;
53
53
  }
@@ -6,7 +6,7 @@ export type RouteAuthorization = {
6
6
  };
7
7
  export declare class RoutesAuthorizationsService {
8
8
  private static routesAuthorizations;
9
- static init(): void;
9
+ static initialize(): void;
10
10
  static isRouteAuthorized(route: string): boolean;
11
11
  private static routeMatches;
12
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mparticle/aquarium",
3
- "version": "1.40.0-poc-unified-nav.6",
3
+ "version": "1.40.0-poc-unified-nav.8",
4
4
  "description": "mParticle Component Library",
5
5
  "license": "Apache-2.0",
6
6
  "keywords": [
@@ -1,3 +0,0 @@
1
- export declare class InitialDataService {
2
- static loadMParticleConfig(baseUrl?: string): Promise<void>;
3
- }