issue-166-open-timestamps #220
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