jmapcloud-ng-core-types 0.1.0 → 0.2.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jmapcloud-ng-core-types",
3
- "version": "0.1.0",
3
+ "version": "0.2.1",
4
4
  "description": "JMap Cloud specific version of JMap Cloud NG Core types and interfaces",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -29,12 +29,12 @@
29
29
  "homepage": "https://github.com/k2geospatial/jmapcloud-ng-core-types#readme",
30
30
  "devDependencies": {
31
31
  "gulp": "^4.0.2",
32
- "gulp-typedoc": "^2.2.2",
33
- "typedoc": "^0.15.0"
32
+ "gulp-typedoc": "^3.0.2",
33
+ "typedoc": "^0.22.0"
34
34
  },
35
35
  "dependencies": {
36
36
  "@types/geojson": "^7946.0.7",
37
- "maplibre-gl": "^1.15.3",
37
+ "maplibre-gl": "^2.4.0",
38
38
  "@types/react": "^16.8.3",
39
39
  "geojson": "^0.5.0",
40
40
  "redux": "^4.0.0"
@@ -207,7 +207,7 @@ declare interface JCoreExtension {
207
207
  * ```
208
208
  *
209
209
  */
210
- injectMapRequestParameters?: maplibregl.TransformRequestFunction
210
+ injectMapRequestParameters?: maplibregl.RequestTransformFunction
211
211
  }
212
212
 
213
213
  declare interface JExtensionMouseOver {
@@ -188,8 +188,8 @@ declare interface JMapBoxEventData {
188
188
  }
189
189
 
190
190
  declare interface JMapMapboxLayerStyleDefinition {
191
- styleLayer: maplibregl.Layer
192
- borderStyleLayer?: maplibregl.Layer
191
+ styleLayer: maplibregl.LayerSpecification
192
+ borderStyleLayer?: maplibregl.LayerSpecification
193
193
  }
194
194
 
195
195
  declare interface JMapNavigateToParams extends JPanAndZoomOptions {
package/tsconfig.json CHANGED
@@ -9,17 +9,7 @@
9
9
  "module": "esnext",
10
10
  "target": "es5",
11
11
  "jsx": "react",
12
- "lib": [
13
- "es2017",
14
- "dom",
15
- "es5",
16
- "es2015.promise"
17
- ]
12
+ "lib": ["es2017", "dom", "es5", "es2015.promise"]
18
13
  },
19
- "include": [
20
- "../public/**/*",
21
- "../private/**/*",
22
- "./index.ts",
23
- "./all-enums.ts"
24
- ]
14
+ "include": ["./public/**/*", "./index.ts", "./all-enums.ts"]
25
15
  }