Skip to content

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Feb 13, 2025

⚠ NEVER add commits to this pull request.

πŸ€– This pull request was automatically created to facilitate human review of @webref/idl changes triggered by curated data at 3f39beb.

🧐 Please review the diff below and version numbers. If all looks good, merge this pull request to release the changes to npm.

πŸ“¦ Latest released @webref/idl package was v3.59.4. Merging this pull request will release v3.60.0. Make sure that the bump is the right one for the changes.

✍ If any change needs to be made before release, do not add a commit to this pull request. Changes should rather be handled in a separate pull request and pushed to the main branch. You may leave this pull request open in the meantime, or close it. The pre-release job will automatically update this pull request or create a new one once the updates have made their way to the main branch.

πŸ›ˆ The actual change introduced by this pull request is a version bump in packages/idl/package.json. You do not need to review that change. The bumped version is not the version that will be released when this pull request is merged, but rather the version that will be released next time.

New repo files that are not yet in the released package:
+ ppa.idl

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/fedcm.idl packages/idl/fedcm.idl
--- webref/node_modules/@webref/idl/fedcm.idl
+++ packages/idl/fedcm.idl
@@ -9,7 +9,7 @@
 
 [Exposed=Window, SecureContext]
 interface IdentityCredential : Credential {
-  static Promise<undefined> disconnect(optional IdentityCredentialDisconnectOptions options = {});
+  static Promise<undefined> disconnect(IdentityCredentialDisconnectOptions options);
   readonly attribute USVString? token;
   readonly attribute boolean isAutoSelected;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/gamepad-extensions.idl packages/idl/gamepad-extensions.idl
--- webref/node_modules/@webref/idl/gamepad-extensions.idl
+++ packages/idl/gamepad-extensions.idl
@@ -22,19 +22,10 @@
   readonly attribute Float32Array? angularAcceleration;
 };
 
-[Exposed=Window, SecureContext]
-interface GamepadTouch {
-  readonly attribute unsigned long touchId;
-  readonly attribute octet surfaceId;
-  readonly attribute Float32Array position;
-  readonly attribute Uint32Array? surfaceDimensions;
-};
-
 partial interface Gamepad {
   readonly attribute GamepadHand hand;
   readonly attribute FrozenArray<GamepadHapticActuator> hapticActuators;
   readonly attribute GamepadPose? pose;
-  readonly attribute FrozenArray<GamepadTouch>? touchEvents;
 };
 
 [Exposed=Window]

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/gamepad.idl packages/idl/gamepad.idl
--- webref/node_modules/@webref/idl/gamepad.idl
+++ packages/idl/gamepad.idl
@@ -12,6 +12,7 @@
   readonly attribute GamepadMappingType mapping;
   readonly attribute FrozenArray<double> axes;
   readonly attribute FrozenArray<GamepadButton> buttons;
+  readonly attribute FrozenArray<GamepadTouch> touches;
   [SameObject] readonly attribute GamepadHapticActuator vibrationActuator;
 };
 
@@ -22,6 +23,13 @@
   readonly attribute double value;
 };
 
+dictionary GamepadTouch {
+  unsigned long touchId;
+  octet surfaceId;
+  DOMPointReadOnly position;
+  DOMRectReadOnly? surfaceDimensions;
+};
+
 enum GamepadMappingType {
   "",
   "standard",

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/media-capabilities.idl packages/idl/media-capabilities.idl
--- webref/node_modules/@webref/idl/media-capabilities.idl
+++ packages/idl/media-capabilities.idl
@@ -90,7 +90,7 @@
 };
 
 dictionary MediaCapabilitiesDecodingInfo : MediaCapabilitiesInfo {
-  required MediaKeySystemAccess keySystemAccess;
+  required MediaKeySystemAccess? keySystemAccess;
   MediaDecodingConfiguration configuration;
 };
 

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/mediacapture-surface-control.idl packages/idl/mediacapture-surface-control.idl
--- webref/node_modules/@webref/idl/mediacapture-surface-control.idl
+++ packages/idl/mediacapture-surface-control.idl
@@ -5,7 +5,7 @@
 
 partial interface CaptureController {
   sequence<long> getSupportedZoomLevels();
-  long getZoomLevel();
+  readonly attribute long? zoomLevel;
   Promise<undefined> increaseZoomLevel();
   Promise<undefined> decreaseZoomLevel();
   Promise<undefined> resetZoomLevel();

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/speech-api.idl packages/idl/speech-api.idl
--- webref/node_modules/@webref/idl/speech-api.idl
+++ packages/idl/speech-api.idl
@@ -19,8 +19,8 @@
     undefined start(MediaStreamTrack audioTrack);
     undefined stop();
     undefined abort();
-    boolean onDeviceWebSpeechAvailable(DOMString lang);
-    boolean installOnDeviceSpeechRecognition(DOMString lang);
+    static Promise<boolean> availableOnDevice(DOMString lang);
+    static Promise<boolean> installOnDevice(DOMString lang);
 
     // event methods
     attribute EventHandler onaudiostart;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webnn.idl packages/idl/webnn.idl
--- webref/node_modules/@webref/idl/webnn.idl
+++ packages/idl/webnn.idl
@@ -9,12 +9,6 @@
 Navigator includes NavigatorML;
 WorkerNavigator includes NavigatorML;
 
-enum MLDeviceType {
-  "cpu",
-  "gpu",
-  "npu"
-};
-
 enum MLPowerPreference {
   "default",
   "high-performance",
@@ -22,7 +16,6 @@
 };
 
 dictionary MLContextOptions {
-  MLDeviceType deviceType = "cpu";
   MLPowerPreference powerPreference = "default";
 };

@github-actions github-actions bot force-pushed the release-idl-20250213184950753 branch 3 times, most recently from 76dcdb0 to e0ab063 Compare February 18, 2025 00:59
@github-actions github-actions bot changed the title πŸ“¦ Release @webref/[email protected] πŸ“¦ Release @webref/[email protected] Feb 18, 2025
@github-actions github-actions bot force-pushed the release-idl-20250213184950753 branch 4 times, most recently from 6ee0bfb to c9fbc6d Compare February 19, 2025 00:59
@github-actions github-actions bot force-pushed the release-idl-20250213184950753 branch from c9fbc6d to a083efd Compare February 19, 2025 03:24
@tidoust tidoust merged commit 89f7a10 into main Feb 19, 2025
@tidoust tidoust deleted the release-idl-20250213184950753 branch February 19, 2025 03:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant