charge_wallet_sdk 0.0.2+9 copy "charge_wallet_sdk: ^0.0.2+9" to clipboard
charge_wallet_sdk: ^0.0.2+9 copied to clipboard

discontinuedreplaced by: fuse_wallet_sdk

SDK for Charge Wallet API

1
likes
100/ 140
pub points
19%
popularity

We analyzed this package 16 hours ago, and awarded it 100 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Homepage URL doesn't exist.

At the time of the analysis https://docs.chargeweb3.com/docs/overview-2 was unreachable. Make sure that the website is reachable via HEAD requests.

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

257 out of 687 API elements (37.4 %) have documentation comments.

Some symbols that are missing documentation: charge_wallet_sdk, charge_wallet_sdk.AbiType.decode, charge_wallet_sdk.AddressType.decode, charge_wallet_sdk.BlockInformation, charge_wallet_sdk.BlockInformation.BlockInformation.

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:charge_wallet_sdk/charge_wallet_sdk.dart that imports:
  • package:charge_wallet_sdk/src/charge_api.dart that imports:
  • dart:io
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 91 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/models/collectible/collectible.freezed.dart:213:17

    ╷
213 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/models/collectible/collectible.freezed.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/models/staking/option.freezed.dart:198:17

    ╷
198 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/models/staking/option.freezed.dart

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

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

Package Constraint Compatible Latest
bip32 ^2.0.0 2.0.0 2.0.0
bip39 ^1.0.6 1.0.6 1.0.6
decimal ^2.3.2 2.3.3 2.3.3
dio ^4.0.6 4.0.6 5.4.3+1
freezed_annotation ^2.2.0 2.4.1 2.4.1
gql ^0.14.0 0.14.0 1.0.0+1
graphql ^5.1.3 5.1.3 5.1.3
hex ^0.2.0 0.2.0 0.2.0
http ^0.13.5 0.13.6 1.2.1
json_annotation ^4.7.0 4.9.0 4.9.0
path ^1.8.2 1.9.0 1.9.0
retrofit ^3.3.1 3.3.1 4.1.0
web3dart ^2.5.2 2.6.1 2.7.3
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
bs58check - 1.0.2 1.0.2
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
eip1559 - 0.6.1 0.6.2
eip55 - 1.0.2 1.0.2
gql_dedupe_link - 2.0.3+1 2.0.3+1
gql_error_link - 0.2.3+1 1.0.0+1
gql_exec - 0.4.3 1.0.0+1
gql_http_link - 0.4.5 1.0.1+1
gql_link - 0.5.1 1.0.0+1
gql_transform_link - 0.2.2+1 1.0.0
hive - 2.2.3 2.2.3
http_parser - 4.0.2 4.0.2
js - 0.7.1 0.7.1
json_rpc_2 - 3.0.2 3.0.2
meta - 1.14.0 1.14.0
normalize - 0.7.2 0.9.1
pointycastle - 3.9.0 3.9.0
rational - 2.2.2 2.2.2
rxdart - 0.27.7 0.27.7
sec - 1.1.0 1.1.0
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 4.4.0
wallet - 0.0.13 0.0.13
web_socket_channel - 2.2.0 2.4.5

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

Found 4 issues. Showing the first 2:

The constraint `^4.0.6` on dio does not support the stable version `5.0.0`.

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

The constraint `^0.14.0` on gql does not support the stable version `1.0.0`.

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.