@ethlete/query 5.29.1 → 5.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -40,6 +40,10 @@ export type BearerAuthProvider<TLoginArgs extends QueryArgs, TTokenLoginArgs ext
|
|
|
40
40
|
* Disables cookie usage for the auth provider and removes the cookie.
|
|
41
41
|
*/
|
|
42
42
|
disableCookie: () => void;
|
|
43
|
+
/**
|
|
44
|
+
* Checks if the cookie is present.
|
|
45
|
+
*/
|
|
46
|
+
isCookiePresent: () => boolean;
|
|
43
47
|
/**
|
|
44
48
|
* Tries to login with the given cookie config.
|
|
45
49
|
* Returns `true` if a cookie was found, `false` otherwise.
|