Skip to content

Request Handling Enhancements and Version Updates#10

Merged
Ho3einWave merged 4 commits intomainfrom
develop
Jan 4, 2025
Merged

Request Handling Enhancements and Version Updates#10
Ho3einWave merged 4 commits intomainfrom
develop

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