vechain / vechain-sdk-js

The official JavaScript SDK for VeChain.
22 stars 6 forks source link

Replace axios with fetch #1050

Closed victhorbi closed 1 week ago

victhorbi commented 3 weeks ago

Context It was raised by the VeWorld team, that the migration to the SDK is currently very difficult as of today. The VeWorld team was aiming to have a transition in which both thor-devkit and vechain-sdk are used, which is currently impossible for a conflict on some axios dependencies.

Description Investigate the rationale for the choice of axios vs fetch. Estimate the work required for migrating to fetch.

victhorbi commented 3 weeks ago

@Valazan just confirmed that fetch is now available not only for the browser, but also in node.js (from version 18) and can be replaced. We could probably consider moving to fetch.