mobility-toolbox-js 3.2.1 → 3.2.2

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.
@@ -33,7 +33,6 @@ export default class MaplibreLayerRenderer extends MapLibreLayerRenderer {
33
33
  return container;
34
34
  }
35
35
  setIsReady() {
36
- console.log('ici');
37
36
  if (!this.ready) {
38
37
  this.ready = true;
39
38
  this.ignoreNextRender = true;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "mobility-toolbox-js",
3
3
  "license": "MIT",
4
4
  "description": "Toolbox for JavaScript applications in the domains of mobility and logistics.",
5
- "version": "3.2.1",
5
+ "version": "3.2.2",
6
6
  "homepage": "https://mobility-toolbox-js.geops.io/",
7
7
  "exports": {
8
8
  ".": "./index.js",
@@ -28,7 +28,7 @@
28
28
  "@babel/preset-typescript": "^7.26.0",
29
29
  "@commitlint/cli": "19.6.1",
30
30
  "@commitlint/config-conventional": "19.6.0",
31
- "@geops/eslint-config-react": "1.5.0-beta.0",
31
+ "@geops/eslint-config-react": "1.5.0-beta.1",
32
32
  "@types/geojson": "7946.0.16",
33
33
  "@types/lodash": "^4.17.15",
34
34
  "@types/lodash.debounce": "4.0.9",
@@ -98,7 +98,7 @@
98
98
  "esbuild:iife:base": "esbuild src/iife.js --bundle --sourcemap --target=chrome100",
99
99
  "esbuild:iife:minify": "yarn esbuild:iife:base --minify --outfile=build/mbt.min.js",
100
100
  "esbuild:iife:unminify": "yarn esbuild:iife:base --outfile=build/mbt.js",
101
- "format": "prettier --write 'src/**/*.js' 'src/**/*.test.js' && eslint src/**/*.js src/**/*.test.js src/**/*.ts --fix && stylelint 'src/**/*.css' 'src/**/*.scss' --fix --allow-empty-input",
101
+ "format": "prettier --write 'src/**/*.js' 'src/**/*.ts' 'src/**/*.test.js' && eslint src/**/*.js src/**/*.test.js src/**/*.ts --fix && stylelint 'src/**/*.css' 'src/**/*.scss' --fix --allow-empty-input",
102
102
  "lint": "eslint src/**/*.js src/**/*.ts && stylelint src/**/*.css src/**/*.scss --allow-empty-input",
103
103
  "prepare": "is-ci || husky",
104
104
  "publish:beta": "HUSKY=0 yarn release -- --prerelease beta --skip.changelog && yarn run build && cd build && HUSKY=0 yarn publish --tag beta && git push origin HEAD && git push --tags ",
package/types/common.d.ts CHANGED
@@ -33,7 +33,7 @@ export interface ViewState {
33
33
  size?: number[];
34
34
  time?: number;
35
35
  zoom?: number;
36
- visible?:boolean;
36
+ visible?: boolean;
37
37
  }
38
38
 
39
39
  export interface RealtimeStyleOptions {
@@ -95,7 +95,6 @@ export type AnyCanvasContext =
95
95
  export type AnyRealtimeLayer = MbRealtimeLayer | OlRealtimeLayer;
96
96
  export type AnyCopyrightControl = MbCopyrightControl | OlCopyrightControl;
97
97
 
98
-
99
98
  export interface LayerGetFeatureInfoResponse {
100
99
  coordinate: Coordinate;
101
100
  features: Feature[];
@@ -104,10 +103,9 @@ export interface LayerGetFeatureInfoResponse {
104
103
 
105
104
  export interface LayerGetFeatureInfoOptions {
106
105
  nb?: number;
107
- hitTolerance: number = 5;
106
+ hitTolerance: number;
108
107
  }
109
108
 
110
-
111
109
  export type RoutingGraph = [RoutingParameters.graph, number, number];
112
110
  export type RoutingMot = RoutingParameters.mot;
113
111
  export type RoutingViaPoint = Coordinate | string;