@huma-finance/widgets 0.0.48-beta.200 → 0.0.48-beta.279

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.
Files changed (91) hide show
  1. package/API.md +407 -0
  2. package/dist/cjs/index.cjs +6063 -3827
  3. package/dist/cjs/index.cjs.map +1 -1
  4. package/dist/index.d.ts +248 -1
  5. package/dist/index.js +6056 -3829
  6. package/dist/index.js.map +1 -1
  7. package/package.json +5 -4
  8. package/src/components/ApproveAllowanceModal.tsx +3 -8
  9. package/src/components/ApproveAllowanceModalV2.tsx +141 -0
  10. package/src/components/CreditLine/approve/index.tsx +9 -3
  11. package/src/components/CreditLine/autoPaybackV2/1-ApproveAllowance.tsx +33 -0
  12. package/src/components/CreditLine/autoPaybackV2/2-Success.tsx +13 -0
  13. package/src/components/CreditLine/autoPaybackV2/index.tsx +87 -0
  14. package/src/components/CreditLine/borrow/2-ChooseAmount.tsx +12 -3
  15. package/src/components/CreditLine/borrow/index.tsx +4 -2
  16. package/src/components/CreditLine/borrowV2/1-ChooseAmount.tsx +79 -0
  17. package/src/components/CreditLine/borrowV2/2-ApproveAllowance.tsx +33 -0
  18. package/src/components/CreditLine/borrowV2/3-Transfer.tsx +50 -0
  19. package/src/components/CreditLine/borrowV2/4-Success.tsx +41 -0
  20. package/src/components/CreditLine/borrowV2/5-Notifications.tsx +10 -0
  21. package/src/components/CreditLine/borrowV2/index.tsx +140 -0
  22. package/src/components/CreditLine/payment/1-ChooseAmount.tsx +7 -2
  23. package/src/components/CreditLine/payment/index.tsx +4 -2
  24. package/src/components/CreditLine/paymentV2/1-ChooseAmount.tsx +86 -0
  25. package/src/components/CreditLine/paymentV2/2-ApproveAllowance.tsx +33 -0
  26. package/src/components/CreditLine/paymentV2/3-Transfer.tsx +55 -0
  27. package/src/components/CreditLine/paymentV2/4-Success.tsx +42 -0
  28. package/src/components/CreditLine/paymentV2/index.tsx +111 -0
  29. package/src/components/CreditLine/supplyFLC/1-ApproveAllowance.tsx +40 -0
  30. package/src/components/CreditLine/supplyFLC/2-Transfer.tsx +53 -0
  31. package/src/components/CreditLine/supplyFLC/3-Success.tsx +26 -0
  32. package/src/components/CreditLine/supplyFLC/index.tsx +121 -0
  33. package/src/components/Factoring/FactoredList.tsx +2 -1
  34. package/src/components/InvoiceFactoring/borrow/2-ChooseAmount.tsx +8 -1
  35. package/src/components/InvoiceFactoring/borrow/4-ApproveNFT.tsx +6 -2
  36. package/src/components/InvoiceFactoring/borrow/index.tsx +9 -3
  37. package/src/components/InvoiceFactoring/payment/1-ChooseAmount.tsx +7 -2
  38. package/src/components/InvoiceFactoring/payment/index.tsx +9 -3
  39. package/src/components/Lend/redeemV2/1-ChooseAction.tsx +236 -0
  40. package/src/components/Lend/redeemV2/2-ChooseAmount.tsx +162 -0
  41. package/src/components/Lend/redeemV2/3-Transfer.tsx +61 -0
  42. package/src/components/Lend/redeemV2/4-Done.tsx +33 -0
  43. package/src/components/Lend/redeemV2/index.tsx +207 -0
  44. package/src/components/Lend/supply/1-Evaluation/EvaluationKYC.tsx +19 -2
  45. package/src/components/Lend/supply/index.tsx +17 -3
  46. package/src/components/Lend/supplyV2/1-ChooseTranche.tsx +155 -0
  47. package/src/components/Lend/supplyV2/2-Evaluation.tsx +345 -0
  48. package/src/components/Lend/supplyV2/3-ChooseAmount.tsx +122 -0
  49. package/src/components/Lend/supplyV2/4-ApproveAllowance.tsx +33 -0
  50. package/src/components/Lend/supplyV2/5-Transfer.tsx +59 -0
  51. package/src/components/Lend/supplyV2/6-Success.tsx +79 -0
  52. package/src/components/Lend/supplyV2/7-Notifications.tsx +10 -0
  53. package/src/components/Lend/supplyV2/index.tsx +127 -0
  54. package/src/components/Lend/withdraw/1-CheckWithdrawble.tsx +5 -1
  55. package/src/components/Lend/withdraw/2-ChooseAmount.tsx +1 -7
  56. package/src/components/Lend/withdraw/index.tsx +8 -13
  57. package/src/components/Lend/withdrawV2/1-ChooseTranche.tsx +201 -0
  58. package/src/components/Lend/withdrawV2/2-Transfer.tsx +48 -0
  59. package/src/components/Lend/withdrawV2/3-Done.tsx +31 -0
  60. package/src/components/Lend/withdrawV2/index.tsx +129 -0
  61. package/src/components/Notifi/NotifiSubscriptionModal.tsx +29 -37
  62. package/src/components/NumericFormatCustom.tsx +31 -0
  63. package/src/components/ReceivableBackedCreditLine/borrow/1-ChooseAmount.tsx +101 -0
  64. package/src/components/ReceivableBackedCreditLine/borrow/2-ApproveAllowance.tsx +33 -0
  65. package/src/components/ReceivableBackedCreditLine/borrow/3-ApproveReceivable.tsx +64 -0
  66. package/src/components/ReceivableBackedCreditLine/borrow/4-Transfer.tsx +61 -0
  67. package/src/components/ReceivableBackedCreditLine/borrow/5-Success.tsx +41 -0
  68. package/src/components/ReceivableBackedCreditLine/borrow/6-Notifications.tsx +10 -0
  69. package/src/components/ReceivableBackedCreditLine/borrow/index.tsx +148 -0
  70. package/src/components/ReceivableBackedCreditLine/payment/1-ChoosePaymentType.tsx +115 -0
  71. package/src/components/ReceivableBackedCreditLine/payment/2-ChooseAmount.tsx +84 -0
  72. package/src/components/ReceivableBackedCreditLine/payment/3-ApproveAllowance.tsx +41 -0
  73. package/src/components/ReceivableBackedCreditLine/payment/4-CreateReceivable.tsx +107 -0
  74. package/src/components/ReceivableBackedCreditLine/payment/5-ApproveReceivable.tsx +64 -0
  75. package/src/components/ReceivableBackedCreditLine/payment/6-Transfer.tsx +107 -0
  76. package/src/components/ReceivableBackedCreditLine/payment/7-Success.tsx +49 -0
  77. package/src/components/ReceivableBackedCreditLine/payment/index.tsx +159 -0
  78. package/src/components/StreamFactoring/borrow/1-Evaluation.tsx +3 -4
  79. package/src/components/StreamFactoring/borrow/2-ChooseAmount.tsx +23 -22
  80. package/src/components/StreamFactoring/borrow/3-ConfirmTransfer.tsx +8 -3
  81. package/src/components/StreamFactoring/borrow/5-Permit.tsx +35 -2
  82. package/src/components/StreamFactoring/borrow/6-Transfer.tsx +3 -1
  83. package/src/components/StreamFactoring/borrow/index.tsx +4 -3
  84. package/src/components/SuperfluidFactoring/SuperfluidFactoredList.tsx +2 -2
  85. package/src/components/SuperfluidFactoring/SuperfluidUpcomingList.tsx +1 -3
  86. package/src/components/TxDoneModal.tsx +1 -1
  87. package/src/components/TxSendModal.tsx +8 -2
  88. package/src/components/TxSendModalV2.tsx +51 -0
  89. package/src/index.tsx +239 -1
  90. package/src/store/widgets.reducers.ts +15 -0
  91. package/src/store/widgets.store.ts +6 -0
