diff --git a/.gitignore b/.gitignore index 25c944c..b3a7da8 100644 --- a/.gitignore +++ b/.gitignore @@ -262,4 +262,5 @@ paket-files/ # Python Tools for Visual Studio (PTVS) __pycache__/ -*.pyc \ No newline at end of file +*.pyc +.DS_Store \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index fe13527..6ce775e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [4.0.1] +### Fixed +- https://github.com/imagekit-developer/imagekit-dotnet/issues/50 + ## [4.0.0] ### Fixed - https://github.com/imagekit-developer/imagekit-dotnet/issues/37 diff --git a/ImageKitSample/Program.cs b/ImageKitSample/Program.cs index da9ea27..58e91f1 100644 --- a/ImageKitSample/Program.cs +++ b/ImageKitSample/Program.cs @@ -12,6 +12,7 @@ namespace ImagekitSample using Imagekit.Models; using Imagekit.Models.Response; using Imagekit.Sdk; + using Newtonsoft.Json.Linq; using static Imagekit.Models.CustomMetaDataFieldSchemaObject; internal class Program @@ -483,10 +484,10 @@ static void Main(string[] args) //Delete Custom MetaData ResultNoContent resultNoContentDel = imagekit.DeleteCustomMetaDataField("field_id"); - /// Get Authentication Token - var authenticationParameters = imagekit.GetAuthenticationParameters("your_token"); - Console.WriteLine("Authentication Parameters: {0}", JToken.FromObject(authenticationParameters).ToString()); - #endregion - } + // Get Authentication Token + var authenticationParameters = imagekit.GetAuthenticationParameters("your_token"); + Console.WriteLine("Authentication Parameters: {0}", JToken.FromObject(authenticationParameters).ToString()); + #endregion + } } } diff --git a/Imagekit/Imagekit.csproj b/Imagekit/Imagekit.csproj index a65b4e5..3dd1c3b 100644 --- a/Imagekit/Imagekit.csproj +++ b/Imagekit/Imagekit.csproj @@ -17,10 +17,10 @@ Library to Integrate Imagekit.io Service. Imagekit true - 4.0.0 + 4.0.1 true false - 4.0.0 + 4.0.1 git@github.com:imagekit-developer/imagekit-dotnet.git true -Fixes diff --git a/Imagekit/Util/Constants.cs b/Imagekit/Util/Constants.cs index 0c66edc..ee28c2a 100644 --- a/Imagekit/Util/Constants.cs +++ b/Imagekit/Util/Constants.cs @@ -21,6 +21,6 @@ public static class Constants public const string UploadApiHost = "dasdasd.sadsdasd.io"; public const string FileApi = "/v1/files"; public const string UploadApi = "/api/v1/files/upload"; - public const string SdkVersion = "4.0.0"; + public const string SdkVersion = "4.0.1"; } } \ No newline at end of file diff --git a/README.md b/README.md index b482937..c3c382f 100644 --- a/README.md +++ b/README.md @@ -33,14 +33,14 @@ Install-Package Imagekit PackageReference ```html - + ``` .Net CLI ```cs -dotnet add package Imagekit --version 4.0.0 +dotnet add package Imagekit --version 4.0.1 ``` Open up your project, navigate to the Nuget package manager console, and add the Imagekit package.