// admission.js — re-exported from favela-identity, which is where it lives now.
//
// ⛔ ONE CEREMONY, TWO BRIDGES. This file held the implementation. atproto-bridge needs the same
// thing — a single-use challenge and a chain proof pinned to the root it names — because "may this
// caller speak for this identity" is the same question whether the answer is a NAME on a domain or
// an identity CARRIED onto a network. A second copy would be the one that forgot the nonce is
// single-use, or that the root must be pinned inside verify rather than compared afterwards.
//
// favela-identity is where it belongs: it already owns `readAttested` and the bytes both sides sign,
// and its own header says it was "EXTRACTED SO THERE IS ONE COPY".
//
// ⚠ Kept as a re-export rather than deleted — this path is imported by index.js and by the tests
// that prove the gate, and relocating an implementation is not a reason to rewrite its callers.
export { Admission } from 'favela-identity/lib/admission.js'
export { default } from 'favela-identity/lib/admission.js'