Skip to content

Commit

Permalink
fix: fixed build issues
Browse files Browse the repository at this point in the history
  • Loading branch information
GabiDev45 committed Jul 29, 2024
1 parent eed788a commit 02a8002
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions src/account/BaseSmartContractAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ export abstract class BaseSmartContractAccount<
* @param params -- Typed Data params to sign
*/
async signTypedDataWith6492(
// @ts-ignore
params: SignTypedDataParams
): Promise<`0x${string}`> {
throw new Error("signTypedDataWith6492 not supported")
Expand Down
4 changes: 2 additions & 2 deletions src/account/utils/Types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ export interface ISmartContractAccount<
* @param params - {@link SignTypedDataParams}
* @returns the signed hash for the message passed
*/
signTypedData(params: SignTypedDataParams): Promise<Hash>;
// signTypedData(params: SignTypedDataParams): Promise<Hash>;

/**
* If the account is not deployed, it will sign the message and then wrap it in 6492 format
Expand All @@ -574,7 +574,7 @@ export interface ISmartContractAccount<
* @param params - {@link SignTypedDataParams}
* @returns the signed hash for the params passed in wrapped in 6492 format
*/
signTypedDataWith6492(params: SignTypedDataParams): Promise<Hash>;
// signTypedDataWith6492(params: SignTypedDataParams): Promise<Hash>;

/**
* @returns the address of the account
Expand Down

0 comments on commit 02a8002

Please sign in to comment.