From bfbe94d2720f0b19960690fa43fd8efb64f43398 Mon Sep 17 00:00:00 2001 From: Marcos Caceres Date: Thu, 5 Sep 2024 09:39:53 +1000 Subject: [PATCH] change providers to requests --- index.html | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/index.html b/index.html index 086805f..a191c1f 100644 --- a/index.html +++ b/index.html @@ -189,29 +189,29 @@

     dictionary DigitalCredentialRequestOptions {
-      sequence<DigitalCredentialsProvider> providers;
+      sequence<DigitalCredentialsProvider> requests;
     };
     

- The `providers` member + The `requests` member

- The providers + The requests specify an [=digital credential/exchange protocol=] and [=digital credential/query=], which the user agent MAY match against a holder's software, such as a digital wallet.

- The `DigitalCredentialsProvider` dictionary + The `DigitalCredentialsRequest` dictionary

- The {{DigitalCredentialsProvider}} dictionary is used to specify an + The {{DigitalCredentialsRequest}} dictionary is used to specify an [=digital credential/exchange protocol=] and a [=digital credential/query=], which the user agent MAY match against software used by a holder, such as a digital wallet.

-    dictionary DigitalCredentialsProvider {
+    dictionary DigitalCredentialsRequest {
       required DOMString protocol;
       required object request;
     };
@@ -220,12 +220,12 @@ 

The `protocol` member

- The protocol member + The protocol member denotes the [=digital credential/exchange protocol=] when requesting an identify credential.

- The {{DigitalCredentialsProvider/protocol}} member's value is be one of + The {{DigitalCredentialsRequest/protocol}} member's value is be one of the well-defined keys defined in [[[#protocol-registry]]] or any other custom one.

@@ -233,7 +233,7 @@

The `request` member

- The request member + The request member is the request to be handled by the holder's software, such as a digital wallet.

@@ -308,10 +308,10 @@

  • [=Consume user activation=] of |window|.
  • -
  • Let |providers| be |options|'s {{CredentialRequestOptions/digital}}'s - {{DigitalCredentialRequestOptions/providers}} member. +
  • Let |requests| be |options|'s {{CredentialRequestOptions/digital}}'s + {{DigitalCredentialRequestOptions/requests}} member.
  • -
  • If |providers| is empty, [=exception/throw=] a {{TypeError}}. +
  • If |requests| is empty, [=exception/throw=] a {{TypeError}}.