Skip to content

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

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented May 15, 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 35a234c.

🧐 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.63.0. Merging this pull request will release v3.63.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/html.idl packages/idl/html.idl
--- webref/node_modules/@webref/idl/html.idl
+++ packages/idl/html.idl
@@ -1542,28 +1542,6 @@
   readonly attribute double ideographicBaseline;
 };
 
-typedef (Uint8ClampedArray or Float16Array) ImageDataArray;
-
-enum ImageDataPixelFormat { "rgba-unorm8", "rgba-float16" };
-
-dictionary ImageDataSettings {
-  PredefinedColorSpace colorSpace;
-  ImageDataPixelFormat pixelFormat = "rgba-unorm8";
-};
-
-[Exposed=(Window,Worker),
- Serializable]
-interface ImageData {
-  constructor(unsigned long sw, unsigned long sh, optional ImageDataSettings settings = {});
-  constructor(ImageDataArray data, unsigned long sw, optional unsigned long sh, optional ImageDataSettings settings = {});
-
-  readonly attribute unsigned long width;
-  readonly attribute unsigned long height;
-  readonly attribute ImageDataArray data;
-  readonly attribute ImageDataPixelFormat pixelFormat;
-  readonly attribute PredefinedColorSpace colorSpace;
-};
-
 [Exposed=(Window,Worker)]
 interface Path2D {
   constructor(optional (Path2D or DOMString) path);
@@ -2476,6 +2454,28 @@
   readonly attribute Plugin enabledPlugin;
 };
 
+typedef (Uint8ClampedArray or Float16Array) ImageDataArray;
+
+enum ImageDataPixelFormat { "rgba-unorm8", "rgba-float16" };
+
+dictionary ImageDataSettings {
+  PredefinedColorSpace colorSpace;
+  ImageDataPixelFormat pixelFormat = "rgba-unorm8";
+};
+
+[Exposed=(Window,Worker),
+ Serializable]
+interface ImageData {
+  constructor(unsigned long sw, unsigned long sh, optional ImageDataSettings settings = {});
+  constructor(ImageDataArray data, unsigned long sw, optional unsigned long sh, optional ImageDataSettings settings = {});
+
+  readonly attribute unsigned long width;
+  readonly attribute unsigned long height;
+  readonly attribute ImageDataArray data;
+  readonly attribute ImageDataPixelFormat pixelFormat;
+  readonly attribute PredefinedColorSpace colorSpace;
+};
+
 [Exposed=(Window,Worker), Serializable, Transferable]
 interface ImageBitmap {
   readonly attribute unsigned long width;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/ppa.idl packages/idl/ppa.idl
--- webref/node_modules/@webref/idl/ppa.idl
+++ packages/idl/ppa.idl
@@ -26,7 +26,7 @@
 dictionary PrivateAttributionImpressionOptions {
   required unsigned long histogramIndex;
   unsigned long filterData = 0;
-  required USVString conversionSite;
+  sequence<USVString> conversionSites = [];
   unsigned long lifetimeDays = 30;
 };
 
@@ -42,7 +42,7 @@
   required unsigned long histogramSize;
 
   unsigned long lookbackDays;
-  unsigned long filterData;
+  sequence<unsigned long> filterData = [];
   sequence<USVString> impressionSites = [];
   sequence<USVString> intermediarySites = [];
 

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webrtc-encoded-transform.idl packages/idl/webrtc-encoded-transform.idl
--- webref/node_modules/@webref/idl/webrtc-encoded-transform.idl
+++ packages/idl/webrtc-encoded-transform.idl
@@ -55,6 +55,17 @@
     CryptoKeyID? keyID;
 };
 
+dictionary RTCEncodedFrameMetadata {
+    unsigned long synchronizationSource;
+    octet payloadType;
+    sequence<unsigned long> contributingSources;
+    unsigned long rtpTimestamp;
+    DOMHighResTimeStamp receiveTime;
+    DOMHighResTimeStamp captureTime;
+    DOMHighResTimeStamp senderCaptureTimeOffset;
+    DOMString mimeType;
+};
+
 // New enum for video frame types. Will eventually re-use the equivalent defined
 // by WebCodecs.
 enum RTCEncodedVideoFrameType {
@@ -63,22 +74,14 @@
     "delta",
 };
 
-dictionary RTCEncodedVideoFrameMetadata {
+dictionary RTCEncodedVideoFrameMetadata : RTCEncodedFrameMetadata {
     unsigned long long frameId;
     sequence<unsigned long long> dependencies;
     unsigned short width;
     unsigned short height;
     unsigned long spatialIndex;
     unsigned long temporalIndex;
-    unsigned long synchronizationSource;
-    octet payloadType;
-    sequence<unsigned long> contributingSources;
     long long timestamp;    // microseconds
-    unsigned long rtpTimestamp;
-    DOMHighResTimeStamp receiveTime;
-    DOMHighResTimeStamp captureTime;
-    DOMHighResTimeStamp senderCaptureTimeOffset;
-    DOMString mimeType;
 };
 
 dictionary RTCEncodedVideoFrameOptions {
@@ -95,16 +98,9 @@
     RTCEncodedVideoFrameMetadata getMetadata();
 };
 
-dictionary RTCEncodedAudioFrameMetadata {
-    unsigned long synchronizationSource;
-    octet payloadType;
-    sequence<unsigned long> contributingSources;
+dictionary RTCEncodedAudioFrameMetadata : RTCEncodedFrameMetadata {
     short sequenceNumber;
-    unsigned long rtpTimestamp;
-    DOMHighResTimeStamp receiveTime;
-    DOMHighResTimeStamp captureTime;
-    DOMHighResTimeStamp senderCaptureTimeOffset;
-    DOMString mimeType;
+    double audioLevel;
 };
 
 dictionary RTCEncodedAudioFrameOptions {

@github-actions github-actions bot force-pushed the release-idl-20250515184801972 branch 4 times, most recently from 8cf37b4 to 04e32f3 Compare May 16, 2025 18:52
@github-actions github-actions bot force-pushed the release-idl-20250515184801972 branch from 04e32f3 to 9c895d1 Compare May 17, 2025 00:55
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.

0 participants