@rescript/webapi 0.1.0-experimental-4515f25 → 0.1.0-experimental-ed44142

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 +4 -4
  2. package/src/Global.res +1 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescript/webapi",
3
- "version": "0.1.0-experimental-4515f25",
3
+ "version": "0.1.0-experimental-ed44142",
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",
@@ -35,11 +35,11 @@
35
35
  },
36
36
  "license": "MIT",
37
37
  "dependencies": {
38
- "rescript": "^12.0.0-alpha.5"
38
+ "rescript": "^12.0.0-alpha.6"
39
39
  },
40
40
  "devDependencies": {
41
- "@astrojs/starlight": "0.30.1",
42
- "astro": "5.0.5",
41
+ "@astrojs/starlight": "0.30.3",
42
+ "astro": "^5.1.1",
43
43
  "micromark": "^4.0.1",
44
44
  "prettier": "^3.3.3",
45
45
  "prettier-plugin-astro": "^0.14.1",
package/src/Global.res CHANGED
@@ -505,7 +505,6 @@ let response = await fetch(myRequest)
505
505
 
506
506
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Window/fetch)
507
507
  */
508
- @send
509
508
  external fetch_withRequest: (request, ~init: requestInit=?) => promise<response> = "fetch"
510
509
 
511
510
  /**
@@ -567,7 +566,7 @@ Removes the event listener in target's event listener list with the same type, c
567
566
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener)
568
567
  */
569
568
  external removeEventListener: (
570
- string,
569
+ eventType,
571
570
  eventListener<'event>,
572
571
  ~options: eventListenerOptions=?,
573
572
  ) => unit = "removeEventListener"