• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

cameri / nostream / 28326958245
67%

Build:
DEFAULT BRANCH: main
Ran 28 Jun 2026 03:28PM UTC
Jobs 2
Files 149
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jun 2026 03:26PM UTC coverage: 67.195% (+0.09%) from 67.106%
28326958245

push

github

web-flow
feat: add NIP-43 invite code foundation (#650)

* feat: add NIP-43 invite code foundation

- Add event kinds 8000, 8001, 13534, 28934, 28935, 28936 and tags (member, claim)
- Create InviteCode/DBInviteCode types and Nip43Settings interface
- Add IInviteCodeRepository interface with create, findByCode, claimCode, findActiveCodes, deleteExpiredCodes
- Implement InviteCodeRepository with atomic claimCode via single UPDATE
- Add generateInviteCode() using crypto.randomBytes (128-bit entropy)
- Create invite_codes migration with CHECK constraints and partial index
- Add revokeAdmission() and findAllAdmitted() to UserRepository
- Add 27 unit tests with full coverage

* refactor(nip43): address PR review feedback on invite codes

Signed-off-by: anshumancanrock <anshu.1239.as@gmail.com>

---------

Signed-off-by: anshumancanrock <anshu.1239.as@gmail.com>

1951 of 3248 branches covered (60.07%)

Branch coverage included in aggregate %.

35 of 40 new or added lines in 1 file covered. (87.5%)

4409 of 6217 relevant lines covered (70.92%)

19.73 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
81.54
src/repositories/invite-code-repository.ts
Jobs
ID Job ID Ran Files Coverage
1 Unit - 28326958245.1 28 Jun 2026 03:28PM UTC 149
64.05
GitHub Action Run
2 Integration - 28326958245.2 28 Jun 2026 03:29PM UTC 149
34.9
GitHub Action Run
Source Files on build 28326958245
  • Tree
  • List 149
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28326958245
  • 3461dfee on github
  • Prev Build on main (#28325548139)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc