Skip to content

Commit 46b483f

Browse files
authored
docs: Fix typos (#1108)
1 parent ece9ab2 commit 46b483f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

packages/functions_client/lib/src/functions_client.dart

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class FunctionsClient {
3939

4040
/// Updates the authorization header
4141
///
42-
/// [token] - the new jwt token sent in the authorisation header
42+
/// [token] - the new jwt token sent in the authorization header
4343
void setAuth(String token) {
4444
_headers['Authorization'] = 'Bearer $token';
4545
}
@@ -53,7 +53,7 @@ class FunctionsClient {
5353
/// [body] of the request when [files] is null and can be of type String
5454
/// or an Object that is encodable to JSON with `jsonEncode`.
5555
/// If [files] is not null, [body] represents the fields of the
56-
/// [MultipartRequest] and must be be of type `Map<String, String>`.
56+
/// [MultipartRequest] and must be of type `Map<String, String>`.
5757
///
5858
/// [files] to send in a `MultipartRequest`. [body] is used for the fields.
5959
///

packages/storage_client/lib/src/storage_client.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class SupabaseStorageClient extends StorageBucketApi {
3838
int retryAttempts = 0,
3939
}) : assert(
4040
retryAttempts >= 0,
41-
'retryAttempts has to be great than or equal to 0',
41+
'retryAttempts has to be greater than or equal to 0',
4242
),
4343
_defaultRetryAttempts = retryAttempts,
4444
super(

packages/supabase/lib/src/realtime_client_options.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class RealtimeClientOptions {
1111
'Client side rate limit has been removed. This option will be ignored.')
1212
final int? eventsPerSecond;
1313

14-
/// Level of realtime server logs to to be logged
14+
/// Level of realtime server logs to be logged
1515
final RealtimeLogLevel? logLevel;
1616

1717
/// the timeout to trigger push timeouts

packages/supabase_flutter/lib/src/supabase.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ class Supabase with WidgetsBindingObserver {
257257
// Reconnect if the socket is currently not connected.
258258
// When coming from [AppLifecycleState.paused] this should be the case,
259259
// but when coming from [AppLifecycleState.inactive] no disconnect
260-
// happened and therefore connection should still be intanct and we
260+
// happened and therefore connection should still be intact and we
261261
// should not reconnect.
262262

263263
// ignore: invalid_use_of_internal_member

0 commit comments

Comments
 (0)