|
Ran
|
Jobs
2
|
Files
339
|
Run time
1min
|
Badge
README BADGES
|
push
github
chore: release new version 🚀 (#1144) This PR was opened by the [Changesets release](https://github.com/changesets/action) GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated. # Releases ## nostream@3.16.0 ### Minor Changes - [#1088](https://github.com/cameri/nostream/pull/1088) [`e1f92ad`](https://github.com/cameri/nostream/commit/e1f92adb9) Thanks [@Ferryx349](https://github.com/Ferryx349)! - feat(peering): deliver paid peering invoices and gate peer feeds Configured peers can request their BOLT11 invoice as a signed `kind 402` event and pay it through Relay B's existing processor. Feed `REQ`, `COUNT` and NIP-77 requests are refused with a payment-required reason until a paid period is active. Expired invoices are reissued after a cooldown, and a missed webhook is rechecked before access is denied. - [#1087](https://github.com/cameri/nostream/pull/1087) [`1d5c473`](https://github.com/cameri/nostream/commit/1d5c47304) Thanks [@Ferryx349](https://github.com/Ferryx349)! - feat(peering): add the paid peering billing ledger - [#1089](https://github.com/cameri/nostream/pull/1089) [`15de73a`](https://github.com/cameri/nostream/commit/15de73a62) Thanks [@Ferryx349](https://github.com/Ferryx349)! - feat(peering): renew, lapse and expose paid peering access The billing worker now issues renewal invoices before a period ends, rechecks pending payments before lapsing a peer, closes live peer sockets on lapse, and keeps stored events and sync state for a later resume. `GET /admin/peering` and the dashboard show billing status, access end, the open invoice and the last processor error. NEG-MSG rechecks paid access so an open NIP-77 session cannot keep syncing after the ... (continued)
5439 of 7451 branches covered (73.0%)
Branch coverage included in aggregate %.
11473 of 13890 relevant lines covered (82.6%)
677.21 hits per line
| ID | Job ID | Ran | Files | Coverage | |
|---|---|---|---|---|---|
| 1 | Unit - 43984976488.1 | 339 |
77.12
|
GitHub Action Run | |
| 2 | Integration - 43984976488.2 | 339 |
34.94
|
GitHub Action Run |
| Coverage | ∆ | File | Lines | Relevant | Covered | Missed | Hits/Line | Branch Hits | Branch Misses |
|---|