diff --git a/.changeset/red-pens-confess.md b/.changeset/red-pens-confess.md new file mode 100644 index 00000000..ac94332e --- /dev/null +++ b/.changeset/red-pens-confess.md @@ -0,0 +1,5 @@ +--- +"permissionless": patch +--- + +Fixed TypedData import from abitype to import from viem diff --git a/packages/permissionless/accounts/kernel/utils/signTypedData.ts b/packages/permissionless/accounts/kernel/utils/signTypedData.ts index 3ca1b000..a75f1cc9 100644 --- a/packages/permissionless/accounts/kernel/utils/signTypedData.ts +++ b/packages/permissionless/accounts/kernel/utils/signTypedData.ts @@ -1,4 +1,3 @@ -import type { TypedData } from "abitype" import { type Account, type Chain, @@ -7,11 +6,13 @@ import { type SignTypedDataParameters, type SignTypedDataReturnType, type Transport, + type TypedData, getTypesForEIP712Domain, hashTypedData, publicActions, validateTypedData } from "viem" + import { signMessage as _signMessage, signTypedData as _signTypedData