Making nip05 client stable
This commit is contained in:
+2
@@ -20,6 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
package com.vitorpamplona.quartz.nip05DnsIdentifiers
|
package com.vitorpamplona.quartz.nip05DnsIdentifiers
|
||||||
|
|
||||||
|
import androidx.compose.runtime.Stable
|
||||||
import com.vitorpamplona.quartz.nip01Core.core.HexKey
|
import com.vitorpamplona.quartz.nip01Core.core.HexKey
|
||||||
import com.vitorpamplona.quartz.nip05DnsIdentifiers.namecoin.NamecoinNameResolver
|
import com.vitorpamplona.quartz.nip05DnsIdentifiers.namecoin.NamecoinNameResolver
|
||||||
import kotlinx.coroutines.CancellationException
|
import kotlinx.coroutines.CancellationException
|
||||||
@@ -29,6 +30,7 @@ data class Nip05KeyInfo(
|
|||||||
val relays: List<String>,
|
val relays: List<String>,
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@Stable
|
||||||
class Nip05Client(
|
class Nip05Client(
|
||||||
val fetcher: Nip05Fetcher,
|
val fetcher: Nip05Fetcher,
|
||||||
val namecoinResolver: NamecoinNameResolver? = null,
|
val namecoinResolver: NamecoinNameResolver? = null,
|
||||||
|
|||||||
Reference in New Issue
Block a user