Skip to content

Commit 78825ec

Browse files
minor type fixes
1 parent 573fd63 commit 78825ec

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { getChainFromMessage } from "./regex";
22
import { SIWBase } from "./strategies/base";
33
import { Header, Payload, Signature, SignInWithWeb3Response, VerifyOptions, VerifyParams } from "./types";
44

5-
interface Strategy {
5+
export interface Strategy {
66
chain: string;
77
parse: (msg: string) => SIWBase;
88
create: (params: Partial<SIWBase>) => SIWBase;

src/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
export { SIWWeb3 } from "./client";
1+
export { SIWWeb3, type Strategy } from "./client";
22
export { SIWBase } from "./strategies/base";
33
export { eipVerifyMessage, ethereumStrategy, SIWE } from "./strategies/ethereum";
44
export { SIWS, solanaStrategy } from "./strategies/solana";

src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export enum ErrorTypes {
7171
INVALID_DOMAIN = "Invalid domain.",
7272

7373
/** `domain` don't match the domain provided for verification. */
74-
DOMAIN_MISMATCH = "Domain do not match provided domain for verification.",
74+
DOMAIN_MISMATCH = "Domain does not match provided domain for verification.",
7575

7676
/** `nonce` don't match the nonce provided for verification. */
7777
NONCE_MISMATCH = "Nonce do not match provided nonce for verification.",

0 commit comments

Comments
 (0)