@suluk/keys - v0.1.0
    Preparing search index...

    Function parseKeyMeta

    • metadata JSON → the per-key controls (each null when absent/invalid): the PAID credit cap + the rate-limit share %. Defensive — a bad value reads as "no override"; the share is clamped to [1,100] to mirror the auth-time clamp.

      Parameters

      • metadata: string | null

      Returns { creditLimit: number | null; rateLimitSharePct: number | null }