Skip to content

Request Handling Enhancements and Version Updates #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 4, 2025
Merged

Conversation

Ho3einWave
Copy link
Member

This pull request includes several updates to the package.json file, enhancements to the request handling in src/core/request.ts, and a minor fix in src/utils/convert.ts. The most important changes are summarized below:

Dependency and Version Updates:

  • package.json: Updated the version from 1.1.1 to 1.1.2.
  • package.json: Replaced the @lifeomic/attempt dependency with axios-retry and re-ordered the dependencies.

Request Handling Enhancements:

  • src/core/request.ts: Introduced axios-retry for retry logic, replacing the @lifeomic/attempt package. Added an interceptor to transform the response data based on the base URL. [1] [2] [3]

Constants Update:

Utility Function Fix:

  • src/utils/convert.ts: Fixed a bug in the toNano function by ensuring the logarithm result is parsed correctly before comparison.

@Ho3einWave Ho3einWave merged commit 2fbfd0f into main Jan 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant