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

Siwe package #1957

Merged
merged 38 commits into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from 34 commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
c72d447
siwe
glitch-txs Feb 22, 2024
145deab
lock
glitch-txs Feb 22, 2024
cc9d71e
ts
glitch-txs Feb 22, 2024
3b309c0
V4
glitch-txs Feb 22, 2024
dffda55
fix order
glitch-txs Feb 22, 2024
209bd6b
remove nextauth
glitch-txs Feb 22, 2024
ac8670a
naming
glitch-txs Feb 22, 2024
9e1a7f4
lock
glitch-txs Feb 22, 2024
7de60a3
next
glitch-txs Feb 22, 2024
79739ed
add build dep turbo
glitch-txs Feb 22, 2024
9065b04
update lock + remove ts expect error from wagmi
glitch-txs Feb 23, 2024
7c2979d
fix conflicts
glitch-txs Feb 23, 2024
7f8787d
vscode config
glitch-txs Feb 23, 2024
e3449d8
remove devDep
glitch-txs Feb 23, 2024
671371a
update lock
glitch-txs Feb 23, 2024
024808b
fix lab import
glitch-txs Feb 23, 2024
5c9b0f8
fix lab import
glitch-txs Feb 23, 2024
0601935
lock
glitch-txs Feb 23, 2024
6d2e96b
add siwe to labs
glitch-txs Feb 23, 2024
9aa42ab
update wagmi
glitch-txs Feb 23, 2024
58fa36f
udpate wagmi peer
glitch-txs Feb 23, 2024
b3b4bcf
strict
glitch-txs Feb 23, 2024
752dc1c
remove lock
glitch-txs Feb 23, 2024
806ec6a
add lock file
glitch-txs Feb 25, 2024
1317c27
resolve conflicts
glitch-txs Feb 25, 2024
57b7740
update lock
glitch-txs Feb 25, 2024
e3a7bb1
lock
glitch-txs Feb 25, 2024
ff62b77
fix enable
glitch-txs Feb 25, 2024
1a924c7
lcok
glitch-txs Feb 25, 2024
a823669
Update packages/core/src/controllers/OptionsController.ts
glitch-txs Feb 26, 2024
0a4cfe3
update deps
glitch-txs Feb 26, 2024
222ab88
Merge branch 'fix/siwe' of https://github.com/WalletConnect/web3modal…
glitch-txs Feb 26, 2024
3b3dfd2
prettier
glitch-txs Feb 26, 2024
b3d1f4a
fix deps
glitch-txs Feb 26, 2024
5087b58
Merge branch 'V4' into fix/siwe
glitch-txs Feb 27, 2024
329c42e
fixes
glitch-txs Feb 28, 2024
b7d3e9a
Merge branch 'fix/siwe' of https://github.com/WalletConnect/web3modal…
glitch-txs Feb 28, 2024
65efc6e
goback
glitch-txs Feb 28, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions apps/laboratory/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,22 @@
"@sentry/react": "7.92.0",
"@tanstack/react-query": "5.17.19",
"@web3modal/ethers": "4.0.10",
"@web3modal/ethers5": "4.0.10",
"@web3modal/siwe": "4.0.10",
"@web3modal/wagmi": "4.0.10",
"framer-motion": "10.17.9",
"next": "14.0.4",
"next-auth": "4.24.5",
"react-icons": "4.12.0",
"siwe": "2.1.4",
"valtio": "1.11.2",
"viem": "2.5.0",
"wagmi": "2.5.6"
"ethers": "6.9.0",
"viem": "2.7.13",
"wagmi": "2.5.7"
},
"devDependencies": {
"@aws-sdk/client-cloudwatch": "3.509.0",
"@mailsac/api": "1.0.5",
"@playwright/test": "1.40.1",
"dotenv": "16.3.1",
"ethers": "6.9.0"
"dotenv": "16.3.1"
}
}
2 changes: 1 addition & 1 deletion apps/laboratory/src/components/Siwe/SiweData.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import {
} from '@chakra-ui/react'
import { useEffect, useState } from 'react'
import { useSession } from 'next-auth/react'
import type { SIWESession } from '@web3modal/core'
import type { SIWESession } from '@web3modal/siwe'

export function SiweData() {
const [ready, setReady] = useState(false)
Expand Down
2 changes: 1 addition & 1 deletion apps/laboratory/src/pages/api/auth/[...nextauth].ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import type { SIWESession } from '@web3modal/core'
import type { SIWESession } from '@web3modal/siwe'
import type { NextApiRequest, NextApiResponse } from 'next'
import nextAuth from 'next-auth'
import credentialsProvider from 'next-auth/providers/credentials'
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,6 +1,6 @@
import { SiweMessage } from 'siwe'
import { getCsrfToken, signIn, signOut, getSession } from 'next-auth/react'
import type { SIWEVerifyMessageArgs, SIWECreateMessageArgs, SIWESession } from '@web3modal/core'
import type { SIWEVerifyMessageArgs, SIWECreateMessageArgs, SIWESession } from '@web3modal/siwe'
import { createSIWEConfig } from '@web3modal/siwe'

export const siweConfig = createSIWEConfig({
Expand Down
2 changes: 2 additions & 0 deletions examples/html-wagmi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
},
"dependencies": {
"@web3modal/wagmi": "4.0.10",
"@wagmi/connectors": "4.1.14",
"@wagmi/core": "2.6.5",
"react": "18.2.0",
"react-dom": "18.2.0"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/next-wagmi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"next": "14.1.0",
"react": "18.2.0",
"react-dom": "18.2.0",
"viem": "2.5.0",
"wagmi": "2.5.6"
"viem": "2.7.13",
"wagmi": "2.5.7"
},
"devDependencies": {
"@types/node": "20.11.5",
Expand Down
4 changes: 2 additions & 2 deletions examples/react-wagmi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
"@web3modal/wagmi": "4.0.10",
"react": "18.2.0",
"react-dom": "18.2.0",
"viem": "2.5.0",
"vite": "5.0.12",
"wagmi": "2.5.6"
"viem": "2.7.13",
"wagmi": "2.5.7"
},
"devDependencies": {
"@vitejs/plugin-react": "4.2.1",
Expand Down
4 changes: 3 additions & 1 deletion examples/vue-wagmi/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@
"build:examples": "vite build"
},
"dependencies": {
"@web3modal/wagmi": "4.0.10"
"@web3modal/wagmi": "4.0.10",
"@wagmi/connectors": "4.1.14",
"@wagmi/core": "2.6.5"
},
"devDependencies": {
"@vitejs/plugin-vue": "5.0.2"
Expand Down