Skip to content

Commit

Permalink
Prepare 4.0.2 changset (#1899)
Browse files Browse the repository at this point in the history
  • Loading branch information
xzilja authored Feb 12, 2024
1 parent a58c3de commit 42e97a0
Show file tree
Hide file tree
Showing 6 changed files with 40 additions and 6 deletions.
26 changes: 26 additions & 0 deletions .changeset/dry-pots-prove.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
---
"@apps/gallery": patch
"@apps/laboratory": patch
"@examples/html-ethers5": patch
"@examples/html-wagmi": patch
"@examples/next-wagmi": patch
"@examples/react-ethers5": patch
"@examples/react-wagmi": patch
"@examples/vue-ethers5": patch
"@examples/vue-wagmi": patch
"@web3modal/common": patch
"@web3modal/core": patch
"@web3modal/ethers": patch
"@web3modal/ethers5": patch
"@web3modal/polyfills": patch
"@web3modal/scaffold": patch
"@web3modal/scaffold-react": patch
"@web3modal/scaffold-utils": patch
"@web3modal/scaffold-vue": patch
"@web3modal/siwe": patch
"@web3modal/ui": patch
"@web3modal/wagmi": patch
"@web3modal/wallet": patch
---

Reverted change that removed email update flow from account view
5 changes: 3 additions & 2 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
"dist",
".next",
".turbo",
"examples",
"coverage"
"exbamples",
"coverage",
".changeset"
],
"rules": {
// Core
Expand Down
2 changes: 2 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.changeset
coverage
5 changes: 3 additions & 2 deletions examples/next-wagmi/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import { Inter as interFonts } from 'next/font/google'
import './globals.css'
import { cookieToInitialState } from 'wagmi'
import { headers } from 'next/headers'
import { config } from '@/config'
import ContextProvider from '@/context'

const inter = Inter({ subsets: ['latin'] })
const inter = interFonts({ subsets: ['latin'] })

export const metadata: Metadata = {
title: 'Create Next App',
Expand All @@ -19,6 +19,7 @@ export default function RootLayout({
children: React.ReactNode
}>) {
const initialState = cookieToInitialState(config, headers().get('cookie'))

return (
<html lang="en">
<body className={inter.className}>
Expand Down
4 changes: 3 additions & 1 deletion examples/next-wagmi/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import { mainnet, sepolia } from 'wagmi/chains'

export const projectId = process.env.NEXT_PUBLIC_PROJECT_ID

if (!projectId) throw new Error('Project ID is not defined')
if (!projectId) {
throw new Error('Project ID is not defined')
}

export const config = defaultWagmiConfig({
projectId,
Expand Down
4 changes: 3 additions & 1 deletion examples/next-wagmi/src/context/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@ import { State, WagmiProvider } from 'wagmi'

const queryClient = new QueryClient()

if (!projectId) throw new Error('Project ID is not defined')
if (!projectId) {
throw new Error('Project ID is not defined')
}

createWeb3Modal({
wagmiConfig: config,
Expand Down

0 comments on commit 42e97a0

Please sign in to comment.