@rescript/webapi 0.1.0-experimental-45ad9b8 → 0.1.0-experimental-42b0a0b

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 (39) hide show
  1. package/package.json +1 -1
  2. package/src/CSSFontLoadingAPI/FontFaceSet.res +0 -1
  3. package/src/CanvasAPI/OffscreenCanvas.res +0 -2
  4. package/src/DOMAPI/CharacterData.res +0 -1
  5. package/src/DOMAPI/DocumentFragment.res +0 -1
  6. package/src/DOMAPI/ElementInternals.res +0 -2
  7. package/src/DOMAPI/ScreenOrientation.res +0 -1
  8. package/src/DOMAPI/TextTrackList.res +0 -1
  9. package/src/DOMAPI/Window.res +0 -2
  10. package/src/EncryptedMediaExtensionsAPI.res +0 -1
  11. package/src/EventAPI/AbortController.res +0 -1
  12. package/src/EventAPI.res +0 -2
  13. package/src/FetchAPI/Request.res +0 -1
  14. package/src/FetchAPI/Response.res +0 -1
  15. package/src/FileAPI/FileSystemWritableFileStream.res +0 -1
  16. package/src/FileAPI/ReadableStream.res +0 -1
  17. package/src/FileAPI/WritableStream.res +0 -1
  18. package/src/FileAPI/WritableStreamDefaultController.res +0 -1
  19. package/src/FileAndDirectoryEntriesAPI/FileSystemDirectoryReader.res +0 -1
  20. package/src/HistoryAPI/History.res +0 -1
  21. package/src/HistoryAPI.res +0 -2
  22. package/src/IndexedDBAPI/IDBDatabase.res +0 -1
  23. package/src/IndexedDBAPI/IDBFactory.res +0 -1
  24. package/src/MediaCaptureAndStreamsAPI/MediaDevices.res +0 -1
  25. package/src/MediaSessionAPI.res +0 -2
  26. package/src/NotificationAPI.res +0 -1
  27. package/src/PerformanceAPI/Performance.res +0 -1
  28. package/src/PushAPI.res +0 -1
  29. package/src/ResizeObserverAPI.res +0 -1
  30. package/src/ScreenWakeLockAPI/WakeLockSentinel.res +0 -1
  31. package/src/ServiceWorkerAPI/ServiceWorker.res +0 -2
  32. package/src/ServiceWorkerAPI/ServiceWorkerRegistration.res +0 -1
  33. package/src/ViewTransitionsAPI.res +0 -2
  34. package/src/WebLocksAPI/LockManager.res +0 -1
  35. package/src/WebLocksAPI.res +0 -1
  36. package/src/WebSocketsAPI/WebSocket.res +0 -1
  37. package/src/WebSpeechAPI/SpeechSynthesis.res +0 -1
  38. package/src/WebVTTAPI/TextTrack.res +0 -1
  39. package/src/WebVTTAPI.res +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rescript/webapi",
3
- "version": "0.1.0-experimental-45ad9b8",
3
+ "version": "0.1.0-experimental-42b0a0b",
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",
@@ -1,4 +1,3 @@
1
- open EventAPI
2
1
  open CSSFontLoadingAPI
3
2
 
