Skip to content

fix: adopt @rendobar/sdk v3 upload API#46

Merged
a-essawy merged 1 commit into
mainfrom
fix/sdk-v3-upload
Jun 10, 2026
Merged

fix: adopt @rendobar/sdk v3 upload API#46
a-essawy merged 1 commit into
mainfrom
fix/sdk-v3-upload

Conversation

@a-essawy

Copy link
Copy Markdown
Contributor

SDK 3.0.0 removed uploads.upload(). Switch to uploads.create() (one-call presign + upload + finalize, returns the asset) and reference the file by its stable content URL (asset.url) instead of { downloadUrl }.

Bumps @rendobar/sdk ^2.0.0 → ^3.0.0. typecheck clean, 128 tests pass.

SDK 3.0.0 removed uploads.upload(). Use uploads.create(), which presigns,
uploads, and finalizes in one call and returns the asset. Reference the
uploaded file by its stable content URL (asset.url) instead of the old
{ downloadUrl }.
@a-essawy a-essawy merged commit 2c4fa91 into main Jun 10, 2026
2 checks passed
This was referenced Jun 10, 2026
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.

1 participant