Packages

A browser-native atproto OAuth + XRPC client for Gleam: WebCrypto DPoP, PKCE, and async transport, for building a public-client SPA with no server-side session custody.

Current section

Files

Jump to
Raw

gleam.toml

name = "atproto_browser"
version = "0.1.0"
description = "A browser-native atproto OAuth + XRPC client for Gleam: WebCrypto DPoP, PKCE, and async transport, for building a public-client SPA with no server-side session custody."
licences = ["MIT"]
target = "javascript"
gleam = ">= 1.14.0"
repository = { type = "custom", url = "https://tangled.org/@mokkenstorm.dev/gleam-atproto", path = "atproto_browser", tag_prefix = "atproto_browser-v" }
links = [
{ title = "Changelog", href = "https://tangled.org/@mokkenstorm.dev/gleam-atproto/blob/main/atproto_browser/CHANGELOG.md" },
{ title = "OAuth spec", href = "https://atproto.com/specs/oauth" },
]
internal_modules = [
"atproto/browser/pkce",
"atproto/browser/digest",
"atproto/browser/oauth/runner",
]
[dependencies]
gleam_stdlib = ">= 1.0.0 and < 2.0.0"
gleam_http = ">= 4.3.0 and < 5.0.0"
gleam_json = ">= 3.1.0 and < 4.0.0"
gleam_crypto = ">= 1.6.0 and < 2.0.0"
gleam_time = ">= 1.8.0 and < 2.0.0"
gleam_javascript = ">= 1.0.0 and < 2.0.0"
gleam_fetch = ">= 1.1.0 and < 2.0.0"
atproto_core = ">= 0.1.1 and < 1.0.0"
[dev_dependencies]
gleeunit = ">= 1.0.0 and < 2.0.0"
[javascript]
typescript_declarations = true