@sd-jwt/types
Advanced tools
Comparing version 0.6.1 to 0.6.2-next.1
@@ -131,4 +131,8 @@ declare const SD_SEPARATOR = "~"; | ||
} & SD<Payload> & DECOY> : SD<Payload> & DECOY; | ||
type DisclosureFrame<T extends object> = Frame<T>; | ||
/** | ||
* This is a disclosureFrame type that is used to represent the structure of what is being disclosed. | ||
*/ | ||
type Extensible = Record<string, unknown | boolean>; | ||
type DisclosureFrame<T extends Extensible> = Frame<T>; | ||
/** | ||
* This is a presentationFrame type that is used to represent the structure of what is being presented. | ||
@@ -179,4 +183,4 @@ * PresentationFrame is made from the payload type. | ||
}; | ||
type PresentationFrame<T extends object> = PFrame<T>; | ||
type PresentationFrame<T extends Extensible> = PFrame<T>; | ||
export { type Base64urlString, type DECOY, type DisclosureData, type DisclosureFrame, type Hasher, type HasherAndAlg, type HasherAndAlgSync, type HasherSync, type JwtPayload, type KBOptions, KB_JWT_TYP, type KbVerifier, type OrPromise, type PresentationFrame, type SD, type SDJWTCompact, type SDJWTConfig, SD_DECOY, SD_DIGEST, SD_LIST_KEY, SD_SEPARATOR, type SaltGenerator, type SaltGeneratorSync, type Signer, type SignerSync, type Verifier, type VerifierSync, type kbHeader, type kbPayload }; | ||
export { type Base64urlString, type DECOY, type DisclosureData, type DisclosureFrame, type Extensible, type Hasher, type HasherAndAlg, type HasherAndAlgSync, type HasherSync, type JwtPayload, type KBOptions, KB_JWT_TYP, type KbVerifier, type OrPromise, type PresentationFrame, type SD, type SDJWTCompact, type SDJWTConfig, SD_DECOY, SD_DIGEST, SD_LIST_KEY, SD_SEPARATOR, type SaltGenerator, type SaltGeneratorSync, type Signer, type SignerSync, type Verifier, type VerifierSync, type kbHeader, type kbPayload }; |
{ | ||
"name": "@sd-jwt/types", | ||
"version": "0.6.1", | ||
"version": "0.6.2-next.1+9356aee", | ||
"description": "sd-jwt draft 7 implementation in typescript", | ||
@@ -56,3 +56,3 @@ "main": "dist/index.js", | ||
}, | ||
"gitHead": "f19b76c7c3a66c539a5eac06ff20ad2ac17dcf47" | ||
"gitHead": "9356aee736425adf4b3f0af2123d2bcfb82a28ea" | ||
} |
@@ -156,4 +156,9 @@ export const SD_SEPARATOR = '~'; | ||
export type DisclosureFrame<T extends object> = Frame<T>; | ||
/** | ||
* This is a disclosureFrame type that is used to represent the structure of what is being disclosed. | ||
*/ | ||
export type Extensible = Record<string, unknown | boolean>; | ||
export type DisclosureFrame<T extends Extensible> = Frame<T>; | ||
/** | ||
@@ -212,2 +217,2 @@ * This is a presentationFrame type that is used to represent the structure of what is being presented. | ||
export type PresentationFrame<T extends object> = PFrame<T>; | ||
export type PresentationFrame<T extends Extensible> = PFrame<T>; |
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
35052
523
1