@sphereon/ssi-types
Advanced tools
Comparing version 0.8.1-unstable.267 to 0.8.1-unstable.268
@@ -99,8 +99,2 @@ "use strict"; | ||
: decoded; | ||
if (typeof credential.type === 'string') { | ||
credential.type = [credential.type]; | ||
} | ||
if (typeof credential['@context'] === 'string') { | ||
credential['@context'] = [credential['@context']]; | ||
} | ||
const format = isJwtDecoded || isJwtDecoded ? 'jwt_vc' : 'ldp_vc'; | ||
@@ -107,0 +101,0 @@ return { |
{ | ||
"name": "@sphereon/ssi-types", | ||
"description": "SSI Common Types", | ||
"version": "0.8.1-unstable.267+3c2b8ed", | ||
"version": "0.8.1-unstable.268+50a264a", | ||
"main": "dist/index.js", | ||
@@ -41,3 +41,3 @@ "types": "dist/index.d.ts", | ||
], | ||
"gitHead": "3c2b8ed171aa196473afedb007ba27e4c1c3e71f" | ||
"gitHead": "50a264a366a293a9d9cec9c81aad640ba3391bb1" | ||
} |
@@ -126,9 +126,3 @@ import { | ||
: (decoded as IVerifiableCredential) | ||
if (typeof credential.type === 'string') { | ||
credential.type = [credential.type] | ||
} | ||
if (typeof credential['@context'] === 'string') { | ||
credential['@context'] = [credential['@context']] | ||
} | ||
const format = isJwtDecoded || isJwtDecoded ? 'jwt_vc' : 'ldp_vc' | ||
@@ -135,0 +129,0 @@ return { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
102168
1487