Skip to main content

Namespace: Top

@web3-storage/capabilities.Top

Top Capabilities

These can be imported directly with:

import * as Account from '@web3-storage/capabilities/top'

Variables

top

Const top: TheCapabilityParser<CapabilityMatch<"*", URI<"did:">, {}>>

Represents the top { can: '*', with: 'did:key:zAlice' } capability, which we often also call account linking.

See

https://github.com/ucan-wg/spec#52-top

Defined in

packages/capabilities/src/top.js:21