@sphereon/pex
Advanced tools
Changelog
v1.0.0 - 2022-01-13
This is the first stable PEX library that has complete support for V1 and V2 of the Presentation Exchange spec.
limitDisclosure
and holderDids
arguments made optional everywhere. Do note that definitions that use some
holder binding and/or selective disclosure require these arguments to be present, so we advise to always populate
themChangelog
v0.7.0 - 2022-01-11
Escape JsonLD terms in json-paths. This allows path constructs like $..@context
to be used in definitions. Improved
JWT VC handling.
@context
need to be escaped for the json-path library.
As long as the @ is followed by one or more word-characters we internally escape it, so that the json-path library
functions as one would expect.Changelog
v0.6.2 - 2021-12-31
No exports of internal structures anymore. Split internal and external interfaces and types
Changelog
v0.6.1 - 2021-12-31
Small improvements in the Credential interfaces, removal of exposure of internal structures in the PEX class. Small bugfixes
Changed:
@context
evaluation for V1 schema values, we now look at the credentialSchema
Fixed:
Changelog
v0.6.0 - 2021-12-29
Breaking change: class and package renamed as of v0.6.0!
As part of introducing Presentation Exchange v1 and v2 feature based detection support to our Presentation Exchange library and not reaching version 1.X yet, we decided to change the name of both the package and the main entry class:
@sphereon/pe-js
to @sphereon/pex
PEJS
to PEX
. The latter class has internal feature detection support on the
provided definition, delegating the actual implementation to the new PEXv1
or PEXv2
class internally. If you don't
want the automatic feature detection you can also choose to use the PEXv1
and PEXv2
classes directly.Add Presentation Exchange v2 support, separating JWT Verifiable Credentials and JSON-LD VerifiableCredentials
Breaking change: class and package renamed in v0.6.0! As part of introducing Presentation Exchange v1 and v2 feature based detection support to our Presentation Exchange library and not reaching version 1.X yet, we decided to change the name of both the package and the main entry class:
The package was changed from @sphereon/pe-js
to @sphereon/pex
The main class was changed from PEJS
to PEX
. The latter class has internal feature detection support on the
provided definition, delegating the actual implementation to the new PEXv1
or PEXv2
class internally. If you don't
want the automatic feature detection you can also choose to use the PEXv1
and PEXv2
classes directly.
Added:
frame
validation