Skip to content

Commit

Permalink
chore: exports
Browse files Browse the repository at this point in the history
  • Loading branch information
jxom committed Sep 7, 2024
1 parent 201d8b4 commit c5ecc8f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/four-papayas-camp.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Added extra error handling in unit parsing.
1 change: 1 addition & 0 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ test('exports', () => {
"EnsAvatarUriResolutionError",
"EnsAvatarInvalidNftUriError",
"EnsAvatarUnsupportedNamespaceError",
"InvalidDecimalNumberError",
"EstimateGasExecutionError",
"ExecutionRevertedError",
"FeeCapTooHighError",
Expand Down
4 changes: 4 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,10 @@ export {
type EnsAvatarUnsupportedNamespaceErrorType,
type EnsAvatarUriResolutionErrorType,
} from './errors/ens.js'
export {
type InvalidDecimalNumberErrorType,
InvalidDecimalNumberError,
} from './errors/unit.js'
export {
EstimateGasExecutionError,
type EstimateGasExecutionErrorType,
Expand Down

0 comments on commit c5ecc8f

Please sign in to comment.