functions_client 1.0.0-dev.3 functions_client: ^1.0.0-dev.3 copied to clipboard
A dart client library for the Supabase functions.
[1.0.0-dev.3] #
- BREAKING:
error
is now thrown instead of being returned within a response
try {
final res = await functions.invoke('myFunction');
print(res.data);
} catch (error, stacktrace) {
print('$error \n $stracktrace');
}
[1.0.0-dev.2] #
- feat: use isolates for json encoding/decoding
[1.0.0-dev.1] #
- chore: Update lints to v2.0.0
[0.0.1-dev.5] #
- fix: Change the minimul SDK version to 2.12.0
[0.0.1-dev.4] #
- fix: Fix a bug where json is not properly encoded.
- fix: Set default headers with X-Client-Info.
[0.0.1-dev.3] #
- BREAKIMG: 'body', 'headers', and
responseType
are now named parameters ofinvoke()
.
[0.0.1-dev.2] #
- BREAKIMG:
functionsUrl
andheaders
are now positional arguments.
[0.0.1-dev.1] #
- Initial pre-release.