Skip to content

Commit

Permalink
Add missing exports for error utilities (#151)
Browse files Browse the repository at this point in the history
These exports should have been included in a previous commit but were
left out.
  • Loading branch information
mcmire committed Oct 19, 2023
1 parent 0d68084 commit 2f0005a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ describe('index', () => {
"createProjectLogger",
"exactOptional",
"getChecksumAddress",
"getErrorMessage",
"getJsonRpcIdValidator",
"getJsonSize",
"getKnownPropertyNames",
Expand All @@ -95,6 +96,9 @@ describe('index', () => {
"isCaipChainId",
"isCaipNamespace",
"isCaipReference",
"isErrorWithCode",
"isErrorWithMessage",
"isErrorWithStack",
"isHexString",
"isJsonRpcError",
"isJsonRpcFailure",
Expand Down Expand Up @@ -125,6 +129,7 @@ describe('index', () => {
"stringToBytes",
"timeSince",
"valueToBytes",
"wrapError",
]
`);
});
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export * from './checksum';
export * from './coercers';
export * from './collections';
export * from './encryption-types';
export * from './errors';
export * from './hex';
export * from './json';
export * from './keyring';
Expand Down
5 changes: 5 additions & 0 deletions src/node.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ describe('node', () => {
"fileExists",
"forceRemove",
"getChecksumAddress",
"getErrorMessage",
"getJsonRpcIdValidator",
"getJsonSize",
"getKnownPropertyNames",
Expand All @@ -100,6 +101,9 @@ describe('node', () => {
"isCaipChainId",
"isCaipNamespace",
"isCaipReference",
"isErrorWithCode",
"isErrorWithMessage",
"isErrorWithStack",
"isHexString",
"isJsonRpcError",
"isJsonRpcFailure",
Expand Down Expand Up @@ -132,6 +136,7 @@ describe('node', () => {
"stringToBytes",
"timeSince",
"valueToBytes",
"wrapError",
"writeFile",
"writeJsonFile",
]
Expand Down

0 comments on commit 2f0005a

Please sign in to comment.