From b92790ceede513f6aaa6c0d04bf31ab70550d507 Mon Sep 17 00:00:00 2001 From: Eugene Date: Fri, 27 Sep 2024 16:03:40 +0300 Subject: [PATCH] feat(opentimestamps): updates opentimestamps type --- src/types/opentimestamps.d.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/types/opentimestamps.d.ts b/src/types/opentimestamps.d.ts index 104a81b..5c45488 100644 --- a/src/types/opentimestamps.d.ts +++ b/src/types/opentimestamps.d.ts @@ -2,6 +2,7 @@ interface OpenTimestamps { // Create a detached timestamp file from a buffer or file hash DetachedTimestampFile: { fromHash(op: any, hash: Uint8Array): any + fromBytes(op: any, buffer: Uint8Array): any } // Stamp the provided timestamp file and return a Promise