From ae2de39e552ce05285627701750f21f45ba2bd4e Mon Sep 17 00:00:00 2001 From: rustversion Date: Thu, 30 Oct 2025 17:32:21 +0800 Subject: [PATCH] docs: minor improvement for docs Signed-off-by: rustversion --- packages/@magic-sdk/provider/src/modules/auth.ts | 4 ++-- packages/@magic-sdk/types/src/core/message-types.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 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) { diff --git a/packages/@magic-sdk/types/src/core/message-types.ts b/packages/@magic-sdk/types/src/core/message-types.ts index 06630781e..68c741c31 100644 --- a/packages/@magic-sdk/types/src/core/message-types.ts +++ b/packages/@magic-sdk/types/src/core/message-types.ts @@ -18,7 +18,7 @@ export enum MagicOutgoingWindowMessage { MAGIC_PING = 'MAGIC_PING', } -/** The shape of responding window message data from the Magic iframe context. */ +/** The shape of request window message data to the Magic iframe context. */ export interface MagicMessageRequest { msgType: string; payload: JsonRpcRequestPayload | JsonRpcRequestPayload[]; @@ -27,7 +27,7 @@ export interface MagicMessageRequest { deviceShare?: string; } -/** The shape of responding window message data from the Magic iframe context. */ +/** The shape of response window message data from the Magic iframe context. */ export interface MagicMessageResponse { msgType: string; response: Partial & Partial>;