diff --git a/src/UnityNuGet/RegistryCache.cs b/src/UnityNuGet/RegistryCache.cs index d9c16dce..7e04ef01 100644 --- a/src/UnityNuGet/RegistryCache.cs +++ b/src/UnityNuGet/RegistryCache.cs @@ -1078,6 +1078,7 @@ private static UnityPackage CreateUnityPackage(NpmPackageInfo npmPackageInfo, Np var unityPackage = new UnityPackage { Name = npmPackageInfo.Name, + DisplayName = npmPackageVersion.DisplayName, Version = npmPackageVersion.Version, Description = npmPackageInfo.Description, Unity = npmPackageVersion.Unity diff --git a/src/UnityNuGet/UnityPackage.cs b/src/UnityNuGet/UnityPackage.cs index 6dbf0732..ae6be33d 100644 --- a/src/UnityNuGet/UnityPackage.cs +++ b/src/UnityNuGet/UnityPackage.cs @@ -17,6 +17,9 @@ public UnityPackage() [JsonProperty("name")] public string? Name { get; set; } + [JsonProperty("displayName")] + public string? DisplayName { get; set; } + [JsonProperty("version")] public string? Version { get; set; }