interface-ipld-format
Advanced tools
Comparing version 0.0.1 to 0.0.2
{ | ||
"name": "interface-ipld-format", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"description": "IPLD format", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -6,4 +6,4 @@ import CID from 'cids' | ||
export interface CIDOptions { | ||
cidVersion: CID.CIDVersion, | ||
hashAlg: Multihashes.HashCode | ||
cidVersion?: CID.CIDVersion, | ||
hashAlg?: Multihashes.HashCode | ||
} | ||
@@ -18,3 +18,3 @@ | ||
deserialize (binaryBlob: Uint8Array) : T | ||
cid (binaryBlob: Uint8Array, options: { }) : Promise<CID> | ||
cid (binaryBlob: Uint8Array, options?: CIDOptions) : Promise<CID> | ||
} | ||
@@ -21,0 +21,0 @@ |
25976