@huma-finance/widgets 0.0.51-beta.223 → 0.0.51-beta.346

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 (95) hide show
  1. package/API.md +454 -0
  2. package/dist/cjs/index.cjs +6069 -3795
  3. package/dist/cjs/index.cjs.map +1 -1
  4. package/dist/index.d.ts +280 -2
  5. package/dist/index.js +6061 -3797
  6. package/dist/index.js.map +1 -1
  7. package/package.json +5 -4
  8. package/src/components/ApproveAllowanceModal.tsx +3 -1
  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/5-Success.tsx +7 -2
  16. package/src/components/CreditLine/borrow/index.tsx +4 -2
  17. package/src/components/CreditLine/borrowV2/1-ChooseAmount.tsx +81 -0
  18. package/src/components/CreditLine/borrowV2/2-ApproveAllowance.tsx +33 -0
  19. package/src/components/CreditLine/borrowV2/3-Transfer.tsx +50 -0
  20. package/src/components/CreditLine/borrowV2/4-Success.tsx +42 -0
  21. package/src/components/CreditLine/borrowV2/5-Notifications.tsx +10 -0
  22. package/src/components/CreditLine/borrowV2/index.tsx +140 -0
  23. package/src/components/CreditLine/payment/1-ChooseAmount.tsx +7 -2
  24. package/src/components/CreditLine/payment/4-Success.tsx +2 -2
  25. package/src/components/CreditLine/payment/index.tsx +4 -2
  26. package/src/components/CreditLine/paymentV2/1-ChooseAmount.tsx +96 -0
  27. package/src/components/CreditLine/paymentV2/2-ApproveAllowance.tsx +33 -0
  28. package/src/components/CreditLine/paymentV2/3-Transfer.tsx +55 -0
  29. package/src/components/CreditLine/paymentV2/4-Success.tsx +42 -0
  30. package/src/components/CreditLine/paymentV2/index.tsx +111 -0
  31. package/src/components/CreditLine/supplyFLC/1-ApproveAllowance.tsx +40 -0
  32. package/src/components/CreditLine/supplyFLC/2-Transfer.tsx +53 -0
  33. package/src/components/CreditLine/supplyFLC/3-Success.tsx +26 -0
  34. package/src/components/CreditLine/supplyFLC/index.tsx +121 -0
  35. package/src/components/Factoring/FactoredList.tsx +2 -1
  36. package/src/components/InputAmountModal.tsx +156 -0
  37. package/src/components/InvoiceFactoring/borrow/2-ChooseAmount.tsx +8 -1
  38. package/src/components/InvoiceFactoring/borrow/4-ApproveNFT.tsx +6 -2
  39. package/src/components/InvoiceFactoring/borrow/6-Success.tsx +5 -1
  40. package/src/components/InvoiceFactoring/borrow/index.tsx +9 -3
  41. package/src/components/InvoiceFactoring/payment/1-ChooseAmount.tsx +7 -2
  42. package/src/components/InvoiceFactoring/payment/index.tsx +9 -3
  43. package/src/components/Lend/addRedemptionV2/1-ChooseTranche.tsx +114 -0
  44. package/src/components/Lend/addRedemptionV2/2-ChooseAmount.tsx +62 -0
  45. package/src/components/Lend/addRedemptionV2/3-Transfer.tsx +56 -0
  46. package/src/components/Lend/addRedemptionV2/4-Done.tsx +20 -0
  47. package/src/components/Lend/addRedemptionV2/index.tsx +172 -0
  48. package/src/components/Lend/cancelRedemptionV2 /1-Transfer.tsx +51 -0
  49. package/src/components/Lend/cancelRedemptionV2 /2-Done.tsx +29 -0
  50. package/src/components/Lend/cancelRedemptionV2 /index.tsx +120 -0
  51. package/src/components/Lend/supply/1-Evaluation/EvaluationKYC.tsx +19 -2
  52. package/src/components/Lend/supply/2-ChooseAmount.tsx +1 -0
  53. package/src/components/Lend/supply/index.tsx +17 -3
  54. package/src/components/Lend/supplyV2/1-ChooseTranche.tsx +116 -0
  55. package/src/components/Lend/supplyV2/2-Evaluation.tsx +345 -0
  56. package/src/components/Lend/supplyV2/3-ChooseAmount.tsx +77 -0
  57. package/src/components/Lend/supplyV2/4-ApproveAllowance.tsx +33 -0
  58. package/src/components/Lend/supplyV2/5-Transfer.tsx +59 -0
  59. package/src/components/Lend/supplyV2/6-Success.tsx +79 -0
  60. package/src/components/Lend/supplyV2/7-Notifications.tsx +10 -0
  61. package/src/components/Lend/supplyV2/index.tsx +175 -0
  62. package/src/components/Lend/withdraw/1-CheckWithdrawble.tsx +5 -1
  63. package/src/components/Lend/withdraw/index.tsx +10 -3
  64. package/src/components/Lend/withdrawV2/1-ConfirmTransfer.tsx +135 -0
  65. package/src/components/Lend/withdrawV2/2-Transfer.tsx +50 -0
  66. package/src/components/Lend/withdrawV2/3-Done.tsx +31 -0
  67. package/src/components/Lend/withdrawV2/index.tsx +177 -0
  68. package/src/components/Notifi/NotifiSubscriptionModal.tsx +26 -38
  69. package/src/components/NumericFormatCustom.tsx +33 -0
  70. package/src/components/ReceivableBackedCreditLine/borrow/1-ChooseAmount.tsx +101 -0
  71. package/src/components/ReceivableBackedCreditLine/borrow/2-ApproveAllowance.tsx +33 -0
  72. package/src/components/ReceivableBackedCreditLine/borrow/3-ApproveReceivable.tsx +64 -0
  73. package/src/components/ReceivableBackedCreditLine/borrow/4-Transfer.tsx +61 -0
  74. package/src/components/ReceivableBackedCreditLine/borrow/5-Success.tsx +42 -0
  75. package/src/components/ReceivableBackedCreditLine/borrow/6-Notifications.tsx +10 -0
  76. package/src/components/ReceivableBackedCreditLine/borrow/index.tsx +148 -0
  77. package/src/components/ReceivableBackedCreditLine/payment/1-ChoosePaymentType.tsx +115 -0
  78. package/src/components/ReceivableBackedCreditLine/payment/2-ChooseAmount.tsx +84 -0
  79. package/src/components/ReceivableBackedCreditLine/payment/3-ApproveAllowance.tsx +41 -0
  80. package/src/components/ReceivableBackedCreditLine/payment/4-CreateReceivable.tsx +107 -0
  81. package/src/components/ReceivableBackedCreditLine/payment/5-ApproveReceivable.tsx +64 -0
  82. package/src/components/ReceivableBackedCreditLine/payment/6-Transfer.tsx +107 -0
  83. package/src/components/ReceivableBackedCreditLine/payment/7-Success.tsx +49 -0
  84. package/src/components/ReceivableBackedCreditLine/payment/index.tsx +159 -0
  85. package/src/components/StreamFactoring/borrow/2-ChooseAmount.tsx +8 -1
  86. package/src/components/StreamFactoring/borrow/6-Transfer.tsx +3 -1
  87. package/src/components/StreamFactoring/borrow/7-Success.tsx +3 -1
  88. package/src/components/StreamFactoring/borrow/index.tsx +2 -2
  89. package/src/components/TxDoneModal.tsx +1 -1
  90. package/src/components/TxSendModal.tsx +8 -2
  91. package/src/components/TxSendModalV2.tsx +51 -0
  92. package/src/hooks/useNotifi.ts +4 -6
  93. package/src/index.tsx +268 -1
  94. package/src/store/widgets.reducers.ts +15 -0
  95. package/src/store/widgets.store.ts +6 -0
