@huma-finance/widgets 0.0.69-beta.840 → 0.0.69-beta.845

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
@@ -48,6 +48,8 @@ To be used when re-enabling autopay and other pool actions that require allowanc
48
48
  <dd><p>Lend pool supply widget for Solana pools</p></dd>
49
49
  <dt><a href="#SolanaPaymentWidget">SolanaPaymentWidget(props)</a></dt>
50
50
  <dd><p>Lend pool supply widget for Solana pools</p></dd>
51
+ <dt><a href="#SolanaLendWithdrawWidget">SolanaLendWithdrawWidget(props)</a> ⇒</dt>
52
+ <dd><p>Solana lend withdraw widget</p></dd>
51
53
  <dt><a href="#StellarLendSupplyWidget">StellarLendSupplyWidget(props)</a></dt>
52
54
  <dd><p>Lend pool supply widget for Stellar pools</p></dd>
53
55
  <dt><a href="#SolanaEnableAutoRedemptionWidget">SolanaEnableAutoRedemptionWidget(props)</a></dt>
@@ -91,6 +93,8 @@ To be used when re-enabling autopay and other pool actions that require allowanc
91
93
  <dd><p>Lend pool supply props</p></dd>
92
94
  <dt><a href="#SolanaLendSupplyProps">SolanaLendSupplyProps</a> : <code>Object</code></dt>
93
95
  <dd><p>Lend pool supply props</p></dd>
96
+ <dt><a href="#SolanaLendWithdrawProps">SolanaLendWithdrawProps</a> : <code>Object</code></dt>
97
+ <dd><p>Solana lend pool withdraw props</p></dd>
94
98
  <dt><a href="#StellarLendSupplyProps">StellarLendSupplyProps</a> : <code>Object</code></dt>
95
99
  <dd><p>Lend pool supply props</p></dd>
96
100
  <dt><a href="#LendSupplyProps">LendSupplyProps</a> : <code>Object</code></dt>
@@ -433,6 +437,18 @@ To be used when re-enabling autopay and other pool actions that require allowanc
433
437
  | --- | --- | --- |
434
438
  | props | [<code>SolanaPaymentWidgetProps</code>](#SolanaPaymentWidgetProps) | <p>Widget props</p> |
435
439
 
440
+ <a name="SolanaLendWithdrawWidget"></a>
441
+
442
+ ## SolanaLendWithdrawWidget(props) ⇒
443
+ <p>Solana lend withdraw widget</p>
444
+
445
+ **Kind**: global function
446
+ **Returns**: <p>Solana lend pool withdraw widget component</p>
447
+
448
+ | Param | Type | Description |
449
+ | --- | --- | --- |
450
+ | props | [<code>SolanaLendWithdrawProps</code>](#SolanaLendWithdrawProps) | <p>The solana lend pool withdraw widget props.</p> |
451
+
436
452
  <a name="StellarLendSupplyWidget"></a>
437
453
 
438
454
  ## StellarLendSupplyWidget(props)
@@ -705,6 +721,24 @@ To be used when re-enabling autopay and other pool actions that require allowanc
705
721
  | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
706
722
  | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool supply action is successful.</p> |
707
723
 
724
+ <a name="SolanaLendWithdrawProps"></a>
725
+
726
+ ## SolanaLendWithdrawProps : <code>Object</code>
727
+ <p>Solana lend pool withdraw props</p>
728
+
729
+ **Kind**: global typedef
730
+ **Properties**
731
+
732
+ | Name | Type | Description |
733
+ | --- | --- | --- |
734
+ | poolInfo | <code>SolanaPoolInfo</code> | <p>The metadata of the pool.</p> |
735
+ | poolState | <code>SolanaPoolState</code> | <p>The current state config of the pool.</p> |
736
+ | lenderStateAccount | <code>LenderStateAccount</code> | <p>The lender state account of the user.</p> |
737
+ | trancheMintAccount | <code>Mint</code> | <p>The mint account of the tranche.</p> |
738
+ | trancheType | <code>TrancheType</code> | <p>The type of the tranche.</p> |
739
+ | handleClose | <code>function</code> | <p>Function to notify to close the widget modal when user clicks the 'x' close button.</p> |
740
+ | handleSuccess | <code>function</code> | <p>Optional function to notify that the lending pool withdraw action is successful.</p> |
741
+
708
742
  <a name="StellarLendSupplyProps"></a>
709
743
 
710
744
  ## StellarLendSupplyProps : <code>Object</code>