Skip to content

Commit

Permalink
chore: add deprecated jsdoc to siwe chains type
Browse files Browse the repository at this point in the history
  • Loading branch information
enesozturk committed Oct 14, 2024
1 parent ddc7ee9 commit ff46923
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/siwe/core/utils/TypeUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,11 @@ export interface SIWECreateMessageArgs {
iat?: string
}
export type SIWEMessageArgs = {
/**
* @deprecated - Chains are set based on the `networks` you provided to the `createAppKit` function.
* @see https://docs.reown.com/appkit/react/core/installation#implementation
*/
chains?: number[]
methods?: string[]
} & Omit<SIWECreateMessageArgs, 'address' | 'chainId' | 'nonce' | 'version'>
// Signed Cacao (CAIP-74)
Expand Down

0 comments on commit ff46923

Please sign in to comment.