@sphereon/ssi-types 0.34.1-fix.171 → 0.34.1-fix.182
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +2 -12
- package/dist/index.d.ts +2 -12
- package/dist/index.js +1 -3
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
- package/src/mapper/credential-mapper.ts +1 -3
- package/src/types/dcql.ts +0 -7
- package/src/types/index.ts +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1101,7 +1101,6 @@ var CredentialMapper = class _CredentialMapper {
|
|
|
1101
1101
|
* an async hasher implementation, use the decodeSdJwtVcAsync method instead and you can provide the decoded payload to methods
|
|
1102
1102
|
* instead of the compact SD-JWT.
|
|
1103
1103
|
*
|
|
1104
|
-
* @param credential
|
|
1105
1104
|
* @param hasher Hasher implementation to use for SD-JWT decoding
|
|
1106
1105
|
*/
|
|
1107
1106
|
static decodeVerifiableCredential(credential, hasher) {
|
|
@@ -1138,8 +1137,7 @@ var CredentialMapper = class _CredentialMapper {
|
|
|
1138
1137
|
* an async hasher implementation, use the decodeSdJwtVcAsync method instead and you can provide the decoded payload to methods
|
|
1139
1138
|
* instead of the compact SD-JWT.
|
|
1140
1139
|
*
|
|
1141
|
-
* @param
|
|
1142
|
-
* @param opts
|
|
1140
|
+
* @param hasher Hasher implementation to use for SD-JWT decoding
|
|
1143
1141
|
*/
|
|
1144
1142
|
static toWrappedVerifiablePresentation(originalPresentation, opts) {
|
|
1145
1143
|
if (_CredentialMapper.isMsoMdocDecodedPresentation(originalPresentation) || _CredentialMapper.isMsoMdocOid4VPEncoded(originalPresentation)) {
|