package/API.md CHANGED
@@ -7,17 +7,37 @@
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="#AddRedemptionWidgetV2">AddRedemptionWidgetV2(props)</a> ⇒</dt>
28
+ <dd><p>Add redemption widget V2</p></dd>
29
+ <dt><a href="#CancelRedemptionWidgetV2">CancelRedemptionWidgetV2(props)</a> ⇒</dt>
30
+ <dd><p>Cancel redemption widget V2</p></dd>
31
+ <dt><a href="#SupplyFirstLossCoverWidget">SupplyFirstLossCoverWidget(props)</a> ⇒</dt>
32
+ <dd><p>Supply first loss cover widget</p></dd>
19
33
  <dt><a href="#SuperfluidFactoringWidget">SuperfluidFactoringWidget(props)</a> ⇒</dt>
20
34
  <dd><p>Superfluid factoring widget</p></dd>
35
+ <dt><a href="#AutoPaybackWidgetV2">AutoPaybackWidgetV2(props)</a> ⇒</dt>
36
+ <dd><p>Supply first loss cover widget</p></dd>
37
+ <dt><a href="#ReceivableBackedCreditLineBorrowWidgetV2">ReceivableBackedCreditLineBorrowWidgetV2(props)</a> ⇒</dt>
38
+ <dd><p>Receivable backed credit line borrow widget V2</p></dd>
39
+ <dt><a href="#ReceivableBackedCreditLinePaymentWidgetV2">ReceivableBackedCreditLinePaymentWidgetV2(props)</a> ⇒</dt>
40
+ <dd><p>Receivable backed credit line payment widget V2</p></dd>
21
41
  </dl>
22
42
 
23
43
  ## Typedefs
@@ -25,18 +45,38 @@ To be used when re-enabling autopay and other pool actions that require allowanc
25
45
  <dl>
26
46
  <dt><a href="#CreditLineApproveProps">CreditLineApproveProps</a> : <code>Object</code></dt>
27
47
  <dd><p>Credit line pool approve allowance props</p></dd>
48
+ <dt><a href="#AutoPaybackPropsV2">AutoPaybackPropsV2</a> : <code>Object</code></dt>
49
+ <dd><p>Auto payback props V2</p></dd>
28
50
  <dt><a href="#CreditLineBorrowProps">CreditLineBorrowProps</a> : <code>Object</code></dt>
