Skip to content

Commit 1910290

Browse files
committed
Upgrade .NET SDK to spec 2.20.8-nightly.1
1 parent b7b88af commit 1910290

5 files changed

Lines changed: 16 additions & 16 deletions

File tree

src/VRChat.API/Api/MiscellaneousApi.cs

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1235,6 +1235,12 @@ public VRChat.API.Client.ApiResponse<List<InfoPush>> GetInfoPushWithHttpInfo(str
12351235
localVarRequestOptions.QueryParameters.Add(VRChat.API.Client.ClientUtils.ParameterToMultiMap("", "include", include));
12361236
}
12371237

1238+
// authentication (authCookie) required
1239+
// cookie parameter support
1240+
if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth")))
1241+
{
1242+
localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "api.vrchat.cloud"));
1243+
}
12381244

12391245
// make the HTTP request
12401246
var localVarResponse = this.Client.Get<List<InfoPush>>("/infoPush", localVarRequestOptions, this.Configuration);
@@ -1299,6 +1305,12 @@ public async System.Threading.Tasks.Task<List<InfoPush>> GetInfoPushAsync(string
12991305
localVarRequestOptions.QueryParameters.Add(VRChat.API.Client.ClientUtils.ParameterToMultiMap("", "include", include));
13001306
}
13011307

1308+
// authentication (authCookie) required
1309+
// cookie parameter support
1310+
if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth")))
1311+
{
1312+
localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "api.vrchat.cloud"));
1313+
}
13021314

13031315
// make the HTTP request
13041316

src/VRChat.API/Api/WorldsApi.cs

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2925,12 +2925,6 @@ public VRChat.API.Client.ApiResponse<WorldMetadata> GetWorldMetadataWithHttpInfo
29252925

29262926
localVarRequestOptions.PathParameters.Add("worldId", VRChat.API.Client.ClientUtils.ParameterToString(worldId)); // path parameter
29272927

2928-
// authentication (authCookie) required
2929-
// cookie parameter support
2930-
if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth")))
2931-
{
2932-
localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "api.vrchat.cloud"));
2933-
}
29342928

29352929
// make the HTTP request
29362930
var localVarResponse = this.Client.Get<WorldMetadata>("/worlds/{worldId}/metadata", localVarRequestOptions, this.Configuration);
@@ -2992,12 +2986,6 @@ public async System.Threading.Tasks.Task<WorldMetadata> GetWorldMetadataAsync(st
29922986

29932987
localVarRequestOptions.PathParameters.Add("worldId", VRChat.API.Client.ClientUtils.ParameterToString(worldId)); // path parameter
29942988

2995-
// authentication (authCookie) required
2996-
// cookie parameter support
2997-
if (!string.IsNullOrEmpty(this.Configuration.GetApiKeyWithPrefix("auth")))
2998-
{
2999-
localVarRequestOptions.Cookies.Add(new Cookie("auth", this.Configuration.GetApiKeyWithPrefix("auth"), "/", "api.vrchat.cloud"));
3000-
}
30012989

30022990
// make the HTTP request
30032991

src/VRChat.API/Client/Configuration.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class Configuration : IReadableConfiguration
3333
/// Version of the package.
3434
/// </summary>
3535
/// <value>Version of the package.</value>
36-
public const string Version = "2.20.7";
36+
public const string Version = "2.20.8-nightly.1";
3737

3838
/// <summary>
3939
/// Identifier for ISO 8601 DateTime Format
@@ -540,7 +540,7 @@ public static string ToDebugReport()
540540
report += " OS: " + System.Environment.OSVersion + "\n";
541541
report += " .NET Framework Version: " + System.Environment.Version + "\n";
542542
report += " Version of the API: 1.20.7\n";
543-
report += " SDK Package Version: 2.20.7\n";
543+
report += " SDK Package Version: 2.20.8-nightly.1\n";
544544

545545
return report;
546546
}

src/VRChat.API/VRChat.API.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Description>VRChat API Library for .NET</Description>
1313
<Copyright>Copyright © 2021 Owners of GitHub organisation "vrchatapi" and individual contributors.</Copyright>
1414
<RootNamespace>VRChat.API</RootNamespace>
15-
<Version>2.20.7</Version>
15+
<Version>2.20.8-nightly.1</Version>
1616
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\VRChat.API.xml</DocumentationFile>
1717
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1818
<RepositoryUrl>https://github.com/vrchatapi/vrchatapi-csharp.git</RepositoryUrl>

wrapper/VRChat.API.Extensions.Hosting/VRChat.API.Extensions.Hosting.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<Description>Extensions for hosting and dependency injection for the VRChat API Library for .NET</Description>
1313
<Copyright>Copyright © 2021 Owners of GitHub organisation "vrchatapi" and individual contributors.</Copyright>
1414
<RootNamespace>VRChat.API.Extensions.Hosting</RootNamespace>
15-
<Version>2.20.7</Version>
15+
<Version>2.20.8-nightly.1</Version>
1616
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\VRChat.API.Extensions.Hosting.xml</DocumentationFile>
1717
<PackageLicenseExpression>MIT</PackageLicenseExpression>
1818
<RepositoryUrl>https://github.com/vrchatapi/vrchatapi-csharp.git</RepositoryUrl>

0 commit comments

Comments
 (0)