@supabase/auth-js 2.110.0-canary.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.
- package/dist/main/GoTrueAdminApi.d.ts +1 -4
- package/dist/main/GoTrueAdminApi.d.ts.map +1 -1
- package/dist/main/GoTrueAdminApi.js +1 -4
- package/dist/main/GoTrueAdminApi.js.map +1 -1
- package/dist/main/GoTrueClient.d.ts +32 -19
- package/dist/main/GoTrueClient.d.ts.map +1 -1
- package/dist/main/GoTrueClient.js +61 -17
- package/dist/main/GoTrueClient.js.map +1 -1
- package/dist/main/lib/errors.d.ts +1 -1
- package/dist/main/lib/locks.d.ts +1 -1
- package/dist/main/lib/locks.js +1 -1
- package/dist/main/lib/types.d.ts +9 -9
- package/dist/main/lib/version.d.ts +1 -1
- package/dist/main/lib/version.js +1 -1
- package/dist/module/GoTrueAdminApi.d.ts +1 -4
- package/dist/module/GoTrueAdminApi.d.ts.map +1 -1
- package/dist/module/GoTrueAdminApi.js +1 -4
- package/dist/module/GoTrueAdminApi.js.map +1 -1
- package/dist/module/GoTrueClient.d.ts +32 -19
- package/dist/module/GoTrueClient.d.ts.map +1 -1
- package/dist/module/GoTrueClient.js +61 -17
- package/dist/module/GoTrueClient.js.map +1 -1
- package/dist/module/lib/errors.d.ts +1 -1
- package/dist/module/lib/locks.d.ts +1 -1
- package/dist/module/lib/locks.js +1 -1
- package/dist/module/lib/types.d.ts +9 -9
- package/dist/module/lib/version.d.ts +1 -1
- package/dist/module/lib/version.js +1 -1
- package/dist/tsconfig.module.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +3 -3
- package/src/GoTrueAdminApi.ts +1 -4
- package/src/GoTrueClient.ts +71 -20
- package/src/lib/errors.ts +1 -1
- package/src/lib/locks.ts +1 -1
- package/src/lib/types.ts +9 -9
- 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
|
-
* {@
|
|
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
|
-
* {@
|
|
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
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
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
|
-
* @
|
|
1488
|
+
* @experimental
|
|
1489
1489
|
*
|
|
1490
1490
|
* @category Auth
|
|
1491
1491
|
* @subcategory Auth Admin
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const version = "2.110.
|
|
1
|
+
export declare const version = "2.110.1-canary.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
|
@@ -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.
|
|
7
|
+
export const version = '2.110.1-canary.0';
|
|
8
8
|
//# sourceMappingURL=version.js.map
|