@colisweb/rescript-toolkit 5.42.0 → 5.42.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": "@colisweb/rescript-toolkit",
3
- "version": "5.42.0",
3
+ "version": "5.42.1",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -69,7 +69,7 @@ module Platform = {
69
69
  @new
70
70
  external make: options => t = "H.service.Platform"
71
71
 
72
- type layersOptions = {pois: bool}
72
+ type layersOptions = {pois: bool, engineType?: string}
73
73
 
74
74
  module Router = {
75
75
  type t
@@ -125,11 +125,15 @@ module Map = {
125
125
  zoom: int,
126
126
  center: coordinates,
127
127
  padding?: padding,
128
+ engineType?: string,
128
129
  }
129
130
 
130
131
  @new
131
132
  external make: (Dom.element, Layers.map, options) => instance = "H.Map"
132
133
 
134
+ @val
135
+ external engineType: Js.Dict.t<string> = "H.Map.EngineType"
136
+
133
137
  module Icon = {
134
138
  type t
135
139