New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@veramo/credential-eip712

Package Overview
Dependencies
Maintainers
3
Versions
287
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@veramo/credential-eip712 - npm Package Compare versions

Comparing version 5.2.1-next.2 to 5.2.1-next.4

5

build/agent/CredentialEIP712.js

@@ -145,3 +145,6 @@ import { extractIssuer, getChainIdForDidEthr, getEthereumAddress, isDefined, MANDATORY_CREDENTIAL_CONTEXT, mapIdentifierKeysToDoc, processEntryToArray, resolveDidOrThrow, } from '@veramo/utils';

// map JWT credentials to their canonical form
if (typeof cred !== 'string' && cred.proof.jwt) {
if (typeof cred === 'string') {
return cred;
}
else if (cred.proof.jwt) {
return cred.proof.jwt;

@@ -148,0 +151,0 @@ }

8

package.json
{
"name": "@veramo/credential-eip712",
"description": "Veramo plugin for working with EIP712 Verifiable Credentials & Presentations.",
"version": "5.2.1-next.2+13294fa8",
"version": "5.2.1-next.4+469dcd9b",
"main": "build/index.js",

@@ -22,4 +22,4 @@ "exports": {

"@metamask/eth-sig-util": "^5.0.0",
"@veramo/core-types": "^5.2.1-next.2+13294fa8",
"@veramo/utils": "^5.2.1-next.2+13294fa8",
"@veramo/core-types": "^5.2.1-next.4+469dcd9b",
"@veramo/utils": "^5.2.1-next.4+469dcd9b",
"debug": "^4.3.3",

@@ -61,3 +61,3 @@ "eip-712-types-generation": "^0.1.6"

],
"gitHead": "13294fa87c347994022e2c34c4941fe681ffa084"
"gitHead": "469dcd9ba008dc73934335f55e9da80152c40371"
}

@@ -218,3 +218,5 @@ import {

// map JWT credentials to their canonical form
if (typeof cred !== 'string' && cred.proof.jwt) {
if(typeof cred === 'string') {
return cred
} else if (cred.proof.jwt) {
return cred.proof.jwt

@@ -221,0 +223,0 @@ } else {

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