File tree Expand file tree Collapse file tree 4 files changed +10
-5
lines changed
Expand file tree Collapse file tree 4 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " thirdweb " : patch
3+ ---
4+
5+ Docs: update incorrect code snippets, fix typos
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export const viemAdapter = {
3131 * ```ts
3232 * import { viemAdapter } from "thirdweb/adapters";
3333 *
34- * const contract = viemmAdapter .contract.fromViem({
34+ * const contract = viemAdapter .contract.fromViem({
3535 * viemContract: viemContract,
3636 * chain: ethereum,
3737 * client,
@@ -246,7 +246,7 @@ function fromViemWalletClient(options: {
246246 const viemAccount = options . walletClient . account ;
247247 if ( ! viemAccount ) {
248248 throw new Error (
249- "Account not found in walletClient, please pass it explicitely ." ,
249+ "Account not found in walletClient, please pass it explicitly ." ,
250250 ) ;
251251 }
252252 return {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export type ResolveNameOptions = {
1717} ;
1818
1919/**
20- * Resolves the primary name for a specificed address.
20+ * Resolves the primary name for a specified address.
2121 * @param options - The options for resolving an ENS address.
2222 * @example
2323 * ```ts
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ export type GetBalanceResult = {
3030 * @extension ERC20
3131 * @example
3232 * ```ts
33- * import { balanceOf } from "thirdweb/extensions/erc20";
33+ * import { getBalance } from "thirdweb/extensions/erc20";
3434 *
35- * const balance = await balanceOf ({ contract, address: "0x..." });
35+ * const balance = await getBalance ({ contract, address: "0x..." });
3636 * ```
3737 */
3838export async function getBalance (
You can’t perform that action at this time.
0 commit comments