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
120/ 160
pub points
47%
popularity

We analyzed this package 22 hours ago, and awarded it 120 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: 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 1124 API elements (18.7 %) 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: credentials, credentials.BitString, credentials.BitString.BitString, credentials.BitString.BitString.fromEncoded, credentials.BitString.BitString.fromLength.

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: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

0/0 points: WASM compatibility

Package not compatible with runtime wasm

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

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 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
30 / 40trigger 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.8 1.5.8
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.6 3.0.6
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.3.0 2.3.0
elliptic ^0.3.7 0.3.11 0.3.11
hive ^2.1.0 2.2.3 2.2.3
http ^1.1.0 1.2.2 1.2.2
json_ld_processor ^1.0.2 1.0.4 1.0.4
json_path ^0.6.0 0.6.6 0.7.4
json_schema ^5.1.2 5.2.0 5.2.0
uuid ^4.2.1 4.5.1 4.5.1
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.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
bs58check - 1.0.2 1.0.2
buffer - 1.2.3 1.2.3
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
eip1559 - 0.6.2 0.6.2
eip55 - 1.0.2 1.0.2
fixnum - 1.1.1 1.1.1
hex - 0.2.0 0.2.0
http_parser - 4.1.1 4.1.1
iregexp - 0.1.2 0.1.2
js - 0.7.1 0.7.1
json_rpc_2 - 3.0.3 3.0.3
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
maybe_just_nothing - 0.5.3 0.5.3
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
petitparser - 6.0.2 6.0.2
pinenacl - 0.6.0 0.6.0
pointycastle - 3.9.1 3.9.1
quiver - 3.2.2 3.2.2
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.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
wallet - 0.0.13 0.0.13
web - 1.1.0 1.1.0

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Dart 3.5.4.

Check the analysis log for details.

3
likes
120
pub points
47%
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