Skip to content

Commit

Permalink
Version 2.0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
diefferson committed Nov 3, 2021
1 parent f9ef844 commit 516d5cd
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,3 +33,7 @@ Fiz iOS parallels requests.
## 2.0.2

Fix error Platform import

## 2.0.3

Error on pass null to headers
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ In your flutter or dart project add the dependency:
```yml
dependencies:
...
http_certificate_pinning: 2.0.2
http_certificate_pinning: 2.0.3
```
## Get Certificate FingerPrint
Expand Down
2 changes: 1 addition & 1 deletion lib/src/http_certificate_pinning.dart
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class HttpCertificatePinning {
}) async {
final Map<String, dynamic> params = <String, dynamic>{
"url": serverURL,
"headers": headerHttp,
"headers": headerHttp ?? {},
"type": sha.toString().split(".").last,
"fingerprints":
allowedSHAFingerprints.map((a) => a.replaceAll(":", "")).toList(),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: http_certificate_pinning
description: Https Certificate pinning for Flutter
version: 2.0.2
version: 2.0.3
author: Diefferson Santos <[email protected]>
homepage: https://github.com/diefferson/http_certificate_pinning

Expand Down

0 comments on commit 516d5cd

Please sign in to comment.