Skip to content

Commit

Permalink
release: v5.0.4 (#2487)
Browse files Browse the repository at this point in the history
Co-authored-by: Enes <enesozturk.d@gmail.com>
Co-authored-by: Ben Kremer <ben@walletconnect.com>
Co-authored-by: Sven <38101365+svenvoskamp@users.noreply.github.com>
Co-authored-by: Luka Isailovic <lukaisailovic@gmail.com>
Co-authored-by: Ignacio Santise <nacho@walletconnect.com>
Co-authored-by: Ozgur <lugrugzo@gmail.com>
Co-authored-by: longxiangqiao <longxiangqiao@qq.com>
Co-authored-by: Chris Smith <1979423+chris13524@users.noreply.github.com>
Co-authored-by: Glitch <66949816+glitch-txs@users.noreply.github.com>
Co-authored-by: Valentyn <valentin.vad.sh@gmail.com>
  • Loading branch information
11 people authored Jul 1, 2024
1 parent 9ce372e commit 8d034dc
Show file tree
Hide file tree
Showing 124 changed files with 4,394 additions and 896 deletions.
9 changes: 9 additions & 0 deletions apps/demo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @apps/demo

## 5.0.4

### Patch Changes

- fix: wcPromise incompatibility issues

- Updated dependencies []:
- @web3modal/wagmi@5.0.4

## 5.0.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions apps/demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apps/demo",
"version": "5.0.3",
"version": "5.0.4",
"private": true,
"scripts": {
"dev:demo": "next dev",
Expand All @@ -11,7 +11,7 @@
"dependencies": {
"@radix-ui/react-switch": "1.0.3",
"@tanstack/react-query": "5.24.8",
"@web3modal/wagmi": "5.0.3",
"@web3modal/wagmi": "5.0.4",
"clsx": "2.1.0",
"framer-motion": "11.0.8",
"next": "14.2.3",
Expand Down
10 changes: 10 additions & 0 deletions apps/gallery/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# @apps/gallery

## 5.0.4

### Patch Changes

- fix: wcPromise incompatibility issues

- Updated dependencies []:
- @web3modal/common@5.0.4
- @web3modal/ui@5.0.4

## 5.0.3

### Patch Changes
Expand Down
6 changes: 3 additions & 3 deletions apps/gallery/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apps/gallery",
"version": "5.0.3",
"version": "5.0.4",
"private": true,
"main": "index.js",
"scripts": {
Expand All @@ -9,8 +9,8 @@
"lint": "eslint . --ext .js,.jsx,.ts,.tsx"
},
"dependencies": {
"@web3modal/common": "5.0.3",
"@web3modal/ui": "5.0.3",
"@web3modal/common": "5.0.4",
"@web3modal/ui": "5.0.4",
"lit": "3.1.0",
"storybook": "7.6.7"
},
Expand Down
12 changes: 12 additions & 0 deletions apps/laboratory/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# @apps/laboratory

## 5.0.4

### Patch Changes

- fix: wcPromise incompatibility issues

- Updated dependencies []:
- @web3modal/ethers@5.0.4
- @web3modal/siwe@5.0.4
- @web3modal/solana@5.0.4
- @web3modal/wagmi@5.0.4

## 5.0.3

### Patch Changes
Expand Down
20 changes: 11 additions & 9 deletions apps/laboratory/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@apps/laboratory",
"version": "5.0.3",
"version": "5.0.4",
"private": true,
"scripts": {
"dev:laboratory": "next dev",
Expand Down Expand Up @@ -37,23 +37,25 @@
"@emotion/styled": "11.11.0",
"@sentry/browser": "7.92.0",
"@sentry/react": "7.92.0",
"@solana/wallet-adapter-backpack": "0.1.14",
"@solana/wallet-adapter-wallets": "0.19.32",
"@solana/web3.js": "1.91.7",
"@tanstack/react-query": "5.24.8",
"@web3modal/ethers": "5.0.3",
"@web3modal/siwe": "5.0.3",
"@web3modal/solana": "5.0.3",
"@web3modal/wagmi": "5.0.3",
"@wagmi/connectors": "5.0.8",
"@walletconnect/utils": "2.13.1",
"@web3modal/ethers": "5.0.4",
"@web3modal/siwe": "5.0.4",
"@web3modal/solana": "5.0.4",
"@web3modal/wagmi": "5.0.4",
"ethers": "6.13.0",
"framer-motion": "10.17.9",
"next": "14.2.3",
"next-auth": "4.24.5",
"react-icons": "4.12.0",
"@walletconnect/utils": "2.13.1",
"rpc-websockets": "7.11.0",
"valtio": "1.11.2",
"viem": "2.10.3",
"wagmi": "2.9.10",
"@wagmi/connectors": "5.0.8",
"rpc-websockets": "7.11.0"
"wagmi": "2.9.10"
},
"devDependencies": {
"@aws-sdk/client-cloudwatch": "3.509.0",
Expand Down
12 changes: 12 additions & 0 deletions apps/laboratory/src/components/RandomLink.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
'use client'

import Link from 'next/link'

export function RandomLink({ hrefs, children }: { hrefs: string[]; children: React.ReactNode }) {
const href = hrefs[Math.floor(Math.random() * hrefs.length)]
if (!href) {
throw new Error('No hrefs provided')
}

return <Link href={href}>{children}</Link>
}
9 changes: 5 additions & 4 deletions apps/laboratory/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ import {
} from '@chakra-ui/react'
import { IoArrowForward } from 'react-icons/io5'
import { wagmiSdkOptions, ethersSdkOptions, solanaSdkOptions } from '../utils/DataUtil'
import { RandomLink } from '../components/RandomLink'

export default function HomePage() {
return (
<>
<Card marginTop={20}>
<Card marginTop={10}>
<CardHeader>
<Heading size="md">Testing</Heading>
</CardHeader>
Expand All @@ -33,16 +34,16 @@ export default function HomePage() {
Configuration with all features enabled and randomly using ethers or wagmi
</Text>
</Box>
<Link href={Math.random() > 0.5 ? '/library/wagmi-all' : '/library/ethers-all'}>
<RandomLink hrefs={['/library/wagmi-all', '/library/ethers-all']}>
<Button rightIcon={<IoArrowForward />}>Go</Button>
</Link>
</RandomLink>
</Stack>
</Box>
</Stack>
</CardBody>
</Card>

<Card marginTop={20}>
<Card marginTop={10}>
<CardHeader>
<Heading size="md">Wagmi</Heading>
</CardHeader>
Expand Down
17 changes: 16 additions & 1 deletion apps/laboratory/src/pages/library/solana.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ import { solana, solanaDevnet, solanaTestnet } from '../../utils/ChainsUtil'
import { Web3ModalButtons } from '../../components/Web3ModalButtons'
import { ConstantsUtil } from '../../utils/ConstantsUtil'
import { SolanaTests } from '../../components/Solana/SolanaTests'
import { BackpackWalletAdapter } from '@solana/wallet-adapter-backpack'
import {
PhantomWalletAdapter,
HuobiWalletAdapter,
SolflareWalletAdapter,
TrustWalletAdapter
} from '@solana/wallet-adapter-wallets'

const chains = [solana, solanaTestnet, solanaDevnet]

Expand All @@ -21,7 +28,15 @@ const modal = createWeb3Modal({
chains,
enableAnalytics: false,
termsConditionsUrl: 'https://walletconnect.com/terms',
privacyPolicyUrl: 'https://walletconnect.com/privacy'
privacyPolicyUrl: 'https://walletconnect.com/privacy',
customWallets: ConstantsUtil.CustomWallets,
wallets: [
new BackpackWalletAdapter(),
new HuobiWalletAdapter(),
new PhantomWalletAdapter(),
new SolflareWalletAdapter(),
new TrustWalletAdapter()
]
})

ThemeStore.setModal(modal)
Expand Down
2 changes: 1 addition & 1 deletion apps/laboratory/src/utils/SiweUtils.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { getCsrfToken, signIn, signOut, getSession } from 'next-auth/react'
import type { SIWEVerifyMessageArgs, SIWECreateMessageArgs, SIWESession } from '@web3modal/siwe'
import { createSIWEConfig, formatMessage } from '@web3modal/siwe'
import { WagmiConstantsUtil } from '../utils/WagmiConstants'
import { WagmiConstantsUtil } from './WagmiConstants'

export const siweConfig = createSIWEConfig({
signOutOnAccountChange: true,
Expand Down
9 changes: 9 additions & 0 deletions examples/html-ethers5/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @examples/html-ethers5

## 5.0.4

### Patch Changes

- fix: wcPromise incompatibility issues

- Updated dependencies []:
- @web3modal/ethers5@5.0.4

## 5.0.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions examples/html-ethers5/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@examples/html-ethers5",
"private": true,
"version": "5.0.3",
"version": "5.0.4",
"scripts": {
"dev:example": "vite --port 3011",
"build:examples": "vite build"
},
"dependencies": {
"@web3modal/ethers5": "5.0.3",
"@web3modal/ethers5": "5.0.4",
"ethers": "5.7.2"
},
"devDependencies": {
Expand Down
9 changes: 9 additions & 0 deletions examples/html-wagmi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @examples/html-wagmi

## 5.0.4

### Patch Changes

- fix: wcPromise incompatibility issues

- Updated dependencies []:
- @web3modal/wagmi@5.0.4

## 5.0.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions examples/html-wagmi/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"name": "@examples/html-wagmi",
"private": true,
"version": "5.0.3",
"version": "5.0.4",
"scripts": {
"dev:example": "vite --port 3001",
"build:examples": "vite build"
},
"dependencies": {
"@wagmi/connectors": "5.0.8",
"@wagmi/core": "2.10.5",
"@web3modal/wagmi": "5.0.3",
"@web3modal/wagmi": "5.0.4",
"react": "18.2.0",
"react-dom": "18.2.0"
},
Expand Down
9 changes: 9 additions & 0 deletions examples/next-wagmi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @examples/next-wagmi

## 5.0.4

### Patch Changes

- fix: wcPromise incompatibility issues

- Updated dependencies []:
- @web3modal/wagmi@5.0.4

## 5.0.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions examples/next-wagmi/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@examples/next-wagmi",
"version": "5.0.3",
"version": "5.0.4",
"private": true,
"scripts": {
"dev": "next dev",
Expand All @@ -10,7 +10,7 @@
},
"dependencies": {
"@tanstack/react-query": "5.24.8",
"@web3modal/wagmi": "5.0.3",
"@web3modal/wagmi": "5.0.4",
"next": "14.2.3",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down
9 changes: 9 additions & 0 deletions examples/react-ethers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @examples/react-ethers5

## 5.0.4

### Patch Changes

- fix: wcPromise incompatibility issues

- Updated dependencies []:
- @web3modal/ethers@5.0.4

## 5.0.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions examples/react-ethers/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@examples/react-ethers",
"private": true,
"version": "5.0.3",
"version": "5.0.4",
"scripts": {
"dev:example": "vite --port 3012",
"build:examples": "vite build"
},
"dependencies": {
"@web3modal/ethers": "5.0.3",
"@web3modal/ethers": "5.0.4",
"ethers": "6.9.0",
"react": "18.2.0",
"react-dom": "18.2.0"
Expand Down
9 changes: 9 additions & 0 deletions examples/react-ethers5/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @examples/react-ethers5

## 5.0.4

### Patch Changes

- fix: wcPromise incompatibility issues

- Updated dependencies []:
- @web3modal/ethers5@5.0.4

## 5.0.3

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions examples/react-ethers5/package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"name": "@examples/react-ethers5",
"private": true,
"version": "5.0.3",
"version": "5.0.4",
"scripts": {
"dev:example": "vite --port 3012",
"build:examples": "vite build"
},
"dependencies": {
"@web3modal/ethers5": "5.0.3",
"@web3modal/ethers5": "5.0.4",
"ethers": "5.7.2",
"react": "18.2.0",
"react-dom": "18.2.0"
Expand Down
9 changes: 9 additions & 0 deletions examples/react-wagmi/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @examples/react-wagmi

## 5.0.4

### Patch Changes

- fix: wcPromise incompatibility issues

- Updated dependencies []:
- @web3modal/wagmi@5.0.4

## 5.0.3

### Patch Changes
Expand Down
Loading

0 comments on commit 8d034dc

Please sign in to comment.