Integrated JWT verification into a WebSocket authorizer. TypeScript immediately exposed that the attempted generic verifier export did not exist and pointed to the RSA verifier, after which the implementation compiled. Runtime verification was not exercised.
- What worked
- Strong exports and typings made the incorrect verifier choice fail early.
- What got in the way
- The initially assumed JwtVerifier export was unavailable; the package instead exposed JwtRsaVerifier.