Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,6 @@
# Conventional directory for build outputs
build/

# InteliJ
.idea/
*.iml
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.0.1

- Bump dependencies

## 1.0.0-beta

- Initial version
3 changes: 1 addition & 2 deletions lib/src/core/helper/get_request.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import 'package:dio/dio.dart';
import 'package:etherscan_api/etherscan_api.dart';
import 'package:etherscan_api/src/core/utils/logger.dart';

import '../commons/failure.dart';

const ETH_API_URLS = {
'mainnet': 'https://api.etherscan.io',
Expand All @@ -32,7 +31,7 @@ extension GetRequest on EtherscanAPI {
final client = Dio(
BaseOptions(
baseUrl: chain.chainApiUrl,
connectTimeout: timeout?.inMilliseconds,
connectTimeout: timeout,
responseType: ResponseType.json,
),
);
Expand Down
Loading