Skip to content

Wotathon nip-85#375

Draft
nogringo wants to merge 7 commits intomasterfrom
wotathon
Draft

Wotathon nip-85#375
nogringo wants to merge 7 commits intomasterfrom
wotathon

Conversation

@nogringo
Copy link
Collaborator

No description provided.

@nogringo nogringo marked this pull request as draft January 21, 2026 10:22
@nogringo nogringo requested a review from 1-leo January 21, 2026 10:37
@nogringo nogringo self-assigned this Jan 24, 2026
@codecov
Copy link

codecov bot commented Feb 10, 2026

Codecov Report

❌ Patch coverage is 21.66172% with 264 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.86%. Comparing base (c4dd943) to head (d42f473).

Files with missing lines Patch % Lines
...b/domain_layer/usecases/ta/trusted_assertions.dart 17.15% 227 Missing ⚠️
packages/ndk/lib/domain_layer/entities/nip_85.dart 36.20% 37 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #375      +/-   ##
==========================================
- Coverage   76.54%   73.86%   -2.69%     
==========================================
  Files         152      154       +2     
  Lines        6377     6714     +337     
==========================================
+ Hits         4881     4959      +78     
- Misses       1496     1755     +259     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Copy link
Contributor

@1-leo 1-leo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you tested the need for dedicated caching, or is the events cache sufficient for this?

}

// Close subscriptions when stream is cancelled
controller.onCancel = () async {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should also close all on close

/// [providers] - Optional list of providers to use. If null, uses default providers.
///
/// Returns [Nip85UserMetrics] or null if no assertion found.
Future<Nip85UserMetrics?> getUserMetrics(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the default could be the streaming method and the future could be just a stream.toList()

@1-leo 1-leo changed the title Wotathon Wotathon nip-85 Mar 11, 2026
@1-leo
Copy link
Contributor

1-leo commented Mar 11, 2026

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants