Skip to content

Commit

Permalink
feat: export getProof from root and from actions (#1571)
Browse files Browse the repository at this point in the history
* feat: export getProof from root and from actions

* Create dry-bananas-smile.md

---------

Co-authored-by: jxom <jakemoxey@gmail.com>
  • Loading branch information
marthendalnunes and jxom committed Dec 10, 2023
1 parent b361684 commit cc3fa97
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/dry-bananas-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"viem": patch
---

Exported `getProof`.
1 change: 1 addition & 0 deletions src/actions/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ test('exports actions', () => {
"getGasPrice": [Function],
"getLogs": [Function],
"getPermissions": [Function],
"getProof": [Function],
"getStorageAt": [Function],
"getTransaction": [Function],
"getTransactionConfirmations": [Function],
Expand Down
6 changes: 6 additions & 0 deletions src/actions/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,6 +242,12 @@ export {
type GetPermissionsReturnType,
getPermissions,
} from './wallet/getPermissions.js'
export {
type GetProofErrorType,
type GetProofParameters,
type GetProofReturnType,
getProof,
} from './public/getProof.js'
export {
type ReplacementReason,
type ReplacementReturnType,
Expand Down
5 changes: 5 additions & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,11 @@ export type {
GetPermissionsErrorType,
GetPermissionsReturnType,
} from './actions/wallet/getPermissions.js'
export type {
GetProofErrorType,
GetProofParameters,
GetProofReturnType,
} from './actions/public/getProof.js'
export type {
GetStorageAtErrorType,
GetStorageAtParameters,
Expand Down

0 comments on commit cc3fa97

Please sign in to comment.