@huma-finance/widgets 0.0.62-beta.691 → 0.0.62-beta.698

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.691+af8c473",
3
+ "version": "0.0.62-beta.698+242c438",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -29,8 +29,8 @@
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.62-beta.691+af8c473",
33
- "@huma-finance/shared": "^0.0.62-beta.691+af8c473",
32
+ "@huma-finance/sdk": "^0.0.61",
33
+ "@huma-finance/shared": "^0.0.61",
34
34
  "@huma-finance/web-shared": "^0.0.61",
35
35
  "@mui/icons-material": "^5.3.0",
36
36
  "@mui/material": "^5.0.6",
@@ -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": "af8c473f3d573466f9ceb18ed59c4bd9998f0724"
206
+ "gitHead": "242c4388175affcc3a0c75d03f2dddd79e4a57d0"
211
207
  }
@@ -236,8 +236,7 @@ export function PointsEarned({
236
236
  </Box>
237
237
  <Box css={styles.entirePointsDetails}>
238
238
  You'll earn points <span css={styles.everyday}>everyday</span> for{' '}
239
- {monthText} straight. Plus, If you keep your investment till after{' '}
240
- {monthText}, you’ll gain extra points daily.
239
+ {monthText} straight.
241
240
  </Box>
242
241
  <BottomButton variant='contained' onClick={handleCloseModal}>
243
242
  GREAT
@@ -229,8 +229,7 @@ export function PointsEarned({
229
229
  </Box>
230
230
  <Box css={styles.entirePointsDetails}>
231
231
  You'll earn points <span css={styles.everyday}>everyday</span> for{' '}
232
- {monthText} straight. Plus, If you keep your investment till after{' '}
233
- {monthText}, you’ll gain extra points daily.
232
+ {monthText} straight.
234
233
  </Box>
235
234
  <BottomButton variant='contained' onClick={handleCloseModal}>
236
235
  GREAT
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
  )