Skip to content

Commit

Permalink
Bump version;
Browse files Browse the repository at this point in the history
  • Loading branch information
k-karuna committed Aug 26, 2022
1 parent bbb197a commit db84fde
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 6 deletions.
8 changes: 2 additions & 6 deletions Beacon.Sdk/Beacon.Sdk.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<Authors>Mikhail Tatarenko</Authors>
<Product>Beacon.Sdk</Product>
<Description>Beacon .NET SDK for Tezos wallet developers to seamlessly connect to multiple dApps.</Description>
<Version>0.0.7</Version>
<Version>1.0.0</Version>
<Copyright>Copyright © Baking Bad 2019-2021</Copyright>
<Nullable>enable</Nullable>
<TargetFramework>netstandard2.0</TargetFramework>
Expand All @@ -26,11 +26,7 @@
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="5.0.0" />
<PackageReference Include="Netezos" Version="2.4.6" />
<PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
<!-- <PackageReference Include="libsodium" Version="1.0.18.2" />-->
<PackageReference Include="Sodium.Core" Version="1.3.1" />
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\..\matrix-dotnet-sdk\Matrix.Sdk\Matrix.Sdk.csproj" />
<PackageReference Include="Matrix.Sdk" Version="1.0.0" />
</ItemGroup>
</Project>
20 changes: 20 additions & 0 deletions Beacon.Sdk/Beacon/Permission/BeaconHelper.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
using System.Collections.Generic;
using System.Linq;

namespace Beacon.Sdk.Beacon.Permission
{
public static class BeaconHelper
{
public static List<string> GetPermissionStrings(IEnumerable<PermissionScope> permissions)
{
return permissions.Select(p => p switch
{
PermissionScope.sign => "Sign transactions",
PermissionScope.operation_request => "Operation request",
PermissionScope.encrypt => "Encrypt",
PermissionScope.threshold => "Treshold",
_ => "Unknown permission"
}).ToList();
}
}
}

0 comments on commit db84fde

Please sign in to comment.