komodo_defi_rpc_methods 0.3.1+1
komodo_defi_rpc_methods: ^0.3.1+1 copied to clipboard
A package containing the RPC methods and responses for the Komodo DeFi Framework API
We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
packages/komodo_defi_rpc_methods/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_defi_rpc_methods, - 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
843 out of 2045 API elements (41.2 %) have documentation comments.
Some symbols that are missing documentation: komodo_defi_rpc_methods.AccountBalanceCancelRequest, komodo_defi_rpc_methods.AccountBalanceCancelRequest.AccountBalanceCancelRequest.new, komodo_defi_rpc_methods.AccountBalanceCancelRequest.taskId, komodo_defi_rpc_methods.AccountBalanceCancelResponse, komodo_defi_rpc_methods.AccountBalanceCancelResponse.AccountBalanceCancelResponse.new.
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)
SDK issues found:
Package is not compatible with the Dart SDK.
Because:
komodo_defi_rpc_methodsthat depends on:komodo_defi_typesthat is a package requiring flutter.
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:komodo_defi_rpc_methods/komodo_defi_rpc_methods.dartthat imports:package:komodo_defi_rpc_methods/src/util/util.dartthat imports:package:komodo_defi_rpc_methods/src/util/methods_index_generator.dartthat imports:dart:io
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
WARNING: The declaration '_rationalFromMm2' isn't referenced.
lib/src/rpc_methods/trading/trade_preimage.dart:166:10
╷
166 │ Rational _rationalFromMm2(List<dynamic> json) {
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/rpc_methods/trading/trade_preimage.dart
WARNING: The declaration '_rationalToMm2' isn't referenced.
lib/src/rpc_methods/trading/trade_preimage.dart:177:15
╷
177 │ List<dynamic> _rationalToMm2(Rational r) {
│ ^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/rpc_methods/trading/trade_preimage.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
^1.18.0 |
1.19.1 | 1.19.1 | |
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 | |
json_annotation |
^4.9.0 |
4.10.0 | 4.10.0 | |
komodo_defi_types |
^0.3.2+1 |
0.3.2+1 | 0.3.2+1 | |
meta |
^1.15.0 |
1.17.0 | 1.18.1 | |
path |
^1.9.1 |
1.9.1 | 1.9.1 | |
rational |
^2.2.3 |
2.2.3 | 2.2.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
intl |
- | 0.20.2 | 0.20.2 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.9, Dart 3.10.8.
Check the analysis log for details.