@huma-finance/widgets 0.0.38-beta.44 → 0.0.38
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/API.md +98 -121
- package/package.json +4 -4
package/API.md
CHANGED
|
@@ -60,345 +60,322 @@ To be used when re-enabling autopay and other pool actions that require allowanc
|
|
|
60
60
|
<a name="InvoiceFactoringBorrowWidget"></a>
|
|
61
61
|
|
|
62
62
|
## InvoiceFactoringBorrowWidget(props) ⇒
|
|
63
|
-
|
|
64
63
|
<p>Invoice factoring borrow widget</p>
|
|
65
64
|
|
|
66
65
|
**Kind**: global function
|
|
67
|
-
**Returns**: <p>Invoice factoring pool borrow widget component</p>
|
|
66
|
+
**Returns**: <p>Invoice factoring pool borrow widget component</p>
|
|
68
67
|
|
|
69
|
-
| Param | Type
|
|
70
|
-
|
|
|
68
|
+
| Param | Type | Description |
|
|
69
|
+
| --- | --- | --- |
|
|
71
70
|
| props | [<code>InvoiceFactoringBorrowWidgetProps</code>](#InvoiceFactoringBorrowWidgetProps) | <p>The invoice factoring pool borrow widget props.</p> |
|
|
72
71
|
|
|
73
72
|
<a name="InvoiceFactoringPaymentWidget"></a>
|
|
74
73
|
|
|
75
74
|
## InvoiceFactoringPaymentWidget(props) ⇒
|
|
76
|
-
|
|
77
75
|
<p>Invoice factoring payment widget</p>
|
|
78
76
|
|
|
79
77
|
**Kind**: global function
|
|
80
|
-
**Returns**: <p>Invoice factoring pool payment widget component</p>
|
|
78
|
+
**Returns**: <p>Invoice factoring pool payment widget component</p>
|
|
81
79
|
|
|
82
|
-
| Param | Type
|
|
83
|
-
|
|
|
80
|
+
| Param | Type | Description |
|
|
81
|
+
| --- | --- | --- |
|
|
84
82
|
| props | [<code>InvoiceFactoringPaymentWidgetProps</code>](#InvoiceFactoringPaymentWidgetProps) | <p>The invoice factoring pool payment widget props.</p> |
|
|
85
83
|
|
|
86
84
|
<a name="CreditLineBorrowWidget"></a>
|
|
87
85
|
|
|
88
86
|
## CreditLineBorrowWidget(props) ⇒
|
|
89
|
-
|
|
90
87
|
<p>Credit line borrow widget</p>
|
|
91
88
|
|
|
92
89
|
**Kind**: global function
|
|
93
|
-
**Returns**: <p>Credit line pool borrow widget component</p>
|
|
90
|
+
**Returns**: <p>Credit line pool borrow widget component</p>
|
|
94
91
|
|
|
95
|
-
| Param | Type
|
|
96
|
-
|
|
|
92
|
+
| Param | Type | Description |
|
|
93
|
+
| --- | --- | --- |
|
|
97
94
|
| props | [<code>CreditLineBorrowWidgetProps</code>](#CreditLineBorrowWidgetProps) | <p>The credit line pool borrow widget props.</p> |
|
|
98
95
|
|
|
99
96
|
<a name="CreditLinePaymentWidget"></a>
|
|
100
97
|
|
|
101
98
|
## CreditLinePaymentWidget(props) ⇒
|
|
102
|
-
|
|
103
99
|
<p>Credit line payment widget</p>
|
|
104
100
|
|
|
105
101
|
**Kind**: global function
|
|
106
|
-
**Returns**: <p>Credit line pool payment widget component</p>
|
|
102
|
+
**Returns**: <p>Credit line pool payment widget component</p>
|
|
107
103
|
|
|
108
|
-
| Param | Type
|
|
109
|
-
|
|
|
104
|
+
| Param | Type | Description |
|
|
105
|
+
| --- | --- | --- |
|
|
110
106
|
| props | [<code>CreditLinePaymentWidgetProps</code>](#CreditLinePaymentWidgetProps) | <p>The credit line pool payment widget props.</p> |
|
|
111
107
|
|
|
112
108
|
<a name="CreditLineApproveWidget"></a>
|
|
113
109
|
|
|
114
110
|
## CreditLineApproveWidget(props) ⇒
|
|
115
|
-
|
|
116
111
|
<p>Credit line allowance approve widget to top up a pool's ERC20 token allowance.
|
|
117
112
|
To be used when re-enabling autopay and other pool actions that require allowance.</p>
|
|
118
113
|
|
|
119
114
|
**Kind**: global function
|
|
120
|
-
**Returns**: <p>Credit line pool approve widget component</p>
|
|
115
|
+
**Returns**: <p>Credit line pool approve widget component</p>
|
|
121
116
|
|
|
122
|
-
| Param | Type
|
|
123
|
-
|
|
|
117
|
+
| Param | Type | Description |
|
|
118
|
+
| --- | --- | --- |
|
|
124
119
|
| props | <code>CreditLineApproveWidgetProps</code> | <p>The credit line pool approve widget props.</p> |
|
|
125
120
|
|
|
126
121
|
<a name="LendSupplyWidget"></a>
|
|
127
122
|
|
|
128
123
|
## LendSupplyWidget(props) ⇒
|
|
129
|
-
|
|
130
124
|
<p>Lend supply widget</p>
|
|
131
125
|
|
|
132
126
|
**Kind**: global function
|
|
133
|
-
**Returns**: <p>Lend pool supply widget component</p>
|
|
127
|
+
**Returns**: <p>Lend pool supply widget component</p>
|
|
134
128
|
|
|
135
|
-
| Param | Type
|
|
136
|
-
|
|
|
129
|
+
| Param | Type | Description |
|
|
130
|
+
| --- | --- | --- |
|
|
137
131
|
| props | [<code>LendSupplyWidgetProps</code>](#LendSupplyWidgetProps) | <p>The lend pool supply widget props.</p> |
|
|
138
132
|
|
|
139
133
|
<a name="LendWithdrawWidget"></a>
|
|
140
134
|
|
|
141
135
|
## LendWithdrawWidget(props) ⇒
|
|
142
|
-
|
|
143
136
|
<p>Lend withdraw widget</p>
|
|
144
137
|
|
|
145
138
|
**Kind**: global function
|
|
146
|
-
**Returns**: <p>Lend pool withdraw widget component</p>
|
|
139
|
+
**Returns**: <p>Lend pool withdraw widget component</p>
|
|
147
140
|
|
|
148
|
-
| Param | Type
|
|
149
|
-
|
|
|
141
|
+
| Param | Type | Description |
|
|
142
|
+
| --- | --- | --- |
|
|
150
143
|
| props | [<code>LendWithdrawWidgetProps</code>](#LendWithdrawWidgetProps) | <p>The lend pool withdraw widget props</p> |
|
|
151
144
|
|
|
152
145
|
<a name="SuperfluidFactoringWidget"></a>
|
|
153
146
|
|
|
154
147
|
## SuperfluidFactoringWidget(props) ⇒
|
|
155
|
-
|
|
156
148
|
<p>Superfluid factoring widget</p>
|
|
157
149
|
|
|
158
150
|
**Kind**: global function
|
|
159
|
-
**Returns**: <p>Superfluid factoring widget component</p>
|
|
151
|
+
**Returns**: <p>Superfluid factoring widget component</p>
|
|
160
152
|
|
|
161
|
-
| Param | Type
|
|
162
|
-
|
|
|
153
|
+
| Param | Type | Description |
|
|
154
|
+
| --- | --- | --- |
|
|
163
155
|
| props | [<code>WidgetProps</code>](#WidgetProps) | <p>The superfluid factoring widget props.</p> |
|
|
164
156
|
|
|
165
157
|
<a name="CreditLineApproveProps"></a>
|
|
166
158
|
|
|
167
159
|
## CreditLineApproveProps : <code>Object</code>
|
|
168
|
-
|
|
169
160
|
<p>Credit line pool approve allowance props</p>
|
|
170
161
|
|
|
171
162
|
**Kind**: global typedef
|
|
172
163
|
**Properties**
|
|
173
164
|
|
|
174
|
-
| Name
|
|
175
|
-
|
|
|
176
|
-
| poolName
|
|
177
|
-
| poolType
|
|
178
|
-
| amount
|
|
179
|
-
| handleClose
|
|
180
|
-
| handleSuccess | <code>function</code>
|
|
165
|
+
| Name | Type | Description |
|
|
166
|
+
| --- | --- | --- |
|
|
167
|
+
| poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
|
|
168
|
+
| poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
|
|
169
|
+
| amount | <code>BigNumberish</code> \| <code>undefined</code> | <p>The amount to approve.</p> |
|
|
170
|
+
| handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
|
|
171
|
+
| handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool approve allowance action is successful.</p> |
|
|
181
172
|
|
|
182
173
|
<a name="CreditLineBorrowProps"></a>
|
|
183
174
|
|
|
184
175
|
## CreditLineBorrowProps : <code>Object</code>
|
|
185
|
-
|
|
186
176
|
<p>Credit line pool borrow props</p>
|
|
187
177
|
|
|
188
178
|
**Kind**: global typedef
|
|
189
179
|
**Properties**
|
|
190
180
|
|
|
191
|
-
| Name
|
|
192
|
-
|
|
|
193
|
-
| poolName
|
|
194
|
-
| poolType
|
|
195
|
-
| handleClose
|
|
196
|
-
| handleApprove | <code>function</code>
|
|
197
|
-
| handleSuccess | <code>function</code>
|
|
181
|
+
| Name | Type | Description |
|
|
182
|
+
| --- | --- | --- |
|
|
183
|
+
| poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
|
|
184
|
+
| poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
|
|
185
|
+
| handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
|
|
186
|
+
| handleApprove | <code>function</code> | <p>Optional function to notify when user is approved successfully to borrow again pool.</p> |
|
|
187
|
+
| handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool borrow action is successful.</p> |
|
|
198
188
|
|
|
199
189
|
<a name="CreditLinePaymentProps"></a>
|
|
200
190
|
|
|
201
191
|
## CreditLinePaymentProps : <code>Object</code>
|
|
202
|
-
|
|
203
192
|
<p>Credit line pool payment props</p>
|
|
204
193
|
|
|
205
194
|
**Kind**: global typedef
|
|
206
195
|
**Properties**
|
|
207
196
|
|
|
208
|
-
| Name
|
|
209
|
-
|
|
|
210
|
-
| poolName
|
|
211
|
-
| poolType
|
|
212
|
-
| handleClose
|
|
213
|
-
| handleSuccess | <code>function</code>
|
|
197
|
+
| Name | Type | Description |
|
|
198
|
+
| --- | --- | --- |
|
|
199
|
+
| poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
|
|
200
|
+
| poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
|
|
201
|
+
| handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
|
|
202
|
+
| handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool payment action is successful.</p> |
|
|
214
203
|
|
|
215
204
|
<a name="InvoiceFactoringBorrowProps"></a>
|
|
216
205
|
|
|
217
206
|
## InvoiceFactoringBorrowProps : <code>Object</code>
|
|
218
|
-
|
|
219
207
|
<p>Invoice factoring pool borrow props</p>
|
|
220
208
|
|
|
221
209
|
**Kind**: global typedef
|
|
222
210
|
**Properties**
|
|
223
211
|
|
|
224
|
-
| Name
|
|
225
|
-
|
|
|
226
|
-
| poolName
|
|
227
|
-
| poolType
|
|
228
|
-
| tokenId
|
|
229
|
-
| handleClose
|
|
230
|
-
| handleSuccess | <code>function</code>
|
|
212
|
+
| Name | Type | Description |
|
|
213
|
+
| --- | --- | --- |
|
|
214
|
+
| poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
|
|
215
|
+
| poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
|
|
216
|
+
| tokenId | <code>string</code> \| <code>BigNumber</code> | <p>The NFT token id representing invoice.</p> |
|
|
217
|
+
| handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
|
|
218
|
+
| handleSuccess | <code>function</code> | <p>Optional function to notify that the invoice pool borrow action is successful.</p> |
|
|
231
219
|
|
|
232
220
|
<a name="InvoiceFactoringPaymentProps"></a>
|
|
233
221
|
|
|
234
222
|
## InvoiceFactoringPaymentProps : <code>Object</code>
|
|
235
|
-
|
|
236
223
|
<p>Invoice factoring pool payment props</p>
|
|
237
224
|
|
|
238
225
|
**Kind**: global typedef
|
|
239
226
|
**Properties**
|
|
240
227
|
|
|
241
|
-
| Name
|
|
242
|
-
|
|
|
243
|
-
| poolName
|
|
244
|
-
| poolType
|
|
245
|
-
| handleClose
|
|
246
|
-
| handleSuccess | <code>function</code>
|
|
228
|
+
| Name | Type | Description |
|
|
229
|
+
| --- | --- | --- |
|
|
230
|
+
| poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
|
|
231
|
+
| poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
|
|
232
|
+
| handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
|
|
233
|
+
| handleSuccess | <code>function</code> | <p>Optional function to notify that the invoice pool payment action is successful.</p> |
|
|
247
234
|
|
|
248
235
|
<a name="LendSupplyProps"></a>
|
|
249
236
|
|
|
250
237
|
## LendSupplyProps : <code>Object</code>
|
|
251
|
-
|
|
252
238
|
<p>Lend pool supply props</p>
|
|
253
239
|
|
|
254
240
|
**Kind**: global typedef
|
|
255
241
|
**Properties**
|
|
256
242
|
|
|
257
|
-
| Name
|
|
258
|
-
|
|
|
259
|
-
| poolName
|
|
260
|
-
| poolType
|
|
261
|
-
| handleClose
|
|
262
|
-
| handleSuccess | <code>function</code>
|
|
243
|
+
| Name | Type | Description |
|
|
244
|
+
| --- | --- | --- |
|
|
245
|
+
| poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
|
|
246
|
+
| poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
|
|
247
|
+
| handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
|
|
248
|
+
| handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool supply action is successful.</p> |
|
|
263
249
|
|
|
264
250
|
<a name="LendWithdrawProps"></a>
|
|
265
251
|
|
|
266
252
|
## LendWithdrawProps : <code>Object</code>
|
|
267
|
-
|
|
268
253
|
<p>Lend pool withdraw props</p>
|
|
269
254
|
|
|
270
255
|
**Kind**: global typedef
|
|
271
256
|
**Properties**
|
|
272
257
|
|
|
273
|
-
| Name
|
|
274
|
-
|
|
|
275
|
-
| poolName
|
|
276
|
-
| poolType
|
|
277
|
-
| handleClose
|
|
278
|
-
| handleSuccess | <code>function</code>
|
|
258
|
+
| Name | Type | Description |
|
|
259
|
+
| --- | --- | --- |
|
|
260
|
+
| poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
|
|
261
|
+
| poolType | <code>POOL\_TYPE</code> | <p>The type of the pool.</p> |
|
|
262
|
+
| handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
|
|
263
|
+
| handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool withdraw action is successful.</p> |
|
|
279
264
|
|
|
280
265
|
<a name="JsonRpcConnectionMap"></a>
|
|
281
266
|
|
|
282
267
|
## JsonRpcConnectionMap : <code>Object</code>
|
|
283
|
-
|
|
284
268
|
<p>Mapping of your JSON-RPC connections indexed by chainId</p>
|
|
285
269
|
|
|
286
270
|
**Kind**: global typedef
|
|
287
271
|
**Properties**
|
|
288
272
|
|
|
289
|
-
| Name
|
|
290
|
-
|
|
|
273
|
+
| Name | Type | Description |
|
|
274
|
+
| --- | --- | --- |
|
|
291
275
|
| chainId | <code>Object.<number, (string\|Array.<string>\|JsonRpcProvider\|Array.<JsonRpcProvider>)></code> | <p>Chain id to map the JSON-RPC URL/URLs or JsonRpcProvider/JsonRpcProviders</p> |
|
|
292
276
|
|
|
293
277
|
<a name="WidgetProps"></a>
|
|
294
278
|
|
|
295
279
|
## WidgetProps : <code>Object</code>
|
|
296
|
-
|
|
297
280
|
<p>Object representing the props passed to web3 provider</p>
|
|
298
281
|
|
|
299
282
|
**Kind**: global typedef
|
|
300
283
|
**Properties**
|
|
301
284
|
|
|
302
|
-
| Name
|
|
303
|
-
|
|
|
304
|
-
| desiredChainId | <code>desiredChainId</code> \| <code>undefined</code>
|
|
305
|
-
| jsonRpcUrlMap
|
|
306
|
-
| provider
|
|
285
|
+
| Name | Type | Description |
|
|
286
|
+
| --- | --- | --- |
|
|
287
|
+
| desiredChainId | <code>desiredChainId</code> \| <code>undefined</code> | <p>Optional desired chain id, will trigger the switch network action if different from the current chain id</p> |
|
|
288
|
+
| jsonRpcUrlMap | [<code>JsonRpcConnectionMap</code>](#JsonRpcConnectionMap) \| <code>undefined</code> | <p>Optional mapping of your JSON-RPC connections indexed by chainId</p> |
|
|
289
|
+
| provider | <code>Eip1193Provider</code> \| <code>JsonRpcProviderl</code> | <p>EIP-1193 provider or JsonRpc Provider</p> |
|
|
307
290
|
|
|
308
291
|
<a name="InvoiceFactoringBorrowWidgetProps"></a>
|
|
309
292
|
|
|
310
293
|
## InvoiceFactoringBorrowWidgetProps : <code>Object</code>
|
|
311
|
-
|
|
312
294
|
<p>Invoice factoring pool borrow widget props</p>
|
|
313
295
|
|
|
314
296
|
**Kind**: global typedef
|
|
315
297
|
**Properties**
|
|
316
298
|
|
|
317
|
-
| Name
|
|
318
|
-
|
|
|
299
|
+
| Name | Type | Description |
|
|
300
|
+
| --- | --- | --- |
|
|
319
301
|
| InvoiceFactoringBorrowProps | [<code>InvoiceFactoringBorrowProps</code>](#InvoiceFactoringBorrowProps) | <p>Invoice factoring pool borrow props.</p> |
|
|
320
|
-
| WidgetProps
|
|
302
|
+
| WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
|
|
321
303
|
|
|
322
304
|
<a name="InvoiceFactoringPaymentWidgetProps"></a>
|
|
323
305
|
|
|
324
306
|
## InvoiceFactoringPaymentWidgetProps : <code>Object</code>
|
|
325
|
-
|
|
326
307
|
<p>Invoice factoring pool payment widget props</p>
|
|
327
308
|
|
|
328
309
|
**Kind**: global typedef
|
|
329
310
|
**Properties**
|
|
330
311
|
|
|
331
|
-
| Name
|
|
332
|
-
|
|
|
312
|
+
| Name | Type | Description |
|
|
313
|
+
| --- | --- | --- |
|
|
333
314
|
| InvoiceFactoringPaymentProps | [<code>InvoiceFactoringPaymentProps</code>](#InvoiceFactoringPaymentProps) | <p>Invoice factoring pool payment props.</p> |
|
|
334
|
-
| WidgetProps
|
|
315
|
+
| WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
|
|
335
316
|
|
|
336
317
|
<a name="CreditLineBorrowWidgetProps"></a>
|
|
337
318
|
|
|
338
319
|
## CreditLineBorrowWidgetProps : <code>Object</code>
|
|
339
|
-
|
|
340
320
|
<p>Credit line pool borrow widget props</p>
|
|
341
321
|
|
|
342
322
|
**Kind**: global typedef
|
|
343
323
|
**Properties**
|
|
344
324
|
|
|
345
|
-
| Name
|
|
346
|
-
|
|
|
325
|
+
| Name | Type | Description |
|
|
326
|
+
| --- | --- | --- |
|
|
347
327
|
| CreditLineBorrowProps | [<code>CreditLineBorrowProps</code>](#CreditLineBorrowProps) | <p>Credit line pool borrow props.</p> |
|
|
348
|
-
| WidgetProps
|
|
328
|
+
| WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
|
|
349
329
|
|
|
350
330
|
<a name="CreditLinePaymentWidgetProps"></a>
|
|
351
331
|
|
|
352
332
|
## CreditLinePaymentWidgetProps : <code>Object</code>
|
|
353
|
-
|
|
354
333
|
<p>Credit line pool payment widget props</p>
|
|
355
334
|
|
|
356
335
|
**Kind**: global typedef
|
|
357
336
|
**Properties**
|
|
358
337
|
|
|
359
|
-
| Name
|
|
360
|
-
|
|
|
338
|
+
| Name | Type | Description |
|
|
339
|
+
| --- | --- | --- |
|
|
361
340
|
| CreditLinePaymentProps | [<code>CreditLinePaymentProps</code>](#CreditLinePaymentProps) | <p>Credit line pool payment props.</p> |
|
|
362
|
-
| WidgetProps
|
|
341
|
+
| WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
|
|
363
342
|
|
|
364
343
|
<a name="CreditLinePaymentWidgetProps"></a>
|
|
365
344
|
|
|
366
345
|
## CreditLinePaymentWidgetProps : <code>Object</code>
|
|
367
|
-
|
|
368
346
|
<p>Credit line allowance approval widget props</p>
|
|
369
347
|
|
|
370
348
|
**Kind**: global typedef
|
|
371
349
|
**Properties**
|
|
372
350
|
|
|
373
|
-
| Name
|
|
374
|
-
|
|
|
351
|
+
| Name | Type | Description |
|
|
352
|
+
| --- | --- | --- |
|
|
375
353
|
| CreditLineApproveProps | [<code>CreditLineApproveProps</code>](#CreditLineApproveProps) | <p>Credit line allowance approve props.</p> |
|
|
376
|
-
| WidgetProps
|
|
354
|
+
| WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
|
|
377
355
|
|
|
378
356
|
<a name="LendSupplyWidgetProps"></a>
|
|
379
357
|
|
|
380
358
|
## LendSupplyWidgetProps : <code>Object</code>
|
|
381
|
-
|
|
382
359
|
<p>Lend pool supply widget props</p>
|
|
383
360
|
|
|
384
361
|
**Kind**: global typedef
|
|
385
362
|
**Properties**
|
|
386
363
|
|
|
387
|
-
| Name
|
|
388
|
-
|
|
|
364
|
+
| Name | Type | Description |
|
|
365
|
+
| --- | --- | --- |
|
|
389
366
|
| LendSupplyProps | [<code>LendSupplyProps</code>](#LendSupplyProps) | <p>Lend pool supply props.</p> |
|
|
390
|
-
| WidgetProps
|
|
367
|
+
| WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
|
|
391
368
|
|
|
392
369
|
<a name="LendWithdrawWidgetProps"></a>
|
|
393
370
|
|
|
394
371
|
## LendWithdrawWidgetProps : <code>Object</code>
|
|
395
|
-
|
|
396
372
|
<p>Lend pool withdraw widget props</p>
|
|
397
373
|
|
|
398
374
|
**Kind**: global typedef
|
|
399
375
|
**Properties**
|
|
400
376
|
|
|
401
|
-
| Name
|
|
402
|
-
|
|
|
377
|
+
| Name | Type | Description |
|
|
378
|
+
| --- | --- | --- |
|
|
403
379
|
| LendWithdrawProps | [<code>LendWithdrawProps</code>](#LendWithdrawProps) | <p>Lend pool withdraw props.</p> |
|
|
404
|
-
| WidgetProps
|
|
380
|
+
| WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
|
|
381
|
+
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@huma-finance/widgets",
|
|
3
|
-
"version": "0.0.38
|
|
3
|
+
"version": "0.0.38",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -30,8 +30,8 @@
|
|
|
30
30
|
"@ethersproject/experimental": "^5.7.0",
|
|
31
31
|
"@ethersproject/providers": "^5.6.0",
|
|
32
32
|
"@ethersproject/units": "^5.6.0",
|
|
33
|
-
"@huma-finance/sdk": "^0.0.38
|
|
34
|
-
"@huma-finance/shared": "^0.0.38
|
|
33
|
+
"@huma-finance/sdk": "^0.0.38",
|
|
34
|
+
"@huma-finance/shared": "^0.0.38",
|
|
35
35
|
"@mui/icons-material": "^5.3.0",
|
|
36
36
|
"@mui/material": "^5.0.6",
|
|
37
37
|
"@mui/styles": "^5.0.2",
|
|
@@ -194,5 +194,5 @@
|
|
|
194
194
|
"optionalDependencies": {
|
|
195
195
|
"encoding": "^0.1.13"
|
|
196
196
|
},
|
|
197
|
-
"gitHead": "
|
|
197
|
+
"gitHead": "ed3b06242bceeb731f8516efbf79bfb59841b3d2"
|
|
198
198
|
}
|