Skip to content

Add project structure section to README - #1805

Merged
K1NGD4VID merged 4 commits into
LabsCrypt:mainfrom
mskdylan:main
Oct 27, 2026
Merged

K1NGD4VID merged 4 commits into
LabsCrypt:mainfrom
mskdylan:main

Conversation

@mskdylan

@mskdylan mskdylan commented Oct 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

The original README-only change did not address the linked issues. This PR now carries the actual fix (implementation and regression tests reused from #1814):

  • useStreamingAmount: a non-finite or negative ratePerSecond is treated as 0, so NaN can never leak into the rendered claimable (drip) amount.
  • useSettings: persisted decimalPlaces, displayCurrency and amountFormat are validated on hydration and in the synchronous getters, falling back to the documented defaults (7, USD, full) for invalid stored values.
  • Regression tests covering streaming amount pause/rate boundaries, malformed and partial SSE frames, reconnect timer/listener cleanup, and invalid settings fallbacks.

Verification

  • Frontend lint: 0 errors
  • Frontend test suite: 1011 passed (89 files)
  • next build and bundle-size check: passed

Closes #1781
Closes #1782
Closes #1783
Closes #1784

@mskdylan mskdylan closed this Oct 24, 2026
@mskdylan mskdylan reopened this Oct 24, 2026
@mskdylan mskdylan closed this Oct 24, 2026
@mskdylan mskdylan reopened this Oct 27, 2026
mskdylan and others added 2 commits October 27, 2026 12:24
…lidate persisted settings

The README-only change was not the real fix. This lands the actual
implementation and regression tests from LabsCrypt#1814:

- useStreamingAmount: treat a non-finite or negative ratePerSecond as 0
  so NaN can never leak into the rendered claimable (drip) amount.
- useSettings: validate persisted decimalPlaces, displayCurrency and
  amountFormat on hydration and in the synchronous getters, falling back
  to the documented defaults (7, USD, full) for invalid stored values.
- Tests: streaming amount pause/rate boundary coverage, malformed and
  partial SSE frame recovery, reconnect timer/listener cleanup, and
  invalid settings fallback cases.

Closes LabsCrypt#1781
Closes LabsCrypt#1782
Closes LabsCrypt#1783
Closes LabsCrypt#1784

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@K1NGD4VID
K1NGD4VID merged commit 60a1606 into LabsCrypt:main Oct 27, 2026
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants