Skip to content

Commit 09ae78e

Browse files
committed
fix(auth-service): revert back to number
1 parent eff05d9 commit 09ae78e

File tree

1 file changed

+15
-15
lines changed
  • packages/auth-services/src/queue-manager/src/handlers/pkpMint

1 file changed

+15
-15
lines changed

packages/auth-services/src/queue-manager/src/handlers/pkpMint/pkpMint.doc.ts

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -4,22 +4,22 @@ export const mintPkpDoc = {
44
body: t.Object(
55
{
66
authMethodType: t.Required(
7-
t.String({
7+
t.Number({
88
description:
9-
'The type of authentication method to use for the PKP. Supported types include:\n' +
10-
'- "1": EthWallet\n' +
11-
'- "2": LitAction\n' +
12-
'- "3": WebAuthn\n' +
13-
'- "4": Discord\n' +
14-
'- "5": Google\n' +
15-
'- "6": GoogleJwt\n' +
16-
'- "8": AppleJwt\n' +
17-
'- "9": StytchOtp\n' +
18-
'- "10": StytchEmailFactorOtp\n' +
19-
'- "11": StytchSmsFactorOtp\n' +
20-
'- "12": StytchWhatsAppFactorOtp\n' +
21-
'- "13": StytchTotpFactorOtp\n\n' +
22-
'Custom auth methods can also be used by providing their corresponding string ID.',
9+
'The numeric type of authentication method to use for the PKP. Supported types include:\n' +
10+
'- 1: EthWallet\n' +
11+
'- 2: LitAction\n' +
12+
'- 3: WebAuthn\n' +
13+
'- 4: Discord\n' +
14+
'- 5: Google\n' +
15+
'- 6: GoogleJwt\n' +
16+
'- 8: AppleJwt\n' +
17+
'- 9: StytchOtp\n' +
18+
'- 10: StytchEmailFactorOtp\n' +
19+
'- 11: StytchSmsFactorOtp\n' +
20+
'- 12: StytchWhatsAppFactorOtp\n' +
21+
'- 13: StytchTotpFactorOtp\n\n' +
22+
'Custom auth methods can also be used by providing their corresponding numeric ID.',
2323
})
2424
),
2525
authMethodId: t.Required(

0 commit comments

Comments
 (0)