package/API.md CHANGED
@@ -7,17 +7,35 @@
7
7
  <dd><p>Invoice factoring payment widget</p></dd>
8
8
  <dt><a href="#CreditLineBorrowWidget">CreditLineBorrowWidget(props)</a> ⇒</dt>
9
9
  <dd><p>Credit line borrow widget</p></dd>
10
+ <dt><a href="#CreditLineBorrowWidgetV2">CreditLineBorrowWidgetV2(props)</a> ⇒</dt>
11
+ <dd><p>Credit line borrow widget V2</p></dd>
10
12
  <dt><a href="#CreditLinePaymentWidget">CreditLinePaymentWidget(props)</a> ⇒</dt>
11
13
  <dd><p>Credit line payment widget</p></dd>
14
+ <dt><a href="#CreditLinePaymentWidgetV2">CreditLinePaymentWidgetV2(props)</a> ⇒</dt>
15
+ <dd><p>Credit line payment widget V2</p></dd>
12
16
  <dt><a href="#CreditLineApproveWidget">CreditLineApproveWidget(props)</a> ⇒</dt>
13
17
  <dd><p>Credit line allowance approve widget to top up a pool's ERC20 token allowance.
14
18
  To be used when re-enabling autopay and other pool actions that require allowance.</p></dd>
15
19
  <dt><a href="#LendSupplyWidget">LendSupplyWidget(props)</a> ⇒</dt>
16
20
  <dd><p>Lend supply widget</p></dd>
21
+ <dt><a href="#LendSupplyWidgetV2">LendSupplyWidgetV2(props)</a> ⇒</dt>
22
+ <dd><p>Lend supply widget V2</p></dd>
17
23
  <dt><a href="#LendWithdrawWidget">LendWithdrawWidget(props)</a> ⇒</dt>
18
24
  <dd><p>Lend withdraw widget</p></dd>
25
+ <dt><a href="#LendWithdrawWidgetV2">LendWithdrawWidgetV2(props)</a> ⇒</dt>
26
+ <dd><p>Lend withdraw widget V2</p></dd>
27
+ <dt><a href="#LendRedeemWidgetV2">LendRedeemWidgetV2(props)</a> ⇒</dt>
28
+ <dd><p>Lend redeem widget V2</p></dd>
29
+ <dt><a href="#SupplyFirstLossCoverWidget">SupplyFirstLossCoverWidget(props)</a> ⇒</dt>
30
+ <dd><p>Supply first loss cover widget</p></dd>
19
31
  <dt><a href="#SuperfluidFactoringWidget">SuperfluidFactoringWidget(props)</a> ⇒</dt>
20
32
  <dd><p>Superfluid factoring widget</p></dd>
33
+ <dt><a href="#AutoPaybackWidgetV2">AutoPaybackWidgetV2(props)</a> ⇒</dt>
34
+ <dd><p>Supply first loss cover widget</p></dd>
35
+ <dt><a href="#ReceivableBackedCreditLineBorrowWidgetV2">ReceivableBackedCreditLineBorrowWidgetV2(props)</a> ⇒</dt>
36
+ <dd><p>Receivable backed credit line borrow widget V2</p></dd>
37
+ <dt><a href="#ReceivableBackedCreditLinePaymentWidgetV2">ReceivableBackedCreditLinePaymentWidgetV2(props)</a> ⇒</dt>
38
+ <dd><p>Receivable backed credit line payment widget V2</p></dd>
21
39
  </dl>
22
40
 
23
41
  ## Typedefs
@@ -25,18 +43,36 @@ To be used when re-enabling autopay and other pool actions that require allowanc
25
43
  <dl>
26
44
  <dt><a href="#CreditLineApproveProps">CreditLineApproveProps</a> : <code>Object</code></dt>
27
45
  <dd><p>Credit line pool approve allowance props</p></dd>
46
+ <dt><a href="#AutoPaybackPropsV2">AutoPaybackPropsV2</a> : <code>Object</code></dt>
47
+ <dd><p>Auto payback props V2</p></dd>
28
48
  <dt><a href="#CreditLineBorrowProps">CreditLineBorrowProps</a> : <code>Object</code></dt>
29
49
  <dd><p>Credit line pool borrow props</p></dd>
50
+ <dt><a href="#CreditLineBorrowPropsV2">CreditLineBorrowPropsV2</a> : <code>Object</code></dt>
51
+ <dd><p>Credit line pool borrow props V2</p></dd>
30
52
  <dt><a href="#CreditLinePaymentProps">CreditLinePaymentProps</a> : <code>Object</code></dt>
31
53
  <dd><p>Credit line pool payment props</p></dd>
54
+ <dt><a href="#CreditLinePaymentPropsV2">CreditLinePaymentPropsV2</a> : <code>Object</code></dt>
55
+ <dd><p>Credit line pool payment props V2</p></dd>
56
+ <dt><a href="#SupplyFirstLossCoverProps">SupplyFirstLossCoverProps</a> : <code>Object</code></dt>
57
+ <dd><p>Supply first loss cover props</p></dd>
32
58
  <dt><a href="#InvoiceFactoringBorrowProps">InvoiceFactoringBorrowProps</a> : <code>Object</code></dt>
33
59
  <dd><p>Invoice factoring pool borrow props</p></dd>
34
60
  <dt><a href="#InvoiceFactoringPaymentProps">InvoiceFactoringPaymentProps</a> : <code>Object</code></dt>
35
61
  <dd><p>Invoice factoring pool payment props</p></dd>
62
+ <dt><a href="#LendRedeemPropsV2">LendRedeemPropsV2</a> : <code>Object</code></dt>
63
+ <dd><p>Lend pool withdraw props</p></dd>
36
64
  <dt><a href="#LendSupplyProps">LendSupplyProps</a> : <code>Object</code></dt>
37
65
  <dd><p>Lend pool supply props</p></dd>
66
+ <dt><a href="#LendSupplyPropsV2">LendSupplyPropsV2</a> : <code>Object</code></dt>
67
+ <dd><p>Lend pool supply props</p></dd>
38
68
  <dt><a href="#LendWithdrawProps">LendWithdrawProps</a> : <code>Object</code></dt>
39
69
  <dd><p>Lend pool withdraw props</p></dd>
70
+ <dt><a href="#LendWithdrawPropsV2">LendWithdrawPropsV2</a> : <code>Object</code></dt>
71
+ <dd><p>Lend pool withdraw props</p></dd>
72
+ <dt><a href="#ReceivableBackedCreditLineBorrowPropsV2">ReceivableBackedCreditLineBorrowPropsV2</a> : <code>Object</code></dt>
73
+ <dd><p>Receivable backed credit line pool borrow props V2</p></dd>
74
+ <dt><a href="#CreditLinePaymentPropsV2">CreditLinePaymentPropsV2</a> : <code>Object</code></dt>
75
+ <dd><p>Credit line pool payment props V2</p></dd>
40
76
  <dt><a href="#JsonRpcConnectionMap">JsonRpcConnectionMap</a> : <code>Object</code></dt>
41
77
  <dd><p>Mapping of your JSON-RPC connections indexed by chainId</p></dd>
42
78
  <dt><a href="#WidgetProps">WidgetProps</a> : <code>Object</code></dt>
@@ -47,14 +83,32 @@ To be used when re-enabling autopay and other pool actions that require allowanc
47
83
  <dd><p>Invoice factoring pool payment widget props</p></dd>
48
84
  <dt><a href="#CreditLineBorrowWidgetProps">CreditLineBorrowWidgetProps</a> : <code>Object</code></dt>
49
85
  <dd><p>Credit line pool borrow widget props</p></dd>
86
+ <dt><a href="#CreditLineBorrowWidgetPropsV2">CreditLineBorrowWidgetPropsV2</a> : <code>Object</code></dt>
87
+ <dd><p>Credit line pool borrow widget props V2</p></dd>
50
88
  <dt><a href="#CreditLinePaymentWidgetProps">CreditLinePaymentWidgetProps</a> : <code>Object</code></dt>
51
89
  <dd><p>Credit line pool payment widget props</p></dd>
90
+ <dt><a href="#CreditLinePaymentWidgetPropsV2">CreditLinePaymentWidgetPropsV2</a> : <code>Object</code></dt>
91
+ <dd><p>Credit line pool payment widget props V2</p></dd>
52
92
  <dt><a href="#CreditLinePaymentWidgetProps">CreditLinePaymentWidgetProps</a> : <code>Object</code></dt>
53
93
  <dd><p>Credit line allowance approval widget props</p></dd>
54
94
  <dt><a href="#LendSupplyWidgetProps">LendSupplyWidgetProps</a> : <code>Object</code></dt>
55
95
  <dd><p>Lend pool supply widget props</p></dd>
96
+ <dt><a href="#LendSupplyWidgetPropsV2">LendSupplyWidgetPropsV2</a> : <code>Object</code></dt>
97
+ <dd><p>Lend pool supply widget props V2</p></dd>
56
98
  <dt><a href="#LendWithdrawWidgetProps">LendWithdrawWidgetProps</a> : <code>Object</code></dt>
57
99
  <dd><p>Lend pool withdraw widget props</p></dd>
100
+ <dt><a href="#LendSupplyWidgetPropsV2">LendSupplyWidgetPropsV2</a> : <code>Object</code></dt>
101
+ <dd><p>Lend pool supply widget props V2</p></dd>
102
+ <dt><a href="#LendRedeemWidgetPropsV2">LendRedeemWidgetPropsV2</a> : <code>Object</code></dt>
103
+ <dd><p>Lend pool redeem widget props V2</p></dd>
104
+ <dt><a href="#SupplyFirstLossCoverWidgetProps">SupplyFirstLossCoverWidgetProps</a> : <code>Object</code></dt>
105
+ <dd><p>Supply first loss cover widget props</p></dd>
106
+ <dt><a href="#AutoPaybackWidgetPropsV2">AutoPaybackWidgetPropsV2</a> : <code>Object</code></dt>
107
+ <dd><p>Auto payback widget props V2</p></dd>
108
+ <dt><a href="#ReceivableBackedCreditLineBorrowWidgetPropsV2">ReceivableBackedCreditLineBorrowWidgetPropsV2</a> : <code>Object</code></dt>
109
+ <dd><p>Receivable backed credit line pool borrow widget props V2</p></dd>
110
+ <dt><a href="#ReceivableBackedCreditLinePaymentWidgetPropsV2">ReceivableBackedCreditLinePaymentWidgetPropsV2</a> : <code>Object</code></dt>
111
+ <dd><p>Receivable backed credit line pool payment widget props V2</p></dd>
58
112
  </dl>
59
113
 
60
114
  <a name="InvoiceFactoringBorrowWidget"></a>
@@ -93,6 +147,18 @@ To be used when re-enabling autopay and other pool actions that require allowanc
93
147
  | --- | --- | --- |
