Skip to content

Commit

Permalink
Merge pull request #128 from square/release/37.0.1
Browse files Browse the repository at this point in the history
Generated PR for Release: 37.0.1
  • Loading branch information
jessemartin authored May 15, 2024
2 parents b69d794 + ab1d1d8 commit 21ca3ef
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 17 deletions.
20 changes: 10 additions & 10 deletions Square.sln
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26430.14
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Square", "Square/Square.csproj", "{6c4b5924-fd38-48fe-8c8b-d369556ee19a}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Square", "Square/Square.csproj", "{04ef846f-c031-47c3-9e43-852ccc489976}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Square.Tests", "Square.Tests/Square.Tests.csproj", "{62caf792-09fd-43b0-abc2-f1c0ebd2e033}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Square.Tests", "Square.Tests/Square.Tests.csproj", "{3758b384-176e-452a-8d49-79fc2fcc1a47}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{6c4b5924-fd38-48fe-8c8b-d369556ee19a}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6c4b5924-fd38-48fe-8c8b-d369556ee19a}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6c4b5924-fd38-48fe-8c8b-d369556ee19a}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6c4b5924-fd38-48fe-8c8b-d369556ee19a}.Release|Any CPU.Build.0 = Release|Any CPU
{62caf792-09fd-43b0-abc2-f1c0ebd2e033}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{62caf792-09fd-43b0-abc2-f1c0ebd2e033}.Debug|Any CPU.Build.0 = Debug|Any CPU
{62caf792-09fd-43b0-abc2-f1c0ebd2e033}.Release|Any CPU.ActiveCfg = Release|Any CPU
{62caf792-09fd-43b0-abc2-f1c0ebd2e033}.Release|Any CPU.Build.0 = Release|Any CPU
{04ef846f-c031-47c3-9e43-852ccc489976}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{04ef846f-c031-47c3-9e43-852ccc489976}.Debug|Any CPU.Build.0 = Debug|Any CPU
{04ef846f-c031-47c3-9e43-852ccc489976}.Release|Any CPU.ActiveCfg = Release|Any CPU
{04ef846f-c031-47c3-9e43-852ccc489976}.Release|Any CPU.Build.0 = Release|Any CPU
{3758b384-176e-452a-8d49-79fc2fcc1a47}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{3758b384-176e-452a-8d49-79fc2fcc1a47}.Debug|Any CPU.Build.0 = Debug|Any CPU
{3758b384-176e-452a-8d49-79fc2fcc1a47}.Release|Any CPU.ActiveCfg = Release|Any CPU
{3758b384-176e-452a-8d49-79fc2fcc1a47}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
6 changes: 3 additions & 3 deletions Square/Square.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<AssemblyName>Square</AssemblyName>
<Version>37.0.0.0</Version>
<Version>37.0.1.0</Version>
<Authors>Square Developer Platform</Authors>
<Owners>Square Developer Platform</Owners>
<Product>Square</Product>
<Copyright>Copyright © 2019</Copyright>
<AssemblyVersion>37.0.0.0</AssemblyVersion>
<FileVersion>37.0.0.0</FileVersion>
<AssemblyVersion>37.0.1.0</AssemblyVersion>
<FileVersion>37.0.1.0</FileVersion>
<Description>.NET client library for the Square API</Description>
<LangVersion>7.3</LangVersion>
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
Expand Down
8 changes: 4 additions & 4 deletions Square/SquareClient.cs
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ public sealed class SquareClient : ISquareClient
};

private readonly GlobalConfiguration globalConfiguration;
private const string userAgent = "Square-DotNet-SDK/37.0.0 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}";
private const string userAgent = "Square-DotNet-SDK/37.0.1 ({api-version}) {engine}/{engine-version} ({os-info}) {detail}";
private readonly HttpCallBack httpCallBack;
private readonly IDictionary<string, List<string>> additionalHeaders;
private readonly Lazy<IMobileAuthorizationApi> mobileAuthorization;
Expand Down Expand Up @@ -420,7 +420,7 @@ private SquareClient(
/// <summary>
/// Gets the current version of the SDK.
/// </summary>
public string SdkVersion => "37.0.0";
public string SdkVersion => "37.0.1";

/// <summary>
/// Gets the configuration of the Http Client associated with this client.
Expand Down Expand Up @@ -557,13 +557,13 @@ internal static SquareClient CreateFromEnvironment()

private void SetupAdditionalHeaders(AdditionalHeaderParams additionalHeaderParams)
{
if (additionalHeaders != null)
if (additionalHeaders == null)
{
return;
}
foreach (var entry in additionalHeaders)
{
additionalHeaderParams.Setup(entry.Key, entry.Value);
additionalHeaderParams.Setup(entry.Key, string.Join(", ", entry.Value));
}
}

Expand Down

0 comments on commit 21ca3ef

Please sign in to comment.