alan 0.41.4+1 copy "alan: ^0.41.4+1" to clipboard
alan: ^0.41.4+1 copied to clipboard

Pure Dart library to easily integrate with any Cosmos-based chain.

6
likes
110/ 160
pub points
40%
popularity

We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

28406 out of 43521 API elements (65.3 %) have documentation comments.

Some symbols that are missing documentation: abci.pb, abci.pb.ABCIMessageLog, abci.pb.ABCIMessageLog.$_whichOneof, abci.pb.ABCIMessageLog.ABCIMessageLog, abci.pb.ABCIMessageLog.ABCIMessageLog.fromBuffer.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:alan/alan.dart that imports:
  • package:alan/x/export.dart that imports:
  • package:alan/x/auth/export.dart that imports:
  • package:alan/x/auth/querier.dart that imports:
  • package:grpc/grpc_or_grpcweb.dart that imports:
  • package:grpc/src/client/options.dart that imports:
  • package:grpc/src/client/transport/http2_credentials.dart that imports:
  • package:grpc/src/shared/security.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:alan/alan.dart that imports:
  • package:alan/x/export.dart that imports:
  • package:alan/x/vesting/export.dart that imports:
  • package:alan/x/vesting/vesting_account.dart that imports:
  • package:alan/proto/cosmos/vesting/v1beta1/export.dart that imports:
  • package:alan/proto/cosmos/vesting/v1beta1/tx.pbgrpc.dart that imports:
  • package:grpc/service_api.dart that imports:
  • package:grpc/src/server/service.dart that imports:
  • package:grpc/src/server/call.dart that imports:
  • package:grpc/src/shared/io_bits/io_bits.dart that imports:
  • package:grpc/src/shared/io_bits/io_bits_io.dart that imports:
  • dart:io

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.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 611 issues. Showing the first 2:

WARNING: Unused import: 'dart:convert'.

lib/proto/cosmos_proto/cosmos.pbjson.dart:2:8

  ╷
2 │ import 'dart:convert' as $convert;
  │        ^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/proto/cosmos_proto/cosmos.pbjson.dart

WARNING: Unused import: 'dart:typed_data'.

lib/proto/cosmos_proto/cosmos.pbjson.dart:4:8

  ╷
4 │ import 'dart:typed_data' as $typed_data;
  │        ^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/proto/cosmos_proto/cosmos.pbjson.dart

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
analyzer ^5.12.0 5.13.0 6.11.0
asn1lib ^1.0.0 1.5.8 1.5.8
bech32 ^0.2.0 0.2.2 0.2.2
bip39 ^1.0.6 1.0.6 1.0.6
convert ^3.0.0 3.1.2 3.1.2
equatable ^2.0.0 2.0.5 2.0.5
fixnum ^1.0.0 1.1.1 1.1.1
grpc ^3.0.0 3.2.4 4.0.1
hex ^0.2.0 0.2.0 0.2.0
http ^0.13.0 0.13.6 1.2.2
json_annotation ^4.4.0 4.9.0 4.9.0
json_serializable ^6.2.0 6.8.0 6.8.0
meta ^1.3.0 1.16.0 1.16.0
pointycastle ^3.0.1 3.9.1 3.9.1
protobuf ^2.0.0 2.1.0 3.1.0
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 61.0.0 76.0.0
archive - 3.6.1 3.6.1
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
build - 2.4.1 2.4.1
build_config - 1.1.1 1.1.1
checked_yaml - 2.0.3 2.0.3
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
dart_style - 2.3.2 2.3.7
file - 7.0.1 7.0.1
glob - 2.1.2 2.1.2
googleapis_auth - 1.4.1 1.6.0
http2 - 2.3.0 2.3.0
http_parser - 4.1.1 4.1.1
js - 0.6.7 0.7.1
logging - 1.3.0 1.3.0
package_config - 2.1.0 2.1.0
path - 1.9.1 1.9.1
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.3.0 1.3.0
source_gen - 1.5.0 1.5.0
source_helper - 1.3.4 1.3.4
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
watcher - 1.1.0 1.1.0
yaml - 3.1.2 3.1.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 4 issues. Showing the first 2:

The constraint `^5.12.0` on analyzer does not support the stable version `6.0.0`.

Try running dart pub upgrade --major-versions analyzer to update the constraint.

The constraint `^3.0.0` on grpc does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions grpc 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 10 errors:

  • URI_DOES_NOT_EXIST - lib/transactions/sender/tx_sender.dart:3:8 - Target of URI doesn't exist: 'package:grpc/grpc_or_grpcweb.dart'.
  • UNDEFINED_CLASS - lib/transactions/sender/tx_sender.dart:13:26 - Undefined class 'GrpcOrGrpcWebClientChannel'.
  • URI_DOES_NOT_EXIST - lib/transactions/signer/tx_signer.dart:5:8 - Target of URI doesn't exist: 'package:grpc/grpc_or_grpcweb.dart'.

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.22.15, Dart 3.5.4.

Check the analysis log for details.

6
likes
110
pub points
40%
popularity

Publisher

unverified uploader

Pure Dart library to easily integrate with any Cosmos-based chain.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

analyzer, asn1lib, bech32, bip39, convert, equatable, fixnum, grpc, hex, http, json_annotation, json_serializable, meta, pointycastle, protobuf

More

Packages that depend on alan