@sphereon/ssi-types 0.34.1-feature.DIIPv4.218 → 0.34.1-feature.DIIPv4.242

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 CHANGED
@@ -1101,6 +1101,7 @@ 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
1104
1105
  * @param hasher Hasher implementation to use for SD-JWT decoding
1105
1106
  */
1106
1107
  static decodeVerifiableCredential(credential, hasher) {
@@ -1137,7 +1138,8 @@ var CredentialMapper = class _CredentialMapper {
1137
1138
  * an async hasher implementation, use the decodeSdJwtVcAsync method instead and you can provide the decoded payload to methods
1138
1139
  * instead of the compact SD-JWT.
1139
1140
  *
1140
- * @param hasher Hasher implementation to use for SD-JWT decoding
1141
+ * @param originalPresentation
1142
+ * @param opts
1141
1143
  */
1142
1144
  static toWrappedVerifiablePresentation(originalPresentation, opts) {
1143
1145
  if (_CredentialMapper.isMsoMdocDecodedPresentation(originalPresentation) || _CredentialMapper.isMsoMdocOid4VPEncoded(originalPresentation)) {