supabase-js v1 only threw an error if the fetch call itself threw an error (network errors, etc) and not if the function returned HTTP errors like 400s or 500s.It used to return type of Promise<).subscribe() in favor of new Realtime client API. RealtimeClient's disconnect method now returns type of void. ![]() RealtimeSubscription class no longer exists and replaced by RealtimeChannel.SupabaseStorageClient is no longer exported.Better error types make it easier to track down what went wrong quicker.createBucket returns a data object instead of the name of the bucket directly.Now we always return values only inside the data object across all methods. createsignedUrl used to return a url directly and and within the data object.Encodes URLs returned by createSignedUrl, createSignedUrls and getPublicUrl ( PR). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |