feat(opentimestamps): updates opentimestamps type

This commit is contained in:
eugene 2024-09-27 16:03:40 +03:00
parent 7f00f9e8bf
commit b92790ceed

View File

@ -2,6 +2,7 @@ interface OpenTimestamps {
// Create a detached timestamp file from a buffer or file hash // Create a detached timestamp file from a buffer or file hash
DetachedTimestampFile: { DetachedTimestampFile: {
fromHash(op: any, hash: Uint8Array): any fromHash(op: any, hash: Uint8Array): any
fromBytes(op: any, buffer: Uint8Array): any
} }
// Stamp the provided timestamp file and return a Promise // Stamp the provided timestamp file and return a Promise