@rescript/webapi 0.1.0-experimental-005f474 → 0.1.0-experimental-469231f

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": "@rescript/webapi",
3
- "version": "0.1.0-experimental-005f474",
3
+ "version": "0.1.0-experimental-469231f",
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/rescript.json CHANGED
@@ -1,5 +1,4 @@
1
1
  {
2
- "version": "0.0.0",
3
2
  "name": "@rescript/webapi",
4
3
  "namespace": "WebAPI",
5
4
  "sources": [
@@ -10,8 +10,8 @@ external make: (~sw: int, ~sh: int, ~settings: imageDataSettings=?) => imageData
10
10
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ImageData)
11
11
  */
12
12
  @new
13
- external make2: (
14
- ~data: array<int>,
13
+ external makeWithData: (
14
+ ~data: Uint8ClampedArray.t,
15
15
  ~sw: int,
16
16
  ~sh: int=?,
17
17
  ~settings: imageDataSettings=?,
package/src/DOMAPI.res CHANGED
@@ -3020,7 +3020,7 @@ and htmlCollectionOf<'t> = {
3020
3020
  }
3021
3021
 
3022
3022
  /**
3023
- A collection of HTML form control elements.
3023
+ A collection of HTML form control elements.
3024
3024
  [See HTMLFormControlsCollection on MDN](https://developer.mozilla.org/docs/Web/API/HTMLFormControlsCollection)
3025
3025
  */
3026
3026
  @editor.completeFrom(HTMLFormControlsCollection) and htmlFormControlsCollection = {
@@ -9403,7 +9403,7 @@ type imageData = {
9403
9403
  Returns the one-dimensional array containing the data in RGBA order, as integers in the range 0 to 255.
9404
9404
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ImageData/data)
9405
9405
  */
9406
- data: array<int>,
9406
+ data: Uint8ClampedArray.t,
9407
9407
  /**
9408
9408
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/ImageData/colorSpace)
9409
9409
  */