From 52ff1f7e9a7427b3851b94709e20c24ac79b3fd5 Mon Sep 17 00:00:00 2001 From: Kohei Watanabe Date: Mon, 6 Jan 2025 11:32:52 +0900 Subject: [PATCH] add documentation for IntegrityMetadata class properties --- src/index.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/index.ts b/src/index.ts index 089f244..eaccad8 100644 --- a/src/index.ts +++ b/src/index.ts @@ -90,8 +90,11 @@ export type IntegrityMetadataLike = { * Class representing integrity metadata, consisting of a hash algorithm and hash value. */ export class IntegrityMetadata implements IntegrityMetadataLike { + /** Hash algorithm */ alg: PrioritizedHashAlgorithm; + /** The base64-encoded hash value of the resource */ val: string; + /** Optional additional attributes */ opt: string[]; /**