Skip to content

Commit

Permalink
Upgrade dio to 5.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
nilsreichardt committed Aug 6, 2023
1 parent fb17488 commit 2ce66f5
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion app/lib/blocs/sharezone_bloc_providers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ class _SharezoneBlocProvidersState extends State<SharezoneBlocProviders> {
baseUrl: abgabenServiceBaseUrl,

/// Cold-Start kann manchmal dauern
connectTimeout: 45000,
connectTimeout: const Duration(seconds: 45),
);
abgabeHttpApi.dio = Dio(baseOptions);
var firebaseAuthTokenRetreiver = FirebaseAuthTokenRetreiverImpl(
Expand Down
6 changes: 3 additions & 3 deletions app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -480,10 +480,10 @@ packages:
dependency: "direct main"
description:
name: dio
sha256: "7d328c4d898a61efc3cd93655a0955858e29a0aa647f0f9e02d59b3bb275e2e8"
sha256: ce75a1b40947fea0a0e16ce73337122a86762e38b982e1ccb909daa3b9bc4197
url: "https://pub.dev"
source: hosted
version: "4.0.6"
version: "5.3.2"
dynamic_links:
dependency: "direct main"
description:
Expand Down Expand Up @@ -913,7 +913,7 @@ packages:
dependency: "direct main"
description:
path: "packages/flutter_markdown"
ref: HEAD
ref: a12da208dff84bc9c77453a1e8a392bb7f40fc4a
resolved-ref: a12da208dff84bc9c77453a1e8a392bb7f40fc4a
url: "https://github.com/SharezoneApp/packages"
source: git
Expand Down
2 changes: 1 addition & 1 deletion app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ dependencies:
path: ../lib/date
design:
path: ../lib/design
dio: ^4.0.0
dio: ^5.3.2
dynamic_links:
path: ../lib/dynamic_links
fast_immutable_collections: ^7.4.1
Expand Down
4 changes: 2 additions & 2 deletions lib/abgabe/abgabe_http_api/lib/api.dart
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ class AbgabeHttpApi {
Dio(
BaseOptions(
baseUrl: basePath,
connectTimeout: 5000,
receiveTimeout: 3000,
connectTimeout: const Duration(seconds: 5),
receiveTimeout: const Duration(seconds: 3),
),
);
this.serializers = serializers ?? standardSerializers;
Expand Down
4 changes: 2 additions & 2 deletions lib/abgabe/abgabe_http_api/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ packages:
dependency: "direct main"
description:
name: dio
sha256: "7d328c4d898a61efc3cd93655a0955858e29a0aa647f0f9e02d59b3bb275e2e8"
sha256: ce75a1b40947fea0a0e16ce73337122a86762e38b982e1ccb909daa3b9bc4197
url: "https://pub.dev"
source: hosted
version: "4.0.6"
version: "5.3.2"
file:
dependency: transitive
description:
Expand Down
2 changes: 1 addition & 1 deletion lib/abgabe/abgabe_http_api/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ environment:
dependencies:
built_collection: ^5.1.0
built_value: ^8.1.1
dio: ^4.0.0
dio: ^5.3.2

dev_dependencies:
build_runner: ^2.3.3
Expand Down

0 comments on commit 2ce66f5

Please sign in to comment.