Update Solflare Adapter (#266)

* Update Solflare Adapter

* Fix wallet adapter resolution
This commit is contained in:
Vidor Gencel 2023-09-12 11:56:28 +02:00 committed by GitHub
parent b06cc1f0ae
commit 441bd36acd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 22 additions and 6 deletions

View File

@ -34,6 +34,7 @@
"@solana/spl-token": "0.3.7",
"@solana/wallet-adapter-base": "0.9.23",
"@solana/wallet-adapter-react": "0.15.32",
"@solana/wallet-adapter-solflare": "0.6.27",
"@solana/wallet-adapter-wallets": "0.19.20",
"@switchboard-xyz/solana.js": "2.5.4",
"@tanstack/react-query": "4.10.1",
@ -106,7 +107,8 @@
},
"resolutions": {
"@coral-xyz/anchor": "^0.27.0",
"eslint-config-next/eslint-import-resolver-typescript/tsconfig-paths/json5": "1.0.2"
"eslint-config-next/eslint-import-resolver-typescript/tsconfig-paths/json5": "1.0.2",
"@solana/wallet-adapter-solflare": "0.6.27"
},
"lavamoat": {
"allowScripts": {

View File

@ -15,7 +15,6 @@ import {
} from '@solana/wallet-adapter-react'
import {
PhantomWalletAdapter,
SolflareWalletAdapter,
GlowWalletAdapter,
BackpackWalletAdapter,
BraveWalletAdapter,
@ -27,6 +26,7 @@ import {
ExodusWalletAdapter,
WalletConnectWalletAdapter,
} from '@solana/wallet-adapter-wallets'
import { SolflareWalletAdapter } from '@solana/wallet-adapter-solflare'
import { clusterApiUrl } from '@solana/web3.js'
import TransactionNotification from '@components/notifications/TransactionNotification'
import { ThemeProvider } from 'next-themes'

View File

@ -1806,13 +1806,16 @@
"@solana/wallet-adapter-base" "^0.9.23"
bs58 "^4.0.1"
"@solana/wallet-adapter-solflare@^0.6.26":
version "0.6.26"
resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-solflare/-/wallet-adapter-solflare-0.6.26.tgz#d5ee8b03a8265a8246c16453e4578084c5886826"
integrity sha512-QRp89hbByx3Ntj34l8q+N1usdVAbcdcX8GAkW0aYNlIIL1BzkK0zYYOY7rM6j1vIH/6+grXtiizjZ81V0jJhqA==
"@solana/wallet-adapter-solflare@0.6.27", "@solana/wallet-adapter-solflare@^0.6.26":
version "0.6.27"
resolved "https://registry.yarnpkg.com/@solana/wallet-adapter-solflare/-/wallet-adapter-solflare-0.6.27.tgz#49ba2dfecca4bee048e65d302216d1b732d7e39e"
integrity sha512-MBBx9B1pI8ChCT70sgxrmeib1S7G9tRQzfMHqJPdGQ2jGtukY0Puzma2OBsIAsH5Aw9rUUUFZUK+8pzaE+mgAg==
dependencies:
"@solana/wallet-adapter-base" "^0.9.23"
"@solana/wallet-standard-chains" "^1.1.0"
"@solflare-wallet/metamask-sdk" "^1.0.2"
"@solflare-wallet/sdk" "^1.3.0"
"@wallet-standard/wallet" "^1.0.1"
"@solana/wallet-adapter-sollet@^0.11.17":
version "0.11.17"
@ -2021,6 +2024,17 @@
rpc-websockets "^7.5.1"
superstruct "^0.14.2"
"@solflare-wallet/metamask-sdk@^1.0.2":
version "1.0.2"
resolved "https://registry.yarnpkg.com/@solflare-wallet/metamask-sdk/-/metamask-sdk-1.0.2.tgz#03a49956e00481d8a7c06aaa2177635e2fd642bd"
integrity sha512-IoHz81EfU8x/QlmUlVimt45FTPlqOQzTcVpB4T3h1E/J9jtuywHHsdRAzmjw71phPCp/5fgFIfg+pD48GIqmQA==
dependencies:
"@solana/wallet-standard-features" "^1.1.0"
"@wallet-standard/base" "^1.0.1"
bs58 "^5.0.0"
eventemitter3 "^5.0.1"
uuid "^9.0.0"
"@solflare-wallet/sdk@^1.3.0":
version "1.3.0"
resolved "https://registry.yarnpkg.com/@solflare-wallet/sdk/-/sdk-1.3.0.tgz#9d4de45d1856c4ce624631c8d2e27fbf9722f813"