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] #1311

Merged
merged 1 commit into from
Aug 19, 2024

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Aug 6, 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 d9be031.

🧐 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.52.1. Merging this pull request will release v3.52.2. 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/crash-reporting.idl packages/idl/crash-reporting.idl
--- webref/node_modules/@webref/idl/crash-reporting.idl
+++ packages/idl/crash-reporting.idl
@@ -7,4 +7,5 @@
 interface CrashReportBody : ReportBody {
   [Default] object toJSON();
   readonly attribute DOMString? reason;
+  readonly attribute DOMString? stack;
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/css-font-loading.idl packages/idl/css-font-loading.idl
--- webref/node_modules/@webref/idl/css-font-loading.idl
+++ packages/idl/css-font-loading.idl
@@ -3,8 +3,6 @@
 // (https://github.com/w3c/webref)
 // Source: CSS Font Loading Module Level 3 (https://drafts.csswg.org/css-font-loading-3/)
 
-typedef (ArrayBuffer or ArrayBufferView) BinaryData;
-
 dictionary FontFaceDescriptors {
   CSSOMString style = "normal";
   CSSOMString weight = "normal";
@@ -22,7 +20,7 @@
 
 [Exposed=(Window,Worker)]
 interface FontFace {
-  constructor(CSSOMString family, (CSSOMString or BinaryData) source,
+  constructor(CSSOMString family, (CSSOMString or BufferSource) source,
                 optional FontFaceDescriptors descriptors = {});
   attribute CSSOMString family;
   attribute CSSOMString style;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/dom.idl packages/idl/dom.idl
--- webref/node_modules/@webref/idl/dom.idl
+++ packages/idl/dom.idl
@@ -120,9 +120,9 @@
   readonly attribute Element? lastElementChild;
   readonly attribute unsigned long childElementCount;
 
-  [CEReactions, Unscopable] undefined prepend((Node or TrustedScript or DOMString)... nodes);
-  [CEReactions, Unscopable] undefined append((Node or TrustedScript or DOMString)... nodes);
-  [CEReactions, Unscopable] undefined replaceChildren((Node or TrustedScript or DOMString)... nodes);
+  [CEReactions, Unscopable] undefined prepend((Node or DOMString)... nodes);
+  [CEReactions, Unscopable] undefined append((Node or DOMString)... nodes);
+  [CEReactions, Unscopable] undefined replaceChildren((Node or DOMString)... nodes);
 
   Element? querySelector(DOMString selectors);
   [NewObject] NodeList querySelectorAll(DOMString selectors);
@@ -139,9 +139,9 @@
 CharacterData includes NonDocumentTypeChildNode;
 
 interface mixin ChildNode {
-  [CEReactions, Unscopable] undefined before((Node or TrustedScript or DOMString)... nodes);
-  [CEReactions, Unscopable] undefined after((Node or TrustedScript or DOMString)... nodes);
-  [CEReactions, Unscopable] undefined replaceWith((Node or TrustedScript or DOMString)... nodes);
+  [CEReactions, Unscopable] undefined before((Node or DOMString)... nodes);
+  [CEReactions, Unscopable] undefined after((Node or DOMString)... nodes);
+  [CEReactions, Unscopable] undefined replaceWith((Node or DOMString)... nodes);
   [CEReactions, Unscopable] undefined remove();
 };
 DocumentType includes ChildNode;

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/payment-handler.idl packages/idl/payment-handler.idl
--- webref/node_modules/@webref/idl/payment-handler.idl
+++ packages/idl/payment-handler.idl
@@ -94,38 +94,3 @@
   DOMString recipient = "";
   DOMString phone = "";
 };
-
-dictionary PaymentOptions {
-  boolean requestPayerName = false;
-  boolean requestBillingAddress = false;
-  boolean requestPayerEmail = false;
-  boolean requestPayerPhone = false;
-  boolean requestShipping = false;
-  PaymentShippingType shippingType = "shipping";
-};
-
-dictionary PaymentShippingOption {
-  required DOMString id;
-  required DOMString label;
-  required PaymentCurrencyAmount amount;
-  boolean selected = false;
-};
-
-enum PaymentShippingType {
-  "shipping",
-  "delivery",
-  "pickup"
-};
-
-dictionary AddressErrors {
-  DOMString addressLine;
-  DOMString city;
-  DOMString country;
-  DOMString dependentLocality;
-  DOMString organization;
-  DOMString phone;
-  DOMString postalCode;
-  DOMString recipient;
-  DOMString region;
-  DOMString sortingCode;
-};

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/payment-request.idl packages/idl/payment-request.idl
--- webref/node_modules/@webref/idl/payment-request.idl
+++ packages/idl/payment-request.idl
@@ -7,7 +7,8 @@
 interface PaymentRequest : EventTarget {
   constructor(
     sequence<PaymentMethodData> methodData,
-    PaymentDetailsInit details
+    PaymentDetailsInit details,
+    optional PaymentOptions options = {}
   );
   [NewObject]
   Promise<PaymentResponse> show(optional Promise<PaymentDetailsUpdate> detailsPromise);
@@ -17,7 +18,12 @@
   Promise<boolean> canMakePayment();
 
   readonly attribute DOMString id;
+  readonly attribute ContactAddress? shippingAddress;
+  readonly attribute DOMString? shippingOption;
+  readonly attribute PaymentShippingType? shippingType;
 
+  attribute EventHandler onshippingaddresschange;
+  attribute EventHandler onshippingoptionchange;
   attribute EventHandler onpaymentmethodchange;
 };
 
@@ -33,6 +39,7 @@
 
 dictionary PaymentDetailsBase {
   sequence<PaymentItem> displayItems;
+  sequence<PaymentShippingOption> shippingOptions;
   sequence<PaymentDetailsModifier> modifiers;
 };
 
@@ -42,7 +49,10 @@
 };
 
 dictionary PaymentDetailsUpdate : PaymentDetailsBase {
+  DOMString error;
   PaymentItem total;
+  AddressErrors shippingAddressErrors;
+  PayerErrors payerErrors;
   object paymentMethodErrors;
 };
 
@@ -53,6 +63,21 @@
   object data;
 };
 
+enum PaymentShippingType {
+  "shipping",
+  "delivery",
+  "pickup"
+};
+
+dictionary PaymentOptions {
+  boolean requestPayerName = false;
+  boolean requestBillingAddress = false;
+  boolean requestPayerEmail = false;
+  boolean requestPayerPhone = false;
+  boolean requestShipping = false;
+  PaymentShippingType shippingType = "shipping";
+};
+
 dictionary PaymentItem {
   required DOMString label;
   required PaymentCurrencyAmount amount;
@@ -69,6 +94,13 @@
   "unknown"
 };
 
+dictionary PaymentShippingOption {
+  required DOMString id;
+  required DOMString label;
+  required PaymentCurrencyAmount amount;
+  boolean selected = false;
+};
+
 [SecureContext, Exposed=Window]
 interface PaymentResponse : EventTarget  {
   [Default] object toJSON();
@@ -76,6 +108,11 @@
   readonly attribute DOMString requestId;
   readonly attribute DOMString methodName;
   readonly attribute object details;
+  readonly attribute ContactAddress? shippingAddress;
+  readonly attribute DOMString? shippingOption;
+  readonly attribute DOMString? payerName;
+  readonly attribute DOMString? payerEmail;
+  readonly attribute DOMString? payerPhone;
 
   [NewObject]
   Promise<undefined> complete(
@@ -84,13 +121,36 @@
   );
   [NewObject]
   Promise<undefined> retry(optional PaymentValidationErrors errorFields = {});
+
+  attribute EventHandler onpayerdetailchange;
 };
 
 dictionary PaymentValidationErrors {
+  PayerErrors payer;
+  AddressErrors shippingAddress;
   DOMString error;
   object paymentMethod;
 };
 
+dictionary PayerErrors {
+  DOMString email;
+  DOMString name;
+  DOMString phone;
+};
+
+dictionary AddressErrors {
+  DOMString addressLine;
+  DOMString city;
+  DOMString country;
+  DOMString dependentLocality;
+  DOMString organization;
+  DOMString phone;
+  DOMString postalCode;
+  DOMString recipient;
+  DOMString region;
+  DOMString sortingCode;
+};
+
 [SecureContext, Exposed=Window]
 interface PaymentMethodChangeEvent : PaymentRequestUpdateEvent {
   constructor(DOMString type, optional PaymentMethodChangeEventInit eventInitDict = {});

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/pointerevents.idl packages/idl/pointerevents.idl
--- webref/node_modules/@webref/idl/pointerevents.idl
+++ packages/idl/pointerevents.idl
@@ -16,6 +16,7 @@
     double      azimuthAngle;
     DOMString   pointerType = "";
     boolean     isPrimary = false;
+    long        persistentDeviceId = 0;
     sequence<PointerEvent> coalescedEvents = [];
     sequence<PointerEvent> predictedEvents = [];
 };
@@ -35,6 +36,7 @@
     readonly        attribute double      azimuthAngle;
     readonly        attribute DOMString   pointerType;
     readonly        attribute boolean     isPrimary;
+    readonly        attribute long        persistentDeviceId;
     [SecureContext] sequence<PointerEvent> getCoalescedEvents();
     sequence<PointerEvent> getPredictedEvents();
 };

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/scheduling-apis.idl packages/idl/scheduling-apis.idl
--- webref/node_modules/@webref/idl/scheduling-apis.idl
+++ packages/idl/scheduling-apis.idl
@@ -9,35 +9,19 @@
   "background"
 };
 
