@sphereon/ssi-types
Advanced tools
Comparing version 0.8.1-unstable.268 to 0.8.1-unstable.269
@@ -96,6 +96,6 @@ "use strict"; | ||
const type = isJwtEncoded ? types_1.OriginalType.JWT_ENCODED : isJwtDecoded ? types_1.OriginalType.JWT_DECODED : types_1.OriginalType.JSONLD; | ||
const credential = isJwtDecoded || isJwtDecoded | ||
const credential = isJwtEncoded || isJwtDecoded | ||
? CredentialMapper.jwtDecodedCredentialToUniformCredential(decoded, opts) | ||
: decoded; | ||
const format = isJwtDecoded || isJwtDecoded ? 'jwt_vc' : 'ldp_vc'; | ||
const format = isJwtEncoded || isJwtDecoded ? 'jwt_vc' : 'ldp_vc'; | ||
return { | ||
@@ -102,0 +102,0 @@ original, |
{ | ||
"name": "@sphereon/ssi-types", | ||
"description": "SSI Common Types", | ||
"version": "0.8.1-unstable.268+50a264a", | ||
"version": "0.8.1-unstable.269+4caadec", | ||
"main": "dist/index.js", | ||
@@ -41,3 +41,3 @@ "types": "dist/index.d.ts", | ||
], | ||
"gitHead": "50a264a366a293a9d9cec9c81aad640ba3391bb1" | ||
"gitHead": "4caadec6fe8afbda53d30a74da7b5c8187aac0ad" | ||
} |
@@ -123,7 +123,7 @@ import { | ||
const credential = | ||
isJwtDecoded || isJwtDecoded | ||
isJwtEncoded || isJwtDecoded | ||
? CredentialMapper.jwtDecodedCredentialToUniformCredential(decoded as JwtDecodedVerifiableCredential, opts) | ||
: (decoded as IVerifiableCredential) | ||
const format = isJwtDecoded || isJwtDecoded ? 'jwt_vc' : 'ldp_vc' | ||
const format = isJwtEncoded || isJwtDecoded ? 'jwt_vc' : 'ldp_vc' | ||
return { | ||
@@ -130,0 +130,0 @@ original, |
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package