From 2f6f4525ba2fba4fce5e85b48a0c1c6e2640a002 Mon Sep 17 00:00:00 2001 From: JsonYe Date: Sun, 7 Nov 2021 18:28:06 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=830.3.1=E7=89=88=E6=9C=AC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 13 ++++++++++--- lib/src/net_manager.dart | 2 +- pubspec.yaml | 2 +- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fa44a0d..f8c385c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,11 +1,18 @@ -## [0.2.1] +## 0.3.1 update `NetManager.internal()` -## [0.2.0] +## 0.3.0 +add pull、delete、head + +## 0.2.1 + +update `NetManager.internal()` + +## 0.2.0 适配 null safety -## [0.1.0] +## 0.1.0 first commit diff --git a/lib/src/net_manager.dart b/lib/src/net_manager.dart index eaa8420..9357a2c 100644 --- a/lib/src/net_manager.dart +++ b/lib/src/net_manager.dart @@ -10,7 +10,7 @@ class NetManager { static NetManager internal({ String contentType = Headers.jsonContentType, String baseUrl = '', - Map headers = const {}, + Map headers = const {}, int connectTimeout = 3000, int receiveTimeout = 600000, int sendTimeout = 3000, diff --git a/pubspec.yaml b/pubspec.yaml index c671c34..257dfe8 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: mini_net description: A network request package widget,With log interceptor. -version: 0.2.1 +version: 0.3.1 homepage: https://github.com/collectFlutter/mini_net environment: