Add outbound NIP-17 private messaging: build the kind-14 rumor -> kind-13 seal -> kind-1059 gift wrap chain on the existing NIP-44 primitives, wrapped in NostrDmActor (WrapDirectMessage/GiftWrapped). Publishing is left to NostrPublishActor. Extract nostrEventId() from signNostrEvent so the unsigned rumor can compute its id without a signature. Export the new actor and nip17 helpers. Add a round-trip test (wrap -> unwrap) and a negative decryption test. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
14 lines
471 B
Dart
14 lines
471 B
Dart
export 'src/file_actor.dart';
|
|
export 'src/relay_connection.dart';
|
|
export 'src/nostr_publish_actor.dart';
|
|
export 'src/nostr_fetch_actor.dart';
|
|
export 'src/nostr_signer_actor.dart';
|
|
export 'src/geo_actor.dart';
|
|
export 'src/file_upload_actor.dart';
|
|
export 'src/file_download_actor.dart';
|
|
export 'src/nostr_account_actor.dart';
|
|
export 'src/nip46_signer_actor.dart';
|
|
export 'src/nip19.dart';
|
|
export 'src/nip05.dart';
|
|
export 'src/nip17.dart';
|
|
export 'src/nostr_dm_actor.dart';
|