Skip to content

Commit bb0ca8b

Browse files
committed
fix(algorithms): include original url in WalletAddressDetails
1 parent 7a1ce5a commit bb0ca8b

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

section/algorithms.html

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,10 @@ <h3>Wallet address request</h3>
4848
Let <var>json</var> be the result of [=extract the JSON fetch response=] from <var>response</var> and <var>responseBody</var>.
4949
</li>
5050
<li>
51-
Convert <var>json</var> to a {{ WalletAddressDetails }}, |walletAddressDetails: WalletAddressDetails|.
51+
Convert <var>json</var> to a {{ WalletAddressDetails }},
52+
|walletAddressDetails: WalletAddressDetails|, and
53+
include |walletAddressUrl| as the
54+
{{WalletAddressDetails/url}} property.
5255
</li>
5356
<li>
5457
If one of the previous two steps threw an exception, return failure.
@@ -71,6 +74,7 @@ <h3>Wallet Address Details</h3>
7174

7275
<pre class="idl">
7376
dictionary WalletAddressDetails {
77+
required DOMString url;
7478
required DOMString id;
7579
required DOMString authServer;
7680
required DOMString resourceServer;
@@ -81,6 +85,13 @@ <h3>Wallet Address Details</h3>
8185
</pre>
8286

8387
<dl>
88+
<dt>`url`</dt>
89+
<dd>
90+
The original URL that the wallet address information was
91+
requested at. <span class="note">Keeping a reference to this URL
92+
is useful as users may use proxied wallet addresses.</span>
93+
</dd>
94+
8495
<dt><dfn>`authServer`</dfn></dt>
8596
<dd>corresponds to the endpoint for the [=AS=] APIs.</dd>
8697

0 commit comments

Comments
 (0)