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

@sphereon/oid4vc-common

Package Overview
Dependencies
Maintainers
0
Versions
135
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@sphereon/oid4vc-common - npm Package Compare versions

Comparing version 0.16.1-unstable.16 to 0.16.1-unstable.25

2

lib/hasher.ts

@@ -8,3 +8,3 @@ import { Hasher } from '@sphereon/ssi-types';

export const defaultHasher: Hasher = (data, algorithm) => {
const sanitizedAlgorithm = algorithm.toLowerCase().replace(/[-_]/g, '')
const sanitizedAlgorithm = algorithm.toLowerCase().replace(/[-_]/g, '');
if (!supportedAlgorithms.includes(sanitizedAlgorithm as SupportedAlgorithms)) {

@@ -11,0 +11,0 @@ throw new Error(`Unsupported hashing algorithm ${algorithm}`);

{
"name": "@sphereon/oid4vc-common",
"version": "0.16.1-unstable.16+735a277",
"version": "0.16.1-unstable.25+2f1fcee",
"description": "OpenID 4 Verifiable Credentials Common",

@@ -13,3 +13,3 @@ "source": "lib/index.ts",

"dependencies": {
"@sphereon/ssi-types": "0.29.0",
"@sphereon/ssi-types": "0.29.1-unstable.208",
"jwt-decode": "^4.0.0",

@@ -56,3 +56,3 @@ "sha.js": "^2.4.11",

},
"gitHead": "735a2774653b6e5e08c594f55bb2d65deeca6805"
"gitHead": "2f1fcee8ba67229f037d5387be73fb9ab0d998d1"
}

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