upd nostr lib

This commit is contained in:
Kukks
2023-08-18 12:23:19 +02:00
parent 4483806f82
commit ed26b33f26
3 changed files with 4 additions and 7 deletions

View File

@@ -11,7 +11,7 @@
<PropertyGroup> <PropertyGroup>
<Product>Nostr </Product> <Product>Nostr </Product>
<Description>Allows you to verify your nostr account with NIP5 and zap like the rest of the crazies</Description> <Description>Allows you to verify your nostr account with NIP5 and zap like the rest of the crazies</Description>
<Version>1.0.14</Version> <Version>1.0.15</Version>
</PropertyGroup> </PropertyGroup>
<!-- Plugin development properties --> <!-- Plugin development properties -->
<PropertyGroup> <PropertyGroup>
@@ -35,7 +35,7 @@
<ProjectReference Include="..\..\submodules\btcpayserver\BTCPayServer\BTCPayServer.csproj" /> <ProjectReference Include="..\..\submodules\btcpayserver\BTCPayServer\BTCPayServer.csproj" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="NNostr.Client" Version="0.0.33" /> <PackageReference Include="NNostr.Client" Version="0.0.34" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Folder Include="Resources" /> <Folder Include="Resources" />

View File

@@ -43,7 +43,7 @@
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="NNostr.Client" Version="0.0.33" /> <PackageReference Include="NNostr.Client" Version="0.0.34" />
<PackageReference Include="WabiSabi" Version="1.0.1.2" /> <PackageReference Include="WabiSabi" Version="1.0.1.2" />
</ItemGroup> </ItemGroup>
<Target Name="DeleteExampleFile" AfterTargets="Publish"> <Target Name="DeleteExampleFile" AfterTargets="Publish">

View File

@@ -16,10 +16,7 @@ public class WabisabiCoordinatorSettings
public List<DiscoveredCoordinator> DiscoveredCoordinators { get; set; } = new(); public List<DiscoveredCoordinator> DiscoveredCoordinators { get; set; } = new();
public ECPrivKey GetKey() public ECPrivKey GetKey() => string.IsNullOrEmpty(NostrIdentity) ? null : NostrExtensions.ParseKey(NostrIdentity);
{
return string.IsNullOrEmpty(NostrIdentity) ? null : NostrExtensions.ParseKey(NostrIdentity);
}
public ECXOnlyPubKey GetPubKey() => GetKey()?.CreatePubKey().ToXOnlyPubKey(); public ECXOnlyPubKey GetPubKey() => GetKey()?.CreatePubKey().ToXOnlyPubKey();
public Uri UriToAdvertise { get; set; } public Uri UriToAdvertise { get; set; }