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