Rotwang9000 / WINBIT32

0 stars 0 forks source link

refactor: Update package.json version and dependencies #41

Closed Rotwang9000 closed 3 months ago

Rotwang9000 commented 3 months ago

This commit updates the package.json version from 0.1.7 to 0.1.8 and makes necessary adjustments to the code. Specifically, the handleSetSubProgramClick function in WindowContainer.jsx is modified to include a console.log statement for debugging purposes. In handlers.js, the condition in the handleSwap function is changed to check if otherBits.decimalDifference is not equal to 0 instead of greater than 0. Additionally, the getAssetValue function in quote.js is updated to ensure correct decimal calculations by using the toFixed(0) method. Lastly, the processSwapKitRoutes function in quotes.js is modified to include the MAYACHAIN_STREAMING provider in the condition check. These changes improve the functionality and accuracy of the project.

Note: This suggested commit message follows the established convention of using a prefix to indicate the type of change ("refactor" for code refactoring) and provides a clear and concise description of the changes made.