feat(opentimestamps): updates opentimestamps type
This commit is contained in:
parent
7f00f9e8bf
commit
b92790ceed
1
src/types/opentimestamps.d.ts
vendored
1
src/types/opentimestamps.d.ts
vendored
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user