-enum ContinuationPriority {
-  "user-blocking",
-  "user-visible",
-  "background",
-  "inherit"
-};
-
 dictionary SchedulerPostTaskOptions {
   AbortSignal signal;
   TaskPriority priority;
   [EnforceRange] unsigned long long delay = 0;
 };
 
-enum SchedulerSignalInherit {
-  "inherit"
-};
-
-dictionary SchedulerYieldOptions {
-  (AbortSignal or SchedulerSignalInherit) signal;
-  ContinuationPriority priority;
-};
-
 callback SchedulerPostTaskCallback = any ();
 
 [Exposed=(Window, Worker)]
 interface Scheduler {
   Promise<any> postTask(SchedulerPostTaskCallback callback,
                         optional SchedulerPostTaskOptions options = {});
-  Promise<undefined> yield(optional SchedulerYieldOptions options = {});
+  Promise<undefined> yield();
 };
 
 [Exposed=(Window, Worker)]

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
@@ -20,7 +20,6 @@
 dictionary GenerateBidInterestGroup {
   required USVString owner;
   required USVString name;
-  required double lifetimeMs;
 
   boolean enableBiddingSignalsPrioritization = false;
   record<DOMString, double> priorityVector;
@@ -42,6 +41,7 @@
 dictionary AuctionAdInterestGroup : GenerateBidInterestGroup {
   double priority = 0.0;
   record<DOMString, double> prioritySignalsOverrides;
+  required double lifetimeMs;
   DOMString additionalBidKey;
 };
 

diff --ignore-trailing-space '--exclude=package.json' '--exclude=README.md' '--exclude=CHANGELOG.md' '--unified=3' webref/node_modules/@webref/idl/webauthn.idl packages/idl/webauthn.idl
--- webref/node_modules/@webref/idl/webauthn.idl
+++ packages/idl/webauthn.idl
@@ -19,7 +19,7 @@
 typedef object PublicKeyCredentialJSON;
 
 dictionary RegistrationResponseJSON {
-    required Base64URLString id;
+    required DOMString id;
     required Base64URLString rawId;
     required AuthenticatorAttestationResponseJSON response;
     DOMString authenticatorAttachment;
@@ -45,7 +45,7 @@
 };
 
 dictionary AuthenticationResponseJSON {
-    required Base64URLString id;
+    required DOMString id;
     required Base64URLString rawId;
     required AuthenticatorAssertionResponseJSON response;
     DOMString authenticatorAttachment;
@@ -106,8 +106,8 @@
 };
 
 dictionary PublicKeyCredentialDescriptorJSON {
-    required Base64URLString        id;
     required DOMString              type;
+    required Base64URLString        id;
     sequence<DOMString>             transports;
 };
 
@@ -211,7 +211,7 @@
 dictionary PublicKeyCredentialRequestOptions {
     required BufferSource                challenge;
     unsigned long                        timeout;
-    USVString                            rpId;
+    DOMString                            rpId;
     sequence<PublicKeyCredentialDescriptor> allowCredentials = [];
     DOMString                            userVerification = "preferred";
     sequence<DOMString>                  hints = [];
@@ -228,8 +228,8 @@
     required DOMString           type;
     required DOMString           challenge;
     required DOMString           origin;
-    DOMString                    topOrigin;
     boolean                      crossOrigin;
+    DOMString                    topOrigin;
 };
 
 dictionary TokenBinding {
@@ -357,21 +357,3 @@
     ArrayBuffer blob;
     boolean written;
 };
-
-dictionary AuthenticationExtensionsSupplementalPubKeysInputs {
-    required sequence<DOMString> scopes;
-    DOMString attestation = "indirect";
-    sequence<DOMString> attestationFormats = [];
-};
-
-partial dictionary AuthenticationExtensionsClientInputs {
-    AuthenticationExtensionsSupplementalPubKeysInputs supplementalPubKeys;
-};
-
-dictionary AuthenticationExtensionsSupplementalPubKeysOutputs {
-    required sequence<ArrayBuffer> signatures;
-};
-
-partial dictionary AuthenticationExtensionsClientOutputs {
-    AuthenticationExtensionsSupplementalPubKeysOutputs supplementalPubKeys;
-};

@github-actions github-actions bot force-pushed the release-idl-20240806010050011 branch 8 times, most recently from dd53054 to e4fa02c Compare August 8, 2024 01:01
@github-actions github-actions bot force-pushed the release-idl-20240806010050011 branch 19 times, most recently from 4cdcfdf to 18ad190 Compare August 12, 2024 18:47
@github-actions github-actions bot force-pushed the release-idl-20240806010050011 branch 8 times, most recently from ac709dc to 1ace997 Compare August 19, 2024 10:04
@github-actions github-actions bot force-pushed the release-idl-20240806010050011 branch from 1ace997 to ef906a3 Compare August 19, 2024 12:49
@tidoust tidoust merged commit 08b048b into main Aug 19, 2024
@tidoust tidoust deleted the release-idl-20240806010050011 branch August 19, 2024 13:00
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