Skip to content

Commit

Permalink
fix: store export (#197)
Browse files Browse the repository at this point in the history
Documented as `Store` in the README and this it aligns better with the
capability name. I had it as `Storage` for a while but changed it to
`Store`...but missed this instance 🤦‍♂️
  • Loading branch information
alanshaw committed Nov 22, 2022
1 parent 6fbdbdd commit 9b836e6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/upload-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const agent = await Agent.create()
const conf = {
issuer: agent.issuer,
with: agent.currentSpace(),
proofs: agent.getProofs([store, upload]),
proofs: await agent.proofs([store, upload]),
}
```

Expand Down
4 changes: 2 additions & 2 deletions packages/upload-client/src/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import * as Storage from './store.js'
import * as Store from './store.js'
import * as Upload from './upload.js'
import * as UnixFS from './unixfs.js'
import * as CAR from './car.js'
import { ShardingStream, ShardStoringStream } from './sharding.js'

export { Storage, Upload, UnixFS, CAR }
export { Store, Upload, UnixFS, CAR }
export * from './sharding.js'

/**
Expand Down

0 comments on commit 9b836e6

Please sign in to comment.