Skip to content

Commit

Permalink
fix: README with uploadDirectory, not store (storacha#1106)
Browse files Browse the repository at this point in the history
  • Loading branch information
dchoi27 authored Nov 9, 2023
1 parent 471d7e5 commit 22773bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/w3up-client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ const files = [
new File([someBinaryData], 'images/example.png'),
]

const directoryCid = await client.storeDirectory(files)
const directoryCid = await client.uploadDirectory(files)
```

In the example above, `directoryCid` resolves to an IPFS directory with the following layout:
Expand Down

0 comments on commit 22773bf

Please sign in to comment.