storage-js icon indicating copy to clipboard operation
storage-js copied to clipboard

FetchParameters for upload and updating

Open scottrblock opened this issue 9 months ago • 0 comments

What kind of change does this PR introduce?

This builds upon https://github.com/supabase/supabase-js/pull/150 to allow FetchParameters to be passed to uploadOrUpdate.

What is the current behavior?

You cannot pass these to upload or update methods, which would be useful.

What is the new behavior?

You can pass the additional option which allows an abort signal. The test has an example.

Additional context

I couldn't get the tests to run locally so they may not be right.

scottrblock avatar May 12 '24 21:05 scottrblock