Skip to content

Commit

Permalink
fix: store add capabilities
Browse files Browse the repository at this point in the history
BREAKING CHANGE: store/add capabilities now have required properties
  • Loading branch information
vasco-santos committed Nov 15, 2022
1 parent 2653ad2 commit 927f891
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/access/src/capabilities/store.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const add = base.derive({
can: 'store/add',
with: URI.match({ protocol: 'did:' }),
nb: {
link: Link.optional(),
link: Link.link(),
origin: Link.optional(),
size: Schema.integer().optional(),
},
Expand Down

0 comments on commit 927f891

Please sign in to comment.