@huma-finance/widgets 0.0.62-beta.688 → 0.0.62-beta.693

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@huma-finance/widgets",
3
- "version": "0.0.62-beta.688+817ed7a",
3
+ "version": "0.0.62-beta.693+8191572",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -29,9 +29,9 @@
29
29
  "@ethersproject/experimental": "^5.7.0",
30
30
  "@ethersproject/providers": "^5.6.0",
31
31
  "@ethersproject/units": "^5.6.0",
32
- "@huma-finance/sdk": "^0.0.61",
33
- "@huma-finance/shared": "^0.0.61",
34
- "@huma-finance/web-shared": "^0.0.62-beta.688+817ed7a",
32
+ "@huma-finance/sdk": "^0.0.62-beta.693+8191572",
33
+ "@huma-finance/shared": "^0.0.62-beta.693+8191572",
34
+ "@huma-finance/web-shared": "^0.0.62-beta.693+8191572",
35
35
  "@mui/icons-material": "^5.3.0",
36
36
  "@mui/material": "^5.0.6",
37
37
  "@mui/styles": "^5.0.2",
@@ -41,9 +41,6 @@
41
41
  "@notifi-network/notifi-react": "^1.1.2",
42
42
  "@reduxjs/toolkit": "^1.8.6",
43
43
  "@types/utf8": "^3.0.1",
44
- "@walletconnect/ethereum-provider": "1.8.0",
45
- "@walletconnect/jsonrpc-http-connection": "^1.0.3",
46
- "@walletconnect/jsonrpc-provider": "^1.0.5",
47
44
  "@web3-react/coinbase-wallet": "^8.2.0",
48
45
  "@web3-react/core": "^8.2.0",
49
46
  "@web3-react/eip1193": "^8.2.0",
@@ -53,7 +50,6 @@
53
50
  "@web3-react/network": "^8.2.0",
54
51
  "@web3-react/types": "^8.2.0",
55
52
  "@web3-react/url": "^8.2.0",
56
- "@web3-react/walletconnect": "^8.2.0",
57
53
  "buffer": "^6.0.3",
58
54
  "customize-cra": "^1.0.0",
59
55
  "dayjs": "^1.11.6",
@@ -207,5 +203,5 @@
207
203
  "optionalDependencies": {
208
204
  "encoding": "^0.1.13"
209
205
  },
210
- "gitHead": "817ed7a8e5edace0c3651cb8bb163d24f5b5347e"
206
+ "gitHead": "8191572db7e2ff3ac3cfcebc41075fd60d8a23df"
211
207
  }
package/src/index.tsx CHANGED
@@ -1,8 +1,4 @@
1
1
  import { JsonRpcProvider } from '@ethersproject/providers'
2
- import {
3
- Provider as Web3Provider,
4
- ProviderProps as Web3Props,
5
- } from '@huma-finance/web-shared'
6
2
  import { ThemeProvider } from '@mui/material'
7
3
  import { Provider as Eip1193Provider } from '@web3-react/types'
8
4
  import { Provider as AtomProvider } from 'jotai'
@@ -135,15 +131,13 @@ function Widget(props: WCProps<WidgetProps>) {
135
131
  return (
136
132
  <ThemeProvider theme={themeHuma}>
137
133
  <ReduxProvider store={store}>
138
- <Web3Provider {...(props as Web3Props)} defaultChainId={chainId}>
139
- <AtomProvider>
140
- <ChainSupportProvider>
141
- <NotifiContextWrapper chainId={chainId}>
142
- {children}
143
- </NotifiContextWrapper>
144
- </ChainSupportProvider>
145
- </AtomProvider>
146
- </Web3Provider>
134
+ <AtomProvider>
135
+ <ChainSupportProvider>
136
+ <NotifiContextWrapper chainId={chainId}>
137
+ {children}
138
+ </NotifiContextWrapper>
139
+ </ChainSupportProvider>
140
+ </AtomProvider>
147
141
  </ReduxProvider>
148
142
  </ThemeProvider>
149
143
  )