Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@digitalcredentials/vc

Package Overview
Dependencies
Maintainers
0
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@digitalcredentials/vc - npm Package Versions

23

9.0.1

Diff

jchartrand
published 9.0.0-beta.0 •

codenamedmitri
published 9.0.0 •

Changelog

Source

9.0.0 - 2024-09-30

Fixed

  • add signature checks to the log before running other verification checks whose errors might prevent that logging
codenamedmitri
published 8.0.1 •

Changelog

Source

8.0.1 - 2024-09-04

Fixed

  • Fix stray Error object in CredentialIssuancePurpose.
codenamedmitri
published 8.0.0 •

Changelog

Source

8.0.0 - 2024-08-04

Added

  • Add support for VC 2.0 Verifiable Credentials issuance and verification.
  • Add support for VC 2.0 Verifiable Presentations issuance and verification.
  • Add support for VC 2.0 validFrom and validUntil.
  • Add Test vectors for VC 2.0 VCs & VPs.
  • Allow credentialStatus arrays in credential status check.
  • Add derive() API for deriving new verifiable credentials from existing ones, for the purpose of selective disclosure or unlinkable presentation.
  • Add optional param now to verifyCredential(), createPresentation(), verify(), and issue().

Changed

  • BREAKING: Switch dependencies to:
    • @digitalcredentials/jsonld
    • @digitalcredentials/jsonld-signatures
    • @digitalcredentials/http-client
  • BREAKING: Default issuance now uses VC 2.0 context.
  • BREAKING: DateTime validator is now an xml schema DateTime validator.
  • Change engines.node to >=18 to support newer keys & suites.
  • Update dependencies.
    • BREAKING: Remove support for expansionMap. (Removed in dependencies.)
  • BREAKING: Use jsonld-signatures@11 and jsonld@8 to get new safe mode (and on by default when using canonize) feature.
  • BREAKING: Check if credential has expired when expirationDate property exists.
  • BREAKING: Convert to module (ESM).
  • BREAKING: Require Node.js >=14.
  • Update dependencies.
    • BREAKING: did-veres-one@15.0.0 used in tests.
  • Lint module.

Fixed

  • Ensure that issuanceDate is only checked on verification, not issuance.
  • Fix bug with option overrides for verifying presentations.

Removed

  • BREAKING: Remove ODRL and VC examples contexts from ./lib/contexts/ and from the default document loader. The contexts are now available in @digitalbazaar/odrl-context and @digitalbazaar/credentials-examples-context.
codenamedmitri
published 7.0.0 •

Changelog

Source

7.0.0 - 2024-02-07

Changed

  • Switch to DigitalBazaar's jsonld, http-client and rdf-canonize libs
  • Switch to Sphereon's fork of isomorphic-webcrypto
codenamedmitri
published 6.0.1 •

Changelog

Source

6.0.1 - 2024-01-23

Changed

  • Update to use latest OBv3 context in tests
  • Add a test for verifying a 2018-signed VC.
codenamedmitri
published 6.0.0 •

Changelog

Source

6.0.0 - 2023-06-16

Changed

  • BREAKING: Add a fallback/override for legacy OBv3 VCs.
codenamedmitri
published 5.0.0 •

Changelog

Source

5.0.0 - 2022-11-03

Changed

  • BREAKING: Remove check if issuanceDate is not in the future as this is a fully expected use-case (to issue credentials that become valid at some point in time).
codenamedmitri
published 4.2.0 •

Changelog

Source

4.2.0 - 2022-10-19

Fixed

  • BREAKING: For verify() and verifyCredential(), if an error is encountered, re-throw it (do not return it as part of the results log).
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc