@supabase/auth-js 2.110.0 → 2.110.1-canary.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.
Files changed (41) hide show
  1. package/dist/main/GoTrueAdminApi.d.ts +1 -4
  2. package/dist/main/GoTrueAdminApi.d.ts.map +1 -1
  3. package/dist/main/GoTrueAdminApi.js +1 -4
  4. package/dist/main/GoTrueAdminApi.js.map +1 -1
  5. package/dist/main/GoTrueClient.d.ts +32 -19
  6. package/dist/main/GoTrueClient.d.ts.map +1 -1
  7. package/dist/main/GoTrueClient.js +61 -17
  8. package/dist/main/GoTrueClient.js.map +1 -1
  9. package/dist/main/lib/errors.d.ts +1 -1
  10. package/dist/main/lib/locks.d.ts +1 -1
  11. package/dist/main/lib/locks.js +1 -1
  12. package/dist/main/lib/types.d.ts +9 -9
  13. package/dist/main/lib/version.d.ts +1 -1
  14. package/dist/main/lib/version.d.ts.map +1 -1
  15. package/dist/main/lib/version.js +1 -1
  16. package/dist/main/lib/version.js.map +1 -1
  17. package/dist/module/GoTrueAdminApi.d.ts +1 -4
  18. package/dist/module/GoTrueAdminApi.d.ts.map +1 -1
  19. package/dist/module/GoTrueAdminApi.js +1 -4
  20. package/dist/module/GoTrueAdminApi.js.map +1 -1
  21. package/dist/module/GoTrueClient.d.ts +32 -19
  22. package/dist/module/GoTrueClient.d.ts.map +1 -1
  23. package/dist/module/GoTrueClient.js +61 -17
  24. package/dist/module/GoTrueClient.js.map +1 -1
  25. package/dist/module/lib/errors.d.ts +1 -1
  26. package/dist/module/lib/locks.d.ts +1 -1
  27. package/dist/module/lib/locks.js +1 -1
  28. package/dist/module/lib/types.d.ts +9 -9
  29. package/dist/module/lib/version.d.ts +1 -1
  30. package/dist/module/lib/version.d.ts.map +1 -1
  31. package/dist/module/lib/version.js +1 -1
  32. package/dist/module/lib/version.js.map +1 -1
  33. package/dist/tsconfig.module.tsbuildinfo +1 -1
  34. package/dist/tsconfig.tsbuildinfo +1 -1
  35. package/package.json +3 -3
  36. package/src/GoTrueAdminApi.ts +1 -4
  37. package/src/GoTrueClient.ts +71 -20
  38. package/src/lib/errors.ts +1 -1
  39. package/src/lib/locks.ts +1 -1
  40. package/src/lib/types.ts +9 -9
  41. package/src/lib/version.ts +1 -1
@@ -166,7 +166,7 @@ export type RequestResult<T, ErrorType extends Error = AuthError> = {
166
166
  };
167
167
  /**
168
168
  * similar to RequestResult except it allows you to destructure the possible shape of the success response
169
- * {@see RequestResult}
169
+ * {@link RequestResult}
170
170
  */
171
171
  export type RequestResultSafeDestructure<T> = {
172
172
  data: T;
@@ -189,7 +189,7 @@ export type AuthResponsePassword = RequestResultSafeDestructure<{
189
189
  /**
190
190
  * AuthOtpResponse is returned when OTP is used.
191
191
  *
192
- * {@see AuthResponse}
192
+ * {@link AuthResponse}
193
193
  */
194
194
  export type AuthOtpResponse = RequestResultSafeDestructure<{
195
195
  user: null;
@@ -313,7 +313,7 @@ type FactorVerificationStatus = (typeof FactorVerificationStatuses)[number];
313
313
  *
314
314
  * @see {@link GoTrueMFAApi#enroll}
315
315
  * @see {@link GoTrueMFAApi#listFactors}
316
- * @see {@link GoTrueMFAAdminApi#listFactors}
316
+ * @see {@link GoTrueAdminMFAApi#listFactors}
317
317
  */
318
318
  export type Factor<Type extends FactorType = FactorType, Status extends FactorVerificationStatus = (typeof FactorVerificationStatuses)[number]> = {
319
319
  /** ID of the factor. */
@@ -1412,14 +1412,14 @@ export interface GoTrueMFAApi {
1412
1412
  webauthn: WebAuthnApi;
1413
1413
  }
1414
1414
  /**
1415
- * @expermental
1415
+ * @experimental
1416
1416
  */
1417
1417
  export type AuthMFAAdminDeleteFactorResponse = RequestResult<{
1418
1418
  /** ID of the factor that was successfully deleted. */
1419
1419
  id: string;
1420
1420
  }>;
1421
1421
  /**
1422
- * @expermental
1422
+ * @experimental
1423
1423
  */
1424
1424
  export type AuthMFAAdminDeleteFactorParams = {
1425
1425
  /** ID of the MFA factor to delete. */
@@ -1428,14 +1428,14 @@ export type AuthMFAAdminDeleteFactorParams = {
1428
1428
  userId: string;
1429
1429
  };
1430
1430
  /**
1431
- * @expermental
1431
+ * @experimental
1432
1432
  */
1433
1433
  export type AuthMFAAdminListFactorsResponse = RequestResult<{
1434
1434
  /** All factors attached to the user. */
1435
1435
  factors: Factor[];
1436
1436
  }>;
1437
1437
  /**
1438
- * @expermental
1438
+ * @experimental
1439
1439
  */
1440
1440
  export type AuthMFAAdminListFactorsParams = {
1441
1441
  /** ID of the user. */
@@ -1444,7 +1444,7 @@ export type AuthMFAAdminListFactorsParams = {
1444
1444
  /**
1445
1445
  * Contains the full multi-factor authentication administration API.
1446
1446
  *
1447
- * @expermental
1447
+ * @experimental
1448
1448
  */
1449
1449
  export interface GoTrueAdminMFAApi {
1450
1450
  /**
@@ -1485,7 +1485,7 @@ export interface GoTrueAdminMFAApi {
1485
1485
  *
1486
1486
  * @see {@link GoTrueMFAApi#unenroll}
1487
1487
  *
1488
- * @expermental
1488
+ * @experimental
1489
1489
  *
1490
1490
  * @category Auth
1491
1491
  * @subcategory Auth Admin
@@ -1,2 +1,2 @@
1
- export declare const version = "2.110.0";
1
+ export declare const version = "2.110.1-canary.0";
2
2
  //# sourceMappingURL=version.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,YAAY,CAAA"}
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAMA,eAAO,MAAM,OAAO,qBAAqB,CAAA"}
@@ -4,5 +4,5 @@
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.110.0';
7
+ export const version = '2.110.1-canary.0';
8
8
  //# sourceMappingURL=version.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,gEAAgE;AAChE,uEAAuE;AACvE,iEAAiE;AACjE,kEAAkE;AAClE,iEAAiE;AACjE,MAAM,CAAC,MAAM,OAAO,GAAG,SAAS,CAAA"}
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../../src/lib/version.ts"],"names":[],"mappings":"AAAA,6EAA6E;AAC7E,gEAAgE;AAChE,uEAAuE;AACvE,iEAAiE;AACjE,kEAAkE;AAClE,iEAAiE;AACjE,MAAM,CAAC,MAAM,OAAO,GAAG,kBAAkB,CAAA"}