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

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/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ import { Provider } from '@web3-react/types';
4
4
  import { POOL_NAME, POOL_TYPE, TrancheType, IdentityVerificationStatusV2, SolanaPoolInfo } from '@huma-finance/shared';
5
5
  import { BigNumberish, BigNumber } from 'ethers';
6
6
  import { SolanaPoolState } from '@huma-finance/web-shared';
7
+ import React from 'react';
7
8
 
8
9
  /**
9
10
  * Credit line pool approve allowance props
@@ -304,6 +305,7 @@ interface SolanaLendAddRedemptionProps {
304
305
  */
305
306
  interface SolanaLendCancelRedemptionProps {
306
307
  poolInfo: SolanaPoolInfo;
308
+ tranche?: TrancheType;
307
309
  handleClose: () => void;
308
310
  handleSuccess?: () => void;
309
311
  }
@@ -334,6 +336,12 @@ interface SolanaPaymentProps {
334
336
  handleSuccess?: () => void;
335
337
  }
336
338
 
339
+ type Props = {
340
+ chainId: number | undefined;
341
+ children?: any;
342
+ };
343
+ declare function NotifiContextWrapper({ chainId, children, }: Props): React.ReactElement | null;
344
+
337
345
  /**
338
346
  * Mapping of your JSON-RPC connections indexed by chainId
339
347
  * @typedef {Object} JsonRpcConnectionMap
@@ -664,4 +672,4 @@ type SolanaPaymentWidgetProps = SolanaPaymentProps & SolanaWidgetProps;
664
672
  */
665
673
  declare function SolanaPaymentWidget(props: SolanaPaymentWidgetProps): _emotion_react_jsx_runtime.JSX.Element;
666
674
 
667
- export { AddRedemptionWidgetV2, AutoPaybackWidgetV2, CancelRedemptionWidgetV2, CreditLineApproveWidget, CreditLineBorrowWidget, CreditLineBorrowWidgetV2, CreditLinePaymentWidget, CreditLinePaymentWidgetV2, InvoiceFactoringBorrowWidget, InvoiceFactoringPaymentWidget, LendSupplyWidget, LendSupplyWidgetV2, LendWithdrawWidget, LendWithdrawWidgetV2, ReceivableBackedCreditLineBorrowWidgetV2, ReceivableBackedCreditLinePaymentWidgetV2, SolanaBorrowWidget, SolanaLendAddRedemptionWidget, SolanaLendCancelRedemptionWidget, SolanaLendSupplyWidget, SolanaPaymentWidget, SuperfluidFactoringWidget, SupplyFirstLossCoverWidget };
675
+ export { AddRedemptionWidgetV2, AutoPaybackWidgetV2, CancelRedemptionWidgetV2, CreditLineApproveWidget, CreditLineBorrowWidget, CreditLineBorrowWidgetV2, CreditLinePaymentWidget, CreditLinePaymentWidgetV2, InvoiceFactoringBorrowWidget, InvoiceFactoringPaymentWidget, LendSupplyWidget, LendSupplyWidgetV2, LendWithdrawWidget, LendWithdrawWidgetV2, NotifiContextWrapper, ReceivableBackedCreditLineBorrowWidgetV2, ReceivableBackedCreditLinePaymentWidgetV2, SolanaBorrowWidget, SolanaLendAddRedemptionWidget, SolanaLendCancelRedemptionWidget, SolanaLendSupplyWidget, SolanaPaymentWidget, SuperfluidFactoringWidget, SupplyFirstLossCoverWidget };