atproto/browser/identity

Async mirror of atproto/identity.gleam for the browser Client. URL, decoder, and MiniDoc come from atproto_core/identity.

Types

pub type MiniDoc =
  identity.MiniDoc

Values

pub const default_resolver: String
pub fn resolve_mini_doc(
  client: xrpc.Client,
  resolver: String,
  identifier: String,
) -> promise.Promise(Result(identity.MiniDoc, xrpc.XrpcError))
pub fn resolve_pds(
  client: xrpc.Client,
  resolver: String,
  identifier: String,
) -> promise.Promise(Result(String, xrpc.XrpcError))
Search Document