;; ardegazu-id-kit — one identity across the ardegazu.ro suite.
;;
;; The package root: one var per public symbol of the "." export, re-exported
;; by the :index module as dist/index.js. The "./xkey" subpath is a separate
;; module so apps that never seal anything don't need @noble/curves.
(ns ardegazu.id.index
(:require [ardegazu.id.bridge-client :as bridge-client]
[ardegazu.id.bridge-host :as bridge-host]
[ardegazu.id.crypto :as crypto]
[ardegazu.id.identity :as identity]
[ardegazu.id.profile :as profile]
[ardegazu.id.protocol :as protocol]))
(def utf8 crypto/utf8)
(def random-bytes crypto/random-bytes)
(def to-b64 crypto/to-b64)
(def from-b64 crypto/from-b64)
(def to-b64url crypto/to-b64url)
(def from-b64url crypto/from-b64url)
(def Identity identity/Identity)
(def verify-raw identity/verify-raw)
(def verify-assertion identity/verify-assertion)
(def fingerprint-of identity/fingerprint-of)
(def is-ed25519-supported identity/is-ed25519-supported)
(def EMPTY-PROFILE profile/EMPTY-PROFILE)
(def MAX-NAME-LEN profile/MAX-NAME-LEN)
(def hue-of-pub profile/hue-of-pub)
(def effective-hue profile/effective-hue)
(def color-of-pub profile/color-of-pub)
(def default-glyph profile/default-glyph)
(def clamp-profile profile/clamp-profile)
(def BRIDGE-PATH protocol/BRIDGE-PATH)
(def DEFAULT-BRIDGE-URL protocol/DEFAULT-BRIDGE-URL)
(def BRIDGE-STORE-KEY protocol/BRIDGE-STORE-KEY)
(def SEED-RE protocol/SEED-RE)
(def APP-ORIGIN-RE protocol/APP-ORIGIN-RE)
(def DEV-ORIGINS protocol/DEV-ORIGINS)
(def APP-KEY-RE protocol/APP-KEY-RE)
(def RESERVED-APP-KEYS protocol/RESERVED-APP-KEYS)
(def app-key-of-origin protocol/app-key-of-origin)
(def is-allowed-app-origin protocol/is-allowed-app-origin)
(def is-bridge-reply protocol/is-bridge-reply)
(def is-bridge-request protocol/is-bridge-request)
(def MAX-RECORD-BYTES bridge-host/MAX-RECORD-BYTES)
(def MAX-APP-STATE-BYTES bridge-host/MAX-APP-STATE-BYTES)
(def RESERVED-CORE-BYTES bridge-host/RESERVED-CORE-BYTES)
(def MAX-APPS-BYTES bridge-host/MAX-APPS-BYTES)
(def sanitize-record bridge-host/sanitize-record)
(def read-bridge-record bridge-host/read-bridge-record)
(def write-bridge-record bridge-host/write-bridge-record)
(def init-bridge-host bridge-host/init-bridge-host)
(def IdBridge bridge-client/IdBridge)