@sd-jwt/types
Advanced tools
Comparing version 0.7.2-next.6 to 0.7.2-next.7
@@ -70,3 +70,3 @@ declare const SD_SEPARATOR = "~"; | ||
type KbVerifier = (data: string, sig: string, payload: JwtPayload) => OrPromise<boolean>; | ||
type Hasher = (data: string, alg: string) => OrPromise<Uint8Array>; | ||
type Hasher = (data: string | ArrayBuffer, alg: string) => OrPromise<Uint8Array>; | ||
type SaltGenerator = (length: number) => OrPromise<string>; | ||
@@ -73,0 +73,0 @@ type HasherAndAlg = { |
{ | ||
"name": "@sd-jwt/types", | ||
"version": "0.7.2-next.6+c3f4580", | ||
"version": "0.7.2-next.7+96e76a9", | ||
"description": "sd-jwt draft 7 implementation in typescript", | ||
@@ -56,3 +56,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "c3f4580c6e93856b5eaaad98d12984a7be932639" | ||
"gitHead": "96e76a9d553bff34274b5ad243d0154cd220061b" | ||
} |
@@ -82,3 +82,6 @@ export const SD_SEPARATOR = '~'; | ||
) => OrPromise<boolean>; | ||
export type Hasher = (data: string, alg: string) => OrPromise<Uint8Array>; | ||
export type Hasher = ( | ||
data: string | ArrayBuffer, | ||
alg: string, | ||
) => OrPromise<Uint8Array>; | ||
export type SaltGenerator = (length: number) => OrPromise<string>; | ||
@@ -85,0 +88,0 @@ export type HasherAndAlg = { |
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
35647
528