Cotal TypeScript packages
    Preparing search index...

    Function getSpaceAuth

    • Load one space's COMPOSED trust view through the seam - THE reader for signer-bearing paths (the manager's signer hold, the renewal owner, CLI mint/backup/restore/…). The store is the sole authority for the material; the space is REQUIRED for the same reason as loadSpaceAuth's: a root-wide "the auth" read is ambiguous the moment a broker holds two accounts (space-blind CLI paths resolve theirs first via getSoleSpaceAuth). Mirrors the FS reader's shapes exactly - split records compose (and verify the account really was signed by this broker's operator), either half may still come from the legacy monolith during migration, and with both split records absent the monolith is read whole (full bundle or the stripped container signer) and validated against the caller's space; there a wrong-space or malformed value fails LOUD rather than reading as absent, because the monolith names exactly one tenant. Every error names only store keys and the caller's own space label, never the stored bytes.

      Parameters

      Returns Promise<SpaceAuth | undefined>