File tree Expand file tree Collapse file tree
packages/permissionless/accounts/kernel/utils Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ export async function signMessage({
2222 address : accountAddress ,
2323 version : accountVersion ,
2424 chainId,
25- eip7702
25+ eip7702 = false
2626} : Prettify <
2727 {
2828 message : SignableMessage
2929 owner : LocalAccount | WebAuthnAccount
30- eip7702 : boolean
30+ eip7702 ? : boolean
3131 } & WrapMessageHashParams
3232> ) : Promise < SignMessageReturnType > {
3333 if ( isWebAuthnAccount ( owner ) ) {
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export async function signTypedData(
1919 parameters : Prettify <
2020 WrapMessageHashParams & {
2121 owner : LocalAccount | WebAuthnAccount
22- eip7702 : boolean
22+ eip7702 ? : boolean
2323 } & TypedDataDefinition
2424 >
2525) : Promise < SignTypedDataReturnType > {
@@ -28,7 +28,7 @@ export async function signTypedData(
2828 address : accountAddress ,
2929 version : accountVersion ,
3030 chainId,
31- eip7702,
31+ eip7702 = false ,
3232 ...typedData
3333 } = parameters
3434
You can’t perform that action at this time.
0 commit comments