support indieauth-metadata relation on profiles, per spec 20220212
[squeep-indieauth-helper] / README.md
index dee619d5bdf2c32e5332f2581e0e5888dd062b47..bd005a7e83b23355752f82d1e78e9e0d6845d93c 100644 (file)
--- a/README.md
+++ b/README.md
@@ -4,14 +4,17 @@ Just some abstractions for interacting with IndieAuth sites.
 
 Notable methods on the Communication class:
 
-- static generatePKCE(length)  
+- `static async generatePKCE(length)`  
   Create a code and verifier for use in an IndieAuth transaction.
 
-- fetchProfile(urlObject)  
+- `async fetchProfile(urlObject)`  
   Retrieve profile information from an endpoint.
 
-- fetchClientIdentifier(urlObject)  
+- `async fetchClientIdentifier(urlObject)`  
   Retrieve client identifier information from an endpoint.
 
-- fetchMicroformat(urlObject)  
-  Retrieve all mf2 information form an endpoint.
+- `async fetchMicroformat(urlObject)`  
+  Retrieve all mf2 information from an endpoint.
+
+- `async fetchJSON(urlObject)`  
+  Retrieve json from an endpoint.