mirror of
https://github.com/yawaflua/SPWorlds.git
synced 2025-12-08 19:49:28 +02:00
so many fixes
This commit is contained in:
@@ -2,10 +2,11 @@
|
||||
using SPWorldsApi.Utils;
|
||||
using System.Text.Json;
|
||||
using System.Text.Json.Nodes;
|
||||
using SPWorldsApi.Users;
|
||||
|
||||
namespace SPWorldsApi.Payments
|
||||
{
|
||||
public interface IPaymentWrapper
|
||||
public class PaymentWrapper : UserWrapper
|
||||
{
|
||||
HttpClient.HttpRequest client { get; set; }
|
||||
|
||||
@@ -7,7 +7,7 @@ using System.Text;
|
||||
|
||||
namespace SPWorldsApi
|
||||
{
|
||||
public sealed class SPWorlds : IPaymentWrapper, IUserWrapper
|
||||
public sealed class SPWorlds : PaymentWrapper
|
||||
{
|
||||
internal string token { get; }
|
||||
public HttpRequest client { get; set; }
|
||||
|
||||
@@ -10,7 +10,7 @@ using System.Threading.Tasks;
|
||||
|
||||
namespace SPWorldsApi.Users
|
||||
{
|
||||
public interface IUserWrapper
|
||||
public class UserWrapper
|
||||
{
|
||||
HttpClient.HttpRequest client { get; set; }
|
||||
internal async Task<string> SendRequest(string endpoint, HttpMethod method = null, object body = null)
|
||||
@@ -8,7 +8,7 @@
|
||||
<PackageId>spworlds-api</PackageId>
|
||||
<Description>Библиотека, созданная для облегчения работы с API сайта spworlds.ru . Что-то добавить или обновить можно в github проекта.</Description>
|
||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||
<Version>1.0.2</Version>
|
||||
<Version>1.0.3</Version>
|
||||
<Authors>yawaflua</Authors>
|
||||
<Company>yawaflua</Company>
|
||||
<RepositoryUrl>https://github.com/yawaflua/SPWorlds</RepositoryUrl>
|
||||
|
||||
Reference in New Issue
Block a user