Skip to content

Commit

Permalink
docs: update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
vasco-santos committed Jan 23, 2024
1 parent 794e832 commit c86d96c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions packages/w3up-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -392,6 +392,7 @@ sequenceDiagram
- [`addProof`](#addproof)
- [`delegations`](#delegations)
- [`createDelegation`](#createdelegation)
- [`remove`](#remove)
- [`capability.access.authorize`](#capabilityaccessauthorize)
- [`capability.access.claim`](#capabilityaccessclaim)
- [`capability.space.info`](#capabilityspaceinfo)
Expand Down Expand Up @@ -592,6 +593,21 @@ function createDelegation (

Create a delegation to the passed audience for the given abilities with the _current_ space as the resource.

### `remove`

```ts
function remove (
contentCID?: CID
options: {
shards?: boolean
} = {}
): Promise<Delegation>
```

Removes association of a content CID with the space. Optionally, also removes association of CAR shards with space.

⚠️ Please be aware that all shards will be deleted even if there is another upload(s) that reference same shards, which in turn could corrupt those uploads.

### `getReceipt`

```ts
Expand Down

0 comments on commit c86d96c

Please sign in to comment.