@milemaker/milemaker-js 2.0.0-alpha.5 → 2.0.0-alpha.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.
Files changed (35) hide show
  1. package/dist/actions/marker/createClusterMarkersAction.factory.d.ts +4 -1
  2. package/dist/actions/marker/index.d.ts +4 -1
  3. package/dist/apis/aerisWeather/aerisWeather.api.d.ts +1 -1
  4. package/dist/apis/aerisWeather/aerisWeather.slice.d.ts +0 -7
  5. package/dist/components/WeatherLegend/RainSnowIceLegend/RainSnowIceLegend.types.d.ts +1 -0
  6. package/dist/components/WeatherLegend/WeatherAlertsLegend/WeatherAlertsLegend.types.d.ts +1 -0
  7. package/dist/components/WeatherLegend/WeatherLegend.types.d.ts +1 -0
  8. package/dist/components/WeatherLegend/WeatherTemperaturesLegend/WeatherTemperaturesLegend.types.d.ts +1 -0
  9. package/dist/components/WeatherLegend/WeatherWindSpeedsLegend/WeatherWindSpeedsLegend.types.d.ts +1 -0
  10. package/dist/createMap/createMap.d.ts +1 -1
  11. package/dist/index.cjs +260 -260
  12. package/dist/index.cjs.map +1 -0
  13. package/dist/index.esm-8a133e09.js +1 -0
  14. package/dist/index.esm-8a133e09.js.map +1 -0
  15. package/dist/index.esm-e8122a0a.cjs +1 -0
  16. package/dist/index.esm-e8122a0a.cjs.map +1 -0
  17. package/dist/index.js +29109 -30094
  18. package/dist/index.js.map +1 -0
  19. package/dist/nmaps-gl-69f5266d.js +1 -0
  20. package/dist/nmaps-gl-69f5266d.js.map +1 -0
  21. package/dist/nmaps-gl-6afeae26.cjs +1 -0
  22. package/dist/nmaps-gl-6afeae26.cjs.map +1 -0
  23. package/dist/utils/apis/api.constants.d.ts +6 -0
  24. package/dist/utils/apis/api.types.d.ts +5 -0
  25. package/dist/utils/apis/logEvents.api.d.ts +37 -0
  26. package/dist/utils/apis/sdkEvents.api.d.ts +4 -0
  27. package/dist/utils/constants.d.ts +3 -4
  28. package/dist/utils/helpers/httpHeader.helpers.d.ts +29 -0
  29. package/dist/utils/helpers/prepareAppErrorMailToData.helper.d.ts +2 -2
  30. package/dist/utils/helpers/sourcemap.helpers.d.ts +14 -0
  31. package/dist/utils/types.d.ts +0 -7
  32. package/dist/utils/version.d.ts +1 -1
  33. package/package.json +3 -1
  34. package/dist/helpers/sdkEvents.helpers.d.ts +0 -4
  35. package/dist/utils/helpers/prepareContactSupportMandatoryFields.helper.d.ts +0 -4
@@ -1,2 +1,5 @@
1
1
  import { CreateActionsFactory, MarkerActions } from "../types";
2
- export declare const createClusterMarkersActionFactory: CreateActionsFactory<MarkerActions["createClusterMarkers"]>;
2
+ export declare const createClusterMarkersActionFactory: CreateActionsFactory<MarkerActions["createClusterMarkers"], {
3
+ accessToken: string;
4
+ baseApiUrl: string;
5
+ }>;
@@ -1,3 +1,6 @@
1
1
  import { CreateActionsFactory } from "../types";
2
2
  import { MarkerActions } from "./types";
3
- export declare const markerActionsFactory: CreateActionsFactory<MarkerActions>;
3
+ export declare const markerActionsFactory: CreateActionsFactory<MarkerActions, {
4
+ accessToken: string;
5
+ baseApiUrl: string;
6
+ }>;
@@ -71,5 +71,5 @@ export declare const aerisWeatherApi: {
71
71
  active: boolean;
72
72
  }[] | null;
73
73
  };
74
- }[] | undefined>;
74
+ }[]>;
75
75
  };
@@ -9,10 +9,3 @@ export declare const aerisWeatherSlice: {
9
9
  }) => Promise<void>;
10
10
  removeAlertsResponseItemsByTimestamp: (payload: number | number[]) => Promise<void>;
11
11
  };
12
- export declare const aerisWeatherSliceThunks: {
13
- handleGetAlertResponseItemsByLonLatLikes: ({ lonLatLikes, baseApiUrl, accessToken }: {
14
- lonLatLikes: import("../..").LonLatLike[];
15
- baseApiUrl: string;
16
- accessToken: string;
17
- }) => Promise<import("./aerisWeather.types").AlertResponseItemPerLonLatLike[]>;
18
- };
@@ -9,6 +9,7 @@ export type RainSnowIceLegendOptions = {
9
9
  isVisible: boolean;
10
10
  parentElement: HTMLElement;
11
11
  accessToken: string;
12
+ baseApiUrl: string;
12
13
  };
13
14
  export type RainSnowIceLegendInstance = {
14
15
  show(): void;
@@ -3,6 +3,7 @@ export type WeatherAlertsLegendOptions = {
3
3
  isVisible: boolean;
4
4
  parentElement: HTMLElement;
5
5
  accessToken: string;
6
+ baseApiUrl: string;
6
7
  };
7
8
  export type WeatherAlertsLegendInstance = {
8
9
  show(): void;
@@ -4,6 +4,7 @@ export type WeatherLegendOptions = {
4
4
  fetchLegend: () => Promise<void>;
5
5
  renderData: () => string;
6
6
  accessToken: string;
7
+ baseApiUrl: string;
7
8
  };
8
9
  export type WeatherLegendInstance = {
9
10
  show(): void;
@@ -5,6 +5,7 @@ export type WeatherTemperaturesLegendOptions = {
5
5
  parentElement: HTMLElement;
6
6
  units: UnitsFormat;
7
7
  accessToken: string;
8
+ baseApiUrl: string;
8
9
  };
9
10
  export type WeatherTemperaturesLegendInstance = {
10
11
  show(): void;
@@ -5,6 +5,7 @@ export type WeatherWindSpeedsLegendOptions = {
5
5
  parentElement: HTMLElement;
6
6
  units: UnitsFormat;
7
7
  accessToken: string;
8
+ baseApiUrl: string;
8
9
  };
9
10
  export type WeatherWindSpeedsLegendInstance = {
10
11
  show(): void;
@@ -3,7 +3,7 @@ import { CreateMapProps, MapInstance } from "./types";
3
3
  /**
4
4
  * This is the main method that allows to mount the app and use all the features
5
5
  * @group Map Initialization
6
- * @param {CreateMapProps} options - Options to configure the map with
6
+ * @param {CreateMapProps} props - Options to configure the map with
7
7
  * @example
8
8
  * How to create map instance, with default streets map style
9
9
  * ```ts