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.267 to 0.8.1-unstable.268

6

dist/mapper/credential-mapper.js

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

4

package.json
{
"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

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