@supabase/gotrue-js 2.119.0-canary.2 → 2.119.0-canary.3

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@supabase/gotrue-js",
3
- "version": "2.119.0-canary.2",
3
+ "version": "2.119.0-canary.3",
4
4
  "private": false,
5
5
  "description": "Official SDK for Supabase Auth",
6
6
  "keywords": [
@@ -1107,7 +1107,7 @@ export default class GoTrueClient {
1107
1107
  * Be aware that you may get back an error message that will not distinguish
1108
1108
  * between the cases where the account does not exist or that the
1109
1109
  * email/phone and password combination is wrong or that the account can only
1110
- * be accessed via social login.
1110
+ * be accessed via social sign-in.
1111
1111
  *
1112
1112
  * @category Auth
1113
1113
  *
@@ -1300,7 +1300,7 @@ export default class GoTrueClient {
1300
1300
  * @category Auth
1301
1301
  *
1302
1302
  * @remarks
1303
- * - This method is used for signing in using [Social Login (OAuth) providers](/docs/guides/auth#configure-third-party-providers).
1303
+ * - This method is used for signing in using [social sign-in (OAuth) providers](/docs/guides/auth/social-sign-in).
1304
1304
  * - It works by redirecting your application to the provider's authorization screen, before bringing back the user to your app.
1305
1305
  *
1306
1306
  * @example Sign in using a third-party provider
@@ -2219,7 +2219,7 @@ export default class GoTrueClient {
2219
2219
  *
2220
2220
  * Be aware that you may get back an error message that will not distinguish
2221
2221
  * between the cases where the account does not exist or, that the account
2222
- * can only be accessed via social login.
2222
+ * can only be accessed via social sign-in.
2223
2223
  *
2224
2224
  * Do note that you will need to configure a Whatsapp sender on Twilio
2225
2225
  * if you are using phone sign in with the 'whatsapp' channel. The whatsapp
@@ -4231,9 +4231,9 @@ export default class GoTrueClient {
4231
4231
  * ```
4232
4232
  *
4233
4233
  * @exampleDescription Store OAuth provider tokens on sign in
4234
- * When using [OAuth (Social Login)](/docs/guides/auth/social-login) you sometimes wish to get access to the provider's access token and refresh token, in order to call provider APIs in the name of the user.
4234
+ * When using [OAuth (social sign-in)](/docs/guides/auth/social-sign-in) you sometimes wish to get access to the provider's access token and refresh token, in order to call provider APIs in the name of the user.
4235
4235
  *
4236
- * For example, if you are using [Sign in with Google](/docs/guides/auth/social-login/auth-google) you may want to use the provider token to call Google APIs on behalf of the user. Supabase Auth does not keep track of the provider access and refresh token, but does return them for you once, immediately after sign in. You can use the `onAuthStateChange` method to listen for the presence of the provider tokens and store them in local storage. You can further send them to your server's APIs for use on the backend.
4236
+ * For example, if you are using [Sign in with Google](/docs/guides/auth/social-sign-in/auth-google) you may want to use the provider token to call Google APIs on behalf of the user. Supabase Auth does not keep track of the provider access and refresh token, but does return them for you once, immediately after sign in. You can use the `onAuthStateChange` method to listen for the presence of the provider tokens and store them in local storage. You can further send them to your server's APIs for use on the backend.
4237
4237
  *
4238
4238
  * Finally, make sure you remove them from local storage on the `SIGNED_OUT` event. If the OAuth provider supports token revocation, make sure you call those APIs either from the frontend or schedule them to be called on the backend.
4239
4239
  *
package/src/lib/types.ts CHANGED
@@ -2032,7 +2032,7 @@ export interface GoTrueMFAApi {
2032
2032
  * Returns the Authenticator Assurance Level (AAL) for the active session.
2033
2033
  *
2034
2034
  * - `aal1` (or `null`) means that the user's identity has been verified only
2035
- * with a conventional login (email+password, OTP, magic link, social login,
2035
+ * with a conventional login (email+password, OTP, magic link, social sign-in,
2036
2036
  * etc.).
2037
2037
  * - `aal2` means that the user's identity has been verified both with a conventional login and at least one MFA factor.
2038
2038
  *
@@ -4,4 +4,4 @@
4
4
  // - Debugging and support (identifying which version is running)
5
5
  // - Telemetry and logging (version reporting in errors/analytics)
6
6
  // - Ensuring build artifacts match the published package version
7
- export const version = '2.119.0-canary.2'
7
+ export const version = '2.119.0-canary.3'