94
148
  | props | [<code>CreditLineBorrowWidgetProps</code>](#CreditLineBorrowWidgetProps) | <p>The credit line pool borrow widget props.</p> |
95
149
 
150
+ <a name="CreditLineBorrowWidgetV2"></a>
151
+
152
+ ## CreditLineBorrowWidgetV2(props) ⇒
153
+ <p>Credit line borrow widget V2</p>
154
+
155
+ **Kind**: global function
156
+ **Returns**: <p>Credit line pool borrow widget component V2</p>
157
+
158
+ | Param | Type | Description |
159
+ | --- | --- | --- |
160
+ | props | [<code>CreditLineBorrowWidgetPropsV2</code>](#CreditLineBorrowWidgetPropsV2) | <p>The credit line pool borrow widget props V2.</p> |
161
+
96
162
  <a name="CreditLinePaymentWidget"></a>
97
163
 
98
164
  ## CreditLinePaymentWidget(props) ⇒
@@ -105,6 +171,18 @@ To be used when re-enabling autopay and other pool actions that require allowanc
105
171
  | --- | --- | --- |
106
172
  | props | [<code>CreditLinePaymentWidgetProps</code>](#CreditLinePaymentWidgetProps) | <p>The credit line pool payment widget props.</p> |
107
173
 
174
+ <a name="CreditLinePaymentWidgetV2"></a>
175
+
176
+ ## CreditLinePaymentWidgetV2(props) ⇒
177
+ <p>Credit line payment widget V2</p>
178
+
179
+ **Kind**: global function
180
+ **Returns**: <p>Credit line pool payment widget component V2</p>
181
+
182
+ | Param | Type | Description |
183
+ | --- | --- | --- |
184
+ | props | [<code>CreditLinePaymentWidgetPropsV2</code>](#CreditLinePaymentWidgetPropsV2) | <p>The credit line pool payment widget props V2.</p> |
185
+
108
186
  <a name="CreditLineApproveWidget"></a>
109
187
 
110
188
  ## CreditLineApproveWidget(props) ⇒
@@ -130,6 +208,18 @@ To be used when re-enabling autopay and other pool actions that require allowanc
130
208
  | --- | --- | --- |
131
209
  | props | [<code>LendSupplyWidgetProps</code>](#LendSupplyWidgetProps) | <p>The lend pool supply widget props.</p> |
132
210
 
211
+ <a name="LendSupplyWidgetV2"></a>
212
+
213
+ ## LendSupplyWidgetV2(props) ⇒
214
+ <p>Lend supply widget V2</p>
215
+
216
+ **Kind**: global function
217
+ **Returns**: <p>Lend pool supply widget component V2</p>
218
+
219
+ | Param | Type | Description |
220
+ | --- | --- | --- |
221
+ | props | [<code>LendSupplyWidgetPropsV2</code>](#LendSupplyWidgetPropsV2) | <p>The lend pool supply widget props V2.</p> |
222
+
133
223
  <a name="LendWithdrawWidget"></a>
134
224
 
135
225
  ## LendWithdrawWidget(props) ⇒
@@ -142,6 +232,42 @@ To be used when re-enabling autopay and other pool actions that require allowanc
142
232
  | --- | --- | --- |
143
233
  | props | [<code>LendWithdrawWidgetProps</code>](#LendWithdrawWidgetProps) | <p>The lend pool withdraw widget props</p> |
144
234
 
235
+ <a name="LendWithdrawWidgetV2"></a>
236
+
237
+ ## LendWithdrawWidgetV2(props) ⇒
238
+ <p>Lend withdraw widget V2</p>
239
+
240
+ **Kind**: global function
241
+ **Returns**: <p>Lend pool supply widget component V2</p>
242
+
243
+ | Param | Type | Description |
244
+ | --- | --- | --- |
245
+ | props | <code>LendWithdrawWidgetPropsV2</code> | <p>The lend pool supply widget props V2.</p> |
246
+
247
+ <a name="LendRedeemWidgetV2"></a>
248
+
249
+ ## LendRedeemWidgetV2(props) ⇒
250
+ <p>Lend redeem widget V2</p>
251
+
252
+ **Kind**: global function
253
+ **Returns**: <p>Lend pool redeem widget component V2</p>
254
+
255
+ | Param | Type | Description |
256
+ | --- | --- | --- |
257
+ | props | [<code>LendRedeemWidgetPropsV2</code>](#LendRedeemWidgetPropsV2) | <p>The lend pool redeem widget props V2.</p> |
258
+
259
+ <a name="SupplyFirstLossCoverWidget"></a>
260
+
261
+ ## SupplyFirstLossCoverWidget(props) ⇒
262
+ <p>Supply first loss cover widget</p>
263
+
264
+ **Kind**: global function
265
+ **Returns**: <p>Supply first loss cover widget component</p>
266
+
267
+ | Param | Type | Description |
268
+ | --- | --- | --- |
269
+ | props | [<code>SupplyFirstLossCoverWidgetProps</code>](#SupplyFirstLossCoverWidgetProps) | <p>The supply first loss cover widget props.</p> |
270
+
145
271
  <a name="SuperfluidFactoringWidget"></a>
146
272
 
147
273
  ## SuperfluidFactoringWidget(props) ⇒
@@ -154,6 +280,42 @@ To be used when re-enabling autopay and other pool actions that require allowanc
154
280
  | --- | --- | --- |
155
281
  | props | [<code>WidgetProps</code>](#WidgetProps) | <p>The superfluid factoring widget props.</p> |
156
282
 
283
+ <a name="AutoPaybackWidgetV2"></a>
284
+
285
+ ## AutoPaybackWidgetV2(props) ⇒
286
+ <p>Supply first loss cover widget</p>
287
+
288
+ **Kind**: global function
289
+ **Returns**: <p>Supply first loss cover widget component</p>
290
+
291
+ | Param | Type | Description |
292
+ | --- | --- | --- |
293
+ | props | [<code>SupplyFirstLossCoverWidgetProps</code>](#SupplyFirstLossCoverWidgetProps) | <p>The supply first loss cover widget props.</p> |
294
+
295
+ <a name="ReceivableBackedCreditLineBorrowWidgetV2"></a>
296
+
297
+ ## ReceivableBackedCreditLineBorrowWidgetV2(props) ⇒
298
+ <p>Receivable backed credit line borrow widget V2</p>
299
+
300
+ **Kind**: global function
301
+ **Returns**: <p>Receivable backed credit line pool borrow widget component V2</p>
302
+
303
+ | Param | Type | Description |
304
+ | --- | --- | --- |
305
+ | props | [<code>ReceivableBackedCreditLineBorrowWidgetPropsV2</code>](#ReceivableBackedCreditLineBorrowWidgetPropsV2) | <p>The receivable backed credit line pool borrow widget props V2.</p> |
306
+
307
+ <a name="ReceivableBackedCreditLinePaymentWidgetV2"></a>
308
+
309
+ ## ReceivableBackedCreditLinePaymentWidgetV2(props) ⇒
310
+ <p>Receivable backed credit line payment widget V2</p>
311
+
312
+ **Kind**: global function
313
+ **Returns**: <p>Receivable backed credit line pool payment widget component V2</p>
314
+
315
+ | Param | Type | Description |
316
+ | --- | --- | --- |
317
+ | props | [<code>ReceivableBackedCreditLinePaymentWidgetPropsV2</code>](#ReceivableBackedCreditLinePaymentWidgetPropsV2) | <p>The receivable backed credit line pool payment widget props V2.</p> |
318
+
157
319
  <a name="CreditLineApproveProps"></a>
158
320
 
159
321
  ## CreditLineApproveProps : <code>Object</code>
@@ -170,6 +332,20 @@ To be used when re-enabling autopay and other pool actions that require allowanc
170
332
  | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
171
333
  | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool approve allowance action is successful.</p> |
172
334
 
335
+ <a name="AutoPaybackPropsV2"></a>
336
+
337
+ ## AutoPaybackPropsV2 : <code>Object</code>
338
+ <p>Auto payback props V2</p>
339
+
340
+ **Kind**: global typedef
341
+ **Properties**
342
+
343
+ | Name | Type | Description |
344
+ | --- | --- | --- |
345
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
346
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
347
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool borrow action is successful.</p> |
348
+
173
349
  <a name="CreditLineBorrowProps"></a>
174
350
 
175
351
  ## CreditLineBorrowProps : <code>Object</code>
@@ -186,6 +362,20 @@ To be used when re-enabling autopay and other pool actions that require allowanc
186
362
  | handleApprove | <code>function</code> | <p>Optional function to notify when user is approved successfully to borrow again pool.</p> |
187
363
  | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool borrow action is successful.</p> |
188
364
 
365
+ <a name="CreditLineBorrowPropsV2"></a>
366
+
367
+ ## CreditLineBorrowPropsV2 : <code>Object</code>
368
+ <p>Credit line pool borrow props V2</p>
369
+
370
+ **Kind**: global typedef
371
+ **Properties**
372
+
373
+ | Name | Type | Description |
374
+ | --- | --- | --- |
375
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
376
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
377
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool borrow action is successful.</p> |
378
+
189
379
  <a name="CreditLinePaymentProps"></a>
190
380
 
191
381
  ## CreditLinePaymentProps : <code>Object</code>
@@ -201,6 +391,34 @@ To be used when re-enabling autopay and other pool actions that require allowanc
201
391
  | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
202
392
  | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool payment action is successful.</p> |
203
393
 
394
+ <a name="CreditLinePaymentPropsV2"></a>
395
+
396
+ ## CreditLinePaymentPropsV2 : <code>Object</code>
397
+ <p>Credit line pool payment props V2</p>
398
+
399
+ **Kind**: global typedef
400
+ **Properties**
401
+
402
+ | Name | Type | Description |
403
+ | --- | --- | --- |
404
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
405
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
406
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool payment action is successful.</p> |
407
+
408
+ <a name="SupplyFirstLossCoverProps"></a>
409
+
410
+ ## SupplyFirstLossCoverProps : <code>Object</code>
411
+ <p>Supply first loss cover props</p>
412
+
413
+ **Kind**: global typedef
414
+ **Properties**
415
+
416
+ | Name | Type | Description |
417
+ | --- | --- | --- |
418
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
419
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
420
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool borrow action is successful.</p> |
421
+
204
422
  <a name="InvoiceFactoringBorrowProps"></a>
205
423
 
206
424
  ## InvoiceFactoringBorrowProps : <code>Object</code>
@@ -232,6 +450,20 @@ To be used when re-enabling autopay and other pool actions that require allowanc
232
450
  | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
233
451
  | handleSuccess | <code>function</code> | <p>Optional function to notify that the invoice pool payment action is successful.</p> |
234
452
 
453
+ <a name="LendRedeemPropsV2"></a>
454
+
455
+ ## LendRedeemPropsV2 : <code>Object</code>
456
+ <p>Lend pool withdraw props</p>
457
+
458
+ **Kind**: global typedef
459
+ **Properties**
460
+
461
+ | Name | Type | Description |
462
+ | --- | --- | --- |
463
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
464
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
465
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool withdraw action is successful.</p> |
466
+
235
467
  <a name="LendSupplyProps"></a>
236
468
 
237
469
  ## LendSupplyProps : <code>Object</code>
@@ -247,6 +479,20 @@ To be used when re-enabling autopay and other pool actions that require allowanc
247
479
  | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
248
480
  | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool supply action is successful.</p> |
249
481
 
482
+ <a name="LendSupplyPropsV2"></a>
483
+
484
+ ## LendSupplyPropsV2 : <code>Object</code>
485
+ <p>Lend pool supply props</p>
486
+
487
+ **Kind**: global typedef
488
+ **Properties**
489
+
490
+ | Name | Type | Description |
491
+ | --- | --- | --- |
492
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
493
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
494
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool supply action is successful.</p> |
495
+
250
496
  <a name="LendWithdrawProps"></a>
251
497
 
252
498
  ## LendWithdrawProps : <code>Object</code>
@@ -262,6 +508,50 @@ To be used when re-enabling autopay and other pool actions that require allowanc
262
508
  | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
263
509
  | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool withdraw action is successful.</p> |
264
510
 
511
+ <a name="LendWithdrawPropsV2"></a>
512
+
513
+ ## LendWithdrawPropsV2 : <code>Object</code>
514
+ <p>Lend pool withdraw props</p>
515
+
516
+ **Kind**: global typedef
517
+ **Properties**
518
+
519
+ | Name | Type | Description |
520
+ | --- | --- | --- |
521
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
522
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
523
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool withdraw action is successful.</p> |
524
+
525
+ <a name="ReceivableBackedCreditLineBorrowPropsV2"></a>
526
+
527
+ ## ReceivableBackedCreditLineBorrowPropsV2 : <code>Object</code>
528
+ <p>Receivable backed credit line pool borrow props V2</p>
529
+
530
+ **Kind**: global typedef
531
+ **Properties**
532
+
533
+ | Name | Type | Description |
534
+ | --- | --- | --- |
535
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
536
+ | tokenId | <code>tokenId</code> | <p>The receivable token id.</p> |
537
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
538
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool borrow action is successful.</p> |
539
+
540
+ <a name="CreditLinePaymentPropsV2"></a>
541
+
542
+ ## CreditLinePaymentPropsV2 : <code>Object</code>
543
+ <p>Credit line pool payment props V2</p>
544
+
545
+ **Kind**: global typedef
546
+ **Properties**
547
+
548
+ | Name | Type | Description |
549
+ | --- | --- | --- |
550
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
551
+ | tokenID | <code>tokenId</code> | <p>The receivable token id.</p> |
552
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
553
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool payment action is successful.</p> |
554
+
265
555
  <a name="JsonRpcConnectionMap"></a>
266
556
 
267
557
  ## JsonRpcConnectionMap : <code>Object</code>
@@ -327,6 +617,19 @@ To be used when re-enabling autopay and other pool actions that require allowanc
327
617
  | CreditLineBorrowProps | [<code>CreditLineBorrowProps</code>](#CreditLineBorrowProps) | <p>Credit line pool borrow props.</p> |
328
618
  | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
329
619
 
620
+ <a name="CreditLineBorrowWidgetPropsV2"></a>
621
+
622
+ ## CreditLineBorrowWidgetPropsV2 : <code>Object</code>
623
+ <p>Credit line pool borrow widget props V2</p>
624
+
625
+ **Kind**: global typedef
626
+ **Properties**
627
+
628
+ | Name | Type | Description |
629
+ | --- | --- | --- |
630
+ | CreditLineBorrowPropsV2 | [<code>CreditLineBorrowPropsV2</code>](#CreditLineBorrowPropsV2) | <p>Credit line pool borrow props V2.</p> |
631
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
632
+
330
633
  <a name="CreditLinePaymentWidgetProps"></a>
331
634
 
332
635
  ## CreditLinePaymentWidgetProps : <code>Object</code>
@@ -340,6 +643,19 @@ To be used when re-enabling autopay and other pool actions that require allowanc
340
643
  | CreditLinePaymentProps | [<code>CreditLinePaymentProps</code>](#CreditLinePaymentProps) | <p>Credit line pool payment props.</p> |
341
644
  | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
342
645
 
646
+ <a name="CreditLinePaymentWidgetPropsV2"></a>
647
+
648
+ ## CreditLinePaymentWidgetPropsV2 : <code>Object</code>
649
+ <p>Credit line pool payment widget props V2</p>
650
+
651
+ **Kind**: global typedef
652
+ **Properties**
653
+
654
+ | Name | Type | Description |
655
+ | --- | --- | --- |
656
+ | CreditLinePaymentPropsV2 | [<code>CreditLinePaymentPropsV2</code>](#CreditLinePaymentPropsV2) | <p>Credit line pool payment props V2.</p> |
657
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
658
+
343
659
  <a name="CreditLinePaymentWidgetProps"></a>
344
660
 
345
661
  ## CreditLinePaymentWidgetProps : <code>Object</code>
@@ -366,6 +682,19 @@ To be used when re-enabling autopay and other pool actions that require allowanc
366
682
  | LendSupplyProps | [<code>LendSupplyProps</code>](#LendSupplyProps) | <p>Lend pool supply props.</p> |
367
683
  | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
368
684
 
685
+ <a name="LendSupplyWidgetPropsV2"></a>
686
+
687
+ ## LendSupplyWidgetPropsV2 : <code>Object</code>
688
+ <p>Lend pool supply widget props V2</p>
689
+
690
+ **Kind**: global typedef
691
+ **Properties**
692
+
693
+ | Name | Type | Description |
694
+ | --- | --- | --- |
695
+ | LendSupplyPropsV2 | [<code>LendSupplyPropsV2</code>](#LendSupplyPropsV2) | <p>Lend pool supply props V2.</p> |
696
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
697
+
369
698
  <a name="LendWithdrawWidgetProps"></a>
370
699
 
371
700
  ## LendWithdrawWidgetProps : <code>Object</code>
@@ -379,3 +708,81 @@ To be used when re-enabling autopay and other pool actions that require allowanc
379
708
  | LendWithdrawProps | [<code>LendWithdrawProps</code>](#LendWithdrawProps) | <p>Lend pool withdraw props.</p> |
380
709
  | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
381
710
 
711
+ <a name="LendSupplyWidgetPropsV2"></a>
712
+
713
+ ## LendSupplyWidgetPropsV2 : <code>Object</code>
714
+ <p>Lend pool supply widget props V2</p>
715
+
716
+ **Kind**: global typedef
717
+ **Properties**
718
+
719
+ | Name | Type | Description |
720
+ | --- | --- | --- |
721
+ | LendSupplyPropsV2 | [<code>LendWithdrawPropsV2</code>](#LendWithdrawPropsV2) | <p>Lend pool supply props V2.</p> |
722
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
723
+
724
+ <a name="LendRedeemWidgetPropsV2"></a>
725
+
726
+ ## LendRedeemWidgetPropsV2 : <code>Object</code>
727
+ <p>Lend pool redeem widget props V2</p>
728
+
729
+ **Kind**: global typedef
730
+ **Properties**
731
+
732
+ | Name | Type | Description |
733
+ | --- | --- | --- |
734
+ | LendRedeemPropsV2 | [<code>LendRedeemPropsV2</code>](#LendRedeemPropsV2) | <p>Lend pool redeem props V2.</p> |
735
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
736
+
737
+ <a name="SupplyFirstLossCoverWidgetProps"></a>
738
+
739
+ ## SupplyFirstLossCoverWidgetProps : <code>Object</code>
740
+ <p>Supply first loss cover widget props</p>
741
+
742
+ **Kind**: global typedef
743
+ **Properties**
744
+
745
+ | Name | Type | Description |
746
+ | --- | --- | --- |
747
+ | SupplyFirstLossCover | <code>SupplyFirstLossCover</code> | <p>Supply first loss cover props.</p> |
748
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
749
+
750
+ <a name="AutoPaybackWidgetPropsV2"></a>
751
+
752
+ ## AutoPaybackWidgetPropsV2 : <code>Object</code>
753
+ <p>Auto payback widget props V2</p>
754
+
755
+ **Kind**: global typedef
756
+ **Properties**
757
+
758
+ | Name | Type | Description |
759
+ | --- | --- | --- |
760
+ | AutoPayback | <code>AutoPayback</code> | <p>Auto payback props V2.</p> |
761
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
762
+
763
+ <a name="ReceivableBackedCreditLineBorrowWidgetPropsV2"></a>
764
+
765
+ ## ReceivableBackedCreditLineBorrowWidgetPropsV2 : <code>Object</code>
766
+ <p>Receivable backed credit line pool borrow widget props V2</p>
767
+
768
+ **Kind**: global typedef
769
+ **Properties**
770
+
771
+ | Name | Type | Description |
772
+ | --- | --- | --- |
773
+ | ReceivableBackedCreditLineBorrowPropsV2 | [<code>ReceivableBackedCreditLineBorrowPropsV2</code>](#ReceivableBackedCreditLineBorrowPropsV2) | <p>Receivable backed credit line pool borrow props V2.</p> |
774
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
775
+
776
+ <a name="ReceivableBackedCreditLinePaymentWidgetPropsV2"></a>
777
+
778
+ ## ReceivableBackedCreditLinePaymentWidgetPropsV2 : <code>Object</code>
779
+ <p>Receivable backed credit line pool payment widget props V2</p>
780
+
781
+ **Kind**: global typedef
782
+ **Properties**
783
+
784
+ | Name | Type | Description |
785
+ | --- | --- | --- |
786
+ | ReceivableBackedCreditLinePaymentPropsV2 | <code>ReceivableBackedCreditLinePaymentPropsV2</code> | <p>Receivable backed credit line pool payment props V2.</p> |
787
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
788
+