Skip to content

Commit

Permalink
fix: export new subscription, usage and filecoin clients (storacha#1111)
Browse files Browse the repository at this point in the history
This fixes type information on `client.capability.x` and adds the
ability to use them separately.
  • Loading branch information
Alan Shaw authored Nov 9, 2023
1 parent 62a1d43 commit 7fe797d
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/w3up-client/src/client.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,15 @@ import { AccessClient } from './capability/access.js'
import { FilecoinClient } from './capability/filecoin.js'
export * as Access from './capability/access.js'

export { StoreClient, UploadClient, SpaceClient, AccessClient }
export {
AccessClient,
FilecoinClient,
StoreClient,
SpaceClient,
SubscriptionClient,
UploadClient,
UsageClient,
}

export class Client extends Base {
/**
Expand Down

0 comments on commit 7fe797d

Please sign in to comment.