storage-js
storage-js copied to clipboard
FetchParameters for upload and updating
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.