From 66eb5a8700eeb0870def3391a2b540189a917a60 Mon Sep 17 00:00:00 2001 From: sashass1315 Date: Fri, 5 Sep 2025 21:06:05 +0300 Subject: [PATCH 1/2] Update auth.ts --- packages/@magic-sdk/provider/src/modules/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@magic-sdk/provider/src/modules/auth.ts b/packages/@magic-sdk/provider/src/modules/auth.ts index 0e3228cc8..c5e7b7fba 100644 --- a/packages/@magic-sdk/provider/src/modules/auth.ts +++ b/packages/@magic-sdk/provider/src/modules/auth.ts @@ -65,7 +65,7 @@ export class AuthModule extends BaseModule { /** * Initiate an SMS login flow for a user. If successful, - * this method will return a Decenteralized ID token (with a default lifespan + * this method will return a Decentralized ID token (with a default lifespan * of 15 minutes) */ public loginWithSMS(configuration: LoginWithSmsConfiguration) { @@ -92,7 +92,7 @@ export class AuthModule extends BaseModule { /** * Initiate an Email with OTP login flow for a user. If successful, - * this method will return a Decenteralized ID token (with a default lifespan + * this method will return a Decentralized ID token (with a default lifespan * of 15 minutes) */ public loginWithEmailOTP(configuration: LoginWithEmailOTPConfiguration) { From 263514eb280dc1a1d36af96c0dd807ebc6555dea Mon Sep 17 00:00:00 2001 From: sashass1315 Date: Fri, 5 Sep 2025 21:09:45 +0300 Subject: [PATCH 2/2] Update web-crypto.ts --- packages/@magic-sdk/provider/src/util/web-crypto.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/@magic-sdk/provider/src/util/web-crypto.ts b/packages/@magic-sdk/provider/src/util/web-crypto.ts index a148a3d6a..6e74b8105 100644 --- a/packages/@magic-sdk/provider/src/util/web-crypto.ts +++ b/packages/@magic-sdk/provider/src/util/web-crypto.ts @@ -24,7 +24,7 @@ export function clearKeys() { } export async function createJwt() { - // will return undefined is webcrypto is not supported + // will return undefined if webcrypto is not supported const publicJwk = await getPublicKey(); if (!publicJwk) {