Skip to content

Commit

Permalink
Dev (#55)
Browse files Browse the repository at this point in the history
* Update dev (#54)

* added missed commit files (#46)

* updated missed commit

* fixed issues with merge

* version bump

* release fix

* Merged AuthParam changes (#52)

Co-authored-by: nitanandsinghupw <[email protected]>

* updated .net sdk models & added new endpoints along with unit test cases

* resolve conflict

Co-authored-by: nitanandsinghupw <[email protected]>
Co-authored-by: Anand <[email protected]>
Co-authored-by: Manu Chaudhary <[email protected]>
  • Loading branch information
4 people authored Jan 17, 2023
1 parent 245195f commit ea2f9e8
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -262,4 +262,5 @@ paket-files/

# Python Tools for Visual Studio (PTVS)
__pycache__/
*.pyc
*.pyc
.DS_Store
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
11 changes: 6 additions & 5 deletions ImageKitSample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
}
}
}
4 changes: 2 additions & 2 deletions Imagekit/Imagekit.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@
<Description>Library to Integrate Imagekit.io Service.</Description>
<PackageId>Imagekit</PackageId>
<PackOnBuild>true</PackOnBuild>
<ReleaseVersion>4.0.0</ReleaseVersion>
<ReleaseVersion>4.0.1</ReleaseVersion>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<SynchReleaseVersion>false</SynchReleaseVersion>
<Version>4.0.0</Version>
<Version>4.0.1</Version>
<RepositoryUrl>[email protected]:imagekit-developer/imagekit-dotnet.git</RepositoryUrl>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<PackageReleaseNotes>-Fixes</PackageReleaseNotes>
Expand Down
2 changes: 1 addition & 1 deletion Imagekit/Util/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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";
}
}
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,14 @@ Install-Package Imagekit
PackageReference

```html
<PackageReference Include="Imagekit" Version="4.0.0">
<PackageReference Include="Imagekit" Version="4.0.1">
</PackageReference>
```

.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.
Expand Down

0 comments on commit ea2f9e8

Please sign in to comment.