@funkit/connect 3.0.2 → 3.1.0
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/CHANGELOG.md +51 -0
- package/dist/components/Dialog/Dialog.d.ts +10 -3
- package/dist/components/Dialog/DialogContent.css.d.ts +1 -0
- package/dist/components/DydxSwitchModalTab/DydxSwitchModalTab.d.ts +3 -4
- package/dist/components/ErrorBoundary/ErrorBoundary.d.ts +16 -0
- package/dist/components/ErrorBoundary/ErrorFallback.d.ts +2 -0
- package/dist/components/FunCountdown/FunCountdown.d.ts +5 -3
- package/dist/components/FunPayments/FunPaymentMeshType.d.ts +2 -2
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +2 -1
- package/dist/components/FunPayments/FunPaymentMoonpayType.d.ts +4 -4
- package/dist/components/FunTransactionSummary/FunTransactionSummary.d.ts +1 -1
- package/dist/consts/customers.d.ts +1 -0
- package/dist/consts/payment.d.ts +1 -1
- package/dist/consts/quote.d.ts +1 -1
- package/dist/hooks/useAnimatedNavigation.d.ts +1 -0
- package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +1 -1
- package/dist/hooks/useCheckoutType.d.ts +5 -11
- package/dist/hooks/useMesh.d.ts +1 -0
- package/dist/index.css +15 -15
- package/dist/index.d.ts +3 -2
- package/dist/index.js +4755 -4137
- package/dist/modals/CheckoutModal/CheckoutComplete.d.ts +13 -0
- package/dist/modals/{FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts → CheckoutModal/CheckoutPrimaryInfo.d.ts} +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep.d.ts +36 -0
- package/dist/modals/CheckoutModal/ConnectExchange.d.ts +16 -0
- package/dist/modals/CheckoutModal/FunCheckoutModal.d.ts +8 -0
- package/dist/modals/CheckoutModal/InputAmount.d.ts +10 -0
- package/dist/modals/CheckoutModal/MeshVerification.d.ts +14 -0
- package/dist/modals/CheckoutModal/PaymentSetup.d.ts +38 -0
- package/dist/modals/CheckoutModal/SelectAsset.d.ts +15 -0
- package/dist/modals/CheckoutModal/SelectPaymentMethod.d.ts +18 -0
- package/dist/modals/CheckoutModal/stepTransition.d.ts +74 -0
- package/dist/modals/CheckoutModal/useAccountBalancePostCheckout.d.ts +3 -0
- package/dist/modals/CheckoutModal/useAssetPrice.d.ts +9 -0
- package/dist/modals/CheckoutModal/useBottomSection.d.ts +2 -0
- package/dist/modals/CheckoutModal/useRedirectToCheckoutHistory.d.ts +3 -0
- package/dist/modals/CheckoutModal/useSourceAssetConfirm.d.ts +25 -0
- package/dist/modals/CheckoutModal/useUpdateSourceAssetForCard.d.ts +2 -0
- package/dist/providers/FunkitCheckoutContext.d.ts +24 -6
- package/dist/providers/FunkitMeshProvider.d.ts +12 -6
- package/dist/providers/FunkitMoonpayProvider.d.ts +3 -1
- package/dist/utils/{assetAbort.d.ts → aborts.d.ts} +1 -0
- package/dist/utils/assets.d.ts +8 -1
- package/dist/utils/checkout.d.ts +2 -2
- package/dist/utils/exhaustiveCheck.d.ts +1 -0
- package/dist/utils/flags/config.d.ts +0 -10
- package/dist/utils/flags/index.d.ts +0 -1
- package/dist/utils/funLogger.d.ts +1 -1
- package/dist/utils/mesh.d.ts +1 -1
- package/dist/utils/purifyCheckoutHistoryItem.d.ts +3 -0
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/chunk-2EMZOYQI.js +101 -0
- package/dist/wallets/walletConnectors/chunk-5K4DIMYR.js +95 -0
- package/dist/wallets/walletConnectors/chunk-AUVBWDIK.js +102 -0
- package/dist/wallets/walletConnectors/chunk-AXPQHNUI.js +71 -0
- package/dist/wallets/walletConnectors/chunk-B7FHT3CB.js +94 -0
- package/dist/wallets/walletConnectors/chunk-EFIENLEE.js +98 -0
- package/dist/wallets/walletConnectors/chunk-FLTQRYFS.js +27 -0
- package/dist/wallets/walletConnectors/chunk-L7QI6PBN.js +108 -0
- package/dist/wallets/walletConnectors/chunk-QP2BIVXD.js +73 -0
- package/dist/wallets/walletConnectors/chunk-UWZQZY4S.js +149 -0
- package/dist/wallets/walletConnectors/chunk-UZEMNN3Q.js +96 -0
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +70 -70
- package/dist/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.js +2 -2
- package/dist/wallets/walletConnectors/okxWallet/okxWallet.js +2 -2
- package/dist/wallets/walletConnectors/rainbowWallet/rainbowWallet.js +2 -2
- package/dist/wallets/walletConnectors/roninWallet/roninWallet.js +2 -2
- package/dist/wallets/walletConnectors/safepalWallet/safepalWallet.js +2 -2
- package/dist/wallets/walletConnectors/subWallet/subWallet.js +2 -2
- package/dist/wallets/walletConnectors/tokenPocketWallet/tokenPocketWallet.js +2 -2
- package/dist/wallets/walletConnectors/trustWallet/trustWallet.js +2 -2
- package/dist/wallets/walletConnectors/zerionWallet/zerionWallet.js +2 -2
- package/package.json +19 -5
- package/dist/components/FunMeshVerificationStep/FunMeshVerificationStep.d.ts +0 -12
- package/dist/modals/FunCheckoutModal/FunCheckoutConfirmationStep.d.ts +0 -8
- package/dist/modals/FunCheckoutModal/FunCheckoutConnectExchangeStep.d.ts +0 -10
- package/dist/modals/FunCheckoutModal/FunCheckoutInputAmountStep.d.ts +0 -9
- package/dist/modals/FunCheckoutModal/FunCheckoutModal.d.ts +0 -22
- package/dist/modals/FunCheckoutModal/FunCheckoutSelectAssetStep.d.ts +0 -10
- package/dist/modals/FunCheckoutModal/FunCheckoutVerifyDetailsStep.d.ts +0 -9
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,56 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 3.1.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- c98080b: refactor: persist Signature Denied message after signature is rejected
|
|
8
|
+
- 4bcc21b: feat: dynamic action params
|
|
9
|
+
|
|
10
|
+
### Patch Changes
|
|
11
|
+
|
|
12
|
+
- 13b3185: fix: unaccesible login options when misconfigured
|
|
13
|
+
- f77e6b1: fix: stringify and persist generateActionsParams to checkout record
|
|
14
|
+
- 463a9d6: feat: show exact absolute amount initially
|
|
15
|
+
- 4bcc21b: fix: clicking back on order review breaking navigation & typos
|
|
16
|
+
- 4bcc21b: fix: silence console warnings
|
|
17
|
+
- 298847e: feat: added ability for getCheckoutQuote to be aborted
|
|
18
|
+
- 8a4aee3: refactor: update geoblock list
|
|
19
|
+
- e0c16aa: fix: modal topbar padding
|
|
20
|
+
- bd54935: feat: added & exposed 2 new hooks - useCheckoutListenerByUserId and useCheckoutListenerByCheckoutId
|
|
21
|
+
- e045534: refactor: non-nullable checkoutId
|
|
22
|
+
- f450fe5: refactor: remove redundant checkoutItem usage
|
|
23
|
+
- ba87dcf: refactor: use arbitrum as target chain for dydx in asset selection phase
|
|
24
|
+
- 3d974d2: fix: okx exchange connection
|
|
25
|
+
- 479287a: refactor: better api error message handling
|
|
26
|
+
- 4bcc21b: fix: fix phantom wallet icon
|
|
27
|
+
- 5a2a8e2: fix: error messages not appearing in checkout
|
|
28
|
+
- 4bcc21b: fix: okx icon
|
|
29
|
+
- b23ab80: fix: update dividers behavior&visuals
|
|
30
|
+
- 22d7f9a: refactor: silence flag exposure logs
|
|
31
|
+
- 500519d: refactor: remove isFastForwarded
|
|
32
|
+
- 13b3185: fix: redundant login option divider
|
|
33
|
+
- 010b5fe: chore: deprecate unused flags
|
|
34
|
+
- 53ebefb: refactor: add possibility for always displayed modal dividers
|
|
35
|
+
- Updated dependencies [f77e6b1]
|
|
36
|
+
- Updated dependencies [3080712]
|
|
37
|
+
- Updated dependencies [298847e]
|
|
38
|
+
- Updated dependencies [479287a]
|
|
39
|
+
- @funkit/api-base@1.1.1
|
|
40
|
+
- @funkit/core@2.1.6
|
|
41
|
+
- @funkit/wagmi-tools@3.0.8
|
|
42
|
+
|
|
43
|
+
## 3.0.3
|
|
44
|
+
|
|
45
|
+
### Patch Changes
|
|
46
|
+
|
|
47
|
+
- bf61cb4: feat(connect): show powered by tagline based on feature flag
|
|
48
|
+
- 9eed208: fix: custom chains do not show up well in chain modal
|
|
49
|
+
- Updated dependencies [1836ec2]
|
|
50
|
+
- @funkit/api-base@1.1.0
|
|
51
|
+
- @funkit/core@2.1.5
|
|
52
|
+
- @funkit/wagmi-tools@3.0.7
|
|
53
|
+
|
|
3
54
|
## 3.0.2
|
|
4
55
|
|
|
5
56
|
### Patch Changes
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
2
|
import { BoxProps } from '../Box/Box';
|
|
3
|
+
import { FunCountdownProps } from '../FunCountdown/FunCountdown';
|
|
3
4
|
interface DialogProps {
|
|
4
5
|
open: boolean;
|
|
5
6
|
onClose: () => void;
|
|
@@ -16,7 +17,7 @@ interface DialogProps {
|
|
|
16
17
|
*/
|
|
17
18
|
export declare function Dialog({ children, onClose, open, titleId, isHidden, isSmartCloseable, }: DialogProps): React.JSX.Element;
|
|
18
19
|
export declare namespace Dialog {
|
|
19
|
-
var Title: ({ title, titleMeta, hasCloseButton: hasCloseButtonProp, isCloseDisabled, onClose, hasBackButton: hasBackButtonProp, isBackDisabled, onBack, backAnimation, skipBackDelay, countdownSeconds, countdownKey, delayCountdownReturnByBuffer, dydxHideBack, }: DialogTitleProps) => React.JSX.Element;
|
|
20
|
+
var Title: ({ title, titleMeta, hasCloseButton: hasCloseButtonProp, isCloseDisabled, onClose, hasBackButton: hasBackButtonProp, isBackDisabled, onBack, countdownRenderProps, backAnimation, skipBackDelay, countdownSeconds, countdownKey, delayCountdownReturnByBuffer, dydxHideBack, }: DialogTitleProps) => React.JSX.Element;
|
|
20
21
|
var Content: ({ children, fullHeight, paddingLeft, paddingBottom, className, withTopDivider, withBottomDivider, id, ...boxProps }: DialogContentProps) => React.JSX.Element;
|
|
21
22
|
var BottomSection: ({ paddingX, ...boxProps }: Omit<BoxProps, "children">) => React.JSX.Element;
|
|
22
23
|
var BottomBar: ({ topSection, actionButtonProps, bottomSection, }: import("../FunBottomBar/FunBottomBar").FunBottomBarProps) => React.JSX.Element;
|
|
@@ -25,8 +26,8 @@ interface DialogContentProps extends BoxProps {
|
|
|
25
26
|
children: ReactNode;
|
|
26
27
|
/** Whether the content should fill all available space */
|
|
27
28
|
fullHeight?: boolean;
|
|
28
|
-
withTopDivider?:
|
|
29
|
-
withBottomDivider?:
|
|
29
|
+
withTopDivider?: 'always' | 'scroll' | 'never';
|
|
30
|
+
withBottomDivider?: 'always' | 'scroll' | 'never';
|
|
30
31
|
id?: string;
|
|
31
32
|
}
|
|
32
33
|
export interface DialogTitleProps {
|
|
@@ -44,5 +45,11 @@ export interface DialogTitleProps {
|
|
|
44
45
|
countdownKey?: string;
|
|
45
46
|
delayCountdownReturnByBuffer?: boolean;
|
|
46
47
|
dydxHideBack?: boolean;
|
|
48
|
+
countdownRenderProps?: {
|
|
49
|
+
onBeforeCountdownEnds?: FunCountdownProps['onBeforeCountdownEnds'];
|
|
50
|
+
onBeforeCountdownEndsSeconds?: FunCountdownProps['onBeforeCountdownEndsSeconds'];
|
|
51
|
+
onCountdownEnded?: FunCountdownProps['onCountdownEnded'];
|
|
52
|
+
onCountdownLastSecond?: FunCountdownProps['onCountdownLastSecond'];
|
|
53
|
+
};
|
|
47
54
|
}
|
|
48
55
|
export {};
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
import { FunCheckoutStep } from '../../modals/FunCheckoutModal/FunCheckoutModal';
|
|
3
2
|
import { FunkitActiveCheckoutItem } from '../../providers/FunkitCheckoutContext';
|
|
4
3
|
interface DydxSwitchTabProps {
|
|
5
|
-
checkoutItem: FunkitActiveCheckoutItem
|
|
6
|
-
|
|
4
|
+
checkoutItem: FunkitActiveCheckoutItem;
|
|
5
|
+
showSwitch: boolean;
|
|
7
6
|
onClose?: () => void;
|
|
8
7
|
}
|
|
9
|
-
export declare function DydxSwitchTab({ checkoutItem,
|
|
8
|
+
export declare function DydxSwitchTab({ checkoutItem, showSwitch, onClose, }: DydxSwitchTabProps): React.JSX.Element | null;
|
|
10
9
|
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { Component, ErrorInfo, ReactNode } from 'react';
|
|
3
|
+
interface ErrorBoundaryProps {
|
|
4
|
+
children: ReactNode;
|
|
5
|
+
fallback?: ReactNode;
|
|
6
|
+
}
|
|
7
|
+
interface ErrorBoundaryState {
|
|
8
|
+
hasError: boolean;
|
|
9
|
+
}
|
|
10
|
+
declare class ErrorBoundary extends Component<ErrorBoundaryProps, ErrorBoundaryState> {
|
|
11
|
+
constructor(props: ErrorBoundaryProps);
|
|
12
|
+
static getDerivedStateFromError(_: Error): ErrorBoundaryState;
|
|
13
|
+
componentDidCatch(error: Error, errorInfo: ErrorInfo): void;
|
|
14
|
+
render(): string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined;
|
|
15
|
+
}
|
|
16
|
+
export default ErrorBoundary;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
interface FunCountdownProps {
|
|
2
|
+
export interface FunCountdownProps {
|
|
3
3
|
countdownSeconds: number;
|
|
4
4
|
initialRemainingSeconds?: number;
|
|
5
5
|
counterSize?: number;
|
|
6
6
|
strokeWidth?: number;
|
|
7
7
|
onCountdownEnded?: () => void;
|
|
8
|
+
onBeforeCountdownEndsSeconds?: number;
|
|
9
|
+
onBeforeCountdownEnds?: () => void;
|
|
10
|
+
onCountdownLastSecond?: () => void;
|
|
8
11
|
children?: ReactNode | ((remainingSeconds: number) => ReactNode);
|
|
9
12
|
}
|
|
10
|
-
export declare const FunCountdown: ({ countdownSeconds, initialRemainingSeconds, counterSize, onCountdownEnded, strokeWidth, children, }: FunCountdownProps) => React.JSX.Element;
|
|
11
|
-
export {};
|
|
13
|
+
export declare const FunCountdown: ({ countdownSeconds, initialRemainingSeconds, counterSize, onCountdownEnded, onBeforeCountdownEnds, onBeforeCountdownEndsSeconds, onCountdownLastSecond, strokeWidth, children, }: FunCountdownProps) => React.JSX.Element;
|
|
@@ -2,9 +2,9 @@ import React from 'react';
|
|
|
2
2
|
import { MeshExchanges } from '../../utils/mesh';
|
|
3
3
|
export interface FunPaymentMeshTypeProps {
|
|
4
4
|
isParentLoading: boolean;
|
|
5
|
-
|
|
5
|
+
onConfirmExchange: (exchange: MeshExchanges) => void;
|
|
6
6
|
}
|
|
7
7
|
/**
|
|
8
8
|
* This component handles payments <> mesh integration
|
|
9
9
|
*/
|
|
10
|
-
export declare function FunPaymentMeshType({ isParentLoading,
|
|
10
|
+
export declare function FunPaymentMeshType({ isParentLoading, onConfirmExchange, }: FunPaymentMeshTypeProps): React.JSX.Element;
|
|
@@ -6,11 +6,12 @@ export declare function ExistingPaymentMethodItem({ paymentMethodInfo, }: {
|
|
|
6
6
|
/**
|
|
7
7
|
* Handle selection and adding of payment methods
|
|
8
8
|
*/
|
|
9
|
-
export declare function FunPaymentMethods({ primaryInfo, checkoutId, onSelect, isDisabled, depositAmount, isLoadingGeoCheck, }: {
|
|
9
|
+
export declare function FunPaymentMethods({ primaryInfo, checkoutId, onSelect, isDisabled, depositAmount, isLoadingGeoCheck, onCloseWrapper, }: {
|
|
10
10
|
primaryInfo: React.ReactNode;
|
|
11
11
|
checkoutId: string;
|
|
12
12
|
onSelect: (paymentMethodInfo: PaymentMethodInfo) => void;
|
|
13
13
|
isDisabled?: boolean;
|
|
14
14
|
depositAmount: string;
|
|
15
15
|
isLoadingGeoCheck: boolean;
|
|
16
|
+
onCloseWrapper: () => void;
|
|
16
17
|
}): React.JSX.Element;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { Address } from 'viem';
|
|
3
|
-
export
|
|
3
|
+
export interface FunPaymentMoonpayProps {
|
|
4
4
|
paymentAddress: Address;
|
|
5
5
|
depositToken: string;
|
|
6
6
|
depositTokenChainId: string;
|
|
7
7
|
depositTokenAmount: number;
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}): React.JSX.Element;
|
|
8
|
+
redirectToCheckoutHistory?: (depositAddress: Address) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare function FunPaymentMoonpayType({ paymentAddress, depositToken, depositTokenChainId, depositTokenAmount, redirectToCheckoutHistory, }: FunPaymentMoonpayProps): React.JSX.Element;
|
|
@@ -9,6 +9,6 @@ export type FeesItem = null | {
|
|
|
9
9
|
platformFeesTokenSymbol?: string | null;
|
|
10
10
|
};
|
|
11
11
|
export declare function FunTransactionSummary({ checkoutId, errorMessage, }: {
|
|
12
|
-
checkoutId: string
|
|
12
|
+
checkoutId: string;
|
|
13
13
|
errorMessage?: string;
|
|
14
14
|
}): React.JSX.Element;
|
package/dist/consts/payment.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import { ReactNode } from 'react';
|
|
|
3
3
|
export declare enum PaymentMethod {
|
|
4
4
|
/** Moonpay - Credit / Debit Card **/
|
|
5
5
|
CARD = "card",
|
|
6
|
-
/**
|
|
6
|
+
/** Direct Transfer: used in polymarket **/
|
|
7
7
|
TRANSFER = "transfer",
|
|
8
8
|
/** Account Balance **/
|
|
9
9
|
ACCOUNT_BALANCE = "balance",
|
package/dist/consts/quote.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare function useCheckoutAccountBalanceTransfer(checkoutId: string
|
|
1
|
+
export declare function useCheckoutAccountBalanceTransfer(checkoutId: string): {
|
|
2
2
|
generateCheckoutTransferOpItems: (toAddress: string, tokenAmount: number | string) => Promise<{
|
|
3
3
|
rFunWallet: import("@funkit/core").FunWallet;
|
|
4
4
|
rFunWalletAuth: import("@funkit/core").Auth;
|
|
@@ -1,11 +1,5 @@
|
|
|
1
|
-
import { FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext';
|
|
2
|
-
export declare function
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
};
|
|
7
|
-
export declare function useCheckoutType(checkoutItem: FunkitActiveCheckoutItem | null): {
|
|
8
|
-
isCheckoutCrFlow: boolean;
|
|
9
|
-
isCheckoutDirectCrFlow: boolean;
|
|
10
|
-
isCheckoutPostActionRequired: boolean;
|
|
11
|
-
};
|
|
1
|
+
import { FunkitActiveCheckoutItem, FunkitCheckoutActionParams, FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
|
|
2
|
+
export declare function evaluateCheckoutGenerateActionsParams(config: FunkitCheckoutConfig): FunkitCheckoutActionParams[];
|
|
3
|
+
export declare function isCheckoutCrFlow(checkoutItem: FunkitActiveCheckoutItem): boolean;
|
|
4
|
+
export declare function isCheckoutDirectCrFlow(checkoutItem: FunkitActiveCheckoutItem): boolean;
|
|
5
|
+
export declare function isCheckoutPostActionRequired(config: FunkitCheckoutConfig): boolean;
|
package/dist/hooks/useMesh.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { PaymentMethodInfo } from '../consts/payment';
|
|
|
5
5
|
import { MeshExchanges } from '../utils/mesh';
|
|
6
6
|
export declare const getMeshExchangeIconMap: (size?: number) => Partial<Record<MeshExchanges, ReactNode>>;
|
|
7
7
|
export declare const getSupportedExchanges: () => MeshExchanges[];
|
|
8
|
+
export declare function getExchangeName(exchange: MeshExchanges): string;
|
|
8
9
|
export declare const useMeshExchanges: ({ fullInfo, iconSize, }: {
|
|
9
10
|
fullInfo?: boolean;
|
|
10
11
|
iconSize?: number;
|
package/dist/index.css
CHANGED
|
@@ -6258,7 +6258,7 @@ input[type=number] {
|
|
|
6258
6258
|
color: var(--rk-colors-secondaryText);
|
|
6259
6259
|
}
|
|
6260
6260
|
|
|
6261
|
-
/* vanilla-extract-css-ns:src/css/modalTransitionStyles.css.ts.vanilla.css?source=
|
|
6261
|
+
/* vanilla-extract-css-ns:src/css/modalTransitionStyles.css.ts.vanilla.css?source=QGtleWZyYW1lcyBzdGdqeGwwIHsKICAwJSB7CiAgICB0cmFuc2Zvcm06IHNjYWxlKDAuNyk7CiAgICBvcGFjaXR5OiAwLjI7CiAgfQogIDEwMCUgewogICAgdHJhbnNmb3JtOiBzY2FsZSgxKTsKICAgIG9wYWNpdHk6IDE7CiAgfQp9CkBrZXlmcmFtZXMgc3RnanhsMSB7CiAgMCUgewogICAgdHJhbnNmb3JtOiBzY2FsZSgxKTsKICAgIG9wYWNpdHk6IDE7CiAgfQogIDkwJSB7CiAgICB0cmFuc2Zvcm06IHNjYWxlKDAuOCk7CiAgICBvcGFjaXR5OiAwLjI7CiAgfQogIDEwMCUgewogICAgdHJhbnNmb3JtOiBzY2FsZSgwLjUpOwogICAgb3BhY2l0eTogMDsKICB9Cn0KLnN0Z2p4bDIgewogIGFuaW1hdGlvbi1kdXJhdGlvbjogNzVtczsKICBhbmltYXRpb24tdGltaW5nLWZ1bmN0aW9uOiBsaW5lYXI7CiAgYW5pbWF0aW9uLWZpbGwtbW9kZTogZm9yd2FyZHM7CiAgYW5pbWF0aW9uLW5hbWU6IHN0Z2p4bDA7Cn0KLnN0Z2p4bDMgewogIGFuaW1hdGlvbi1kdXJhdGlvbjogNzVtczsKICBhbmltYXRpb24tdGltaW5nLWZ1bmN0aW9uOiBsaW5lYXI7CiAgYW5pbWF0aW9uLWZpbGwtbW9kZTogZm9yd2FyZHM7CiAgYW5pbWF0aW9uLW5hbWU6IHN0Z2p4bDE7Cn0= */
|
|
6262
6262
|
@keyframes stgjxl0 {
|
|
6263
6263
|
0% {
|
|
6264
6264
|
transform: scale(0.7);
|
|
@@ -6284,13 +6284,13 @@ input[type=number] {
|
|
|
6284
6284
|
}
|
|
6285
6285
|
}
|
|
6286
6286
|
[data-rk] .stgjxl2 {
|
|
6287
|
-
animation-duration:
|
|
6287
|
+
animation-duration: 75ms;
|
|
6288
6288
|
animation-timing-function: linear;
|
|
6289
6289
|
animation-fill-mode: forwards;
|
|
6290
6290
|
animation-name: stgjxl0;
|
|
6291
6291
|
}
|
|
6292
6292
|
[data-rk] .stgjxl3 {
|
|
6293
|
-
animation-duration:
|
|
6293
|
+
animation-duration: 75ms;
|
|
6294
6294
|
animation-timing-function: linear;
|
|
6295
6295
|
animation-fill-mode: forwards;
|
|
6296
6296
|
animation-name: stgjxl1;
|
|
@@ -6530,6 +6530,18 @@ input[type=number] {
|
|
|
6530
6530
|
outline: none;
|
|
6531
6531
|
}
|
|
6532
6532
|
|
|
6533
|
+
/* src/components/FunTransactionSummary/FunTxSummaryComponents.css */
|
|
6534
|
+
.fun-container-content-expanded {
|
|
6535
|
+
transition: all 0.5s ease-in-out;
|
|
6536
|
+
max-height: 250px;
|
|
6537
|
+
overflow: hidden;
|
|
6538
|
+
}
|
|
6539
|
+
.fun-container-content-collapsed {
|
|
6540
|
+
max-height: 0px;
|
|
6541
|
+
transition: all 0.4s ease-out;
|
|
6542
|
+
overflow: hidden;
|
|
6543
|
+
}
|
|
6544
|
+
|
|
6533
6545
|
/* vanilla-extract-css-ns:src/components/FunSelectBrokerage/FunSelectBrokerage.css.ts.vanilla.css?source=Ll8xd2h1bGR2MCB7CiAgbWF4LWhlaWdodDogMjIwcHg7CiAgb3ZlcmZsb3cteTogYXV0bzsKICBvdmVyZmxvdy14OiBoaWRkZW47Cn0= */
|
|
6534
6546
|
[data-rk] ._1whuldv0 {
|
|
6535
6547
|
max-height: 220px;
|
|
@@ -6550,15 +6562,3 @@ input[type=number] {
|
|
|
6550
6562
|
display: flex;
|
|
6551
6563
|
flex: 1;
|
|
6552
6564
|
}
|
|
6553
|
-
|
|
6554
|
-
/* src/components/FunTransactionSummary/FunTxSummaryComponents.css */
|
|
6555
|
-
.fun-container-content-expanded {
|
|
6556
|
-
transition: all 0.5s ease-in-out;
|
|
6557
|
-
max-height: 250px;
|
|
6558
|
-
overflow: hidden;
|
|
6559
|
-
}
|
|
6560
|
-
.fun-container-content-collapsed {
|
|
6561
|
-
max-height: 0px;
|
|
6562
|
-
transition: all 0.4s ease-out;
|
|
6563
|
-
overflow: hidden;
|
|
6564
|
-
}
|
package/dist/index.d.ts
CHANGED
|
@@ -13,8 +13,8 @@ export type { DisclaimerComponent } from './providers/AppContext';
|
|
|
13
13
|
export type { AuthenticationConfig, AuthenticationStatus, } from './providers/AuthenticationContext';
|
|
14
14
|
export { createAuthenticationAdapter, FunkitConnectAuthenticationProvider, } from './providers/AuthenticationContext';
|
|
15
15
|
export type { AvatarComponent } from './providers/AvatarContext';
|
|
16
|
-
export type { FunkitCheckoutConfig } from './providers/FunkitCheckoutContext';
|
|
17
|
-
export { useFunkitCheckout } from './providers/FunkitCheckoutContext';
|
|
16
|
+
export type { FunkitCheckoutActionParams, FunkitCheckoutConfig, } from './providers/FunkitCheckoutContext';
|
|
17
|
+
export { useCheckoutListenerByCheckoutId, useCheckoutsListenerByUserId, useFunkitCheckout, } from './providers/FunkitCheckoutContext';
|
|
18
18
|
export type { FunkitConfig } from './providers/FunkitConfigContext';
|
|
19
19
|
export type { FunkitConnectChain as Chain } from './providers/FunkitConnectChainContext';
|
|
20
20
|
export type { Theme } from './providers/FunkitProvider';
|
|
@@ -23,6 +23,7 @@ export { useActiveTheme } from './providers/FunkitThemeProvider';
|
|
|
23
23
|
export { useAccountModal, useChainModal, useConnectModal, } from './providers/ModalContext';
|
|
24
24
|
export { darkTheme } from './themes/darkTheme';
|
|
25
25
|
export { lightTheme } from './themes/lightTheme';
|
|
26
|
+
export type { PurifiedCheckoutHistoryItem } from './utils/purifyCheckoutHistoryItem';
|
|
26
27
|
export { getDefaultWallets } from './wallets/getDefaultWallets';
|
|
27
28
|
export type { FunkitConnectWalletConnectParameters, Wallet, WalletDetailsParams, WalletList, } from './wallets/Wallet';
|
|
28
29
|
export { useFunkitAccount, useFunkitDisconnect, useFunkitSwitchChains, } from './providers/GeneralWalletProvider';
|