@mapcreator/sdk 1.5.6 → 1.5.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.
@@ -1,4 +1,4 @@
1
- import { JobObject, JobObjectDataBindings } from './jobObject';
1
+ import { JobObjectDataBindings } from './jobObject';
2
2
  export type Svgs = Record<string, string>;
3
3
  export type ModelBindings = {
4
4
  dataBindings?: JobObjectDataBindings | undefined;
@@ -14,12 +14,6 @@ export type InitialPositionInfo = {
14
14
  };
15
15
  export type Mode = 'sdk' | 'app' | 'preview' | 'video';
16
16
  export type Env = 'production' | 'beta' | 'bleeding';
17
- export type JobObjectAugmented = JobObject & {
18
- meta: {
19
- mapstyleSet: string;
20
- layers?: string[] | undefined;
21
- };
22
- };
23
17
  export type LayerInfo = {
24
18
  [layerId: string]: {
25
19
  visibility: boolean;
@@ -61,6 +61,10 @@ export type JobObject = {
61
61
  keyframes: JobObjectKeyframe[];
62
62
  animations: JobObjectAnimation[];
63
63
  }>;
64
+ meta?: Optional<{
65
+ mapstyleSet?: Optional<string>;
66
+ layers?: Optional<string[]>;
67
+ }>;
64
68
  };
65
69
  export type JobObjectModels = {
66
70
  area?: Optional<JobObjectAreaGroup[]>;
@@ -78,6 +82,7 @@ type JobObjectGroupBase<GT extends JobObjectGroupType> = {
78
82
  id: string;
79
83
  name: string;
80
84
  models: GT[];
85
+ dataFile?: Optional<string>;
81
86
  };
82
87
  export type JobObjectAreaGroup = JobObjectGroupBase<JobObjectArea> & {
83
88
  fillColor?: Optional<string>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mapcreator/sdk",
3
- "version": "1.5.6",
3
+ "version": "1.5.8",
4
4
  "engines": {
5
5
  "node": "^24.0.0",
6
6
  "npm": "^11.0.0"
@@ -64,7 +64,7 @@
64
64
  "@types/d3-scale": "^4.0.9",
65
65
  "@types/d3-shape": "^3.1.8",
66
66
  "@types/topojson-client": "^3.1.5",
67
- "bezier-easing": "^3.0.0",
67
+ "bezier-easing": "2.1.0",
68
68
  "d3-array": "^3.2.4",
69
69
  "d3-format": "^3.1.2",
70
70
  "d3-geo": "^3.1.1",