Skip to content

Commit

Permalink
fix: make multihash optional
Browse files Browse the repository at this point in the history
  • Loading branch information
hugomrdias committed Mar 7, 2022
1 parent 2acb702 commit f1f433f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export interface UploadImport extends Capability {
/**
* Constrain an import by [multihash](https://github.com/multiformats/multihash)
*/
mh: string
mh?: string
}

export interface UcanStorageOptions extends Omit<BuildParams, 'capabilities'> {
Expand Down

0 comments on commit f1f433f

Please sign in to comment.