v2.1.1
Refactoring
Extract default options (port, hostname, callbackPath) into module-level constants to avoid duplication between getRedirectUrl and getAuthCode (#32).
const DEFAULT_PORT = 3000;
const DEFAULT_HOSTNAME = "localhost";
const DEFAULT_CALLBACK_PATH = "/callback";Other Changes
- Strengthen managed mode condition to check for truthy
authorizationUrlvalue - Remove
as anycasts by leveraging TypeScript's type narrowing - Split CI/CD workflows for better maintainability (#33)
Full Changelog: v2.1.0...v2.1.1