@huma-finance/widgets 0.0.62-beta.624 → 0.0.62-beta.627

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 CHANGED
@@ -46,6 +46,8 @@ To be used when re-enabling autopay and other pool actions that require allowanc
46
46
  <dd><p>Lend pool supply widget for Solana pools</p></dd>
47
47
  <dt><a href="#SolanaBorrowWidget">SolanaBorrowWidget(props)</a></dt>
48
48
  <dd><p>Lend pool supply widget for Solana pools</p></dd>
49
+ <dt><a href="#SolanaPaymentWidget">SolanaPaymentWidget(props)</a></dt>
50
+ <dd><p>Lend pool supply widget for Solana pools</p></dd>
49
51
  </dl>
50
52
 
51
53
  ## Typedefs
@@ -65,6 +67,8 @@ To be used when re-enabling autopay and other pool actions that require allowanc
65
67
  <dd><p>Credit line pool payment props V2</p></dd>
66
68
  <dt><a href="#SolanaBorrowProps">SolanaBorrowProps</a> : <code>Object</code></dt>
67
69
  <dd><p>Lend pool supply props</p></dd>
70
+ <dt><a href="#SolanaPaymentProps">SolanaPaymentProps</a> : <code>Object</code></dt>
71
+ <dd><p>Lend pool supply props</p></dd>
68
72
  <dt><a href="#SupplyFirstLossCoverProps">SupplyFirstLossCoverProps</a> : <code>Object</code></dt>
69
73
  <dd><p>Supply first loss cover props</p></dd>
70
74
  <dt><a href="#InvoiceFactoringBorrowProps">InvoiceFactoringBorrowProps</a> : <code>Object</code></dt>
@@ -141,6 +145,8 @@ To be used when re-enabling autopay and other pool actions that require allowanc
141
145
  <dd><p>Lend pool supply widget props for Solana pools</p></dd>
142
146
  <dt><a href="#SolanaBorrowWidgetProps">SolanaBorrowWidgetProps</a> : <code>Object</code></dt>
143
147
  <dd><p>Lend pool supply widget props for Solana pools</p></dd>
148
+ <dt><a href="#SolanaPaymentWidgetProps">SolanaPaymentWidgetProps</a> : <code>Object</code></dt>
149
+ <dd><p>Lend pool supply widget props for Solana pools</p></dd>
144
150
  </dl>
145
151
 
146
152
  <a name="InvoiceFactoringBorrowWidget"></a>
@@ -404,6 +410,17 @@ To be used when re-enabling autopay and other pool actions that require allowanc
404
410
  | --- | --- | --- |
405
411
  | props | [<code>SolanaBorrowWidgetProps</code>](#SolanaBorrowWidgetProps) | <p>Widget props</p> |
406
412
 
413
+ <a name="SolanaPaymentWidget"></a>
414
+
415
+ ## SolanaPaymentWidget(props)
416
+ <p>Lend pool supply widget for Solana pools</p>
417
+
418
+ **Kind**: global function
419
+
420
+ | Param | Type | Description |
421
+ | --- | --- | --- |
422
+ | props | [<code>SolanaPaymentWidgetProps</code>](#SolanaPaymentWidgetProps) | <p>Widget props</p> |
423
+
407
424
  <a name="CreditLineApproveProps"></a>
408
425
 
409
426
  ## CreditLineApproveProps : <code>Object</code>
@@ -507,6 +524,19 @@ To be used when re-enabling autopay and other pool actions that require allowanc
507
524
  | poolState | <code>SolanaPoolState</code> | <p>The current state config of the pool. * @property {function():void} handleClose Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
508
525
  | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool supply action is successful.</p> |
509
526
 
527
+ <a name="SolanaPaymentProps"></a>
528
+
529
+ ## SolanaPaymentProps : <code>Object</code>
530
+ <p>Lend pool supply props</p>
531
+
532
+ **Kind**: global typedef
533
+ **Properties**
534
+
535
+ | Name | Type | Description |
536
+ | --- | --- | --- |
537
+ | poolInfo | <code>SolanaPoolInfo</code> | <p>The metadata of the pool.</p> |
538
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool supply action is successful.</p> |
539
+
510
540
  <a name="SupplyFirstLossCoverProps"></a>
511
541
 
512
542
  ## SupplyFirstLossCoverProps : <code>Object</code>
@@ -976,49 +1006,27 @@ To be used when re-enabling autopay and other pool actions that require allowanc
976
1006
  <p>Lend pool supply widget props for Solana pools</p>
977
1007
 
978
1008
  **Kind**: global typedef
979
- **Properties**
980
-
981
- | Name | Type | Description |
982
- | --- | --- | --- |
983
- | SolanaLendSupplyProps | [<code>SolanaLendSupplyProps</code>](#SolanaLendSupplyProps) | <p>Specific widget props</p> |
984
- | SolanaWidgetProps | [<code>SolanaWidgetProps</code>](#SolanaWidgetProps) | <p>Widget general props.</p> |
985
-
986
1009
  <a name="SolanaLendAddRedemptionWidgetProps"></a>
987
1010
 
988
1011
  ## SolanaLendAddRedemptionWidgetProps : <code>Object</code>
989
1012
  <p>Lend pool supply widget props for Solana pools</p>
990
1013
 
991
1014
  **Kind**: global typedef
992
- **Properties**
993
-
994
- | Name | Type | Description |
995
- | --- | --- | --- |
996
- | SolanaLendSupplyProps | [<code>SolanaLendSupplyProps</code>](#SolanaLendSupplyProps) | <p>Specific widget props</p> |
997
- | SolanaWidgetProps | [<code>SolanaWidgetProps</code>](#SolanaWidgetProps) | <p>Widget general props.</p> |
998
-
999
1015
  <a name="SolanaLendCancelRedemptionWidgetProps"></a>
1000
1016
 
1001
1017
  ## SolanaLendCancelRedemptionWidgetProps : <code>Object</code>
1002
1018
  <p>Lend pool supply widget props for Solana pools</p>
1003
1019
 
1004
1020
  **Kind**: global typedef
1005
- **Properties**
1006
-
1007
- | Name | Type | Description |
1008
- | --- | --- | --- |
1009
- | SolanaLendSupplyProps | [<code>SolanaLendSupplyProps</code>](#SolanaLendSupplyProps) | <p>Specific widget props</p> |
1010
- | SolanaWidgetProps | [<code>SolanaWidgetProps</code>](#SolanaWidgetProps) | <p>Widget general props.</p> |
1011
-
1012
1021
  <a name="SolanaBorrowWidgetProps"></a>
1013
1022
 
1014
1023
  ## SolanaBorrowWidgetProps : <code>Object</code>
1015
1024
  <p>Lend pool supply widget props for Solana pools</p>
1016
1025
 
1017
1026
  **Kind**: global typedef
1018
- **Properties**
1027
+ <a name="SolanaPaymentWidgetProps"></a>
1019
1028
 
1020
- | Name | Type | Description |
1021
- | --- | --- | --- |
1022
- | SolanaLendSupplyProps | [<code>SolanaLendSupplyProps</code>](#SolanaLendSupplyProps) | <p>Specific widget props</p> |
1023
- | SolanaWidgetProps | [<code>SolanaWidgetProps</code>](#SolanaWidgetProps) | <p>Widget general props.</p> |
1029
+ ## SolanaPaymentWidgetProps : <code>Object</code>
1030
+ <p>Lend pool supply widget props for Solana pools</p>
1024
1031
 
1032
+ **Kind**: global typedef