This repository has no description
0

Configure Feed

Select the types of activity you want to include in your feed.

tweak

+2 -2
+2 -2
src/accountData.js
··· 3 3 ***********************************************************************/ 4 4 5 5 // Resolve a handle (e.g., "dame.bsky.social") into a DID using the atproto resolveHandle endpoint. 6 - async function resolveHandleToDid(inputHandle) { 6 + export async function resolveHandleToDid(inputHandle) { 7 7 const url = `${publicServiceEndpoint}/xrpc/com.atproto.identity.resolveHandle?handle=${encodeURIComponent(inputHandle)}`; 8 8 const data = await getJSON(url); 9 9 if (!data.did) { ··· 13 13 } 14 14 15 15 // Get the service endpoint for the DID by querying either the PLC directory or (for did:web identities) the well-known DID document. 16 - async function getServiceEndpointForDid(resolvedDid) { 16 + export async function getServiceEndpointForDid(resolvedDid) { 17 17 let url; 18 18 19 19 if (resolvedDid.startsWith("did:web:")) {