Production-ready, zero-runtime-dependency TypeScript library that transforms HTTP 402 Payment Required responses into structured, machine-actionable error events