durt2 0.4.0
durt2: ^0.4.0 copied to clipboard
Dart library for interacting with Duniter v2s blockchains. Provides wallet management, transaction signing, Squid GraphQL requests, and more
We analyzed this package 16 hours ago, and awarded it 105 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.4.0").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: GPL-3.0
.
0/10 points: 20% or more of the public API has dartdoc comments
1281 out of 7850 API elements (16.3 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: durt2
, durt2.$ApiVersionCodec
, durt2.$ApiVersionCodec.$ApiVersionCodec.new
, durt2.$ApiVersionCodec.decode
, durt2.$ChainType.$ChainType.new
.
10/10 points: Package has 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 does not support platform `Web`.
Because:
package:durt2/durt2.dart
that imports:package:durt2/src/services/network_config_service.dart
that imports:package:durt2/src/services/bootstrap_node_service.dart
that imports:package:durt2/objectbox.g.dart
that imports:package:objectbox_flutter_libs/objectbox_flutter_libs.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:durt2/durt2.dart
that imports:package:durt2/src/models/bootstrap_endpoint.entity.dart
that imports:package:objectbox/objectbox.dart
that imports:package:objectbox/src/transaction.dart
that imports:package:objectbox/src/native/transaction.dart
that imports:package:objectbox/src/native/bindings/helpers.dart
that imports:package:objectbox/src/native/bindings/bindings.dart
that imports:package:objectbox/src/native/bindings/objectbox_c.dart
that imports:dart:ffi
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 5565 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/src/models/certification_filters.dart:1:1
╷
1 │ /// Server-side certification filter models for Durt2
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/certification_filters.dart
INFO: The type name 'Input$jsonb_cast_exp' isn't an UpperCamelCase identifier.
lib/src/models/graphql/datapod/datapod-schema.graphql.dart:129:7
╷
129 │ class Input$jsonb_cast_exp {
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/models/graphql/datapod/datapod-schema.graphql.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
base_codecs |
^1.0.0 |
1.0.1 | 1.0.1 | |
bip39_mnemonic |
^3.0.9 |
3.0.10 | 4.0.1 | |
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
flat_buffers |
^23.5.26 |
23.5.26 | 23.5.26 | |
flutter_secure_storage |
^9.0.0 |
9.2.4 | 9.2.4 | |
gql |
^1.0.0 |
1.0.1 | 1.0.1 | |
graphql |
^5.1.0 |
5.2.2 | 5.2.2 | |
http |
^1.2.0 |
1.5.0 | 1.5.0 | |
logger |
^2.2.0 |
2.6.1 | 2.6.1 | |
multiformats |
^1.0.0 |
1.0.2 | 1.0.2 | |
objectbox |
^4.1.0 |
4.3.1 | 5.0.0 | |
objectbox_flutter_libs |
^4.1.0 |
4.3.1 | 5.0.0 | |
pointycastle |
^3.8.0 |
3.9.1 | 4.0.0 | |
polkadart |
^0.7.1 |
0.7.1 | 0.7.2 | |
polkadart_keyring |
^0.7.0 |
0.7.0 | 0.7.1 | |
quiver |
^3.2.2 |
3.2.2 | 3.2.2 | |
ss58 |
^1.1.2 |
1.3.1 | 1.3.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
adaptive_number |
- | 1.0.0 | 1.0.0 | |
async |
- | 2.13.0 | 2.13.0 | |
base_x |
- | 2.0.1 | 2.0.1 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
buffer |
- | 1.2.3 | 1.2.3 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
cross_file |
- | 0.3.4+2 | 0.3.4+2 | |
crypto |
- | 3.0.6 | 3.0.6 | |
cryptography |
- | 2.7.0 | 2.7.0 | |
dart_multihash |
- | 1.0.1 | 1.0.1 | |
ed25519_edwards |
- | 0.3.1 | 0.3.1 | |
edwards25519 |
- | 1.0.5 | 1.0.5 | |
equatable |
- | 2.0.7 | 2.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
flutter_curve25519 |
- | 0.1.2 | 0.1.2 | |
flutter_secure_storage_linux |
- | 1.2.3 | 2.0.1 | |
flutter_secure_storage_macos |
- | 3.1.3 | 4.0.0 | |
flutter_secure_storage_platform_interface |
- | 1.1.2 | 2.0.1 | |
flutter_secure_storage_web |
- | 1.2.1 | 2.0.0 | |
flutter_secure_storage_windows |
- | 3.1.2 | 4.0.0 | |
gql_dedupe_link |
- | 2.0.4-alpha+1715521079596 | 4.0.0 | |
gql_error_link |
- | 1.0.1 | 1.0.1 | |
gql_exec |
- | 1.1.1-alpha+1699813812660 | 1.1.1-alpha+1699813812660 | |
gql_http_link |
- | 1.2.0 | 1.2.0 | |
gql_link |
- | 1.1.0 | 1.1.0 | |
gql_transform_link |
- | 1.0.1 | 1.0.1 | |
hashlib_codecs |
- | 2.6.0 | 3.0.1 | |
hive |
- | 2.2.3 | 2.2.3 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
json_schema |
- | 5.2.1 | 5.2.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
merlin |
- | 1.0.3 | 1.0.3 | |
meta |
- | 1.16.0 | 1.17.0 | |
normalize |
- | 0.9.1 | 0.10.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.18 | 2.2.18 | |
path_provider_foundation |
- | 2.4.2 | 2.4.2 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
polkadart_scale_codec |
- | 1.5.1 | 1.6.0 | |
rfc_6901 |
- | 0.2.0 | 0.2.0 | |
ristretto255 |
- | 1.0.2 | 1.0.2 | |
rxdart |
- | 0.28.0 | 0.28.0 | |
secp256k1_ecdsa |
- | 0.6.1 | 0.6.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
sr25519 |
- | 0.7.0 | 0.7.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
strobe |
- | 1.0.5 | 1.0.5 | |
substrate_bip39 |
- | 0.7.0 | 0.7.1 | |
substrate_metadata |
- | 1.5.0 | 1.6.0 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.7 | 0.7.7 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
unorm_dart |
- | 0.3.2 | 0.3.2 | |
uri |
- | 1.0.0 | 1.0.0 | |
utility |
- | 1.0.3 | 1.0.3 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
web_socket_client |
- | 0.2.1 | 0.2.1 | |
win32 |
- | 5.14.0 | 5.14.0 | |
xdg_directories |
- | 1.1.0 | 1.1.0 | |
yaml |
- | 3.1.3 | 3.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
Found 4 issues. Showing the first 2:
The constraint `^3.0.9` on bip39_mnemonic does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions bip39_mnemonic
to update the constraint.
The constraint `^4.1.0` on objectbox does not support the stable version `5.0.0`, that was published 1 days ago.
When objectbox is 30 days old, this package will no longer be awarded points in this category.
Try running dart pub upgrade --major-versions objectbox
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 2 errors:
UNDEFINED_NAMED_PARAMETER
-lib/src/services/squid_service.dart:331:69
- The named parameter 'queryRequestTimeout' isn't defined.UNDEFINED_NAMED_PARAMETER
-lib/src/services/squid_sync_validator.dart:155:71
- The named parameter 'queryRequestTimeout' isn't defined.
Run flutter pub downgrade
and then flutter 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.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.