@wix/auto_sdk_identity_authentication 1.0.62 → 1.0.63
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/build/cjs/index.js +15 -13
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +30 -20
- package/build/cjs/index.typings.js +15 -13
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +25 -20
- package/build/cjs/meta.js +11 -11
- package/build/cjs/meta.js.map +1 -1
- package/build/es/index.mjs +15 -13
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +30 -20
- package/build/es/index.typings.mjs +15 -13
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +25 -20
- package/build/es/meta.mjs +11 -11
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +30 -20
- package/build/internal/cjs/meta.d.ts +25 -20
- package/build/internal/es/index.typings.d.mts +30 -20
- package/build/internal/es/meta.d.mts +25 -20
- package/package.json +2 -2
|
@@ -14,6 +14,11 @@ interface RegisterV2Request {
|
|
|
14
14
|
captchaTokens?: CaptchaToken[];
|
|
15
15
|
/** Additional data that's relevant for the flow. */
|
|
16
16
|
clientMetaData?: Record<string, any> | null;
|
|
17
|
+
/**
|
|
18
|
+
* The factor to register with: `PASSWORD`, the default, or `EMAIL`, which sends a code and returns
|
|
19
|
+
* `REQUIRE_REGISTRATION_FACTOR` until the code is submitted to `Verify`.
|
|
20
|
+
*/
|
|
21
|
+
factorType?: FactorTypeWithLiterals;
|
|
17
22
|
}
|
|
18
23
|
interface LoginId extends LoginIdTypeOneOf {
|
|
19
24
|
/**
|
|
@@ -284,6 +289,26 @@ interface RecaptchaForClientSiteKey {
|
|
|
284
289
|
*/
|
|
285
290
|
siteKeyId?: string;
|
|
286
291
|
}
|
|
292
|
+
declare enum FactorType {
|
|
293
|
+
/** Requires a password. */
|
|
294
|
+
PASSWORD = "PASSWORD",
|
|
295
|
+
/** Requires a code sent via SMS. */
|
|
296
|
+
SMS = "SMS",
|
|
297
|
+
/** Requires a code sent by phone call. */
|
|
298
|
+
CALL = "CALL",
|
|
299
|
+
/** Requires a code sent by email. */
|
|
300
|
+
EMAIL = "EMAIL",
|
|
301
|
+
/** Requires authentication via an authenticator app. */
|
|
302
|
+
TOTP = "TOTP",
|
|
303
|
+
/** Requires authentication via a push notification. */
|
|
304
|
+
PUSH = "PUSH",
|
|
305
|
+
/** Requires authentication via WebAuthn/passkey. */
|
|
306
|
+
WEBAUTHN = "WEBAUTHN",
|
|
307
|
+
/** Requires a recovery code. */
|
|
308
|
+
RECOVERY_CODE = "RECOVERY_CODE"
|
|
309
|
+
}
|
|
310
|
+
/** @enumType */
|
|
311
|
+
type FactorTypeWithLiterals = FactorType | 'PASSWORD' | 'SMS' | 'CALL' | 'EMAIL' | 'TOTP' | 'PUSH' | 'WEBAUTHN' | 'RECOVERY_CODE';
|
|
287
312
|
interface StateMachineResponse extends StateMachineResponseStateDataOneOf {
|
|
288
313
|
/** @internal */
|
|
289
314
|
requireMfaData?: RequireMfaData;
|
|
@@ -491,26 +516,6 @@ interface Factor {
|
|
|
491
516
|
/** Factor status. */
|
|
492
517
|
status?: StatusWithLiterals;
|
|
493
518
|
}
|
|
494
|
-
declare enum FactorType {
|
|
495
|
-
/** Requires a password. */
|
|
496
|
-
PASSWORD = "PASSWORD",
|
|
497
|
-
/** Requires a code sent via SMS. */
|
|
498
|
-
SMS = "SMS",
|
|
499
|
-
/** Requires a code sent by phone call. */
|
|
500
|
-
CALL = "CALL",
|
|
501
|
-
/** Requires a code sent by email. */
|
|
502
|
-
EMAIL = "EMAIL",
|
|
503
|
-
/** Requires authentication via an authenticator app. */
|
|
504
|
-
TOTP = "TOTP",
|
|
505
|
-
/** Requires authentication via a push notification. */
|
|
506
|
-
PUSH = "PUSH",
|
|
507
|
-
/** Requires authentication via WebAuthn/passkey. */
|
|
508
|
-
WEBAUTHN = "WEBAUTHN",
|
|
509
|
-
/** Requires a recovery code. */
|
|
510
|
-
RECOVERY_CODE = "RECOVERY_CODE"
|
|
511
|
-
}
|
|
512
|
-
/** @enumType */
|
|
513
|
-
type FactorTypeWithLiterals = FactorType | 'PASSWORD' | 'SMS' | 'CALL' | 'EMAIL' | 'TOTP' | 'PUSH' | 'WEBAUTHN' | 'RECOVERY_CODE';
|
|
514
519
|
declare enum Status {
|
|
515
520
|
/** Factor requires activation. */
|
|
516
521
|
INACTIVE = "INACTIVE",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_identity_authentication",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.63",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"registry": "https://registry.npmjs.org/",
|
|
@@ -50,5 +50,5 @@
|
|
|
50
50
|
"fqdn": "wix.iam.authentication.v1.authentication"
|
|
51
51
|
}
|
|
52
52
|
},
|
|
53
|
-
"falconPackageHash": "
|
|
53
|
+
"falconPackageHash": "30a6c31ad9ab5a7b43fe48b78816b7b15c590957d6979e743746d06d"
|
|
54
54
|
}
|