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

100/ 160
pub points
46
downloads

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

Passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

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

186 out of 957 API elements (19.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.

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.fromJson, credentials.CredentialApplication.CredentialApplication.new, credentials.CredentialApplication.format.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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
Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 22 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: Angle brackets will be interpreted as HTML.

lib/src/credentials/credential_operations.dart:84:42

   ╷
84 │ /// [credential] could be a string or Map<String, dynamic> representing a valid json-Object.
   │                                          ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/credentials/credential_operations.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
asn1lib ^1.1.0 1.6.5 1.6.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.7 3.0.7
crypto_keys ^0.3.0 0.3.0+1 0.3.0+2
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.12 0.3.12
hive ^2.1.0 2.2.3 2.2.3
http ^0.13.5 0.13.6 1.6.0
json_ld_processor ^1.0.0 1.0.2 1.0.4
json_path ^0.4.2 0.4.4 0.9.0
json_schema2 ^2.0.2 2.0.4+9 5.1.3 Discontinued
uuid ^3.0.6 3.0.7 4.5.2
web3dart ^2.4.1 2.6.1 3.0.2
x25519 ^0.1.1 0.1.1 0.1.1
Transitive dependencies
Package Constraint Compatible Latest Notes
adaptive_number - 1.0.0 1.0.0
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
bs58check - 1.0.2 1.0.2
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
eip1559 - 0.6.1 0.6.2
eip55 - 1.0.2 1.0.3
fixnum - 1.1.1 1.1.1
hex - 0.2.0 0.2.0
http_parser - 4.1.2 4.1.2
intl - 0.18.1 0.20.2
js - 0.7.2 0.7.2 Discontinued
json_class - 2.2.2+1 3.0.1
json_rpc_2 - 3.0.3 4.0.0
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
meta - 1.18.1 1.18.1
path - 1.9.1 1.9.1
petitparser - 5.4.0 7.0.1
pinenacl - 0.6.0 0.6.0
pointycastle - 3.9.1 4.0.0
quiver - 3.2.2 3.2.2
rest_client - 2.2.1+11 2.4.0 Discontinued
rfc_6901 - 0.1.1 0.2.1
sec - 1.1.0 1.1.1
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
stream_transform - 2.1.1 2.1.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.9 0.7.9
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
wallet - 0.0.13 0.0.18
yaml - 3.1.3 3.1.3
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 6 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.

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

Failed check 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.23.9, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
100
points
46
downloads

Publisher

unverified uploader

Weekly Downloads

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