Skip to content

Commit

Permalink
Merge pull request #14 from EveripediaNetwork/fix-back-eth-provider
Browse files Browse the repository at this point in the history
fix-back-eth-provider
  • Loading branch information
Royal-lobster authored Sep 3, 2024
2 parents e28d28a + 2190e85 commit 36f3275
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/dirty-steaks-melt.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@everipedia/iq-login": patch
---

changes name of export from eth-provider web3auth
4 changes: 2 additions & 2 deletions src/lib/integrations/web3-auth-connector.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Wallet } from '@rainbow-me/rainbowkit'
import { WALLET_ADAPTERS } from '@web3auth/base'
import provider from '@web3auth/ethereum-provider'
import ethProvider from '@web3auth/ethereum-provider'
import { Web3Auth } from '@web3auth/modal'
import { WalletServicesPlugin } from '@web3auth/wallet-services-plugin'
import { Web3AuthConnector } from '@web3auth/web3auth-wagmi-connector'
Expand Down Expand Up @@ -28,7 +28,7 @@ export const rainbowWeb3AuthConnector = ({
blockExplorerUrl: chain.blockExplorers?.default.url[0] as string,
}

const privateKeyProvider = new provider.EthereumPrivateKeyProvider({
const privateKeyProvider = new ethProvider.EthereumPrivateKeyProvider({
config: { chainConfig },
})

Expand Down

0 comments on commit 36f3275

Please sign in to comment.