Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generated PR for Release: 37.0.1 #128

Merged
merged 1 commit into from
May 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading