@sphereon/oid4vc-common
Advanced tools
Comparing version 0.16.1-unstable.16 to 0.16.1-unstable.25
@@ -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
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
97086
+ Added@js-joda/core@5.6.3(transitive)
+ Added@js-joda/timezone@2.3.0(transitive)
+ Added@sphereon/kmp-mdl-mdoc@0.2.0-SNAPSHOT.22(transitive)
+ Added@sphereon/ssi-types@0.29.1-unstable.208(transitive)
+ Addedformat-util@1.0.5(transitive)
- Removed@sphereon/ssi-types@0.29.0(transitive)