Skip to content

Commit

Permalink
feat: export serializeTypedData
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Jun 6, 2024
1 parent 7117203 commit a3a8b1b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/curly-cougars-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Exported `serializeTypedData`.
2 changes: 2 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1617,7 +1617,9 @@ export {
export {
type DomainSeparatorErrorType,
type GetTypesForEIP712DomainErrorType,
type SerializeTypedDataErrorType,
type ValidateTypedDataErrorType,
serializeTypedData,
validateTypedData,
domainSeparator,
getTypesForEIP712Domain,
Expand Down
3 changes: 3 additions & 0 deletions src/utils/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,9 @@ export { getWebSocketRpcClient } from './rpc/webSocket.js'
export { type StringifyErrorType, stringify } from './stringify.js'
export {
type DomainSeparatorErrorType,
type SerializeTypedDataErrorType,
type ValidateTypedDataErrorType,
serializeTypedData,
validateTypedData,
} from './typedData.js'
export {
Expand Down

0 comments on commit a3a8b1b

Please sign in to comment.