Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update docs for client v15 #93

Merged
merged 2 commits into from
Jun 14, 2024
Merged

Conversation

alanshaw
Copy link
Member

v15 reduces the amount of code and additional dependencies required to be installed to make for better DX.

Copy link
Contributor

github-actions bot commented Jun 14, 2024

Comment on lines 105 to 108
const inStream = fs.createReadStream(filename)
const car = await CarReader.fromIterable(inStream)
const client = makeStorageClient()
const cid = await client.uploadCAR(car)
Copy link
Contributor

@vasco-santos vasco-santos Jun 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

note that this is not correct, but we can update in follow up PR given it is not the scope goal of the PR #94

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I fix it here ;)

@alanshaw alanshaw merged commit 42a0544 into main Jun 14, 2024
3 checks passed
@alanshaw alanshaw deleted the feat/update-docs-for-client-v15 branch June 14, 2024 09:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants