Skip to content

nip46 bunkers usecase#213

Merged
frnandu merged 12 commits intonip46-event-signerfrom
nip46-event-signer-unify
Aug 9, 2025
Merged

nip46 bunkers usecase#213
frnandu merged 12 commits intonip46-event-signerfrom
nip46-event-signer-unify

Conversation

@frnandu
Copy link
Collaborator

@frnandu frnandu commented Aug 6, 2025

No description provided.

@codecov
Copy link

codecov bot commented Aug 6, 2025

Codecov Report

❌ Patch coverage is 2.03046% with 193 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (nip46-event-signer@7c0eac0). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...layer/repositories/signers/nip46_event_signer.dart 0.00% 88 Missing ⚠️
...ndk/lib/domain_layer/usecases/bunkers/bunkers.dart 1.31% 75 Missing ⚠️
...n_layer/usecases/bunkers/models/nostr_connect.dart 0.00% 18 Missing ⚠️
...k/lib/domain_layer/usecases/accounts/accounts.dart 0.00% 8 Missing ⚠️
...yer/usecases/bunkers/models/bunker_connection.dart 0.00% 3 Missing ⚠️
packages/ndk/lib/presentation_layer/ndk.dart 0.00% 1 Missing ⚠️
Additional details and impacted files
@@                  Coverage Diff                  @@
##             nip46-event-signer     #213   +/-   ##
=====================================================
  Coverage                      ?   67.83%           
=====================================================
  Files                         ?      124           
  Lines                         ?     4393           
  Branches                      ?        0           
=====================================================
  Hits                          ?     2980           
  Misses                        ?     1413           
  Partials                      ?        0           

☔ 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.

@frnandu frnandu changed the title bunkers usecase nip46 bunkers usecase Aug 6, 2025
@frnandu frnandu marked this pull request as ready for review August 6, 2025 22:33
@frnandu frnandu requested review from 1-leo and nogringo August 6, 2025 22:33
@frnandu frnandu mentioned this pull request Aug 6, 2025
await ndk.accounts.loginWithBunkerUrl(
bunkerUrl:
"bunker://a1fe3664f7a2b24db97e5b63869e8011c947f9abd8c03f98befafd27c38467d2?relay=wss://relay.nsec.app&secret=devsecret123",
bunkers: ndk.bunkers);
Copy link
Contributor

Choose a reason for hiding this comment

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

can we pass in the bunkers usecase by default?

Copy link
Collaborator Author

@frnandu frnandu Aug 8, 2025

Choose a reason for hiding this comment

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

You mean in the accounts? It causes circular dependency. Do you have an idea how to solve that?

Copy link
Contributor

Choose a reason for hiding this comment

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

Hmm i suspected this is the reason. I need a closer look, mabye with a factory

@frnandu frnandu merged commit b8a28f3 into nip46-event-signer Aug 9, 2025
1 check 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

Development

Successfully merging this pull request may close these issues.

3 participants