Skip to content

Commit

Permalink
fix: rename "header" => "headers" in manifest (#91)
Browse files Browse the repository at this point in the history
the latest version of the runtime no longer recognizes "header"
  • Loading branch information
mhmd-azeez authored Jul 2, 2024
1 parent 0bb8a2a commit 60b2bcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Extism.Sdk/Manifest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public UrlWasmSource(Uri url, string? name = null, string? hash = null)
/// <summary>
/// HTTP headers
/// </summary>
[JsonPropertyName("header")]
[JsonPropertyName("headers")]
public Dictionary<string, string> Headers { get; set; } = new();

/// <summary>
Expand Down
2 changes: 1 addition & 1 deletion test/Extism.Sdk/Extism.Sdk.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Extism.runtime.all" Version="1.2.0" />
<PackageReference Include="Extism.runtime.all" Version="1.4.1" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.10.0" />
<PackageReference Include="Shouldly" Version="4.2.1" />
<PackageReference Include="xunit" Version="2.8.1" />
Expand Down

0 comments on commit 60b2bcf

Please sign in to comment.