@skypath-io/web-sdk 0.5.8 → 0.5.9

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.
@@ -11,10 +11,10 @@ export namespace STATES {
11
11
  let TERMINATED: string;
12
12
  }
13
13
  export namespace DEFAULT_FILTER_VALUES {
14
- let HOURS_AGO: number;
15
- let SEVERITY: number;
16
- let ALT_FROM: number;
17
- let ALT_TO: number;
14
+ export let HOURS_AGO: number;
15
+ export let SEVERITY: number;
16
+ export { MIN_ALT as ALT_FROM };
17
+ export { MAX_ALT as ALT_TO };
18
18
  }
19
19
  export const SIZE_TO_RESOLUTION_MAP: {
20
20
  [x: string]: number;
@@ -28,3 +28,5 @@ export namespace POLYGON_TYPE {
28
28
  export const POLYGON_SIZE_TO_ZOOM_THRESHOLD_MAP: {
29
29
  [x: string]: number;
30
30
  };
31
+ export const MIN_ALT: 0;
32
+ export const MAX_ALT: 52;
@@ -13,8 +13,6 @@ export const REFRESH_TIME_SEC: number;
13
13
  export namespace CONFIG_KEYS {
14
14
  let POLYGON: string;
15
15
  }
16
- export const MAX_ALT: 52;
17
- export const MIN_ALT: 5;
18
16
  export const MAP_RESOLUTION: 5;
19
17
  export const FORECAST_RANGE: number[];
20
18
  export const SEVERITY_RANGE: number[];
@@ -45,8 +45,6 @@ export namespace SEVERITY {
45
45
  let moderate: number;
46
46
  let moderateSevere: number;
47
47
  }
48
- export const MAX_ALT: 52;
49
- export const MIN_ALT: 5;
50
48
  export const DEFAULT_RESOLUTION: 1;
51
49
  export const MAP_RESOLUTION: 5;
52
50
  export namespace LARGE_POLYGON_HANDLING_BEHAVIOR {
@@ -36,7 +36,5 @@ export namespace HISTORY_HOURS {
36
36
  let twoHours: string;
37
37
  let fourHours: string;
38
38
  }
39
- export const MAX_ALT: 52;
40
- export const MIN_ALT: 5;
41
39
  export const DEFAULT_RESOLUTION: 1;
42
40
  export const MAP_RESOLUTION: 5;
@@ -13,7 +13,7 @@ export namespace Observations {
13
13
  import { AIRCRAFT_CATEGORY } from "./features/observations/consts.js";
14
14
  import { HISTORY_HOURS } from "./features/observations/consts.js";
15
15
  import { SEVERITY } from "./features/observations/consts.js";
16
- import { MAX_ALT } from "./features/observations/consts.js";
17
- import { MIN_ALT } from "./features/observations/consts.js";
16
+ import { MAX_ALT } from "./core/flow/consts.js";
17
+ import { MIN_ALT } from "./core/flow/consts.js";
18
18
  import { LARGE_POLYGON_HANDLING_BEHAVIOR } from "./features/observations/consts.js";
19
19
  export { CoreUtils, GeoUtils };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skypath-io/web-sdk",
3
- "version": "0.5.8",
3
+ "version": "0.5.9",
4
4
  "type": "module",
5
5
  "main": "dist/bundle.cjs.js",
6
6
  "module": "dist/bundle.es.js",