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

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

1
likes
70/ 160
pub points
66%
popularity

We analyzed this package 8 hours 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

22 out of 339 API elements (6.5 %) 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.balance, archethic_wallet_client.Account.copyWith, archethic_wallet_client.Account.Account.fromJson.

10/10 points: Package has an example

OK
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
failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 124 issues. Showing the first 2:

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

lib/src/core/failures.freezed.dart:25:3

   ╷
25 │   @JsonKey(ignore: true)
   │   ^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

ERROR: The name 'Failure' isn't a type, so it can't be used as a type argument.

lib/src/core/failures.freezed.dart:26:20

   ╷
26 │   $FailureCopyWith<Failure> get copyWith => throw _privateConstructorUsedError;
   │                    ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/failures.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.4.2 3.4.2 3.4.2
deeplink_rpc ^1.0.8 1.0.8 1.0.8
flutter flutter 0.0.0 0.0.0
freezed_annotation ^2.4.1 2.4.4 2.4.4
json_rpc_2 ^3.0.2 3.0.2 3.0.2
logging ^1.2.0 1.2.0 1.2.0
stream_channel ^2.1.2 2.1.2 2.1.2
web ^0.5.1 0.5.1 1.0.0
web_socket_channel ^2.4.5 2.4.5 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
adaptive_number - 1.0.0 1.0.0
archive - 3.6.1 3.6.1
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
characters - 1.3.0 1.3.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.19.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
cryptography - 2.7.0 2.7.0
decimal - 3.0.2 3.0.2
ecdsa - 0.1.0 0.1.0
elliptic - 0.3.10 0.3.10
ffi - 2.1.2 2.1.2
fixnum - 1.1.0 1.1.0
flutter_web_plugins - 0.0.0 0.0.0
gql - 1.0.1-alpha+1717789143880 1.0.1-alpha+1717789143880
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+1717789143896 1.0.1-alpha+1717789143896
gql_transform_link - 1.0.0 1.0.0
graphql - 5.2.0-beta.7 5.2.0-beta.8
hive - 2.2.3 2.2.3
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.0
intl - 0.19.0 0.19.0
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
jwk - 0.2.3 0.2.3
matcher - 0.12.16+1 0.12.16+1
material_color_utilities - 0.8.0 0.12.0
meta - 1.12.0 1.15.0
ninja_asn1 - 2.0.0 2.0.0
normalize - 0.8.2+1 0.9.1
path - 1.9.0 1.9.0
phoenix_socket - 0.7.4 0.7.4
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.1 3.2.1
rational - 2.2.3 2.2.3
rxdart - 0.27.7 0.28.0
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.11.1 1.11.1
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.0 0.7.3
typed_data - 1.3.2 1.3.2
url_launcher - 6.3.0 6.3.0
url_launcher_android - 6.3.6 6.3.6
url_launcher_ios - 6.3.1 6.3.1
url_launcher_linux - 3.1.1 3.1.1
url_launcher_macos - 3.2.0 3.2.0
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.1 2.3.1
url_launcher_windows - 3.1.2 3.1.2
uuid - 4.4.2 4.4.2
vector_math - 2.1.4 2.1.4
x25519 - 0.1.1 0.1.1
yaml - 3.1.2 3.1.2

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

The constraint `^0.5.1` on web does not support the stable version `1.0.0`, that was published 10 days ago.

When web is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `^2.4.5` on web_socket_channel does not support the stable version `3.0.0`.

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

  • UNDEFINED_ANNOTATION - lib/src/core/failures.freezed.dart:25:3 - Undefined name 'JsonKey' used as an annotation.
  • NON_TYPE_AS_TYPE_ARGUMENT - lib/src/core/failures.freezed.dart:26:20 - The name 'Failure' isn't a type, so it can't be used as a type argument.
  • UNDEFINED_CLASS - lib/src/core/failures.freezed.dart:31:28 - Undefined class 'Failure'.

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.9, Flutter 3.22.2, Dart 3.4.3.

Check the analysis log for details.