4
3
  include EventTarget.Impl({
@@ -1,6 +1,4 @@
1
- open EventAPI
2
1
  open CanvasAPI
3
- open Prelude
4
2
  open FileAPI
5
3
 
6
4
  /**
@@ -1,5 +1,4 @@
1
1
  open DOMAPI
2
- open EventAPI
3
2
 
4
3
  module Impl = (
5
4
  T: {
@@ -1,5 +1,4 @@
1
1
  open DOMAPI
2
- open EventAPI
3
2
 
4
3
  /**
5
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/DocumentFragmentFragment)
@@ -1,5 +1,3 @@
1
- open FileAPI
2
- open FetchAPI
3
1
  open DOMAPI
4
2
 
5
3
  /**
@@ -1,4 +1,3 @@
1
- open EventAPI
2
1
  open DOMAPI
3
2
 
4
3
  include EventTarget.Impl({
@@ -1,4 +1,3 @@
1
- open EventAPI
2
1
  open DOMAPI
3
2
  open WebVTTAPI
4
3
 
@@ -1,10 +1,8 @@
1
- open Prelude
2
1
  open DOMAPI
3
2
  open CanvasAPI
4
3
  open FileAPI
5
4
  open ChannelMessagingAPI
6
5
  open FetchAPI
7
- open EventAPI
8
6
 
9
7
  include EventTarget.Impl({
10
8
  type t = window
@@ -1,6 +1,5 @@
1
1
  @@warning("-30")
2
2
 
3
- open Prelude
4
3
  open EventAPI
5
4
 
6
5
  type mediaKeysRequirement =
@@ -1,4 +1,3 @@
1
- open Prelude
2
1
  open EventAPI
3
2
 
4
3
  /**
package/src/EventAPI.res CHANGED
@@ -1,7 +1,5 @@
1
1
  @@warning("-30")
2
2
 
3
- open Prelude
4
-
5
3
  @unboxed
6
4
  type eventType =
7
5
  | @as("abort") Abort
@@ -1,6 +1,5 @@
1
1
  open FetchAPI
2
2
  open FileAPI
3
- open Prelude
4
3
 
5
4
  /**
6
5
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Request)
@@ -1,6 +1,5 @@
1
1
  open FetchAPI
2
2
  open FileAPI
3
- open Prelude
4
3
 
5
4
  /**
6
5
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/Response)
@@ -1,4 +1,3 @@
1
- open Prelude
2
1
  open FileAPI
3
2
 
4
3
  external asWritableStream: fileSystemWritableFileStream => writableStream<'w> = "%identity"
@@ -1,4 +1,3 @@
1
- open Prelude
2
1
  open FileAPI
3
2
 
4
3
  /**
@@ -1,4 +1,3 @@
1
- open Prelude
2
1
  open FileAPI
3
2
 
4
3
  /**
@@ -1,4 +1,3 @@
1
- open Prelude
2
1
  open FileAPI
3
2
 
4
3
  /**
@@ -1,4 +1,3 @@
1
- open DOMAPI
2
1
  open FileAndDirectoryEntriesAPI
3
2
 
4
3
  /**
@@ -1,5 +1,4 @@
1
1
  open HistoryAPI
2
- open Prelude
3
2
 
4
3
  /**
5
4
  [Read more on MDN](https://developer.mozilla.org/docs/Web/API/History/go)
@@ -1,7 +1,5 @@
1
1
  @@warning("-30")
2
2
 
3
- open Prelude
4
-
5
3
  type scrollRestoration =
6
4
  | @as("auto") Auto
7
5
  | @as("manual") Manual
@@ -1,4 +1,3 @@
1
- open EventAPI
2
1
  open IndexedDBAPI
3
2
 
4
3
  include EventTarget.Impl({
@@ -1,5 +1,4 @@
1
1
  open IndexedDBAPI
2
- open Prelude
3
2
 
4
3
  /**
5
4
  Attempts to open a connection to the named database with the current version, or 1 if it does not already exist. If the request is successful request's result will be the connection.
@@ -1,4 +1,3 @@
1
- open EventAPI
2
1
  open MediaCaptureAndStreamsAPI
3
2
 
4
3
  include EventTarget.Impl({
@@ -1,7 +1,5 @@
1
1
  @@warning("-30")
2
2
 
3
- open Prelude
4
-
5
3
  type mediaSessionPlaybackState =
6
4
  | @as("none") None
7
5
  | @as("paused") Paused
@@ -1,6 +1,5 @@
1
1
  @@warning("-30")
2
2
 
3
- open Prelude
4
3
  open EventAPI
5
4
 
6
5
  type notificationDirection =
@@ -1,4 +1,3 @@
1
- open EventAPI
2
1
  open PerformanceAPI
3
2
 
4
3
  include EventTarget.Impl({
package/src/PushAPI.res CHANGED
@@ -1,6 +1,5 @@
1
1
  @@warning("-30")
2
2
 
3
- open Prelude
4
3
  open EventAPI
5
4
 
6
5
  type permissionState =
@@ -1,6 +1,5 @@
1
1
  @@warning("-30")
2
2
 
3
- open Prelude
4
3
  open DOMAPI
5
4
 
6
5
  type resizeObserverBoxOptions =
@@ -1,4 +1,3 @@
1
- open EventAPI
2
1
  open ScreenWakeLockAPI
3
2
 
4
3
  include EventTarget.Impl({
@@ -1,6 +1,4 @@
1
- open EventAPI
2
1
  open ServiceWorkerAPI
3
- open Prelude
4
2
  open ChannelMessagingAPI
5
3
 
6
4
  include EventTarget.Impl({
@@ -1,4 +1,3 @@
1
- open EventAPI
2
1
  open ServiceWorkerAPI
3
2
  open NotificationAPI
4
3
 
@@ -1,7 +1,5 @@
1
1
  @@warning("-30")
2
2
 
3
- open Prelude
4
-
5
3
  /**
6
4
  [See ViewTransition on MDN](https://developer.mozilla.org/docs/Web/API/ViewTransition)
7
5
  */
@@ -1,4 +1,3 @@
1
- open Prelude
2
1
  open WebLocksAPI
3
2
 
4
3
  /**
@@ -1,6 +1,5 @@
1
1
  @@warning("-30")
2
2
 
3
- open Prelude
4
3
  open EventAPI
5
4
 
6
5
  type lockMode =
@@ -1,4 +1,3 @@
1
- open EventAPI
2
1
  open WebSocketsAPI
3
2
  open FileAPI
4
3
 
@@ -1,4 +1,3 @@
1
- open EventAPI
2
1
  open WebSpeechAPI
3
2
 
4
3
  include EventTarget.Impl({
@@ -1,4 +1,3 @@
1
- open EventAPI
2
1
  open WebVTTAPI
3
2
 
4
3
  include EventTarget.Impl({
package/src/WebVTTAPI.res CHANGED
@@ -1,6 +1,5 @@
1
1
  @@warning("-30")
2
2
 
3
- open Prelude
4
3
  open EventAPI
5
4
 
6
5
  type textTrackKind =