Skip to content

Commit 5792f70

Browse files
authored
fix: docs for ethereum (#1117)
Docs mentioned Solana instead of Ethereum.
1 parent d6d6be9 commit 5792f70

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/auth-js/src/lib/types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -681,10 +681,10 @@ export type EthereumWeb3Credentials =
681681
| {
682682
chain: 'ethereum'
683683

684-
/** Wallet interface to use. If not specified will default to `window.solana`. */
684+
/** Wallet interface to use. If not specified will default to `window.ethereum`. */
685685
wallet?: EthereumWallet
686686

687-
/** Optional statement to include in the Sign in with Solana message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!** */
687+
/** Optional statement to include in the Sign in with Ethereum message. Must not include new line characters. Most wallets like Phantom **require specifying a statement!** */
688688
statement?: string
689689

690690
options?: {
@@ -705,7 +705,7 @@ export type EthereumWeb3Credentials =
705705
/** Sign in with Ethereum compatible message. Must include `Issued At`, `URI` and `Version`. */
706706
message: string
707707

708-
/** Ed25519 signature of the message. */
708+
/** Ethereum curve (secp256k1) signature of the message. */
709709
signature: Hex
710710

711711
options?: {

0 commit comments

Comments
 (0)