From 3636e1351a78b6b30df2650b5c075fbbc84df685 Mon Sep 17 00:00:00 2001 From: omahs <73983677+omahs@users.noreply.github.com> Date: Wed, 7 May 2025 11:35:37 +0200 Subject: [PATCH] fix typos --- .../(marketplace)/components/list-form.tsx | 2 +- apps/portal/src/app/connect/wallet/security/page.mdx | 2 +- .../build/base-contracts/erc-4337/account/page.mdx | 2 +- .../base-contracts/erc-4337/managed-account/page.mdx | 2 +- .../dotnet/wallets/providers/ecosystem-wallet/page.mdx | 4 ++-- .../dotnet/wallets/providers/in-app-wallet/page.mdx | 2 +- apps/portal/src/app/react/v5/getting-started/page.mdx | 2 +- apps/portal/src/app/react/v5/page.mdx | 2 +- .../src/app/react/v5/rainbow-kit-migrate/page.mdx | 2 +- apps/portal/src/app/typescript/v5/contract/page.mdx | 2 +- .../src/app/unity/v5/wallets/ecosystem-wallet/page.mdx | 2 +- .../src/app/unity/v5/wallets/in-app-wallet/page.mdx | 2 +- .../src/contract/verification/constructor-params.ts | 2 +- .../extensions/prebuilts/get-required-transactions.ts | 10 +++++----- .../src/react/native/ui/prebuilt/Account/balance.tsx | 2 +- .../src/react/native/ui/prebuilt/Wallet/name.tsx | 2 +- .../src/react/web/ui/prebuilt/Account/balance.tsx | 2 +- .../thirdweb/src/react/web/ui/prebuilt/Chain/name.tsx | 2 +- .../thirdweb/src/react/web/ui/prebuilt/Token/name.tsx | 2 +- .../src/react/web/ui/prebuilt/Token/symbol.tsx | 2 +- .../thirdweb/src/react/web/ui/prebuilt/Wallet/name.tsx | 2 +- .../react/web/wallets/in-app/InAppWalletConnectUI.tsx | 2 +- packages/thirdweb/src/storage/upload/mobile.ts | 2 +- 23 files changed, 28 insertions(+), 28 deletions(-) diff --git a/apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/(marketplace)/components/list-form.tsx b/apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/(marketplace)/components/list-form.tsx index 079556ae932..11730c4e1ed 100644 --- a/apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/(marketplace)/components/list-form.tsx +++ b/apps/dashboard/src/app/(app)/(dashboard)/(chain)/[chain_id]/[contractAddress]/(marketplace)/components/list-form.tsx @@ -345,7 +345,7 @@ export const CreateListingsForm: React.FC = ({ const promise = sendAndConfirmTx.mutateAsync(approveTx); toast.promise(promise, { loading: "Approving NFT for listing", - success: "NFT approved succesfully", + success: "NFT approved successfully", error: "Failed to approve NFT", }); await promise; diff --git a/apps/portal/src/app/connect/wallet/security/page.mdx b/apps/portal/src/app/connect/wallet/security/page.mdx index b55acb3d5d3..177a6cfb4b6 100644 --- a/apps/portal/src/app/connect/wallet/security/page.mdx +++ b/apps/portal/src/app/connect/wallet/security/page.mdx @@ -38,7 +38,7 @@ When a user signs into an application using their email or social logins for the ### General Usage -- When users interact with their wallet via the the enclave, all communications are encrypted and only the legitimate user can access their wallet. +- When users interact with their wallet via the enclave, all communications are encrypted and only the legitimate user can access their wallet. - All traffic is encrypted with TLS and HSTS. Services are run in private VPCs on AWS and accessible only from a single entry point via our Cloudflare DNS. - Applications can [link multiple authentication methods](/connect/in-app-wallet/guides/link-multiple-profiles) to the same wallet. Any of these methods can be used to authenticate into the users wallet. diff --git a/apps/portal/src/app/contracts/build/base-contracts/erc-4337/account/page.mdx b/apps/portal/src/app/contracts/build/base-contracts/erc-4337/account/page.mdx index 92a70593b4e..97e2fdeb4e9 100644 --- a/apps/portal/src/app/contracts/build/base-contracts/erc-4337/account/page.mdx +++ b/apps/portal/src/app/contracts/build/base-contracts/erc-4337/account/page.mdx @@ -38,7 +38,7 @@ App developers can issue `Account` smart accounts programmatically by deploying
- + If you intend to issue accounts programmatically using a custom factory contract, you must do the following: diff --git a/apps/portal/src/app/contracts/build/base-contracts/erc-4337/managed-account/page.mdx b/apps/portal/src/app/contracts/build/base-contracts/erc-4337/managed-account/page.mdx index 883630e37fb..9ff3079cf90 100644 --- a/apps/portal/src/app/contracts/build/base-contracts/erc-4337/managed-account/page.mdx +++ b/apps/portal/src/app/contracts/build/base-contracts/erc-4337/managed-account/page.mdx @@ -32,7 +32,7 @@ An upgrade to the features of `ManagedAccount` applies to **all** `ManagedAccoun
- + If you intend to issue accounts programmatically using a custom factory contract, you must do the following: diff --git a/apps/portal/src/app/dotnet/wallets/providers/ecosystem-wallet/page.mdx b/apps/portal/src/app/dotnet/wallets/providers/ecosystem-wallet/page.mdx index d86fdc15a64..93708372bf2 100644 --- a/apps/portal/src/app/dotnet/wallets/providers/ecosystem-wallet/page.mdx +++ b/apps/portal/src/app/dotnet/wallets/providers/ecosystem-wallet/page.mdx @@ -20,7 +20,7 @@ Ecosystem Wallets support a variety of login methods: - Custom Auth (Generic Auth Endpoint) - Guest (Onboard easily, link other accounts later) - Backend (Server Wallets) -- Siwe (Login with a seperate wallet supported by the SDK) +- Siwe (Login with a separate wallet supported by the SDK) - SiweExternal (Login with an external wallet that only supports web using a browser loading a static thirdweb React page temporarily) ## Usage @@ -104,7 +104,7 @@ An instance of `ThirdwebClient`. ### ecosystemId (required) -The ID of the ecosyste wallet you created on the dashboard. +The ID of the ecosystem wallet you created on the dashboard. ### ecosystemPartnerId (optional) diff --git a/apps/portal/src/app/dotnet/wallets/providers/in-app-wallet/page.mdx b/apps/portal/src/app/dotnet/wallets/providers/in-app-wallet/page.mdx index a4a924d83b3..cf0124772b1 100644 --- a/apps/portal/src/app/dotnet/wallets/providers/in-app-wallet/page.mdx +++ b/apps/portal/src/app/dotnet/wallets/providers/in-app-wallet/page.mdx @@ -20,7 +20,7 @@ In-App Wallets support a variety of login methods: - Custom Auth (Generic Auth Endpoint) - Guest (Onboard easily, link other accounts later) - Backend (Server Wallets) -- Siwe (Login with a seperate wallet supported by the SDK) +- Siwe (Login with a separate wallet supported by the SDK) - SiweExternal (Login with an external wallet that only supports web using a browser loading a static thirdweb React page temporarily) ## Usage diff --git a/apps/portal/src/app/react/v5/getting-started/page.mdx b/apps/portal/src/app/react/v5/getting-started/page.mdx index 9deae19e846..a8baa038f71 100644 --- a/apps/portal/src/app/react/v5/getting-started/page.mdx +++ b/apps/portal/src/app/react/v5/getting-started/page.mdx @@ -12,7 +12,7 @@ You can quickly create a new project with the thirdweb CLI npx thirdweb create app ``` -or clone the the Next.js or Vite starter repo: +or clone the Next.js or Vite starter repo: -### Initalization +### Initialization #### RainbowKit diff --git a/apps/portal/src/app/typescript/v5/contract/page.mdx b/apps/portal/src/app/typescript/v5/contract/page.mdx index 129539b9360..a0fcc5b8c68 100644 --- a/apps/portal/src/app/typescript/v5/contract/page.mdx +++ b/apps/portal/src/app/typescript/v5/contract/page.mdx @@ -19,4 +19,4 @@ const contract = getContract({ }); ``` -Contracts defined this way are lightweight and can be exported as consts accross your application to read or write to it. +Contracts defined this way are lightweight and can be exported as consts across your application to read or write to it. diff --git a/apps/portal/src/app/unity/v5/wallets/ecosystem-wallet/page.mdx b/apps/portal/src/app/unity/v5/wallets/ecosystem-wallet/page.mdx index 58ad2bb41cf..5078695f65b 100644 --- a/apps/portal/src/app/unity/v5/wallets/ecosystem-wallet/page.mdx +++ b/apps/portal/src/app/unity/v5/wallets/ecosystem-wallet/page.mdx @@ -25,7 +25,7 @@ Ecosystem Wallets support a variety of login methods: - Custom Auth (Generic Auth Endpoint) - Guest (Onboard easily, link other accounts later) - Backend (Server Wallets) -- Siwe (Login with a seperate wallet supported by the SDK) +- Siwe (Login with a separate wallet supported by the SDK) - SiweExternal (Login with an external wallet that only supports web using a browser loading a static thirdweb React page temporarily) ### Login with Email diff --git a/apps/portal/src/app/unity/v5/wallets/in-app-wallet/page.mdx b/apps/portal/src/app/unity/v5/wallets/in-app-wallet/page.mdx index 186d53adf98..bd485377a9c 100644 --- a/apps/portal/src/app/unity/v5/wallets/in-app-wallet/page.mdx +++ b/apps/portal/src/app/unity/v5/wallets/in-app-wallet/page.mdx @@ -23,7 +23,7 @@ In-App Wallets support a variety of login methods: - Custom Auth (Generic Auth Endpoint) - Guest (Onboard easily, link other accounts later) - Backend (Server Wallets) -- Siwe (Login with a seperate wallet supported by the SDK) +- Siwe (Login with a separate wallet supported by the SDK) - SiweExternal (Login with an external wallet that only supports web using a browser loading a static thirdweb React page temporarily) ### Login with Email diff --git a/packages/thirdweb/src/contract/verification/constructor-params.ts b/packages/thirdweb/src/contract/verification/constructor-params.ts index b667fd9679f..c2c85014322 100644 --- a/packages/thirdweb/src/contract/verification/constructor-params.ts +++ b/packages/thirdweb/src/contract/verification/constructor-params.ts @@ -86,7 +86,7 @@ export async function fetchConstructorParams( ), ]; - // regex finds the LAST occurence of solc metadata bytes, result always in same position + // regex finds the LAST occurrence of solc metadata bytes, result always in same position // TODO: we currently don't handle error string embedded in the bytecode, need to strip ascii (upgradeableProxy) in patterns[2] // https://etherscan.io/address/0xee6a57ec80ea46401049e92587e52f5ec1c24785#code if (matches?.[0]?.[2]) { diff --git a/packages/thirdweb/src/extensions/prebuilts/get-required-transactions.ts b/packages/thirdweb/src/extensions/prebuilts/get-required-transactions.ts index b626e182765..81d2616d750 100644 --- a/packages/thirdweb/src/extensions/prebuilts/get-required-transactions.ts +++ b/packages/thirdweb/src/extensions/prebuilts/get-required-transactions.ts @@ -178,7 +178,7 @@ async function getTransactionsForMaketplaceV3(options: { client: ThirdwebClient; }): Promise { const { chain, client } = options; - const WETHAdress = await computePublishedContractAddress({ + const WETHAddress = await computePublishedContractAddress({ chain, client, contractId: "WETH9", @@ -195,7 +195,7 @@ async function getTransactionsForMaketplaceV3(options: { chain, client, contractId: "DirectListingsLogic", - constructorParams: { _nativeTokenWrapper: WETHAdress }, + constructorParams: { _nativeTokenWrapper: WETHAddress }, }).then((c) => c ? null @@ -205,7 +205,7 @@ async function getTransactionsForMaketplaceV3(options: { chain, client, contractId: "EnglishAuctionsLogic", - constructorParams: { _nativeTokenWrapper: WETHAdress }, + constructorParams: { _nativeTokenWrapper: WETHAddress }, }).then((c) => c ? null @@ -233,7 +233,7 @@ async function getTransactionsForDynamicContract(options: { deployMetadata: FetchDeployMetadataResult; }): Promise { const { chain, client } = options; - const WETHAdress = await computePublishedContractAddress({ + const WETHAddress = await computePublishedContractAddress({ chain, client, contractId: "WETH9", @@ -255,7 +255,7 @@ async function getTransactionsForDynamicContract(options: { contractId: e.extensionName, publisher: e.publisherAddress, version: e.extensionVersion || "latest", - constructorParams: { _nativeTokenWrapper: WETHAdress }, + constructorParams: { _nativeTokenWrapper: WETHAddress }, }).then((c) => c ? null diff --git a/packages/thirdweb/src/react/native/ui/prebuilt/Account/balance.tsx b/packages/thirdweb/src/react/native/ui/prebuilt/Account/balance.tsx index 7b83440f2bf..8e87c2733fc 100644 --- a/packages/thirdweb/src/react/native/ui/prebuilt/Account/balance.tsx +++ b/packages/thirdweb/src/react/native/ui/prebuilt/Account/balance.tsx @@ -55,7 +55,7 @@ export interface AccountBalanceProps extends Omit { * If not passed, the component will return `null`. * * You can/should pass a descriptive text/component to this prop, indicating that the - * balance was not fetched succesfully + * balance was not fetched successfully * @example * ```tsx * { * If not passed, the component will return `null`. * * You can/should pass a descriptive text/component to this prop, indicating that the - * name was not fetched succesfully + * name was not fetched successfully * @example * ```tsx * Failed to load} diff --git a/packages/thirdweb/src/react/web/ui/prebuilt/Account/balance.tsx b/packages/thirdweb/src/react/web/ui/prebuilt/Account/balance.tsx index 608e87f880d..8b6d096e335 100644 --- a/packages/thirdweb/src/react/web/ui/prebuilt/Account/balance.tsx +++ b/packages/thirdweb/src/react/web/ui/prebuilt/Account/balance.tsx @@ -57,7 +57,7 @@ export interface AccountBalanceProps * If not passed, the component will return `null`. * * You can/should pass a descriptive text/component to this prop, indicating that the - * balance was not fetched succesfully + * balance was not fetched successfully * @example * ```tsx * Failed to load} diff --git a/packages/thirdweb/src/react/web/ui/prebuilt/Token/name.tsx b/packages/thirdweb/src/react/web/ui/prebuilt/Token/name.tsx index 0fd1c16b97a..75925b8b0ec 100644 --- a/packages/thirdweb/src/react/web/ui/prebuilt/Token/name.tsx +++ b/packages/thirdweb/src/react/web/ui/prebuilt/Token/name.tsx @@ -50,7 +50,7 @@ export interface TokenNameProps * If not passed, the component will return `null`. * * You can/should pass a descriptive text/component to this prop, indicating that the - * name was not fetched succesfully + * name was not fetched successfully * @example * ```tsx * Failed to load} diff --git a/packages/thirdweb/src/react/web/wallets/in-app/InAppWalletConnectUI.tsx b/packages/thirdweb/src/react/web/wallets/in-app/InAppWalletConnectUI.tsx index e6f7782e27b..765bb7f116f 100644 --- a/packages/thirdweb/src/react/web/wallets/in-app/InAppWalletConnectUI.tsx +++ b/packages/thirdweb/src/react/web/wallets/in-app/InAppWalletConnectUI.tsx @@ -51,7 +51,7 @@ function InAppWalletConnectUI(props: { return ; } - // if the the modal starts out with the wallet's connect ui instead of wallet selector - going back to main screen requires staying on the same component and clearing the selection data + // if the modal starts out with the wallet's connect ui instead of wallet selector - going back to main screen requires staying on the same component and clearing the selection data // otherwise, we go back to the wallet selector by calling props.goBack const goBackToMain = () => { if (initialScreen === props.wallet) { diff --git a/packages/thirdweb/src/storage/upload/mobile.ts b/packages/thirdweb/src/storage/upload/mobile.ts index 015129fe76f..bdd7c3cb77d 100644 --- a/packages/thirdweb/src/storage/upload/mobile.ts +++ b/packages/thirdweb/src/storage/upload/mobile.ts @@ -104,7 +104,7 @@ export async function uploadBatchMobile( ); } - return reject(new Error("Unknown upload error occured")); + return reject(new Error("Unknown upload error occurred")); }); xhr.open("POST", `https://${getThirdwebDomains().storage}/ipfs/upload`);