Skip to content

v2.1.1

Choose a tag to compare

@koistya koistya released this 24 Jan 21:43
· 1 commit to main since this release
ee6964c

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 authorizationUrl value
  • Remove as any casts by leveraging TypeScript's type narrowing
  • Split CI/CD workflows for better maintainability (#33)

Full Changelog: v2.1.0...v2.1.1