Skip to content

Commit

Permalink
-Version 2.0.0
Browse files Browse the repository at this point in the history
-PrintJobs now have ulong-size ids
-update logging abstraction to 6.0.0
  • Loading branch information
claytondus committed Feb 17, 2022
1 parent dea0d91 commit d595f20
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions src/Claytondus.PrintNode/Claytondus.PrintNode.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
<GenerateAssemblyConfigurationAttribute>false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCompanyAttribute>false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyProductAttribute>false</GenerateAssemblyProductAttribute>
<PackageVersion>1.0.1</PackageVersion>
<PackageVersion>2.0.0</PackageVersion>
<Description>.NET Standard PrintNode client</Description>
<Authors>PrintNode, Ltd. and Clayton Davis</Authors>
<Copyright>Copyright 2021 Clayton Davis. All rights reserved.</Copyright>
<Copyright>Copyright 2022 Clayton Davis. All rights reserved.</Copyright>
<PackageProjectUrl>https://github.com/claytondus/Claytondus.PrintNode</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
Expand All @@ -20,8 +20,8 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Flurl.Http" Version="3.2.0" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="3.1.15" />
<PackageReference Include="Flurl.Http" Version="3.2.2" />
<PackageReference Include="Microsoft.Extensions.Logging.Abstractions" Version="6.0.0" />
</ItemGroup>

<ItemGroup Condition=" '$(TargetFramework)' == 'net461' ">
Expand Down
2 changes: 1 addition & 1 deletion src/Claytondus.PrintNode/Models/PrintJob.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ namespace Claytondus.PrintNode.Models
{
public class PrintJob
{
public int? id { get; set; }
public ulong? id { get; set; }
public Printer? printer { get; set; }
public int? printerId { get; set; }
public string? title { get; set; }
Expand Down
4 changes: 2 additions & 2 deletions src/Claytondus.PrintNode/PrintNodeClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,10 @@ public async Task<IEnumerable<PrintJob>> GetPrintJobsAsync()
/// </summary>
/// <param name="job"></param>
/// <returns></returns>
public async Task<int> CreatePrintJobAsync(PrintJob job)
public async Task<ulong> CreatePrintJobAsync(PrintJob job)
{
const string resource = "/printjobs";
return await PostAsync<int>(resource, job);
return await PostAsync<ulong>(resource, job);
}

/// <summary>
Expand Down

0 comments on commit d595f20

Please sign in to comment.