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 = {
31
31
* ```ts
32
32
* import { viemAdapter } from "thirdweb/adapters";
33
33
*
34
- * const contract = viemmAdapter .contract.fromViem({
34
+ * const contract = viemAdapter .contract.fromViem({
35
35
* viemContract: viemContract,
36
36
* chain: ethereum,
37
37
* client,
@@ -246,7 +246,7 @@ function fromViemWalletClient(options: {
246
246
const viemAccount = options . walletClient . account ;
247
247
if ( ! viemAccount ) {
248
248
throw new Error (
249
- "Account not found in walletClient, please pass it explicitely ." ,
249
+ "Account not found in walletClient, please pass it explicitly ." ,
250
250
) ;
251
251
}
252
252
return {
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ export type ResolveNameOptions = {
17
17
} ;
18
18
19
19
/**
20
- * Resolves the primary name for a specificed address.
20
+ * Resolves the primary name for a specified address.
21
21
* @param options - The options for resolving an ENS address.
22
22
* @example
23
23
* ```ts
Original file line number Diff line number Diff line change @@ -30,9 +30,9 @@ export type GetBalanceResult = {
30
30
* @extension ERC20
31
31
* @example
32
32
* ```ts
33
- * import { balanceOf } from "thirdweb/extensions/erc20";
33
+ * import { getBalance } from "thirdweb/extensions/erc20";
34
34
*
35
- * const balance = await balanceOf ({ contract, address: "0x..." });
35
+ * const balance = await getBalance ({ contract, address: "0x..." });
36
36
* ```
37
37
*/
38
38
export async function getBalance (
You can’t perform that action at this time.
0 commit comments