diff --git a/lib/nostr/core/key_pairs.dart b/lib/nostr/core/key_pairs.dart index f7fb705..cfd8c98 100644 --- a/lib/nostr/core/key_pairs.dart +++ b/lib/nostr/core/key_pairs.dart @@ -46,7 +46,7 @@ class NostrKeyPairs extends Equatable { /// This will verify a [signature] for a [message] with the [public] key. static bool verify( - String? pubkey, + String pubkey, String message, String signature, ) { diff --git a/pubspec.yaml b/pubspec.yaml index 261f0d3..30fb09e 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -7,7 +7,7 @@ environment: sdk: ">=3.0.0 <=3.9.9" dependencies: - bip340: ^0.1.0 + bip340: ^0.3.0 equatable: ^2.0.5 convert: ^3.1.1 crypto: ^3.0.2 @@ -18,10 +18,10 @@ dependencies: hex: ^0.2.0 bip32_bip44: ^1.0.0 bip39: ^1.0.6 - web_socket_channel: ^2.4.0 + web_socket_channel: ^3.0.3 dev_dependencies: # dart_code_metrics: ^5.7.6 lints: test: - very_good_analysis: ^5.1.0 + very_good_analysis: ^10.0.0