Skip to content

Commit

Permalink
Add export to encodeData function
Browse files Browse the repository at this point in the history
  • Loading branch information
OGPoyraz committed Jan 7, 2025
1 parent 4706a6b commit 578b58c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sign-typed-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ function reallyStrangeAddressToBytes(address: string): Uint8Array {
* @param version - The EIP-712 version the encoding should comply with.
* @returns Encoded representation of the field.
*/
function encodeField(
export function encodeField(
types: Record<string, MessageTypeProperty[]>,
name: string,
type: string,
Expand Down

0 comments on commit 578b58c

Please sign in to comment.