From 0f4472ba8f9feb5257885af8796ab0a87d4286d6 Mon Sep 17 00:00:00 2001 From: Nate Reiners Date: Tue, 21 May 2024 10:34:35 -0700 Subject: [PATCH] rmv rc and beta references --- .gitignore | 2 +- docs/pages/guides/update-existing-app.mdx | 8 +++- docs/pages/sdk/install.mdx | 51 +++++------------------ 3 files changed, 19 insertions(+), 42 deletions(-) diff --git a/.gitignore b/.gitignore index 53d6ffb..e36586d 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,2 @@ /node_modules -/docs/dist \ No newline at end of file +/docs/dist diff --git a/docs/pages/guides/update-existing-app.mdx b/docs/pages/guides/update-existing-app.mdx index 876c2f3..b07e53a 100644 --- a/docs/pages/guides/update-existing-app.mdx +++ b/docs/pages/guides/update-existing-app.mdx @@ -1,14 +1,20 @@ # Update an existing project + +## Wagmi +If your project is using wagmi, simply upgrade wagmi to version `2.9.0` or higher. Smart Wallet is available out of the box. + +## Transitive dependency If your project or its dependencies are already using Coinbase Wallet SDK, just add the following to `package.json`. ```json "resolutions": { - "@coinbase/wallet-sdk": "npm:@coinbase/wallet-sdk@4.0.0-beta.12" + "@coinbase/wallet-sdk": "npm:@coinbase/wallet-sdk@4.0.0" } ``` After doing so, remember to run `install` with your package manager, e.g. `pnpm install`. Then, rebuild your project, and when you click to connect Coinbase Wallet, you will see a new popup window with a Smart Wallet option. + :::info Note, if you are having trouble and are using `yarn` or `npm`, you may need to use [force resolutions](https://www.npmjs.com/package/npm-force-resolutions). We recommend using [pnpm](https://pnpm.io/) or [bun](https://bun.sh/), when possible. diff --git a/docs/pages/sdk/install.mdx b/docs/pages/sdk/install.mdx index a2c5a98..907fd8a 100644 --- a/docs/pages/sdk/install.mdx +++ b/docs/pages/sdk/install.mdx @@ -1,61 +1,32 @@ # Install Smart Wallet is accessible to developers through the [Coinbase Wallet SDK](https://github.com/coinbase/coinbase-wallet-sdk), versions `4.0` and later. -Today, there are release candidate versions (labeled `-rc.XX`) and beta versions (labeled `-beta.XX`). -:::warning -**IMPORTANT** - -Smart Wallet is not yet publicly launched on mainnet networks. Read about the current SDK versions below -and reach out on [Discord](https://discord.com/invite/cdp/) in the `#smart-wallet` channel if you have questions. - -Public mainnet launch is expected to occur by early June. -::: - -### Release Candidate :::code-group ```bash [npm] -npm i @coinbase/wallet-sdk@4.0.0-rc.1 +npm i @coinbase/wallet-sdk@4.0.0 ``` ```bash [pnpm] -pnpm i @coinbase/wallet-sdk@4.0.0-rc.1 +pnpm i @coinbase/wallet-sdk@4.0.0 ``` ```bash [yarn] -yarn add @coinbase/wallet-sdk@4.0.0-rc.1 +yarn add @coinbase/wallet-sdk@4.0.0 ``` ```bash [bun] -bun i @coinbase/wallet-sdk@4.0.0-rc.1 +bun i @coinbase/wallet-sdk@4.0.0 ``` ::: -- Intended for production environments. -- Allows developers to see Smart Wallet option on `keys.coinbase.com` popup when app running on `localhost`. -- Before public mainnet launch, will *not* show Smart Wallet option on `keys.coinbase.com` popup when app *not* running on `localhost`. -- Allows using Smart Wallet on mainnet networks. -### Beta -:::code-group - -```bash [npm] -npm i @coinbase/wallet-sdk@4.0.0-beta.12 -``` - -```bash [pnpm] -pnpm i @coinbase/wallet-sdk@4.0.0-beta.12 -``` +:::warning +**IMPORTANT** -```bash [yarn] -yarn add @coinbase/wallet-sdk@4.0.0-beta.12 -``` - -```bash [bun] -bun i @coinbase/wallet-sdk@4.0.0-beta.12 -``` -::: -- Intended for local testing or demo testnet apps. -- Based on [config](/sdk/setup), can show Smart Wallet option on `keys.coinbase.com` popup, `localhost` or not. -- Only allows using Smart Wallet on testnets (currently just Base Sepolia). \ No newline at end of file +Smart Wallet is not yet publicly launched on mainnet networks. Read about the current SDK versions below +and reach out on [Discord](https://discord.com/invite/cdp/) in the `#smart-wallet` channel if you have questions. + +Public mainnet launch is expected to occur by early June. +::: \ No newline at end of file