From 9300d5c82b882d6b30f1383accd4430ba69753f7 Mon Sep 17 00:00:00 2001 From: Joe Pegler Date: Thu, 19 Sep 2024 12:54:05 +0100 Subject: [PATCH] chore: tsdoc - ignore helpers --- scripts/viem:bundler.ts | 4 ++-- src/sdk/account/utils/AccountNotFound.ts | 3 +++ typedoc.json | 5 +++++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/scripts/viem:bundler.ts b/scripts/viem:bundler.ts index c4b7e3b98..557b3278a 100644 --- a/scripts/viem:bundler.ts +++ b/scripts/viem:bundler.ts @@ -130,11 +130,11 @@ const main = async () => { account: nexusAccount }) const userOpReceipt = await bicoBundler.waitForUserOperationReceipt({ hash }) - const txHash = await publicClient.waitForTransactionReceipt({ + const {transactionHash} = await publicClient.waitForTransactionReceipt({ hash: userOpReceipt.receipt.transactionHash }) console.timeEnd("write methods") - console.log({ txHash }) + console.log({ transactionHash }) } main() diff --git a/src/sdk/account/utils/AccountNotFound.ts b/src/sdk/account/utils/AccountNotFound.ts index 3547d09fa..e373fcac3 100644 --- a/src/sdk/account/utils/AccountNotFound.ts +++ b/src/sdk/account/utils/AccountNotFound.ts @@ -1,5 +1,8 @@ import { BaseError } from "viem" +/** + * @ignore + */ export class AccountNotFoundError extends BaseError { constructor({ docsPath }: { docsPath?: string | undefined } = {}) { super( diff --git a/typedoc.json b/typedoc.json index 6a717b22a..1b6162e2c 100644 --- a/typedoc.json +++ b/typedoc.json @@ -1,6 +1,11 @@ { "$schema": "https://typedoc.org/schema.json", "entryPoints": ["src/index.ts"], + "exclude": [ + "src/sdk/account/utils/**/*.ts", + "src/sdk/__contracts/**/*.ts", + "src/test/**/*.ts" + ], "basePath": "src", "includes": "src", "out": "docs",