Skip to content

Commit

Permalink
fix!: remove ucan bucket interface (#594)
Browse files Browse the repository at this point in the history
See
https://github.com/web3-storage/w3infra/blob/main/upload-api/functions/ucan-invocation-router.js#L66-L88
where this bucket is created but not provided to `upload-api` ucanto
server

BREAKING CHANGE: ucan bucket is not part of upload-api but rather
ucan-api
  • Loading branch information
vasco-santos authored Mar 22, 2023
1 parent 81300dc commit fa9504b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/upload-api/src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,6 @@ export interface DudewhereBucket {
put: (dataCid: string, carCid: string) => Promise<void>
}

export interface UcanBucket {
put: (carCid: string, bytes: Uint8Array) => Promise<void>
}

export interface StoreTable {
exists: (space: DID, link: UnknownLink) => Promise<boolean>
insert: (item: StoreAddInput) => Promise<StoreAddOutput>
Expand Down

0 comments on commit fa9504b

Please sign in to comment.