archethic_wallet_client 1.2.7 copy "archethic_wallet_client: ^1.2.7" to clipboard
archethic_wallet_client: ^1.2.7 copied to clipboard

A client dart library to interact with Archethic Wallet RPC API.

2
likes
70/ 160
pub points
930
downloads

We analyzed this package 2 days ago, and awarded it 70 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: AGPL-3.0.

partial
Provide documentation
10 / 20trigger folding of the section

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

9 out of 218 API elements (4.1 %) 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: archethic_wallet_client.Account, archethic_wallet_client.Account.Account, archethic_wallet_client.Account.Account.fromJson, archethic_wallet_client.Account.balance, archethic_wallet_client.Account.copyWith.

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:archethic_wallet_client/archethic_wallet_client.dart that imports:
  • package:archethic_wallet_client/src/transport/archethic_wallet_client.dart that imports:
  • package:deeplink_rpc/deeplink_rpc.dart that imports:
  • package:deeplink_rpc/src/receiver.dart that imports:
  • package:deeplink_rpc/src/handler.dart that imports:
  • package:deeplink_rpc/src/data/response.dart that imports:
  • package:deeplink_rpc/src/codec.dart that imports:
  • package:archive/archive_io.dart that imports:
  • package:archive/src/io/zip_file_encoder.dart that imports:
  • package:archive/src/io/output_file_stream.dart that imports:
  • package:archive/src/io/file_handle.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package 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
0 / 50trigger folding of the section

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

Found 72 issues. Showing the first 2:

ERROR: Undefined name 'optionalTypeArgs' used as an annotation.

lib/src/archethic_wallet_client_base.freezed.dart:19:3

   ╷
19 │   @optionalTypeArgs
   │   ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/archethic_wallet_client_base.freezed.dart

ERROR: Undefined name 'optionalTypeArgs' used as an annotation.

lib/src/archethic_wallet_client_base.freezed.dart:26:3

   ╷
26 │   @optionalTypeArgs
   │   ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/archethic_wallet_client_base.freezed.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
archethic_lib_dart ^3.3.0 3.4.2 5.0.2
deeplink_rpc ^1.0.6 1.1.0 1.1.0
flutter flutter 0.0.0 0.0.0
freezed_annotation ^2.4.1 2.4.4 2.4.4
js ^0.6.7 0.6.7 0.7.1
json_annotation ^4.8.1 4.9.0 4.9.0
json_rpc_2 ^3.0.2 3.0.3 3.0.3
stream_channel ^2.1.2 2.1.3 2.1.3
web_socket_channel ^2.4.0 2.4.5 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
adaptive_number - 1.0.0 1.0.0
archive - 3.6.1 4.0.2
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
cryptography - 2.7.0 2.7.0
decimal - 3.1.0 3.1.0
ecdsa - 0.1.2 0.1.2
elliptic - 0.3.11 0.3.11
ffi - 2.1.3 2.1.3
fixnum - 1.1.1 1.1.1
flutter_web_plugins - 0.0.0 0.0.0
gql - 1.0.1-alpha+1730759315362 1.0.1-alpha+1730759315362
gql_dedupe_link - 2.0.4-alpha+1715521079596 2.0.4-alpha+1715521079596
gql_error_link - 1.0.0+1 1.0.0+1
gql_exec - 1.1.1-alpha+1699813812660 1.1.1-alpha+1699813812660
gql_http_link - 1.1.0 1.1.0
gql_link - 1.0.1-alpha+1730759315378 1.0.1-alpha+1730759315378
gql_transform_link - 1.0.0 1.0.0
graphql - 5.2.0-beta.7 5.2.0-beta.10
hive - 2.2.3 2.2.3
http - 1.2.2 1.2.2
http_parser - 4.1.1 4.1.1
intl - 0.20.0 0.20.1
jwk - 0.2.3 0.2.3
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
ninja_asn1 - 2.0.0 2.0.0
normalize - 0.8.2+1 0.9.1
path - 1.9.1 1.9.1
phoenix_socket - 0.7.4 0.7.6
pinenacl - 0.6.0 0.6.0
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
quiver - 3.2.2 3.2.2
rational - 2.2.3 2.2.3
rxdart - 0.27.7 0.28.0
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.4 0.7.4
typed_data - 1.4.0 1.4.0
url_launcher - 6.3.1 6.3.1
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
uuid - 4.5.1 4.5.1
vector_math - 2.1.4 2.1.4
web - 0.5.1 1.1.0
x25519 - 0.1.1 0.1.1
yaml - 3.1.3 3.1.3

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

Found 3 issues. Showing the first 2:

The constraint `^3.3.0` on archethic_lib_dart does not support the stable version `4.0.0`.

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

The constraint `^0.6.7` on js does not support the stable version `0.7.0`.

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

  • UNDEFINED_ANNOTATION - lib/src/archethic_wallet_client_base.freezed.dart:19:3 - Undefined name 'optionalTypeArgs' used as an annotation.
  • UNDEFINED_ANNOTATION - lib/src/archethic_wallet_client_base.freezed.dart:26:3 - Undefined name 'optionalTypeArgs' used as an annotation.
  • UNDEFINED_ANNOTATION - lib/src/archethic_wallet_client_base.freezed.dart:33:3 - Undefined name 'optionalTypeArgs' used as an annotation.

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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.