Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: wagmi v2 migration, eip-6963 wallet support #1601

Merged
merged 188 commits into from
Jan 22, 2024
Merged
Show file tree
Hide file tree
Changes from 141 commits
Commits
Show all changes
188 commits
Select commit Hold shift + click to select a range
a091aab
rainbowkit-wagmi-v2
magiziz Oct 30, 2023
760d946
fix: remove "installed" and "createConnector" because of EIP6963 support
magiziz Oct 31, 2023
f87526b
fix: use latest wagmi hooks and replace the old ones
magiziz Nov 1, 2023
939333e
fix: add latest changes to add URI with wagmi alpha
magiziz Nov 1, 2023
d84c895
fix: remove outdated wagmi values and use new hooks
magiziz Nov 3, 2023
371e581
fix: update wallets back to normal
magiziz Nov 4, 2023
3e61513
fix: all wallet connectors to use "createConnector" with their own pr…
magiziz Nov 4, 2023
06f8994
fix: setup connectorsForWallets properly
magiziz Nov 4, 2023
d325084
fix: refactor tests
magiziz Nov 5, 2023
2f552ff
fix: use wallet connectors
magiziz Nov 5, 2023
f0693f9
fix: refactor wallets
magiziz Nov 5, 2023
ecc5903
fix: use onQrCode when listening to the wallet connect provider
magiziz Nov 6, 2023
196198c
fix: integrate connect wallet on mobile
magiziz Nov 6, 2023
936fc31
fix: connectors should be using installed true or false as a sign for…
magiziz Nov 6, 2023
c07f079
fix: merge EIP6963
magiziz Nov 7, 2023
ae4adb9
fix: make sure every project is integrated with wagmiv2
magiziz Nov 8, 2023
0e88a54
fix: linting
magiziz Nov 8, 2023
fb78c17
fix: lint errors
magiziz Nov 8, 2023
7c54c8f
feat: latest changes for eip6963 / wagmiv2
magiziz Nov 8, 2023
b0d3078
fix: merge conflicts
magiziz Nov 8, 2023
47e52dd
fix: chain modal
magiziz Nov 9, 2023
d5cbef4
fix: prettify code
magiziz Nov 9, 2023
8a131b1
fix: refactor test file to be matched with wagmiv2
magiziz Nov 9, 2023
24257de
fix: linting issues
magiziz Nov 9, 2023
3604a62
fix: styles
magiziz Nov 9, 2023
6611248
fix: cleanup code
magiziz Nov 13, 2023
6225a46
fix: cleanup connectors and code
magiziz Nov 13, 2023
863ef04
fix: @ts-expect-error touch callout
magiziz Nov 13, 2023
e915a0d
fix: update to latest wagmi@beta / viem@beta version alongside with r…
magiziz Nov 14, 2023
397be01
fix: inject "rkDetails" into connector instead of running through som…
magiziz Nov 14, 2023
329e308
fix: QueryClientProvider
magiziz Nov 14, 2023
88d687e
fix: cleanup
magiziz Nov 14, 2023
ac506e2
fix: cleanup
magiziz Nov 15, 2023
4ab416a
fix: tsc errors
magiziz Nov 15, 2023
5599311
fix: preserve symlink
magiziz Nov 15, 2023
76633ea
fix: prettify
magiziz Nov 15, 2023
e31ccb2
fix: prettify
magiziz Nov 15, 2023
6f2d88d
fix: prettify
magiziz Nov 15, 2023
9f3cb6d
fix: prettify
magiziz Nov 15, 2023
360a209
fix: rainbowkit chains
magiziz Nov 15, 2023
7084df1
fix: types
magiziz Nov 15, 2023
f0f1865
fix: cleanup <Provider /> and docs
magiziz Nov 15, 2023
29094ed
fix: update peer dependencies
magiziz Nov 15, 2023
0aa1bb6
fix: add readonly tuple type for rainbowkit chains
magiziz Nov 20, 2023
2675e95
fix: chain tuple types with Chain and RainbowKitChain
magiziz Nov 21, 2023
3f5fc96
fix: resolve merge conflicts
magiziz Nov 21, 2023
cbeced6
fix: merge conflicts
magiziz Nov 21, 2023
6ffedbd
fix: rainbow wallet and wallet button example lint issues
magiziz Nov 21, 2023
0b95c38
fix: minor stuff
magiziz Nov 21, 2023
d4476c5
fix: cleanup
magiziz Nov 21, 2023
6a8d9ee
fix: linting issues with i18n
magiziz Nov 21, 2023
c072465
fix: cleanup to only use goerli if testnet is provided
magiziz Nov 21, 2023
c06c250
fix: goerli
magiziz Nov 21, 2023
f4cfbdb
fix: put wagmi before <QueryClientProvider />
magiziz Nov 21, 2023
4149b1d
fix: create-react-app cleanup
magiziz Nov 22, 2023
0a64591
fix: with-remix example cleanup
magiziz Nov 22, 2023
87e8956
fix: filter out to only use rainbowkit connectors for <WalletButtonRe…
magiziz Nov 22, 2023
42310db
fix: cleanup code to use Chain from wagmi/chains
magiziz Nov 22, 2023
3057155
fix: cleanup addLatestWalletId on mobile and desktop
magiziz Nov 22, 2023
e36b32d
fix: merge conflicts
magiziz Dec 15, 2023
032b350
chore: dependency upgrade
magiziz Dec 15, 2023
07eef62
feat: combine eip6963 connectors with eip1193 connectors
magiziz Dec 20, 2023
91037f0
Merge branch 'rainbowkit-wagmi-v2' of github.com:rainbow-me/rainbowki…
magiziz Dec 20, 2023
d022ab2
fix: refactor eip6963 connectors with mobile version
magiziz Dec 21, 2023
880edbd
chore: upgrade wagmi, viem to rc
DanielSinclair Dec 28, 2023
ca3155c
Merge branch 'main' into rainbowkit-wagmi-v2
DanielSinclair Dec 28, 2023
90484d3
chore: merge conflicts
DanielSinclair Dec 28, 2023
b23e504
chore: rename 'combineEIP6963WithRkConnectors' with 'mergeEIP6963With…
magiziz Jan 1, 2024
6a7bb3b
chore: add rainbow button and wallet button updates to changeset
magiziz Jan 1, 2024
3451bb6
Merge branch 'main' into rainbowkit-wagmi-v2
DanielSinclair Jan 4, 2024
6ef5224
fix: merge conflicts
DanielSinclair Jan 4, 2024
8052187
fix: useTransactionStore typing
DanielSinclair Jan 4, 2024
b389f46
chore: upgrade to viem 2.0.0
DanielSinclair Jan 4, 2024
32d3ece
chore: upgrade @tanstack/react-query
DanielSinclair Jan 4, 2024
97faafd
revert: rainbow button CHANGELOG.MD
magiziz Jan 4, 2024
fa79173
refactor: rename 'wagmiConfig' to 'config'
magiziz Jan 4, 2024
ec43fac
revert: add back removed items from rainbowkit index.ts file
magiziz Jan 4, 2024
04a4320
chore: upgrade from viem@2.0.0 to viem@2.0.0-rc.3
magiziz Jan 4, 2024
57764e3
refactor: use 'import type' for types and interfaces
magiziz Jan 4, 2024
943e3ba
chore: add rpc calls to the transporter as environment variables
magiziz Jan 4, 2024
000a007
refactor: update changeset
magiziz Jan 4, 2024
b48c299
chore: update viem and wagmi v2 to latest version
magiziz Jan 4, 2024
a5a7eba
chore: upgradde viem to 2.0.0
DanielSinclair Jan 4, 2024
6399681
chore: upgrade wagmi to v2
DanielSinclair Jan 4, 2024
51c550b
chore: tanstack minor version flex
DanielSinclair Jan 4, 2024
c4b8865
Merge branch 'main' into rainbowkit-wagmi-v2
DanielSinclair Jan 4, 2024
8f9dba6
fix: merge conflicts
DanielSinclair Jan 4, 2024
b4dbdf2
chore: remove testnets from tests
DanielSinclair Jan 4, 2024
a428a14
chore: changeset tweaks for prod release
DanielSinclair Jan 4, 2024
9efb40a
chore: add migration guide and updated docs to match latest wagmi v2 …
magiziz Jan 4, 2024
777cbd6
fix: update changeset to include latest wagmi@rc version
magiziz Jan 4, 2024
71777a2
fix: merge conflicts & update wagmi to include latest rc version
magiziz Jan 5, 2024
2fd6f4e
refactor: use ^15.17.1 version of @tanstack/react-query and update pn…
magiziz Jan 5, 2024
ffee26e
fix: link to migration guide page
magiziz Jan 5, 2024
2877416
fix: incorrect wagmi rc version, should use prod
DanielSinclair Jan 5, 2024
7a75434
chore: changeset for rainbowkit-siwe-next-auth
DanielSinclair Jan 5, 2024
cd1646a
chore: fix create-rainbowkit template with minor bump
DanielSinclair Jan 5, 2024
9b36a5d
chore: tweak new wagmi branding
DanielSinclair Jan 5, 2024
92db290
chore: migration guide changes for simplicity
DanielSinclair Jan 5, 2024
1be32e4
fix: chain object docs
DanielSinclair Jan 5, 2024
c5bb752
fix: wagmi capitalization
DanielSinclair Jan 5, 2024
60a1da3
fix: cra example consistency
DanielSinclair Jan 5, 2024
9338ae1
revert: locale file changes for review simplicity
DanielSinclair Jan 5, 2024
d9fa284
refactor: rename walletOptions to walletDetails
magiziz Jan 5, 2024
5ed624a
refactor: add back WalletConnect options and refactor wallet connect …
magiziz Jan 5, 2024
ef56c7c
refactor: change WalletConnect id variable and bring back walletConne…
magiziz Jan 5, 2024
8661058
Merge branch 'rainbowkit-wagmi-v2' of github.com:rainbow-me/rainbowki…
magiziz Jan 5, 2024
159a45d
fix: chain modal test typos
magiziz Jan 5, 2024
0850e2a
chore: adding comments and using 'wcId' as the default wallet connect…
magiziz Jan 5, 2024
455b017
fix: merge conflicts
magiziz Jan 5, 2024
a2cd384
fix: merge conflicts
magiziz Jan 6, 2024
f6edb36
refactor: remove exmples/*/**
magiziz Jan 6, 2024
abc10dc
refactor: remove examples changeset
magiziz Jan 6, 2024
8bfa3e5
chore: add sepolia networks
magiziz Jan 6, 2024
6de4dbb
fix: remove unused 'bsc' chain
magiziz Jan 6, 2024
c5adde3
refactor: remove custom 'useChainId' hook and use wagmi's 'useChainId'
magiziz Jan 6, 2024
12bc16f
refactor: test files & chain modal
magiziz Jan 6, 2024
6da1b40
fix: small typo
magiziz Jan 6, 2024
661cb27
fix: remove console log
magiziz Jan 6, 2024
07cd0ff
refactor: remove locales
magiziz Jan 6, 2024
113cef8
fix: typo
magiziz Jan 6, 2024
60cce28
chore: improve comments with walletConnect merging
magiziz Jan 7, 2024
e55ff1e
chore: remove 'hidden' explanation comments due to 'injectedWallet' d…
magiziz Jan 7, 2024
a42d083
chore: update 'migration-guide'
magiziz Jan 7, 2024
178a50a
chore: expose type for wallet creation purposes
magiziz Jan 7, 2024
9667145
chore: add 'RainbowKitWalletConnectParameters' type
magiziz Jan 7, 2024
1d21386
chore: refactor 'getWalletConnectConnector' to use new 'RainbowKitWal…
magiziz Jan 7, 2024
d8e6587
chore: replace 'WalletConnectParameters' with 'RainbowKitWalletConnec…
magiziz Jan 7, 2024
9c604d7
fix: docs updates
magiziz Jan 8, 2024
867cc97
chore: cleanup docs
magiziz Jan 8, 2024
cc1e542
revert: migrate docs, changesets to @mago/v2-docs-changesets
DanielSinclair Jan 8, 2024
adece98
chore: standardize preserveSymlinks
DanielSinclair Jan 8, 2024
405eb21
chore: upgrade wagmi, viem, tanstack/react-query
DanielSinclair Jan 8, 2024
ee46b55
refactor: remove 'wcId' and cleanup test / connectors
magiziz Jan 8, 2024
f1629aa
Merge branch 'rainbowkit-wagmi-v2' of github.com:rainbow-me/rainbowki…
magiziz Jan 8, 2024
4e52746
fix: merge conflicts, update 'getDefaultConfig' and refactor 'getInje…
magiziz Jan 8, 2024
25be66c
fix: remove 'false' for multiInjectedDiscovery
magiziz Jan 8, 2024
fe759d1
fix: format document
magiziz Jan 8, 2024
0d576e6
fix: update 'getDefaultConfig' to force some properties
magiziz Jan 8, 2024
e96e211
fix: remove declare global window
magiziz Jan 8, 2024
b690744
fix: upgrade viem and wagmi dependencies
magiziz Jan 8, 2024
044eb84
revert: upgrade viem and wagmi dependencies
magiziz Jan 8, 2024
510e365
refactor: 'getDefaultConfig' and packages
magiziz Jan 8, 2024
09f0073
Merge branch 'beta' into rainbowkit-wagmi-v2
DanielSinclair Jan 8, 2024
d28fe40
refactor: remove 'chains' from <RainbowKitProvider />
magiziz Jan 8, 2024
15e70bc
refactor: remove const with readonly [Chain, ...Chain[] type
magiziz Jan 8, 2024
d1c5d74
refactor: 'connectorsForWallets' to use wallet functions and cleanup …
magiziz Jan 9, 2024
7f41359
refactor: 'getDefaultConfig'
magiziz Jan 9, 2024
efbfb75
refactor: 'getDefaultWallets'
magiziz Jan 9, 2024
1c43d32
fix: merge conflicts
magiziz Jan 9, 2024
650d08d
fix: remove mewWallet
magiziz Jan 10, 2024
93f7e3f
fix: use 'Chain' for initialChain prop
magiziz Jan 10, 2024
9ce0276
refactor: browserWallet to injectedWallet
magiziz Jan 10, 2024
0135fa9
revert: temporarily remove generated-test-app
DanielSinclair Jan 10, 2024
39d33f4
fix: remove transports definitions in examples
DanielSinclair Jan 10, 2024
aea58f4
chore: update wagmi, viem
DanielSinclair Jan 10, 2024
ea7a319
refactor: 'getDefaultWallets' and 'connectorsForWallets'
magiziz Jan 10, 2024
a08142b
fix: merge conflicts
magiziz Jan 10, 2024
7f6bf64
fix: wagmi / viem typescript errors
magiziz Jan 10, 2024
c3eb21c
fix: bring back generated-test-app to keep pnpm lock file upto date
magiziz Jan 10, 2024
e5bebf1
fix: merge conflicts
magiziz Jan 10, 2024
a5d52ef
chore: add beta tag to release script
DanielSinclair Jan 11, 2024
e143464
Merge branch 'beta' into rainbowkit-wagmi-v2
DanielSinclair Jan 11, 2024
69b8448
revert: use `wallets` prop instead of `walletList`
DanielSinclair Jan 11, 2024
64f448e
fix: add 'useAsImage' to avoid EIP6963 internal image bugs with 'back…
magiziz Jan 11, 2024
9252149
Merge branch 'rainbowkit-wagmi-v2' of github.com:rainbow-me/rainbowki…
magiziz Jan 11, 2024
68e5d50
fix: merge conflicts
magiziz Jan 11, 2024
80a9ecd
fix: push a change for connector emitters
magiziz Jan 11, 2024
58b9d54
fix: don't call connectors on server side to not expose unlimited eve…
magiziz Jan 11, 2024
b367e06
fix: make sure WalletButtonRendered is mounted before throwing error
magiziz Jan 11, 2024
c1aa444
fix: add back example project id for examples
magiziz Jan 12, 2024
2c40e78
fix: missing connector_group.installed string
DanielSinclair Jan 12, 2024
a195996
revert: wagmi, viem peer drift
DanielSinclair Jan 12, 2024
2a52b0d
fix: amend peer specifier
DanielSinclair Jan 12, 2024
3cd7c96
fix: connector emitter cleanup
magiziz Jan 13, 2024
3b9ef80
chore: upgrade to wagmi 2.2.0
DanielSinclair Jan 12, 2024
a3c1dae
fix: amend peer specifier
DanielSinclair Jan 12, 2024
67b11ed
chore: deprecate example projectId warning
DanielSinclair Jan 13, 2024
21016da
chore: bump beta version
DanielSinclair Jan 13, 2024
6212fe8
fix: mock connectors on locale tests
magiziz Jan 15, 2024
2edb902
chore: fix lockfile after merge issue
DanielSinclair Jan 15, 2024
5fee3db
fix: mock connector for <ConnectModal /> test
magiziz Jan 15, 2024
765f907
fix: update mock to true
magiziz Jan 15, 2024
38dc515
chore: upgrade wagmi, viem (#1708)
DanielSinclair Jan 16, 2024
8a65bde
fix: cleanup as readonly chains array
magiziz Jan 17, 2024
137ea9b
fix: emitter not found (#1712)
magiziz Jan 18, 2024
6d3779e
chore: update wagmi, viem
DanielSinclair Jan 22, 2024
3e5d41b
chore: bump beta version
DanielSinclair Jan 22, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,10 @@
"devDependencies": {
"@biomejs/biome": "1.4.1",
"@changesets/cli": "2.27.1",
"@tanstack/react-query": "^5.17.9",
"@commitlint/cli": "^18.4.3",
"@commitlint/config-conventional": "^18.4.3",
"@lavamoat/preinstall-always-fail": "^2.0.0",
"@tanstack/query-core": "^4.28.0",
"@tanstack/react-query": "^4.28.0",
"@testing-library/jest-dom": "^6.2.0",
"@testing-library/react": "^14.1.2",
"@testing-library/user-event": "^14.5.2",
Expand All @@ -72,14 +71,14 @@
"react-dom": "^18.2.0",
"recursive-readdir-files": "^2.3.1",
"typescript": "^5.0.4",
"viem": "~1.21.4",
"viem": "^2.0.3",
"vitest": "^0.33.0",
"wagmi": "~1.4.13"
"wagmi": "^2.0.3"
},
"packageManager": "pnpm@8.14.0",
"pnpm": {
"onlyBuiltDependencies": [
"esbuild"
]
}
}
}
7 changes: 4 additions & 3 deletions packages/create-rainbowkit/generated-test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"@tanstack/react-query": "^5.17.9",
"next": "^14.0.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "~1.21.4",
"wagmi": "~1.4.13"
"viem": "^2.0.3",
"wagmi": "^2.0.3"
},
"devDependencies": {
"@types/node": "^18.19.3",
Expand All @@ -23,4 +24,4 @@
"eslint-config-next": "^14.0.4",
"typescript": "^5.0.4"
}
}
}
35 changes: 26 additions & 9 deletions packages/create-rainbowkit/generated-test-app/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import '../styles/globals.css';
import '@rainbow-me/rainbowkit/styles.css';
import type { AppProps } from 'next/app';

import { getDefaultConfig, RainbowKitProvider } from '@rainbow-me/rainbowkit';
import { WagmiConfig } from 'wagmi';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { WagmiProvider, http } from 'wagmi';
import {
arbitrum,
base,
Expand All @@ -12,9 +12,11 @@ import {
polygon,
sepolia,
zora,
Chain,
} from 'wagmi/chains';
import { RainbowKitProvider, getDefaultConfig } from '@rainbow-me/rainbowkit';

const chains = [
const chains: readonly [Chain, ...Chain[]] = [
mainnet,
polygon,
optimism,
Expand All @@ -24,19 +26,34 @@ const chains = [
...(process.env.NEXT_PUBLIC_ENABLE_TESTNETS === 'true' ? [sepolia] : []),
];

const wagmiConfig = getDefaultConfig({
const config = getDefaultConfig({
appName: 'RainbowKit App',
projectId: 'YOUR_PROJECT_ID',
appDescription: 'RainobwKit Demo App',
appUrl: 'https://www.rainbowkit.com',
chains,
transports: {
[mainnet.id]: http(),
[polygon.id]: http(),
[optimism.id]: http(),
[arbitrum.id]: http(),
[base.id]: http(),
[zora.id]: http(),
[sepolia.id]: http(),
},
});
magiziz marked this conversation as resolved.
Show resolved Hide resolved

const client = new QueryClient();

function MyApp({ Component, pageProps }: AppProps) {
return (
<WagmiConfig config={wagmiConfig}>
<RainbowKitProvider chains={chains}>
<Component {...pageProps} />
</RainbowKitProvider>
</WagmiConfig>
<WagmiProvider config={config}>
<QueryClientProvider client={client}>
<RainbowKitProvider chains={chains}>
<Component {...pageProps} />
</RainbowKitProvider>
</QueryClientProvider>
</WagmiProvider>
);
}

Expand Down
7 changes: 4 additions & 3 deletions packages/create-rainbowkit/templates/next-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@
},
"dependencies": {
"@rainbow-me/rainbowkit": "workspace:*",
"@tanstack/react-query": "^5.17.9",
"next": "^14.0.4",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"viem": "~1.21.4",
"wagmi": "~1.4.13"
"viem": "^2.0.3",
"wagmi": "^2.0.3"
},
"devDependencies": {
"@types/node": "^18.19.3",
Expand All @@ -23,4 +24,4 @@
"eslint-config-next": "^14.0.4",
"typescript": "^5.0.4"
}
}
}
35 changes: 26 additions & 9 deletions packages/create-rainbowkit/templates/next-app/pages/_app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import '../styles/globals.css';
import '@rainbow-me/rainbowkit/styles.css';
import type { AppProps } from 'next/app';

import { getDefaultConfig, RainbowKitProvider } from '@rainbow-me/rainbowkit';
import { WagmiConfig } from 'wagmi';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { http, WagmiProvider } from 'wagmi';
import {
arbitrum,
base,
Expand All @@ -12,9 +12,11 @@ import {
polygon,
sepolia,
zora,
Chain,
} from 'wagmi/chains';
import { getDefaultConfig, RainbowKitProvider } from '@rainbow-me/rainbowkit';

const chains = [
const chains: readonly [Chain, ...Chain[]] = [
magiziz marked this conversation as resolved.
Show resolved Hide resolved
mainnet,
polygon,
optimism,
Expand All @@ -24,19 +26,34 @@ const chains = [
...(process.env.NEXT_PUBLIC_ENABLE_TESTNETS === 'true' ? [sepolia] : []),
];

const wagmiConfig = getDefaultConfig({
const config = getDefaultConfig({
appName: 'RainbowKit App',
projectId: 'YOUR_PROJECT_ID',
appDescription: 'RainobwKit Demo App',
appUrl: 'https://www.rainbowkit.com',
chains,
magiziz marked this conversation as resolved.
Show resolved Hide resolved
transports: {
[mainnet.id]: http(),
[polygon.id]: http(),
[optimism.id]: http(),
[arbitrum.id]: http(),
[base.id]: http(),
[zora.id]: http(),
[sepolia.id]: http(),
},
magiziz marked this conversation as resolved.
Show resolved Hide resolved
});

const client = new QueryClient();

function MyApp({ Component, pageProps }: AppProps) {
return (
<WagmiConfig config={wagmiConfig}>
<RainbowKitProvider chains={chains}>
<Component {...pageProps} />
</RainbowKitProvider>
</WagmiConfig>
<WagmiProvider config={config}>
<QueryClientProvider client={client}>
<RainbowKitProvider chains={chains}>
magiziz marked this conversation as resolved.
Show resolved Hide resolved
<Component {...pageProps} />
</RainbowKitProvider>
</QueryClientProvider>
</WagmiProvider>
);
}

Expand Down
4 changes: 2 additions & 2 deletions packages/create-rainbowkit/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"preserveSymlinks": true,
"target": "ES2020",
"preserveSymlinks": false,
"outDir": "dist"
},
"include": ["src", "templates"],
"exclude": ["node_modules"],
}
}
7 changes: 4 additions & 3 deletions packages/example/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,15 @@
"@rainbow-me/rainbowkit": "workspace:*",
"@rainbow-me/rainbowkit-siwe-next-auth": "workspace:*",
"@rainbow-me/rainbow-button": "workspace:*",
"@tanstack/react-query": "^5.17.9",
"ethers": "^5.6.8",
"next": "^14.0.4",
"next-auth": "4.24.5",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"siwe": "^2.1.4",
"viem": "~1.21.4",
"wagmi": "~1.4.13"
"viem": "^2.0.3",
"wagmi": "^2.0.3"
},
"scripts": {
"dev": "next dev",
Expand All @@ -25,4 +26,4 @@
"keywords": [],
"author": "",
"license": "ISC"
}
}
Loading