Skip to content

Commit 0f078fe

Browse files
authored
chore: fix typos (#945)
* Update message-types.ts * Update wallet-types.ts * Update auth-types.ts
1 parent 9d74145 commit 0f078fe

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

packages/@magic-sdk/types/src/core/message-types.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export enum MagicOutgoingWindowMessage {
1818
MAGIC_PING = 'MAGIC_PING',
1919
}
2020

21-
/** The shape of responding window message datas from the Magic iframe context. */
21+
/** The shape of responding window message data from the Magic iframe context. */
2222
export interface MagicMessageRequest {
2323
msgType: string;
2424
payload: JsonRpcRequestPayload | JsonRpcRequestPayload[];
@@ -27,7 +27,7 @@ export interface MagicMessageRequest {
2727
deviceShare?: string;
2828
}
2929

30-
/** The shape of responding window message datas from the Magic iframe context. */
30+
/** The shape of responding window message data from the Magic iframe context. */
3131
export interface MagicMessageResponse<ResultType = any> {
3232
msgType: string;
3333
response: Partial<JsonRpcError> & Partial<JsonRpcResponsePayload<ResultType>>;

packages/@magic-sdk/types/src/modules/auth-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export interface LoginWithCredentialConfiguration {
116116
export interface EnableMFAConfiguration {
117117
/**
118118
* When `true`, a pre-built modal interface will show to the user, directing
119-
* them to enable MFA usign Google Authenticator app.
119+
* them to enable MFA using Google Authenticator app.
120120
*
121121
* When `false`, developers will be able to implement their own custom UI to
122122
* continue the enable MFA flow.

packages/@magic-sdk/types/src/modules/wallet-types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export interface GaslessTransactionRequest {
3434
nonce?: number;
3535

3636
/**
37-
* The maximum amount of gas to allow this transaction to consime.
37+
* The maximum amount of gas to allow this transaction to consume.
3838
*/
3939
gasLimit?: bigint;
4040

0 commit comments

Comments
 (0)