komodo_cex_market_data 0.0.3+1
komodo_cex_market_data: ^0.0.3+1 copied to clipboard
CEX market data repositories and strategies with fallbacks for Komodo SDK apps.
We analyzed this package 21 hours ago, and awarded it 90 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
packages/komodo_cex_market_data/pubspec.yaml from the repository URL mismatch: expected https://github.com/KomodoPlatform/komodo-defi-sdk-flutter but got https://github.com/GLEECBTC/komodo-defi-sdk-flutter.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: komodo_cex_market_data, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
327 out of 496 API elements (65.9 %) have documentation comments.
Some symbols that are missing documentation: komodo_cex_market_data.AssetMarketInformation.change24h, komodo_cex_market_data.AssetMarketInformation.change24hProvider, komodo_cex_market_data.AssetMarketInformation.lastPrice, komodo_cex_market_data.AssetMarketInformation.lastUpdatedTimestamp, komodo_cex_market_data.AssetMarketInformation.priceProvider.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:komodo_cex_market_data/komodo_cex_market_data.dartthat imports:package:komodo_cex_market_data/src/repository_fallback_mixin.dartthat imports:package:komodo_defi_types/komodo_defi_types.dartthat imports:package:komodo_defi_types/src/types.dartthat imports:package:komodo_defi_types/src/withdrawal/withdrawal_types.dartthat imports:package:komodo_defi_types/komodo_defi_type_utils.dartthat imports:package:komodo_defi_types/src/utils/mnemonic_validator.dartthat imports:package:flutter/services.dartthat imports:dart:ui
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
WARNING: The value of the local variable 'maxSecondsBack' isn't used.
lib/src/coingecko/data/coingecko_cex_provider.dart:328:11
╷
328 │ const maxSecondsBack = maxDaysBack * secondsPerDay;
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/coingecko/data/coingecko_cex_provider.dart
WARNING: The annotation 'JsonSerializable.new' can only be used on classes.
lib/src/coingecko/models/coin_market_data.dart:12:4
╷
12 │ @JsonSerializable(fieldRename: FieldRename.snake)
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/coingecko/models/coin_market_data.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
^2.13.0 |
2.13.0 | 2.13.0 | |
decimal |
^3.2.1 |
3.2.4 | 3.2.4 | |
equatable |
^2.0.7 |
2.0.8 | 2.0.8 | |
freezed_annotation |
^3.0.0 |
3.1.0 | 3.1.0 | |
get_it |
^8.0.3 |
8.3.0 | 9.2.1 | |
hive_ce |
^2.2.3+ce |
2.19.3 | 2.19.3 | |
http |
^1.4.0 |
1.6.0 | 1.6.0 | |
json_annotation |
^4.9.0 |
4.11.0 | 4.11.0 | |
komodo_defi_types |
^0.3.2+1 |
0.3.2+1 | 0.3.2+1 | |
logging |
^1.3.0 |
1.3.0 | 1.3.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
intl |
- | 0.20.2 | 0.20.2 | |
isolate_channel |
- | 0.6.1 | 0.6.1 | |
komodo_defi_rpc_methods |
- | 0.3.1+1 | 0.3.1+1 | |
material_color_utilities |
- | 0.13.0 | 0.13.0 | |
meta |
- | 1.17.0 | 1.18.2 | |
path |
- | 1.9.1 | 1.9.1 | |
rational |
- | 2.2.3 | 2.2.3 | |
source_span |
- | 1.10.2 | 1.10.2 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.3.0 | |
web |
- | 1.1.1 | 1.1.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^8.0.3` on get_it does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions get_it to update the constraint.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 4 errors:
UNDEFINED_ANNOTATION-lib/src/hive_adapters.dart:8:1- Undefined name 'GenerateAdapters' used as an annotation.NON_CONSTANT_LIST_ELEMENT-lib/src/hive_adapters.dart:8:20- The values in a const list literal must be constants.UNDEFINED_FUNCTION-lib/src/hive_adapters.dart:8:20- The function 'AdapterSpec' isn't defined.
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.11, Dart 3.11.2.
Check the analysis log for details.