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

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

3
likes
100/ 160
pub points
57%
popularity

We analyzed this package 19 hours ago, and awarded it 100 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

186 out of 932 API elements (20.0 %) 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.CredentialApplication, credentials.CredentialApplication.CredentialApplication, credentials.CredentialApplication.CredentialApplication.fromJson, credentials.CredentialApplication.format.

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/presentation_exchange.dart that imports:
  • package:dart_ssi/src/util/utils.dart that imports:
  • package:dart_ssi/src/wallet/wallet_store.dart that imports:
  • package:dart_ssi/didcomm.dart that imports:
  • package:dart_ssi/src/didcomm/didcomm_service.dart that imports:
  • package:dart_ssi/did.dart that imports:
  • package:dart_ssi/src/dids/did_key.dart that imports:
  • package:dart_ssi/src/dids/did_document.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/presentation_exchange.dart that imports:
  • package:dart_ssi/src/util/utils.dart that imports:
  • package:dart_ssi/src/wallet/wallet_store.dart that imports:
  • package:dart_ssi/didcomm.dart that imports:
  • package:dart_ssi/src/didcomm/didcomm_service.dart that imports:
  • package:dart_ssi/did.dart that imports:
  • package:dart_ssi/src/dids/did_key.dart that imports:
  • package:dart_ssi/src/dids/did_document.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 24 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 argument type 'List

lib/src/credentials/presentation_exchange.dart:606:28

    ╷
606 │     if (format.containsKey(['jwt_vp'])) {
    │                            ^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/credentials/presentation_exchange.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
asn1lib ^1.1.0 1.5.5 1.5.5
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.5 3.0.5
crypto_keys ^0.3.0 0.3.0+1 0.3.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 ^0.13.5 0.13.6 1.2.2
json_ld_processor ^1.0.0 1.0.2 1.0.4
json_path ^0.4.2 0.4.4 0.7.4
json_schema2 ^2.0.2 2.0.4+9 5.1.3
uuid ^3.0.6 3.0.7 4.5.0
web3dart ^2.4.1 2.6.1 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
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
boolean_selector - 2.1.1 2.1.1
bs58check - 1.0.2 1.0.2
clock - 1.1.1 1.1.1
collection - 1.19.0 1.19.0
convert - 3.1.1 3.1.1
eip1559 - 0.6.1 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.1.0 4.1.0
intl - 0.18.1 0.19.0
js - 0.7.1 0.7.1
json_class - 2.2.2+1 3.0.0+16
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
meta - 1.16.0 1.16.0
path - 1.9.0 1.9.0
petitparser - 5.4.0 6.0.2
pinenacl - 0.6.0 0.6.0
pointycastle - 3.9.1 3.9.1
quiver - 3.2.2 3.2.2
rest_client - 2.2.1+11 2.4.0
rfc_6901 - 0.1.1 0.2.0
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.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.3.2 1.3.2
uri - 1.0.0 1.0.0
wallet - 0.0.13 0.0.13
yaml - 3.1.2 3.1.2
yaon - 1.1.4+10 1.1.4+10

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

Found 4 issues. Showing the first 2:

The constraint `^0.13.5` on http does not support the stable version `1.0.0`.

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

The constraint `^0.4.2` on json_path does not support the stable version `0.5.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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_METHOD - lib/src/credentials/revocation.dart:49:31 - The method 'fromInt' isn't defined for the type 'EtherAmount'.

Run dart pub downgrade and then dart 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.12, Dart 3.5.2.

Check the analysis log for details.

3
likes
100
pub points
57%
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, ed25519_edwards, ed25519_hd_key, elliptic, hive, http, json_ld_processor, json_path, json_schema2, uuid, web3dart, x25519

More

Packages that depend on dart_ssi