Skip to content

Refine signedUrl response type#249

Open
dobesv wants to merge 1 commit intoodysseyscience:masterfrom
dobesv:patch-2
Open

Refine signedUrl response type#249
dobesv wants to merge 1 commit intoodysseyscience:masterfrom
dobesv:patch-2

Conversation

@dobesv
Copy link
Contributor

@dobesv dobesv commented May 18, 2025

The implementation only requires signedUrl to be present, and supports headers if provided. Otherwise it passes through the S3 response you provide based on how your server or getSignedUrl implementation works.

This change tries to better capture this.

It was a bit strange that the other fields like publicUrl, filename, and fileKey were included before when they were not used in any way by the library.

The implementation only requires `signedUrl` to be present, and supports `headers` if provided.  Otherwise it passes through the S3 response you provide based on how your server or `getSignedUrl` implementation works.

This change tries to better capture this.

It was a bit strange that the other fields like `publicUrl`, `filename`, and `fileKey` were included before when they were not used in any way by the library.
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