Releases: eduardobernardo/asaas
Releases · eduardobernardo/asaas
v1.1.0 - Error Logging Control
🎉 New Features
- Added
printErroroption to control automatic error logging behavior - Users can now disable automatic error logging by setting
printError: falsein the SDK options
📝 Usage
// Disable automatic error logging
const asaas = new Asaas('your-token', {
printError: false
});
// Default behavior (errors are logged automatically)
const asaas = new Asaas('your-token');📚 Documentation
- Updated README.md with new error logging configuration details
- Added test coverage for the new feature
🔨 Technical Changes
- Enhanced
AsaasOptionsinterface to includeprintErrorflag - Updated error handling across all API classes
- Added comprehensive test suite for error logging behavior
📦 Installation
npm install asaas@latest
# or
yarn add asaas@latest
# or
pnpm add asaas@latestv1.0.13
What's Changed
- Payments: Added support for installment total value and payment external reference.
Full Changelog: v1.0.9...v1.0.13
v1.0.9
v1.0.7
Support for multiple client instances
Version: 1.0.7
Release Date: May 16, 2024
Enhancements:
- Multiple Client Support: We are excited to announce that ASAAS API now supports the initialization of multiple client instances with distinct API keys. This improvement facilitates developers who need to manage multiple ASAAS accounts within the same project, ensuring that each instance operates independently without interference.
Technical Details:
- A new Axios instance is created for each ASAAS client to prevent the overriding of API keys between instances.
- Removed the default base URL test from Axios to support dynamic instances.
Acknowledgements:
Thanks to @thihxm for contributing to these enhancements and addressing the unexpected behavior in multiple client management.
For a detailed overview of the changes, please visit our GitHub repository here.