Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/@magic-sdk/provider/src/modules/auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand All @@ -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) {
Expand Down
4 changes: 2 additions & 2 deletions packages/@magic-sdk/types/src/core/message-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand All @@ -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<ResultType = any> {
msgType: string;
response: Partial<JsonRpcError> & Partial<JsonRpcResponsePayload<ResultType>>;
Expand Down