v2.0.0
What's New
This major update provides a robust, error-resistant, and easily integrable middleware solution for handling API endpoint requirements in compliance with CDR standards.
- Enhanced Functionality: Introduction of new functions
cdrScopeValidator,cdrEndpointValidator, andcdrResourceValidatorfor more granular control (#5). - Improved Flexibility: Implementation of a callback mechanism for scope and account ID information, decoupling the middleware from the Identity Provider (IdP) and facilitating alternative use cases. The existing
cdrScopeValidatorandcdrJwtScopesfunctions are maintained (#11). - Bug Fix: Resolution of a critical issue where middleware would hang on certain API calls (#10).
- Refactoring: Break up of functions for improved clarity and efficiency.
- Expanded Testing: Addition of unit tests for recent changes, including tests using the
basePathparameter in configuration files.
Explore the latest features and improvements by visiting our npm package page here.
Full Changelog: v1.3.0...v2.0.0