diff --git a/veilid-flutter/lib/veilid_crypto.dart b/veilid-flutter/lib/veilid_crypto.dart index b7978c84..17ee4b5f 100644 --- a/veilid-flutter/lib/veilid_crypto.dart +++ b/veilid-flutter/lib/veilid_crypto.dart @@ -131,6 +131,7 @@ class TypedKeyPair extends Equatable { String toString() => '${cryptoKindToString(kind)}:$key:$secret'; String toJson() => toString(); + KeyPair toKeyPair() => KeyPair(key: key, secret: secret); } typedef CryptoKey = FixedEncodedString43; diff --git a/veilid-flutter/packages/veilid_test/pubspec.yaml b/veilid-flutter/packages/veilid_test/pubspec.yaml index daea7828..8e0efa62 100644 --- a/veilid-flutter/packages/veilid_test/pubspec.yaml +++ b/veilid-flutter/packages/veilid_test/pubspec.yaml @@ -9,7 +9,7 @@ environment: # Add regular dependencies here. dependencies: - async_tools: ^0.1.0 + async_tools: ^0.1.1 veilid: path: ../..