WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Releases: eduardobernardo/asaas

v1.1.0 - Error Logging Control

29 Mar 21:45

Choose a tag to compare

🎉 New Features

  • Added printError option to control automatic error logging behavior
  • Users can now disable automatic error logging by setting printError: false in 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 AsaasOptions interface to include printError flag
  • 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@latest

v1.0.13

17 Nov 19:02

Choose a tag to compare

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

19 Jul 13:05

Choose a tag to compare

What's Changed

  • Listagem de transações Pix by @jpdev01 in #4
  • Add suport for callback in payments and subscriptions by @diyst in #6
  • Recuperação de Pix, cancelamento e criação de QR Code estático by @jpdev01 in #5

New Contributors

Full Changelog: v1.0.7...v1.0.9

v1.0.7

16 May 23:24
c5a8f96

Choose a tag to compare

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.