Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

πŸ“¦ Release @webref/[email protected] #1351

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Sep 19, 2024

⚠ 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 c672b6a.

🧐 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.55.0. Merging this pull request will release v3.55.1. 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.

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/audio-session.idl packages/idl/audio-session.idl
--- webref/node_modules/@webref/idl/audio-session.idl
+++ packages/idl/audio-session.idl
@@ -3,10 +3,12 @@
 // (https://github.com/w3c/webref)
 // Source: Audio Session (https://w3c.github.io/audio-session/)
 
-enum AudioSessionState {
-  "inactive",
-  "active",
-  "interrupted"
+[Exposed=Window]
+interface AudioSession : EventTarget {
+  attribute AudioSessionType type;
+
+  readonly attribute AudioSessionState state;
+  attribute EventHandler onstatechange;
 };
 
 enum AudioSessionType {
@@ -18,16 +20,14 @@
   "play-and-record"
 };
 
+enum AudioSessionState {
+  "inactive",
+  "active",
+  "interrupted"
+};
+
 [Exposed=Window]
 partial interface Navigator {
   // The default audio session that the user agent will use when media elements start/stop playing.
   readonly attribute AudioSession audioSession;
 };
-
-[Exposed=Window]
-interface AudioSession : EventTarget {
-  attribute AudioSessionType type;
-
-  readonly attribute AudioSessionState state;
-  attribute EventHandler onstatechange;
-};

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/mediacapture-viewport.idl packages/idl/mediacapture-viewport.idl
--- webref/node_modules/@webref/idl/mediacapture-viewport.idl
+++ packages/idl/mediacapture-viewport.idl
@@ -5,10 +5,5 @@
 
 partial interface MediaDevices {
   Promise<MediaStream> getViewportMedia(
-      optional ViewportMediaStreamConstraints constraints = {});
-};
-
-dictionary ViewportMediaStreamConstraints {
-  (boolean or MediaTrackConstraints) video = true;
-  (boolean or MediaTrackConstraints) audio = false;
+      optional DisplayMediaStreamOptions options = {});
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/mediasession.idl packages/idl/mediasession.idl
--- webref/node_modules/@webref/idl/mediasession.idl
+++ packages/idl/mediasession.idl
@@ -98,17 +98,8 @@
 
 dictionary MediaSessionActionDetails {
   required MediaSessionAction action;
-};
-
-dictionary MediaSessionSeekActionDetails : MediaSessionActionDetails {
   double seekOffset;
-};
-
-dictionary MediaSessionSeekToActionDetails : MediaSessionActionDetails {
-  required double seekTime;
+  double seekTime;
   boolean fastSeek;
-};
-
-dictionary MediaSessionCaptureActionDetails : MediaSessionActionDetails {
   boolean isActivating;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/observable.idl packages/idl/observable.idl
--- webref/node_modules/@webref/idl/observable.idl
+++ packages/idl/observable.idl
@@ -81,7 +81,7 @@
   Observable drop(unsigned long long amount);
   Observable flatMap(Mapper mapper);
   Observable switchMap(Mapper mapper);
-  Observable inspect(optional ObservableInspectorUnion inspect_observer = {});
+  Observable inspect(optional ObservableInspectorUnion inspectorUnion = {});
   Observable catch(CatchCallback callback);
   Observable finally(VoidFunction callback);
 

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/selection-api.idl packages/idl/selection-api.idl
--- webref/node_modules/@webref/idl/selection-api.idl
+++ packages/idl/selection-api.idl
@@ -18,7 +18,7 @@
   undefined removeRange(Range range);
   undefined removeAllRanges();
   undefined empty();
-  sequence<StaticRange> getComposedRanges(ShadowRoot... shadowRoots);
+  sequence<StaticRange> getComposedRanges(optional GetComposedRangesOptions options = {});
   undefined collapse(Node? node, optional unsigned long offset = 0);
   undefined setPosition(Node? node, optional unsigned long offset = 0);
   undefined collapseToStart();
@@ -32,6 +32,10 @@
   stringifier;
 };
 
+dictionary GetComposedRangesOptions {
+  sequence<ShadowRoot> shadowRoots = [];
+};
+
 partial interface Document {
   Selection? getSelection();
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/service-workers.idl packages/idl/service-workers.idl
--- webref/node_modules/@webref/idl/service-workers.idl
+++ packages/idl/service-workers.idl
@@ -167,6 +167,7 @@
 
 [Exposed=ServiceWorker]
 interface InstallEvent : ExtendableEvent {
+  constructor(DOMString type, optional ExtendableEventInit eventInitDict = {});
   Promise<undefined> addRoutes((RouterRule or sequence<RouterRule>) rules);
 };
 

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/shared-storage.idl packages/idl/shared-storage.idl
--- webref/node_modules/@webref/idl/shared-storage.idl
+++ packages/idl/shared-storage.idl
@@ -89,6 +89,7 @@
   boolean resolveToConfig = false;
   boolean keepAlive = false;
   SharedStoragePrivateAggregationConfig privateAggregationConfig;
+  DOMString savedQuery;
 };
 
 dictionary SharedStorageWorkletOptions : WorkletOptions {

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/turtledove.idl packages/idl/turtledove.idl
--- webref/node_modules/@webref/idl/turtledove.idl
+++ packages/idl/turtledove.idl
@@ -128,14 +128,20 @@
   Promise<AdAuctionData> getInterestGroupAdAuctionData(AdAuctionDataConfig config);
 };
 
+dictionary AdAuctionData {
+  required Uint8Array request;
+  required USVString requestId;
+};
+
 dictionary AdAuctionDataConfig {
   required USVString seller;
   required USVString coordinatorOrigin;
+  unsigned long requestSize;
+  record<USVString, AdAuctionDataBuyerConfig> perBuyerConfig;
 };
 
-dictionary AdAuctionData {
-  required Uint8Array request;
-  required USVString requestId;
+dictionary AdAuctionDataBuyerConfig {
+  unsigned long targetSize;
 };
 
 [SecureContext]

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webgpu.idl packages/idl/webgpu.idl
--- webref/node_modules/@webref/idl/webgpu.idl
+++ packages/idl/webgpu.idl
@@ -78,7 +78,7 @@
 };
 
 dictionary GPURequestAdapterOptions {
-    any featureLevel;
+    DOMString featureLevel;
     GPUPowerPreference powerPreference;
     boolean forceFallbackAdapter = false;
 };
@@ -1183,6 +1183,7 @@
     undefined configure(GPUCanvasConfiguration configuration);
     undefined unconfigure();
 
+    GPUCanvasConfiguration? getConfiguration();
     GPUTexture getCurrentTexture();
 };
 

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
@@ -90,7 +90,7 @@
 
 dictionary MLOperandDescriptor {
   required MLOperandDataType dataType;
-  sequence<[EnforceRange] unsigned long> shape = [];
+  required sequence<[EnforceRange] unsigned long> shape;
 };
 
 [SecureContext, Exposed=(Window, DedicatedWorker)]

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webrtc.idl packages/idl/webrtc.idl
--- webref/node_modules/@webref/idl/webrtc.idl
+++ packages/idl/webrtc.idl
@@ -503,7 +503,7 @@
   "closed"
 };
 
-[Exposed=Window]
+[Exposed=(Window,DedicatedWorker), Transferable]
 interface RTCDataChannel : EventTarget {
   readonly attribute USVString label;
   readonly attribute boolean ordered;

@github-actions github-actions bot force-pushed the release-idl-20240919185030553 branch 24 times, most recently from 9d26de5 to 5881075 Compare September 26, 2024 00:53
@github-actions github-actions bot force-pushed the release-idl-20240919185030553 branch 3 times, most recently from 9dad586 to bd1fa19 Compare September 26, 2024 18:43
@github-actions github-actions bot force-pushed the release-idl-20240919185030553 branch from bd1fa19 to 5b8508d Compare October 1, 2024 06:21
@github-actions github-actions bot force-pushed the release-idl-20240919185030553 branch from 5b8508d to 0401a01 Compare October 1, 2024 06:46
@tidoust tidoust merged commit ef350c3 into main Oct 1, 2024
@tidoust tidoust deleted the release-idl-20240919185030553 branch October 1, 2024 10:15
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