@rescript/webapi 0.1.0-experimental-2d818ca → 0.1.0-experimental-e2baefb

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/EventAPI.res +2 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescript/webapi",
3
- "version": "0.1.0-experimental-2d818ca",
3
+ "version": "0.1.0-experimental-e2baefb",
4
4
  "description": "Experimental successor to [rescript-webapi](https://github.com/TheSpyder/rescript-webapi)",
5
5
  "homepage": "https://rescript-lang.github.io/experimental-rescript-webapi/",
6
6
  "bugs": "https://github.com/rescript-lang/experimental-rescript-webapi/issues",
package/src/EventAPI.res CHANGED
@@ -43,6 +43,8 @@ type eventType =
43
43
  | @as("loadeddata") Loadeddata
44
44
  | @as("loadedmetadata") Loadedmetadata
45
45
  | @as("loadstart") Loadstart
46
+ | @as("message") Message
47
+ | @as("messageerror") MessageError
46
48
  | @as("mousedown") Mousedown
47
49
  | @as("mouseenter") Mouseenter
48
50
  | @as("mouseleave") Mouseleave