crossmint_verifiable_credentials 0.1.2 copy "crossmint_verifiable_credentials: ^0.1.2" to clipboard
crossmint_verifiable_credentials: ^0.1.2 copied to clipboard

Pure-Dart verifiable credentials primitives for the Crossmint Flutter SDK — credential models, issuance, and verification.

0.1.2 #

  • Docs: dartdoc style-guide fixes in public-surface /// comments.

0.1.1 #

  • Fix: CrossmintVcRpcClient.ethCall and CrossmintDelegationSignatureService.getDelegationSignature now wrap jsonDecode(response.body) in try/catch and rethrow as CrossmintCredentialsException (with the raw body in cause). Closes the typed-exception contract: a 200 response with malformed JSON (e.g. an HTML error page from a gateway) no longer leaks raw FormatException to callers.
  • Fix: CrossmintCredentialService._loadCredentialDocument applies the same wrap, so a malformed IPFS-hosted credential document raises CrossmintCredentialsException instead of FormatException.
  • Fix: hardened abiDecodeString against malformed ABI payloads — int.parse failures on the length word or data bytes now return '', and a declared length that exceeds the actual packed payload is bailed on (previously raised RangeError from substring). The function never throws for untrusted on-chain data, restoring the documented contract of getContractUri() returning null on malformed metadata.
  • Restore: re-introduced bool verifyEip712Proof() as an @Deprecated shim that delegates to the new detailed API. The earlier change to return Eip712VerificationResult was a needless breaking rename; callers using if (verifyEip712Proof(c)) {...} keep compiling with a deprecation warning. New code should use verifyEip712ProofDetailed and pattern-match on the sealed result.
  • Docs: expanded dartdoc coverage on the public surface for the pub.dev landing page, plus a follow-up pass that fixed broken [reference] link targets and dartdoc format regressions surfaced by the docs build.

0.1.0 #

  • First public release on pub.dev

0.0.1 #

  • Initial internal extraction from crossmint_flutter
  • Added verifiable credentials contracts, models, and API service
  • Added internal default credentials repository export for monorepo wiring
0
likes
140
points
111
downloads

Documentation

API reference

Publisher

verified publishercrossmint.com

Weekly Downloads

Pure-Dart verifiable credentials primitives for the Crossmint Flutter SDK — credential models, issuance, and verification.

Homepage
Repository (GitHub)
View/report issues

Topics

#crossmint #credentials

License

Apache-2.0 (license)

Dependencies

crossmint_core, http, pointycastle

More

Packages that depend on crossmint_verifiable_credentials