29
51
  <dd><p>Credit line pool borrow props</p></dd>
52
+ <dt><a href="#CreditLineBorrowPropsV2">CreditLineBorrowPropsV2</a> : <code>Object</code></dt>
53
+ <dd><p>Credit line pool borrow props V2</p></dd>
30
54
  <dt><a href="#CreditLinePaymentProps">CreditLinePaymentProps</a> : <code>Object</code></dt>
31
55
  <dd><p>Credit line pool payment props</p></dd>
56
+ <dt><a href="#CreditLinePaymentPropsV2">CreditLinePaymentPropsV2</a> : <code>Object</code></dt>
57
+ <dd><p>Credit line pool payment props V2</p></dd>
58
+ <dt><a href="#SupplyFirstLossCoverProps">SupplyFirstLossCoverProps</a> : <code>Object</code></dt>
59
+ <dd><p>Supply first loss cover props</p></dd>
32
60
  <dt><a href="#InvoiceFactoringBorrowProps">InvoiceFactoringBorrowProps</a> : <code>Object</code></dt>
33
61
  <dd><p>Invoice factoring pool borrow props</p></dd>
34
62
  <dt><a href="#InvoiceFactoringPaymentProps">InvoiceFactoringPaymentProps</a> : <code>Object</code></dt>
35
63
  <dd><p>Invoice factoring pool payment props</p></dd>
64
+ <dt><a href="#AddRedemptionPropsV2">AddRedemptionPropsV2</a> : <code>Object</code></dt>
65
+ <dd><p>Lend pool add redemption props</p></dd>
66
+ <dt><a href="#CancelRedemptionPropsV2">CancelRedemptionPropsV2</a> : <code>Object</code></dt>
67
+ <dd><p>Lend pool cancel redemption request props</p></dd>
36
68
  <dt><a href="#LendSupplyProps">LendSupplyProps</a> : <code>Object</code></dt>
37
69
  <dd><p>Lend pool supply props</p></dd>
70
+ <dt><a href="#LendSupplyPropsV2">LendSupplyPropsV2</a> : <code>Object</code></dt>
71
+ <dd><p>Lend pool supply props</p></dd>
38
72
  <dt><a href="#LendWithdrawProps">LendWithdrawProps</a> : <code>Object</code></dt>
39
73
  <dd><p>Lend pool withdraw props</p></dd>
74
+ <dt><a href="#LendWithdrawPropsV2">LendWithdrawPropsV2</a> : <code>Object</code></dt>
75
+ <dd><p>Lend pool withdraw props</p></dd>
76
+ <dt><a href="#ReceivableBackedCreditLineBorrowPropsV2">ReceivableBackedCreditLineBorrowPropsV2</a> : <code>Object</code></dt>
77
+ <dd><p>Receivable backed credit line pool borrow props V2</p></dd>
78
+ <dt><a href="#CreditLinePaymentPropsV2">CreditLinePaymentPropsV2</a> : <code>Object</code></dt>
79
+ <dd><p>Credit line pool payment props V2</p></dd>
40
80
  <dt><a href="#JsonRpcConnectionMap">JsonRpcConnectionMap</a> : <code>Object</code></dt>
41
81
  <dd><p>Mapping of your JSON-RPC connections indexed by chainId</p></dd>
42
82
  <dt><a href="#WidgetProps">WidgetProps</a> : <code>Object</code></dt>
@@ -47,14 +87,34 @@ To be used when re-enabling autopay and other pool actions that require allowanc
47
87
  <dd><p>Invoice factoring pool payment widget props</p></dd>
48
88
  <dt><a href="#CreditLineBorrowWidgetProps">CreditLineBorrowWidgetProps</a> : <code>Object</code></dt>
49
89
  <dd><p>Credit line pool borrow widget props</p></dd>
90
+ <dt><a href="#CreditLineBorrowWidgetPropsV2">CreditLineBorrowWidgetPropsV2</a> : <code>Object</code></dt>
91
+ <dd><p>Credit line pool borrow widget props V2</p></dd>
50
92
  <dt><a href="#CreditLinePaymentWidgetProps">CreditLinePaymentWidgetProps</a> : <code>Object</code></dt>
51
93
  <dd><p>Credit line pool payment widget props</p></dd>
94
+ <dt><a href="#CreditLinePaymentWidgetPropsV2">CreditLinePaymentWidgetPropsV2</a> : <code>Object</code></dt>
95
+ <dd><p>Credit line pool payment widget props V2</p></dd>
52
96
  <dt><a href="#CreditLinePaymentWidgetProps">CreditLinePaymentWidgetProps</a> : <code>Object</code></dt>
53
97
  <dd><p>Credit line allowance approval widget props</p></dd>
54
98
  <dt><a href="#LendSupplyWidgetProps">LendSupplyWidgetProps</a> : <code>Object</code></dt>
55
99
  <dd><p>Lend pool supply 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>
56
102
  <dt><a href="#LendWithdrawWidgetProps">LendWithdrawWidgetProps</a> : <code>Object</code></dt>
57
103
  <dd><p>Lend pool withdraw widget props</p></dd>
