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