@colisweb/rescript-toolkit 5.9.3 → 5.9.5

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.9.3",
3
+ "version": "5.9.5",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "clean": "rescript clean",
@@ -164,6 +164,8 @@ module Map = {
164
164
 
165
165
  @send
166
166
  external setData: (t, string) => unit = "setData"
167
+ @send
168
+ external addEventListener: (t, string, Event.t<'a> => unit) => unit = "addEventListener"
167
169
 
168
170
  external toObject: t => object = "%identity"
169
171
  }
@@ -212,6 +214,8 @@ module Map = {
212
214
 
213
215
  @send
214
216
  external addMarker: (t, Marker.t) => unit = "addObject"
217
+ @send
218
+ external getBoundingBox: (t, unit) => Geo.Rect.t = "getBoundingBox"
215
219
 
216
220
  external toObject: t => object = "%identity"
217
221
  }