104
+ <dt><a href="#LendWithdrawWidgetPropsV2">LendWithdrawWidgetPropsV2</a> : <code>Object</code></dt>
105
+ <dd><p>Lend pool supply widget props V2</p></dd>
106
+ <dt><a href="#AddRedemptionWidgetPropsV2">AddRedemptionWidgetPropsV2</a> : <code>Object</code></dt>
107
+ <dd><p>Lend pool add redemption widget props V2</p></dd>
108
+ <dt><a href="#CancelRedemptionWidgetPropsV2">CancelRedemptionWidgetPropsV2</a> : <code>Object</code></dt>
109
+ <dd><p>Lend pool cancel redemption widget props V2</p></dd>
110
+ <dt><a href="#SupplyFirstLossCoverWidgetProps">SupplyFirstLossCoverWidgetProps</a> : <code>Object</code></dt>
111
+ <dd><p>Supply first loss cover widget props</p></dd>
112
+ <dt><a href="#AutoPaybackWidgetPropsV2">AutoPaybackWidgetPropsV2</a> : <code>Object</code></dt>
113
+ <dd><p>Auto payback widget props V2</p></dd>
114
+ <dt><a href="#ReceivableBackedCreditLineBorrowWidgetPropsV2">ReceivableBackedCreditLineBorrowWidgetPropsV2</a> : <code>Object</code></dt>
115
+ <dd><p>Receivable backed credit line pool borrow widget props V2</p></dd>
116
+ <dt><a href="#ReceivableBackedCreditLinePaymentWidgetPropsV2">ReceivableBackedCreditLinePaymentWidgetPropsV2</a> : <code>Object</code></dt>
117
+ <dd><p>Receivable backed credit line pool payment widget props V2</p></dd>
58
118
  </dl>
59
119
 
60
120
  <a name="InvoiceFactoringBorrowWidget"></a>
@@ -93,6 +153,18 @@ To be used when re-enabling autopay and other pool actions that require allowanc
93
153
  | --- | --- | --- |
