dart_ssi 3.1.0 copy "dart_ssi: ^3.1.0" to clipboard
dart_ssi: ^3.1.0 copied to clipboard

Dart Package supporting Verifiable Credentials, Dids, a wallet for them, Didcomm and IWCE

3
likes
100/ 140
pub points
45%
popularity

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

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: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

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

210 out of 1140 API elements (18.4 %) 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.

Some symbols that are missing documentation: credentials, credentials.BitString, credentials.BitString.BitString, credentials.BitString.data, credentials.BitString.flipBit.

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:dart_ssi/credentials.dart that imports:
  • package:dart_ssi/src/credentials/verifiable_credential.dart that imports:
  • package:dart_ssi/src/credentials/revocation_list_2020.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 12 issues. Showing the first 2:

WARNING: The value of the local variable 'plainTextMessage' isn't used.

lib/src/didcomm/handlers/propose_credential.dart:24:9

   ╷
24 │     var plainTextMessage = message as DidcommPlaintextMessage;
   │         ^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/didcomm/handlers/propose_credential.dart

INFO: The declaration '_mergeSd' isn't referenced.

lib/src/credentials/credential_operations.dart:1649:22

     ╷
1649 │ Map<String, dynamic> _mergeSd(
     │                      ^^^^^^^^
     ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/credentials/credential_operations.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
asn1lib ^1.1.0 1.5.2 1.5.2
base_codecs ^1.0.1 1.0.1 1.0.1
bip32 ^2.0.0 2.0.0 2.0.0
bip39 ^1.0.6 1.0.6 1.0.6
crypto ^3.0.2 3.0.3 3.0.3
crypto_keys ^0.3.0 0.3.0+1 0.3.0+1
dart_multihash ^1.0.1 1.0.1 1.0.1
ed25519_edwards ^0.3.1 0.3.1 0.3.1
ed25519_hd_key ^2.2.0 2.2.1 2.2.1
elliptic ^0.3.7 0.3.10 0.3.10
hive ^2.1.0 2.2.3 2.2.3
http ^1.1.0 1.2.1 1.2.1
json_ld_processor ^1.0.2 1.0.4 1.0.4
json_path ^0.6.0 0.6.6 0.7.1
json_schema ^5.1.2 5.1.7 5.1.7
uuid ^4.2.1 4.4.0 4.4.0
web3dart ^2.7.0 2.7.3 2.7.3
x25519 ^0.1.1 0.1.1 0.1.1
Transitive dependencies
Package Constraint Compatible Latest
adaptive_number - 1.0.0 1.0.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
bs58check - 1.0.2 1.0.2
buffer - 1.2.3 1.2.3
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
eip1559 - 0.6.2 0.6.2
eip55 - 1.0.2 1.0.2
fixnum - 1.1.0 1.1.0
hex - 0.2.0 0.2.0
http_parser - 4.0.2 4.0.2
iregexp - 0.1.2 0.1.2
js - 0.7.1 0.7.1
json_rpc_2 - 3.0.2 3.0.2
logging - 1.2.0 1.2.0
matcher - 0.12.16+1 0.12.16+1
maybe_just_nothing - 0.5.3 0.5.3
meta - 1.14.0 1.14.0
path - 1.9.0 1.9.0
petitparser - 6.0.2 6.0.2
pinenacl - 0.5.1 0.5.1
pointycastle - 3.9.0 3.9.0
quiver - 3.2.1 3.2.1
rfc_6901 - 0.2.0 0.2.0
sec - 1.1.0 1.1.0
source_span - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.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
test_api - 0.7.1 0.7.1
typed_data - 1.3.2 1.3.2
uri - 1.0.0 1.0.0
wallet - 0.0.13 0.0.13
web - 0.5.1 0.5.1

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

The constraint `^0.6.0` on json_path does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions json_path 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.

3
likes
100
pub points
45%
popularity

Publisher

unverified uploader

Dart Package supporting Verifiable Credentials, Dids, a wallet for them, Didcomm and IWCE

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

asn1lib, base_codecs, bip32, bip39, crypto, crypto_keys, dart_multihash, ed25519_edwards, ed25519_hd_key, elliptic, hive, http, json_ld_processor, json_path, json_schema, uuid, web3dart, x25519

More

Packages that depend on dart_ssi