Skip to content

Commit b6fdd0c

Browse files
authored
SDK: Remove @description tags from JSDoc (#6844)
1 parent 31ce837 commit b6fdd0c

File tree

12 files changed

+13
-16
lines changed

12 files changed

+13
-16
lines changed

packages/thirdweb/src/auth/is-erc6492-signature.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import type { Hex } from "../utils/encoding/hex.js";
33
import { ERC_6492_MAGIC_VALUE } from "./constants.js";
44

55
/**
6-
* @description Determines if a signature is compatible with [ERC6492](https://eips.ethereum.org/EIPS/eip-6492)
6+
* Determines if a signature is compatible with [ERC6492](https://eips.ethereum.org/EIPS/eip-6492)
77
*
88
* @param {Hex} signature The signature to check for ERC6492 compatibility
99
*

packages/thirdweb/src/auth/parse-erc6492-signature.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export type ParseErc6492SignatureReturnType = OneOf<
1313
>;
1414

1515
/**
16-
* @description Parses a serialized ({@link Hex}) [ERC-6492](https://eips.ethereum.org/EIPS/eip-6492) signature.
16+
* Parses a serialized ({@link Hex}) [ERC-6492](https://eips.ethereum.org/EIPS/eip-6492) signature.
1717
* If the signature is not in ERC-6492 format, the original signature is returned.
1818
*
1919
* @param {Hex} signature The signature to parse

packages/thirdweb/src/auth/serialize-erc6492-signature.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { ERC_6492_MAGIC_VALUE } from "./constants.js";
55
import type { Erc6492Signature } from "./types.js";
66

77
/**
8-
* @description Serializes a signature for use with [ERC-6492](https://eips.ethereum.org/EIPS/eip-6492). The signature must be generated by a signer for an [ERC-4337](https://eips.ethereum.org/EIPS/eip-4337) Account Factory account with counterfactual deployment addresses.
8+
* Serializes a signature for use with [ERC-6492](https://eips.ethereum.org/EIPS/eip-6492). The signature must be generated by a signer for an [ERC-4337](https://eips.ethereum.org/EIPS/eip-4337) Account Factory account with counterfactual deployment addresses.
99
*
1010
* @param {@link Erc6492Signature} signature The signature object to serialize into Hex format
1111
* @param {string} signature.address The ERC-4337 Account Factory address

packages/thirdweb/src/auth/verify-hash.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const ZKSYNC_VALIDATOR_ADDRESS: Address =
3232
"0xfB688330379976DA81eB64Fe4BF50d7401763B9C";
3333

3434
/**
35-
* @description Verify that an address created the provided signature for a given hash using [ERC-6492](https://eips.ethereum.org/EIPS/eip-6492). This function is interoperable with all wallet types, including EOAs.
35+
* Verify that an address created the provided signature for a given hash using [ERC-6492](https://eips.ethereum.org/EIPS/eip-6492). This function is interoperable with all wallet types, including EOAs.
3636
* This function should rarely be used directly, instead use @see {import("./verify-signature.js")} and @see {import("./verify-typed-data.js")}}
3737
*
3838
* @param {Hex} options.hash The hash that was signed

packages/thirdweb/src/auth/verify-signature.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export type VerifyContractWalletSignatureParams = Prettify<
7474
>;
7575

7676
/**
77-
* @description Verifies a contract wallet signature using [ERC-6942](https://eips.ethereum.org/EIPS/eip-6942) Signature Validation for Predeploy Contracts.
77+
* Verifies a contract wallet signature using [ERC-6942](https://eips.ethereum.org/EIPS/eip-6942) Signature Validation for Predeploy Contracts.
7878
* This function will validate signatures for both deployed and undeployed smart accounts of all signature types.
7979
*
8080
* @param {@link VerifyContractWalletSignatureParams} options - The parameters for verifying the signature.

packages/thirdweb/src/auth/verify-typed-data.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export type VerifyTypedDataParams<
2424
};
2525

2626
/**
27-
* @description Verify am [EIP-712](https://eips.ethereum.org/EIPS/eip-712) typed data signature. This function is interoperable with all wallet types (smart accounts or EOAs).
27+
* Verify am [EIP-712](https://eips.ethereum.org/EIPS/eip-712) typed data signature. This function is interoperable with all wallet types (smart accounts or EOAs).
2828
*
2929
* @param {string} options.address The address that signed the typed data
3030
* @param {string | Uint8Array | Signature} options.signature The signature that was signed
@@ -38,7 +38,7 @@ export type VerifyTypedDataParams<
3838
* @param {typeof VerifyTypedDataParams.types} options.types The EIP-712 types that were signed.
3939
*
4040
* @returns {Promise<boolean>} A promise that resolves to `true` if the signature is valid, or `false` otherwise.
41-
*
41+
*
4242
* @example
4343
* ```ts
4444
* import { verifyTypedData } from "thirdweb/utils";

packages/thirdweb/src/extensions/farcaster/write/addSigner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { getFid } from "../read/getFid.js";
1111

1212
/**
1313
* Represents the parameters for the `addSigner` function.
14-
* @description
14+
*
1515
* This function can be used wither be provided pre-generated signatures or the wallet accounts directly.
1616
* This is done so the helpers can be used when there's no direct access to the account, but signatures can be generated (e.g. engine)
1717
*

packages/thirdweb/src/extensions/farcaster/write/addSignerFor.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { getFid } from "../read/getFid.js";
1212

1313
/**
1414
* Represents the parameters for the `addSignerFor` function.
15-
* @description
15+
*
1616
* This function can be used wither be provided pre-generated signatures or the wallet accounts directly.
1717
* This is done so the helpers can be used when there's no direct access to the account, but signatures can be generated (e.g. engine)
1818
*

packages/thirdweb/src/extensions/farcaster/write/registerFidAndSigner.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { getFid } from "../read/getFid.js";
1212

1313
/**
1414
* Represents the parameters for the `registerFidAndSigner` function.
15-
* @description
15+
*
1616
* This function can be used wither be provided pre-generated signatures or the wallet accounts directly.
1717
* This is done so the helpers can be used when there's no direct access to the account, but signatures can be generated (e.g. engine)
1818
*

packages/thirdweb/src/storage/download.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export type DownloadOptions = Prettify<
1111
>;
1212

1313
/**
14-
* @description Downloads a file from the specified IPFS, Arweave, or HTTP URI.
14+
* Downloads a file from the specified IPFS, Arweave, or HTTP URI.
1515
*
1616
* `download` will parse the provided URI based on its scheme (ipfs://, ar://, https://) and convert it to a URL to fetch the file from thirdweb's storage service.
1717
*

0 commit comments

Comments
 (0)