@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/cjs/index.cjs +312 -955
- package/dist/cjs/index.cjs.map +1 -1
- package/dist/index.d.ts +9 -1
- package/dist/index.js +567 -1187
- package/dist/index.js.map +1 -1
- package/package.json +13 -6
- package/src/components/Lend/addRedemptionV2/2-ChooseAmount.tsx +6 -1
- package/src/components/Lend/solanaCancelRedemption/index.tsx +11 -1
- package/src/components/Lend/solanaSupply/5-Success.tsx +10 -8
- package/src/components/Lend/supplyV2/6-Success.tsx +10 -8
- package/src/components/Lend/supplyV2/7-Notifications.tsx +6 -1
- package/src/components/Notifi/NotifiContextWrapper.tsx +57 -0
- package/src/components/Notifi/NotifiSubscriptionModal.tsx +118 -113
- package/src/components/SuperfluidFactoring/index.tsx +12 -46
- package/src/hooks/useNotifi.ts +28 -17
- package/src/index.tsx +8 -1
- package/src/theme/coreThemeConstants.ts +1 -1
- package/src/components/Activity.tsx +0 -128
- package/src/components/Factoring/FactoredList.tsx +0 -143
- package/src/components/Factoring/UpcomingList.tsx +0 -90
- package/src/components/Factoring/index.ts +0 -2
- package/src/components/HumaTable.tsx +0 -203
- package/src/components/SuperfluidFactoring/SuperfluidFactoredList.tsx +0 -69
- package/src/components/SuperfluidFactoring/SuperfluidUpcomingList.tsx +0 -169
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 };
|