Closed fishcakeday closed 3 months ago
The recent update introduces a refined approach to handling timestamps in functions related to fees and payments. By prioritizing the use of settledAt
over timestamp
, the system ensures more accurate time data for calculations, enhancing precision in fee and payment operations.
Files | Change Summary |
---|---|
.../eclair/fees.js , .../fees.ts |
- Use settledAt for timestamp if available- Update conditions for fee calculations based on new timestamp handling |
frontend/index.html |
- Updated main.js script source in index.html from main.4f7f075c33c518c3.js to main.1824016c5cb16488.js |
rtl.js |
- Added process event listener for 'SIGINT' to exit process in rtl.js |
src/app/app.component.html , src/app/app.component.ts |
- Restructured conditional blocks for improved readability and maintenance in app.component.ts and related HTML |
src/app/shared/components/node-config/services-settings/boltz-service-settings/boltz-service-settings.component.html |
- Updated hyperlink in alert message to https://docs.boltz.exchange/v/boltz-client/ in boltz-service-settings.component.html |
src/app/shared/directive/clipboard.directive.ts |
- Updated ClipboardDirective to check navigator.clipboard API availability for text copying |
src/app/shared/services/consts-enums-functions.ts |
- Updated VERSION constant to '0.15.1-beta' and added new enum value 'transaction.lockupFailed' = 'Lockup Transaction Failed'in consts-enums-functions.ts` |
🐰✨
In the land of code, where the data bytes roam,
A change was made, in the digital dome.
"UsesettledAt
, nottimestamp
," they said,
For accuracy's sake, in the code we thread.
Now fees and payments, with precision we pair,
Thanks to the rabbits, with utmost care. 🌟🐇
🥕🎉
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@fishcakeday Thank you for the PR :).
This small change fixes the compatibility with the current release of Eclair (0.10.0) by using the settledAt instead of timestamp for the new version. It is also backwards compatible, so it will work on 0.9.0 and below.
Summary by CodeRabbit
boltz-service-settings
component to point to the correct destination.app.component.ts
for improved code readability and maintainability.main.js
script source in theindex.html
file.rtl.js
.VERSION
constant and added a new enum value inconsts-enums-functions.ts
.ClipboardDirective
class to support different methods for copying text.