94
154
  | props | [<code>CreditLineBorrowWidgetProps</code>](#CreditLineBorrowWidgetProps) | <p>The credit line pool borrow widget props.</p> |
95
155
 
156
+ <a name="CreditLineBorrowWidgetV2"></a>
157
+
158
+ ## CreditLineBorrowWidgetV2(props) ⇒
159
+ <p>Credit line borrow widget V2</p>
160
+
161
+ **Kind**: global function
162
+ **Returns**: <p>Credit line pool borrow widget component V2</p>
163
+
164
+ | Param | Type | Description |
165
+ | --- | --- | --- |
166
+ | props | [<code>CreditLineBorrowWidgetPropsV2</code>](#CreditLineBorrowWidgetPropsV2) | <p>The credit line pool borrow widget props V2.</p> |
167
+
96
168
  <a name="CreditLinePaymentWidget"></a>
97
169
 
98
170
  ## CreditLinePaymentWidget(props) ⇒
@@ -105,6 +177,18 @@ To be used when re-enabling autopay and other pool actions that require allowanc
105
177
  | --- | --- | --- |
106
178
  | props | [<code>CreditLinePaymentWidgetProps</code>](#CreditLinePaymentWidgetProps) | <p>The credit line pool payment widget props.</p> |
107
179
 
180
+ <a name="CreditLinePaymentWidgetV2"></a>
181
+
182
+ ## CreditLinePaymentWidgetV2(props) ⇒
183
+ <p>Credit line payment widget V2</p>
184
+
185
+ **Kind**: global function
186
+ **Returns**: <p>Credit line pool payment widget component V2</p>
187
+
188
+ | Param | Type | Description |
189
+ | --- | --- | --- |
190
+ | props | [<code>CreditLinePaymentWidgetPropsV2</code>](#CreditLinePaymentWidgetPropsV2) | <p>The credit line pool payment widget props V2.</p> |
191
+
108
192
  <a name="CreditLineApproveWidget"></a>
109
193
 
110
194
  ## CreditLineApproveWidget(props) ⇒
@@ -130,6 +214,18 @@ To be used when re-enabling autopay and other pool actions that require allowanc
130
214
  | --- | --- | --- |
131
215
  | props | [<code>LendSupplyWidgetProps</code>](#LendSupplyWidgetProps) | <p>The lend pool supply widget props.</p> |
132
216
 
217
+ <a name="LendSupplyWidgetV2"></a>
218
+
219
+ ## LendSupplyWidgetV2(props) ⇒
220
+ <p>Lend supply widget V2</p>
221
+
222
+ **Kind**: global function
223
+ **Returns**: <p>Lend pool supply widget component V2</p>
224
+
225
+ | Param | Type | Description |
226
+ | --- | --- | --- |
227
+ | props | [<code>LendSupplyWidgetPropsV2</code>](#LendSupplyWidgetPropsV2) | <p>The lend pool supply widget props V2.</p> |
228
+
133
229
  <a name="LendWithdrawWidget"></a>
134
230
 
135
231
  ## LendWithdrawWidget(props) ⇒
@@ -142,6 +238,54 @@ To be used when re-enabling autopay and other pool actions that require allowanc
142
238
  | --- | --- | --- |
143
239
  | props | [<code>LendWithdrawWidgetProps</code>](#LendWithdrawWidgetProps) | <p>The lend pool withdraw widget props</p> |
144
240
 
241
+ <a name="LendWithdrawWidgetV2"></a>
242
+
243
+ ## LendWithdrawWidgetV2(props) ⇒
244
+ <p>Lend withdraw widget V2</p>
245
+
246
+ **Kind**: global function
247
+ **Returns**: <p>Lend pool supply widget component V2</p>
248
+
249
+ | Param | Type | Description |
250
+ | --- | --- | --- |
251
+ | props | [<code>LendWithdrawWidgetPropsV2</code>](#LendWithdrawWidgetPropsV2) | <p>The lend pool supply widget props V2.</p> |
252
+
253
+ <a name="AddRedemptionWidgetV2"></a>
254
+
255
+ ## AddRedemptionWidgetV2(props) ⇒
256
+ <p>Add redemption widget V2</p>
257
+
258
+ **Kind**: global function
259
+ **Returns**: <p>Lend pool add redemption widget component V2</p>
260
+
261
+ | Param | Type | Description |
262
+ | --- | --- | --- |
263
+ | props | [<code>AddRedemptionWidgetPropsV2</code>](#AddRedemptionWidgetPropsV2) | <p>The lend pool add redemption widget props V2.</p> |
264
+
265
+ <a name="CancelRedemptionWidgetV2"></a>
266
+
267
+ ## CancelRedemptionWidgetV2(props) ⇒
268
+ <p>Cancel redemption widget V2</p>
269
+
270
+ **Kind**: global function
271
+ **Returns**: <p>Lend pool cancel redemption widget component V2</p>
272
+
273
+ | Param | Type | Description |
274
+ | --- | --- | --- |
275
+ | props | [<code>CancelRedemptionWidgetPropsV2</code>](#CancelRedemptionWidgetPropsV2) | <p>The lend pool cancel redemption widget props V2.</p> |
276
+
277
+ <a name="SupplyFirstLossCoverWidget"></a>
278
+
279
+ ## SupplyFirstLossCoverWidget(props) ⇒
280
+ <p>Supply first loss cover widget</p>
281
+
282
+ **Kind**: global function
283
+ **Returns**: <p>Supply first loss cover widget component</p>
284
+
285
+ | Param | Type | Description |
286
+ | --- | --- | --- |
287
+ | props | [<code>SupplyFirstLossCoverWidgetProps</code>](#SupplyFirstLossCoverWidgetProps) | <p>The supply first loss cover widget props.</p> |
288
+
145
289
  <a name="SuperfluidFactoringWidget"></a>
146
290
 
147
291
  ## SuperfluidFactoringWidget(props) ⇒
@@ -154,6 +298,42 @@ To be used when re-enabling autopay and other pool actions that require allowanc
154
298
  | --- | --- | --- |
155
299
  | props | [<code>WidgetProps</code>](#WidgetProps) | <p>The superfluid factoring widget props.</p> |
156
300
 
301
+ <a name="AutoPaybackWidgetV2"></a>
302
+
303
+ ## AutoPaybackWidgetV2(props) ⇒
304
+ <p>Supply first loss cover widget</p>
305
+
306
+ **Kind**: global function
307
+ **Returns**: <p>Supply first loss cover widget component</p>
308
+
309
+ | Param | Type | Description |
310
+ | --- | --- | --- |
311
+ | props | [<code>SupplyFirstLossCoverWidgetProps</code>](#SupplyFirstLossCoverWidgetProps) | <p>The supply first loss cover widget props.</p> |
312
+
313
+ <a name="ReceivableBackedCreditLineBorrowWidgetV2"></a>
314
+
315
+ ## ReceivableBackedCreditLineBorrowWidgetV2(props) ⇒
316
+ <p>Receivable backed credit line borrow widget V2</p>
317
+
318
+ **Kind**: global function
319
+ **Returns**: <p>Receivable backed credit line pool borrow widget component V2</p>
320
+
321
+ | Param | Type | Description |
322
+ | --- | --- | --- |
323
+ | props | [<code>ReceivableBackedCreditLineBorrowWidgetPropsV2</code>](#ReceivableBackedCreditLineBorrowWidgetPropsV2) | <p>The receivable backed credit line pool borrow widget props V2.</p> |
324
+
325
+ <a name="ReceivableBackedCreditLinePaymentWidgetV2"></a>
326
+
327
+ ## ReceivableBackedCreditLinePaymentWidgetV2(props) ⇒
328
+ <p>Receivable backed credit line payment widget V2</p>
329
+
330
+ **Kind**: global function
331
+ **Returns**: <p>Receivable backed credit line pool payment widget component V2</p>
332
+
333
+ | Param | Type | Description |
334
+ | --- | --- | --- |
335
+ | props | [<code>ReceivableBackedCreditLinePaymentWidgetPropsV2</code>](#ReceivableBackedCreditLinePaymentWidgetPropsV2) | <p>The receivable backed credit line pool payment widget props V2.</p> |
336
+
157
337
  <a name="CreditLineApproveProps"></a>
158
338
 
159
339
  ## CreditLineApproveProps : <code>Object</code>
@@ -170,6 +350,20 @@ To be used when re-enabling autopay and other pool actions that require allowanc
170
350
  | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
171
351
  | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool approve allowance action is successful.</p> |
172
352
 
353
+ <a name="AutoPaybackPropsV2"></a>
354
+
355
+ ## AutoPaybackPropsV2 : <code>Object</code>
356
+ <p>Auto payback props V2</p>
357
+
358
+ **Kind**: global typedef
359
+ **Properties**
360
+
361
+ | Name | Type | Description |
362
+ | --- | --- | --- |
363
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
364
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
365
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool borrow action is successful.</p> |
366
+
173
367
  <a name="CreditLineBorrowProps"></a>
174
368
 
175
369
  ## CreditLineBorrowProps : <code>Object</code>
@@ -186,6 +380,20 @@ To be used when re-enabling autopay and other pool actions that require allowanc
186
380
  | handleApprove | <code>function</code> | <p>Optional function to notify when user is approved successfully to borrow again pool.</p> |
187
381
  | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool borrow action is successful.</p> |
188
382
 
383
+ <a name="CreditLineBorrowPropsV2"></a>
384
+
385
+ ## CreditLineBorrowPropsV2 : <code>Object</code>
386
+ <p>Credit line pool borrow props V2</p>
387
+
388
+ **Kind**: global typedef
389
+ **Properties**
390
+
391
+ | Name | Type | Description |
392
+ | --- | --- | --- |
393
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
394
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
395
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool borrow action is successful.</p> |
396
+
189
397
  <a name="CreditLinePaymentProps"></a>
190
398
 
191
399
  ## CreditLinePaymentProps : <code>Object</code>
@@ -201,6 +409,34 @@ To be used when re-enabling autopay and other pool actions that require allowanc
201
409
  | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
202
410
  | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool payment action is successful.</p> |
203
411
 
412
+ <a name="CreditLinePaymentPropsV2"></a>
413
+
414
+ ## CreditLinePaymentPropsV2 : <code>Object</code>
415
+ <p>Credit line pool payment props V2</p>
416
+
417
+ **Kind**: global typedef
418
+ **Properties**
419
+
420
+ | Name | Type | Description |
421
+ | --- | --- | --- |
422
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
423
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
424
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool payment action is successful.</p> |
425
+
426
+ <a name="SupplyFirstLossCoverProps"></a>
427
+
428
+ ## SupplyFirstLossCoverProps : <code>Object</code>
429
+ <p>Supply first loss cover props</p>
430
+
431
+ **Kind**: global typedef
432
+ **Properties**
433
+
434
+ | Name | Type | Description |
435
+ | --- | --- | --- |
436
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
437
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
438
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool borrow action is successful.</p> |
439
+
204
440
  <a name="InvoiceFactoringBorrowProps"></a>
205
441
 
206
442
  ## InvoiceFactoringBorrowProps : <code>Object</code>
@@ -232,6 +468,35 @@ To be used when re-enabling autopay and other pool actions that require allowanc
232
468
  | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
233
469
  | handleSuccess | <code>function</code> | <p>Optional function to notify that the invoice pool payment action is successful.</p> |
234
470
 
471
+ <a name="AddRedemptionPropsV2"></a>
472
+
473
+ ## AddRedemptionPropsV2 : <code>Object</code>
474
+ <p>Lend pool add redemption props</p>
475
+
476
+ **Kind**: global typedef
477
+ **Properties**
478
+
479
+ | Name | Type | Description |
480
+ | --- | --- | --- |
481
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
482
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
483
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool withdraw action is successful.</p> |
484
+
485
+ <a name="CancelRedemptionPropsV2"></a>
486
+
487
+ ## CancelRedemptionPropsV2 : <code>Object</code>
488
+ <p>Lend pool cancel redemption request props</p>
489
+
490
+ **Kind**: global typedef
491
+ **Properties**
492
+
493
+ | Name | Type | Description |
494
+ | --- | --- | --- |
495
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
496
+ | trancheType | <code>TrancheType</code> | <p>The type of the tranche.</p> |
497
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
498
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool withdraw action is successful.</p> |
499
+
235
500
  <a name="LendSupplyProps"></a>
236
501
 
237
502
  ## LendSupplyProps : <code>Object</code>
@@ -247,6 +512,20 @@ To be used when re-enabling autopay and other pool actions that require allowanc
247
512
  | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
248
513
  | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool supply action is successful.</p> |
249
514
 
515
+ <a name="LendSupplyPropsV2"></a>
516
+
517
+ ## LendSupplyPropsV2 : <code>Object</code>
518
+ <p>Lend pool supply props</p>
519
+
520
+ **Kind**: global typedef
521
+ **Properties**
522
+
523
+ | Name | Type | Description |
524
+ | --- | --- | --- |
525
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
526
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
527
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool supply action is successful.</p> |
528
+
250
529
  <a name="LendWithdrawProps"></a>
251
530
 
252
531
  ## LendWithdrawProps : <code>Object</code>
@@ -262,6 +541,51 @@ To be used when re-enabling autopay and other pool actions that require allowanc
262
541
  | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
263
542
  | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool withdraw action is successful.</p> |
264
543
 
544
+ <a name="LendWithdrawPropsV2"></a>
545
+
546
+ ## LendWithdrawPropsV2 : <code>Object</code>
547
+ <p>Lend pool withdraw props</p>
548
+
549
+ **Kind**: global typedef
550
+ **Properties**
551
+
552
+ | Name | Type | Description |
553
+ | --- | --- | --- |
554
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
555
+ | trancheType | <code>TrancheType</code> | <p>The type of the tranche.</p> |
556
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
557
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool withdraw action is successful.</p> |
558
+
559
+ <a name="ReceivableBackedCreditLineBorrowPropsV2"></a>
560
+
561
+ ## ReceivableBackedCreditLineBorrowPropsV2 : <code>Object</code>
562
+ <p>Receivable backed credit line pool borrow props V2</p>
563
+
564
+ **Kind**: global typedef
565
+ **Properties**
566
+
567
+ | Name | Type | Description |
568
+ | --- | --- | --- |
569
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
570
+ | tokenId | <code>tokenId</code> | <p>The receivable token id.</p> |
571
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
572
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool borrow action is successful.</p> |
573
+
574
+ <a name="CreditLinePaymentPropsV2"></a>
575
+
576
+ ## CreditLinePaymentPropsV2 : <code>Object</code>
577
+ <p>Credit line pool payment props V2</p>
578
+
579
+ **Kind**: global typedef
580
+ **Properties**
581
+
582
+ | Name | Type | Description |
583
+ | --- | --- | --- |
584
+ | poolName | <code>POOL\_NAME</code> | <p>The name of the pool.</p> |
585
+ | tokenID | <code>tokenId</code> | <p>The receivable token id.</p> |
586
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
587
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the credit line pool payment action is successful.</p> |
588
+
265
589
  <a name="JsonRpcConnectionMap"></a>
266
590
 
267
591
  ## JsonRpcConnectionMap : <code>Object</code>
@@ -327,6 +651,19 @@ To be used when re-enabling autopay and other pool actions that require allowanc
327
651
  | CreditLineBorrowProps | [<code>CreditLineBorrowProps</code>](#CreditLineBorrowProps) | <p>Credit line pool borrow props.</p> |
328
652
  | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
329
653
 
654
+ <a name="CreditLineBorrowWidgetPropsV2"></a>
655
+
656
+ ## CreditLineBorrowWidgetPropsV2 : <code>Object</code>
657
+ <p>Credit line pool borrow widget props V2</p>
658
+
659
+ **Kind**: global typedef
660
+ **Properties**
661
+
662
+ | Name | Type | Description |
663
+ | --- | --- | --- |
664
+ | CreditLineBorrowPropsV2 | [<code>CreditLineBorrowPropsV2</code>](#CreditLineBorrowPropsV2) | <p>Credit line pool borrow props V2.</p> |
665
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
666
+
330
667
  <a name="CreditLinePaymentWidgetProps"></a>
331
668
 
332
669
  ## CreditLinePaymentWidgetProps : <code>Object</code>
@@ -340,6 +677,19 @@ To be used when re-enabling autopay and other pool actions that require allowanc
340
677
  | CreditLinePaymentProps | [<code>CreditLinePaymentProps</code>](#CreditLinePaymentProps) | <p>Credit line pool payment props.</p> |
341
678
  | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
342
679
 
680
+ <a name="CreditLinePaymentWidgetPropsV2"></a>
681
+
682
+ ## CreditLinePaymentWidgetPropsV2 : <code>Object</code>
683
+ <p>Credit line pool payment widget props V2</p>
684
+
685
+ **Kind**: global typedef
686
+ **Properties**
687
+
688
+ | Name | Type | Description |
689
+ | --- | --- | --- |
690
+ | CreditLinePaymentPropsV2 | [<code>CreditLinePaymentPropsV2</code>](#CreditLinePaymentPropsV2) | <p>Credit line pool payment props V2.</p> |
691
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
692
+
343
693
  <a name="CreditLinePaymentWidgetProps"></a>
344
694
 
345
695
  ## CreditLinePaymentWidgetProps : <code>Object</code>
@@ -366,6 +716,19 @@ To be used when re-enabling autopay and other pool actions that require allowanc
366
716
  | LendSupplyProps | [<code>LendSupplyProps</code>](#LendSupplyProps) | <p>Lend pool supply props.</p> |
367
717
  | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
368
718
 
719
+ <a name="LendSupplyWidgetPropsV2"></a>
720
+
721
+ ## LendSupplyWidgetPropsV2 : <code>Object</code>
722
+ <p>Lend pool supply widget props V2</p>
723
+
724
+ **Kind**: global typedef
725
+ **Properties**
726
+
727
+ | Name | Type | Description |
728
+ | --- | --- | --- |
729
+ | LendSupplyPropsV2 | [<code>LendSupplyPropsV2</code>](#LendSupplyPropsV2) | <p>Lend pool supply props V2.</p> |
730
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
731
+
369
732
  <a name="LendWithdrawWidgetProps"></a>
370
733
 
371
734
  ## LendWithdrawWidgetProps : <code>Object</code>
@@ -379,3 +742,94 @@ To be used when re-enabling autopay and other pool actions that require allowanc
379
742
  | LendWithdrawProps | [<code>LendWithdrawProps</code>](#LendWithdrawProps) | <p>Lend pool withdraw props.</p> |
380
743
  | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
381
744
 
745
+ <a name="LendWithdrawWidgetPropsV2"></a>
746
+
747
+ ## LendWithdrawWidgetPropsV2 : <code>Object</code>
748
+ <p>Lend pool supply widget props V2</p>
749
+
750
+ **Kind**: global typedef
751
+ **Properties**
752
+
753
+ | Name | Type | Description |
754
+ | --- | --- | --- |
755
+ | LendSupplyPropsV2 | [<code>LendWithdrawPropsV2</code>](#LendWithdrawPropsV2) | <p>Lend pool supply props V2.</p> |
756
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
757
+
758
+ <a name="AddRedemptionWidgetPropsV2"></a>
759
+
760
+ ## AddRedemptionWidgetPropsV2 : <code>Object</code>
761
+ <p>Lend pool add redemption widget props V2</p>
762
+
763
+ **Kind**: global typedef
764
+ **Properties**
765
+
766
+ | Name | Type | Description |
767
+ | --- | --- | --- |
768
+ | AddRedemptionWidgetPropsV2 | [<code>AddRedemptionWidgetPropsV2</code>](#AddRedemptionWidgetPropsV2) | <p>Lend pool add redemption props V2.</p> |
769
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
770
+
771
+ <a name="CancelRedemptionWidgetPropsV2"></a>
772
+
773
+ ## CancelRedemptionWidgetPropsV2 : <code>Object</code>
774
+ <p>Lend pool cancel redemption widget props V2</p>
775
+
776
+ **Kind**: global typedef
777
+ **Properties**
778
+
779
+ | Name | Type | Description |
780
+ | --- | --- | --- |
781
+ | CancelRedemptionWidgetPropsV2 | [<code>CancelRedemptionWidgetPropsV2</code>](#CancelRedemptionWidgetPropsV2) | <p>Lend pool cancel redemption props V2.</p> |
782
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
783
+
784
+ <a name="SupplyFirstLossCoverWidgetProps"></a>
785
+
786
+ ## SupplyFirstLossCoverWidgetProps : <code>Object</code>
787
+ <p>Supply first loss cover widget props</p>
788
+
789
+ **Kind**: global typedef
790
+ **Properties**
791
+
792
+ | Name | Type | Description |
793
+ | --- | --- | --- |
794
+ | SupplyFirstLossCover | <code>SupplyFirstLossCover</code> | <p>Supply first loss cover props.</p> |
795
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
796
+
797
+ <a name="AutoPaybackWidgetPropsV2"></a>
798
+
799
+ ## AutoPaybackWidgetPropsV2 : <code>Object</code>
800
+ <p>Auto payback widget props V2</p>
801
+
802
+ **Kind**: global typedef
803
+ **Properties**
804
+
805
+ | Name | Type | Description |
806
+ | --- | --- | --- |
807
+ | AutoPayback | <code>AutoPayback</code> | <p>Auto payback props V2.</p> |
808
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
809
+
810
+ <a name="ReceivableBackedCreditLineBorrowWidgetPropsV2"></a>
811
+
812
+ ## ReceivableBackedCreditLineBorrowWidgetPropsV2 : <code>Object</code>
813
+ <p>Receivable backed credit line pool borrow widget props V2</p>
814
+
815
+ **Kind**: global typedef
816
+ **Properties**
817
+
818
+ | Name | Type | Description |
819
+ | --- | --- | --- |
820
+ | ReceivableBackedCreditLineBorrowPropsV2 | [<code>ReceivableBackedCreditLineBorrowPropsV2</code>](#ReceivableBackedCreditLineBorrowPropsV2) | <p>Receivable backed credit line pool borrow props V2.</p> |
821
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
822
+
823
+ <a name="ReceivableBackedCreditLinePaymentWidgetPropsV2"></a>
824
+
825
+ ## ReceivableBackedCreditLinePaymentWidgetPropsV2 : <code>Object</code>
826
+ <p>Receivable backed credit line pool payment widget props V2</p>
827
+
828
+ **Kind**: global typedef
829
+ **Properties**
830
+
831
+ | Name | Type | Description |
832
+ | --- | --- | --- |
833
+ | ReceivableBackedCreditLinePaymentPropsV2 | <code>ReceivableBackedCreditLinePaymentPropsV2</code> | <p>Receivable backed credit line pool payment props V2.</p> |
834
+ | WidgetProps | [<code>WidgetProps</code>](#WidgetProps) | <p>Widget general props.</p> |
835
+