Skip to content

feat: add JWT refresh tests, sell transaction logging, and XLM delta formatter - #714

Merged
Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
zoffunjunior381-jpg:feat/issues-704-705-706
Jul 29, 2026
Merged

feat: add JWT refresh tests, sell transaction logging, and XLM delta formatter#714
Chucks1093 merged 1 commit into
accesslayerorg:mainfrom
zoffunjunior381-jpg:feat/issues-704-705-706

Conversation

@zoffunjunior381-jpg

@zoffunjunior381-jpg zoffunjunior381-jpg commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Test plan

  • pnpm exec tsc --noEmit passes with no errors
  • pnpm exec eslint passes on all changed/new files
  • New unit tests pass: formatXlmDelta (8 tests), logSellTransactionConfirmed (4 tests), refreshAccessToken (7 tests)
  • Full pnpm test run shows no new regressions vs. main (pre-existing integration test failures that require a live Postgres database, e.g. creator-holders-404.test.ts, price-snapshot.integration.test.ts, are unrelated to this change and out of scope — they fail identically on main without a DB connection)

Closes #704
Closes #705
Closes #706
Closes #711

…formatter

- Implement stateless JWT refresh (sign/verify + refresh-window logic) and
  add unit tests covering in-window refresh, out-of-window rejection,
  expired-token rejection, sub preservation, and stateless old-token validity.
- Add structured info log emitted after a sell transaction is confirmed
  on-chain, wired into the indexer pipeline, with seller/creator wallet,
  key amount, XLM received, new supply, tx hash, and confirmation time.
- Add formatXlmDelta bigint helper for signed XLM delta strings and apply
  it to the wallet activity (transaction history) serializer.

Closes accesslayerorg#704
Closes accesslayerorg#705
Closes accesslayerorg#706
@drips-wave

drips-wave Bot commented Jul 28, 2026

Copy link
Copy Markdown

@zoffunjunior381-jpg Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Chucks1093
Chucks1093 merged commit 5f5a29e into accesslayerorg:main Jul 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment