Skip to content

Commit

Permalink
[FIX] - 6963 provider creation (#2123)
Browse files Browse the repository at this point in the history
* Bump versions for release and Remove console.log

* Do try to create 1193 provider from 6963 injected provider as the providers are frozen by the standard and already in 1193
  • Loading branch information
Adamj1232 authored Apr 1, 2024
1 parent 1052148 commit 9b871a1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion packages/injected/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@web3-onboard/injected-wallets",
"version": "2.10.13",
"version": "2.10.14-alpha.1",
"description": "Injected wallet module for connecting browser extension and mobile wallets to Web3-Onboard. Web3-Onboard makes it simple to connect Ethereum hardware and software wallets to your dapp. Features standardised spec compliant web3 providers for all supported wallets, framework agnostic modern javascript UI with code splitting, CSS customization, multi-chain and multi-account support, reactive wallet state subscriptions and real-time transaction state change notifications.",
"keywords": [
"Ethereum",
Expand Down
4 changes: 2 additions & 2 deletions packages/injected/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ function checkFor6963Providers() {
label: name,
getIcon: async () => icon,
getInterface: async () => ({
provider: createEIP1193Provider(provider)
provider
}),
platforms: ['all'],
eip6963Provider: createEIP1193Provider(provider) as InjectedProvider,
eip6963Provider: provider as InjectedProvider,
checkProviderIdentity: ({ provider }) => !!provider
})
})
Expand Down

0 comments on commit 9b871a1

Please sign in to comment.