Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@sphereon/ssi-types

Package Overview
Dependencies
Maintainers
4
Versions
1218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sphereon/ssi-types - npm Package Compare versions

Comparing version 0.8.1-unstable.268 to 0.8.1-unstable.269

4

dist/mapper/credential-mapper.js

@@ -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,

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc