@funkit/connect 13.1.1 → 13.2.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 +46 -0
- package/dist/clients/aave.d.ts +1 -1
- package/dist/clients/{chunk-AJGDTTRJ.js → chunk-3NHG6UYS.js} +1 -1
- package/dist/clients/{chunk-ZBBYOJWK.js → chunk-4LM2J6AX.js} +8 -0
- package/dist/clients/{chunk-NNMZMHO6.js → chunk-AN6A4SB5.js} +2 -2
- package/dist/clients/{chunk-D6EY2WW4.js → chunk-LNUR7YLW.js} +1 -1
- package/dist/clients/{chunk-ZEXIDBIZ.js → chunk-PNYV3G5M.js} +1 -1
- package/dist/clients/internal/nado/withdrawalCallback.js +3 -3
- package/dist/clients/internal/nado/withdrawalErrors.js +2 -2
- package/dist/clients/internal/nado/withdrawalForm.js +3 -3
- package/dist/clients/internal/nado/withdrawalStatus.js +3 -3
- package/dist/clients/lighter.js +3 -3
- package/dist/clients/mallard.d.ts +9 -3
- package/dist/clients/mallard.js +5 -3
- package/dist/clients/nado.js +3 -3
- package/dist/components/Dropdown/BaseDropdownItem.d.ts +1 -1
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.d.ts +2 -3
- package/dist/components/FunTransactionSummary/PaymentFeesSummary.track.d.ts +2 -3
- package/dist/components/ModalErrorState/ModalErrorState.d.ts +2 -3
- package/dist/consts/customers.d.ts +1 -1
- package/dist/consts/polymarket.d.ts +1 -1
- package/dist/domains/clientMetadata.d.ts +1 -1
- package/dist/domains/convert/hostTimeout.d.ts +1 -1
- package/dist/domains/destinationAssetBalance.d.ts +1 -1
- package/dist/hooks/queries/useWithdrawalQuote.d.ts +2 -3
- package/dist/hooks/statsig/index.d.ts +1 -0
- package/dist/hooks/track/analytics/mappers.d.ts +11 -1
- package/dist/hooks/track/analytics/swappedErrorCode.d.ts +1 -0
- package/dist/hooks/track/analytics/useTrackErrorShown.d.ts +2 -3
- package/dist/hooks/useConvertBalances.d.ts +6 -1
- package/dist/hooks/useFunkitMaxCheckoutUsdInfo.d.ts +3 -3
- package/dist/hooks/useModalStateValueWithProp.d.ts +1 -1
- package/dist/hooks/useRefreshBalancesOnDeposit.d.ts +20 -0
- package/dist/index.js +1412 -1006
- package/dist/interfaces/solanaWallet.d.ts +2 -2
- package/dist/modals/CheckoutModal/FiatV2/FiatV2Step.d.ts +17 -0
- package/dist/modals/CheckoutModal/FiatV2/fiatV2PaymentSelectionEffects.d.ts +26 -0
- package/dist/modals/CheckoutModal/FiatV2/useFiatV2PaymentSelectionHost.d.ts +22 -0
- package/dist/modals/CheckoutModal/FunCheckoutStep.d.ts +3 -1
- package/dist/modals/CheckoutModal/InputAmount/useCheckoutAmountLimits.d.ts +3 -3
- package/dist/modals/CheckoutModal/SourceChange/AddCardItem.d.ts +9 -0
- package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +3 -0
- package/dist/modals/CheckoutModal/SourceChange/useAddCardRow.d.ts +12 -0
- package/dist/modals/CheckoutModal/stepTransition.d.ts +3 -0
- package/dist/modals/PolymarketPerpsTransfer/TransferActionButton.d.ts +5 -5
- package/dist/modals/WithdrawalModal/WithdrawalContent.d.ts +2 -3
- package/dist/providers/FunkitQuoteContext.track.d.ts +2 -3
- package/dist/utils/checkout.d.ts +2 -2
- package/dist/v2/screens/fiat/FiatPlaceholderScreen.d.ts +9 -0
- package/dist/wallets/walletConnectors/index.js +38 -38
- package/package.json +3 -3
|
@@ -6,12 +6,12 @@ import type { FunkitSolanaAdapter } from '@funkit/fun-relay';
|
|
|
6
6
|
export interface SolanaWalletConnection {
|
|
7
7
|
/**
|
|
8
8
|
* Wallet name, e.g. `Phantom`. Picks the icon when none is supplied, and is
|
|
9
|
-
* how funkit
|
|
9
|
+
* how funkit recognizes the same wallet connected on both ecosystems.
|
|
10
10
|
*/
|
|
11
11
|
name: string;
|
|
12
12
|
/**
|
|
13
13
|
* Icon to show for this wallet, as a URL or data URI. Falls back to a
|
|
14
|
-
* bundled icon for wallets funkit
|
|
14
|
+
* bundled icon for wallets funkit recognizes by name, then to a generic one.
|
|
15
15
|
*/
|
|
16
16
|
icon?: string;
|
|
17
17
|
/**
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import type { CheckoutModalCommonState } from '../stepTransition.shared';
|
|
2
|
+
import type { FunCheckoutStep } from '../FunCheckoutStep';
|
|
3
|
+
import type { ModalStepInfo } from '../stepTransition';
|
|
4
|
+
export type FiatV2State = CheckoutModalCommonState;
|
|
5
|
+
/**
|
|
6
|
+
* The flow has no forward exit yet, and Back returns to the picker through
|
|
7
|
+
* history. `null` makes the step's `onNext` uncallable on purpose, because
|
|
8
|
+
* `onNext` below returns the state unchanged.
|
|
9
|
+
*/
|
|
10
|
+
export type FiatV2Next = null;
|
|
11
|
+
/**
|
|
12
|
+
* The bridge from the V1 checkout modal into the V2 checkout, which arrives
|
|
13
|
+
* with the FiatV2 payment method today. Every V2 screen renders under this one
|
|
14
|
+
* step, so the V1 step registry and picker never branch on which V2 screen is
|
|
15
|
+
* showing.
|
|
16
|
+
*/
|
|
17
|
+
export declare const FiatV2StepInfo: ModalStepInfo<FunCheckoutStep.FIAT_V2>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import type { CardCheckRefusal, EnteredCard } from '@funkit/connect-core';
|
|
2
|
+
export type CardCheckResult = {
|
|
3
|
+
outcome: 'checked';
|
|
4
|
+
lifetimeMs?: number;
|
|
5
|
+
} | {
|
|
6
|
+
outcome: 'refused';
|
|
7
|
+
refusal: CardCheckRefusal;
|
|
8
|
+
};
|
|
9
|
+
/**
|
|
10
|
+
* The side effects the FiatV2 payment selection reducer asks its host to run.
|
|
11
|
+
* The reducer never calls the network or reads the clock; the host runs these
|
|
12
|
+
* and sends the answers back as events.
|
|
13
|
+
* - Pass a stable object (module constant or memoized): the expiry timer
|
|
14
|
+
* restarts when this identity changes.
|
|
15
|
+
*/
|
|
16
|
+
export interface FiatV2PaymentSelectionEffects {
|
|
17
|
+
/** `POST /fiat/cards/check`. A throw is reported as `CARD_CHECK_FAILED`. */
|
|
18
|
+
checkCard(card: EnteredCard): Promise<CardCheckResult>;
|
|
19
|
+
/** Device clock in ms. Held-card expiry is measured against it. */
|
|
20
|
+
now(): number;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* M0 stand-in until the card check route exists in api-base. Every check is
|
|
24
|
+
* refused as retryable, so the flow can be driven end to end without a vault.
|
|
25
|
+
*/
|
|
26
|
+
export declare const UNAVAILABLE_CARD_CHECK: FiatV2PaymentSelectionEffects;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { type FiatV2PaymentSelectionEvent, type FiatV2PaymentSelectionState } from '@funkit/connect-core';
|
|
2
|
+
import type { FiatV2PaymentSelectionEffects } from './fiatV2PaymentSelectionEffects';
|
|
3
|
+
/**
|
|
4
|
+
* Events a V2 screen may send. The rest (check answers, expiry, saved-card
|
|
5
|
+
* loads, saves) come from the host's own effects, so a screen can't fake them.
|
|
6
|
+
*/
|
|
7
|
+
export type FiatV2BuyerPaymentEvent = Extract<FiatV2PaymentSelectionEvent, {
|
|
8
|
+
type: 'PAYMENT_METHOD_SELECTED' | 'CARD_ENTRY_OPENED' | 'CARD_ENTRY_CLOSED' | 'CARD_SUBMITTED' | 'CARD_CHECK_RETRIED' | 'CARD_SELECTED' | 'CHANGE_CARD';
|
|
9
|
+
}>;
|
|
10
|
+
/**
|
|
11
|
+
* Holds machine 6 (FiatV2 payment selection) for the FIAT_V2 step and runs the side
|
|
12
|
+
* effects its states ask for: the card check a Submit or Retry tap starts, and
|
|
13
|
+
* the expiry timer while a card is held. Replaced by the FiatV2 root reducer's host later.
|
|
14
|
+
*/
|
|
15
|
+
export declare function useFiatV2PaymentSelectionHost({ effects, }: {
|
|
16
|
+
effects: FiatV2PaymentSelectionEffects;
|
|
17
|
+
}): {
|
|
18
|
+
state: FiatV2PaymentSelectionState;
|
|
19
|
+
send: (event: FiatV2BuyerPaymentEvent) => void;
|
|
20
|
+
};
|
|
21
|
+
/** Short label for the placeholder screen, e.g. `card:refused:rate_limited`. */
|
|
22
|
+
export declare function stageOf(state: FiatV2PaymentSelectionState): string;
|
|
@@ -23,5 +23,7 @@ export declare enum FunCheckoutStep {
|
|
|
23
23
|
CONVERT_SELECT_SOURCE = "convert_select_source",
|
|
24
24
|
CONVERT_SELECT_DESTINATION = "convert_select_destination",
|
|
25
25
|
WITHDRAWAL_ENTER_AMOUNT = "withdrawal_enter_amount",
|
|
26
|
-
WITHDRAWAL_COMPLETE = "withdrawal_complete"
|
|
26
|
+
WITHDRAWAL_COMPLETE = "withdrawal_complete",
|
|
27
|
+
/** Bridge into the V2 checkout (FiatV2 today). One step hosts every V2 screen. */
|
|
28
|
+
FIAT_V2 = "fiat_v2"
|
|
27
29
|
}
|
|
@@ -4,9 +4,9 @@ import type { FunkitCheckoutConfig } from '../../../providers/FunkitCheckoutCont
|
|
|
4
4
|
export type { CheckoutAmountLimitsUsd };
|
|
5
5
|
/**
|
|
6
6
|
* Resolves the min/max USD bounds for the amount input based on the active
|
|
7
|
-
* payment method. Fetches the inputs (min-transfer floor, global max
|
|
8
|
-
* delegates the per-method rules to
|
|
9
|
-
* `@funkit/connect-core`.
|
|
7
|
+
* payment method. Fetches the inputs (min-transfer floor, global max lowered
|
|
8
|
+
* by the integrator's max) and delegates the per-method rules to
|
|
9
|
+
* `getCheckoutAmountLimitsUsd` in `@funkit/connect-core`.
|
|
10
10
|
*/
|
|
11
11
|
export declare const useCheckoutAmountLimits: ({ checkoutConfig, paymentMethod, }: {
|
|
12
12
|
checkoutConfig: FunkitCheckoutConfig;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Picker row that opens the V2 checkout with FiatV2 to add a debit card. It borrows
|
|
4
|
+
* the legacy card icon only. Choosing it never goes through Meld.
|
|
5
|
+
*/
|
|
6
|
+
export declare function AddCardItem({ isDisabled, onClick, }: {
|
|
7
|
+
isDisabled: boolean;
|
|
8
|
+
onClick: () => void;
|
|
9
|
+
}): React.JSX.Element;
|
|
@@ -59,6 +59,9 @@ export type SourceChangeNext = {
|
|
|
59
59
|
*/
|
|
60
60
|
skipAssetSelect: true;
|
|
61
61
|
paymentMethodInfo: ConnectablePaymentMethodInfo;
|
|
62
|
+
} | {
|
|
63
|
+
/** Open the V2 checkout with FiatV2 from its picker row. */
|
|
64
|
+
fiatV2: true;
|
|
62
65
|
} | {
|
|
63
66
|
/** Enter the cashier withdrawal flow with a resolved single-method config. */
|
|
64
67
|
withdraw: true;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { type ReactNode } from 'react';
|
|
2
|
+
import type { PaymentMethodType } from '../../../hooks/usePaymentSources';
|
|
3
|
+
/**
|
|
4
|
+
* The only place the V1 picker reads the FiatV2 gate. Returns the
|
|
5
|
+
* "Add a card" row, or null when the gate is off so the picker is unchanged.
|
|
6
|
+
*/
|
|
7
|
+
export declare function useAddCardRow({ isDisabled, isSwappedEnabled, tab, onOpen, }: {
|
|
8
|
+
isDisabled: boolean;
|
|
9
|
+
isSwappedEnabled: boolean;
|
|
10
|
+
tab: PaymentMethodType;
|
|
11
|
+
onOpen: () => void;
|
|
12
|
+
}): ReactNode | null;
|
|
@@ -9,6 +9,7 @@ import { type PerpsTransferNext, type PerpsTransferState } from '../PolymarketPe
|
|
|
9
9
|
import { type ConvertSelectDestinationNext, type ConvertSelectDestinationState } from './Convert/ConvertSelectDestinationStep';
|
|
10
10
|
import { type ConvertSelectSourceNext, type ConvertSelectSourceState } from './Convert/ConvertSelectSourceStep';
|
|
11
11
|
import { type ConvertNext, type ConvertState } from './Convert/ConvertStep';
|
|
12
|
+
import { type FiatV2Next, type FiatV2State } from './FiatV2/FiatV2Step';
|
|
12
13
|
import { type SelectBrokerageNext, type SelectBrokerageState } from './Brokerage/SelectBrokerage';
|
|
13
14
|
import { type CheckoutCompleteNext, type CheckoutCompleteState } from './CheckoutComplete/CheckoutComplete';
|
|
14
15
|
import { type ConfirmationStepNext, type ConfirmationStepState } from './ConfirmationStep/ConfirmationStep';
|
|
@@ -113,6 +114,7 @@ export type CheckoutModalState<S extends FunCheckoutStep = FunCheckoutStep> = {
|
|
|
113
114
|
[FunCheckoutStep.CONVERT_SELECT_DESTINATION]: ConvertSelectDestinationState;
|
|
114
115
|
[FunCheckoutStep.WITHDRAWAL_ENTER_AMOUNT]: WithdrawalEnterAmountState;
|
|
115
116
|
[FunCheckoutStep.WITHDRAWAL_COMPLETE]: WithdrawalCompleteState;
|
|
117
|
+
[FunCheckoutStep.FIAT_V2]: FiatV2State;
|
|
116
118
|
}[T] & {
|
|
117
119
|
step: T;
|
|
118
120
|
previousStep?: FunCheckoutStep | null;
|
|
@@ -144,6 +146,7 @@ export type NextPayload<S extends FunCheckoutStep = FunCheckoutStep> = {
|
|
|
144
146
|
[FunCheckoutStep.CONVERT_SELECT_DESTINATION]: ConvertSelectDestinationNext;
|
|
145
147
|
[FunCheckoutStep.WITHDRAWAL_ENTER_AMOUNT]: WithdrawalEnterAmountNext;
|
|
146
148
|
[FunCheckoutStep.WITHDRAWAL_COMPLETE]: WithdrawalCompleteNext;
|
|
149
|
+
[FunCheckoutStep.FIAT_V2]: FiatV2Next;
|
|
147
150
|
}[S] & {
|
|
148
151
|
/** Whether screen transition should change direction to simulate back transition. Only applies if there is a history entry in the stack*/
|
|
149
152
|
reverseAnimation?: boolean;
|
|
@@ -13,7 +13,7 @@ export interface TransferActionButtonProps {
|
|
|
13
13
|
pendingLabel: string;
|
|
14
14
|
/** Label shown on success (already translated). */
|
|
15
15
|
successLabel: string;
|
|
16
|
-
/**
|
|
16
|
+
/** Grays out / blocks the idle button until an amount is entered. */
|
|
17
17
|
isDisabled?: boolean;
|
|
18
18
|
onClick?: () => void;
|
|
19
19
|
testId?: string;
|
|
@@ -26,16 +26,16 @@ export interface TransferActionButtonProps {
|
|
|
26
26
|
* - **loading**: dimmed blue, spinner + loading label, inert.
|
|
27
27
|
* - **pending**: dimmed blue, spinner + pending label, inert — a previous
|
|
28
28
|
* transfer reported by the integrator is still settling.
|
|
29
|
-
* - **success**: secondary (
|
|
29
|
+
* - **success**: secondary (gray) surface, green check + success label, inert.
|
|
30
30
|
*
|
|
31
31
|
* Two details keep the morph smooth:
|
|
32
32
|
*
|
|
33
33
|
* 1. Each state's content (icon + label) is a single absolutely-positioned,
|
|
34
|
-
* centered layer, and we swap whole layers. Because every layer
|
|
34
|
+
* centered layer, and we swap whole layers. Because every layer centers
|
|
35
35
|
* itself, the label never shifts horizontally when the icon appears — the
|
|
36
36
|
* transition is a pure vertical blur/fade (matching the From/To row swap).
|
|
37
|
-
* 2. The
|
|
37
|
+
* 2. The gray surface is the always-present base; the blue sits on top as an
|
|
38
38
|
* overlay whose opacity only ever fades *out* toward success. Nothing
|
|
39
|
-
* brightens mid-transition, so there's no blue "flush" as it turns
|
|
39
|
+
* brightens mid-transition, so there's no blue "flush" as it turns gray.
|
|
40
40
|
*/
|
|
41
41
|
export declare function TransferActionButton({ status, idleLabel, processingLabel, loadingLabel, pendingLabel, successLabel, isDisabled, onClick, testId, }: TransferActionButtonProps): React.JSX.Element;
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { Hex } from 'viem';
|
|
3
3
|
import { type ModalBottomBarIdType } from '../../components/Dialog/Dialog';
|
|
4
|
-
import type {
|
|
4
|
+
import type { AnalyticsNamedStep } from '../../hooks/track/analytics/mappers';
|
|
5
5
|
import type { FunkitActiveWithdrawalItem, MultiSourceWithdrawalConfig, SingleWithdrawalConfig } from '../../providers/FunkitCheckoutContext';
|
|
6
6
|
import { type WithdrawalFormData } from './useWithdrawal';
|
|
7
|
-
import { WithdrawalModalStep } from './types';
|
|
8
7
|
/**
|
|
9
8
|
* Multi-method configs are resolved in WithdrawalModal before reaching here; a
|
|
10
9
|
* multi-source config is resolved by {@link MultiSourceWithdrawContent}.
|
|
11
10
|
*/
|
|
12
11
|
interface WithdrawContentProps {
|
|
13
|
-
analyticsStep:
|
|
12
|
+
analyticsStep: AnalyticsNamedStep;
|
|
14
13
|
/** `executedConfig` is the source that ran — the picked one on a multi-source config. */
|
|
15
14
|
onContinue: (withdrawal: WithdrawalFormData, txHash: Hex, executedConfig: SingleWithdrawalConfig) => void;
|
|
16
15
|
config: SingleWithdrawalConfig | MultiSourceWithdrawalConfig;
|
|
@@ -3,15 +3,14 @@ import type { PaymentMethodInfo } from '../domains/paymentMethods';
|
|
|
3
3
|
import type { FunkitCheckoutQuoteResult, QuotePhaseResult } from '../domains/quote';
|
|
4
4
|
import { QuoteMode } from '../domains/quoteMode';
|
|
5
5
|
import type { PerfQuoteProperties } from '../hooks/track/analytics/events';
|
|
6
|
+
import { type AnalyticsNamedStep } from '../hooks/track/analytics/mappers';
|
|
6
7
|
import type { CheckoutModalEvent } from '../hooks/track/CheckoutModalEvent';
|
|
7
8
|
import type { TrackEventData } from '../hooks/track/useTrack';
|
|
8
9
|
import type { WithdrawModalEvent } from '../hooks/track/WithdrawModalEvent';
|
|
9
|
-
import type { FunCheckoutStep } from '../modals/CheckoutModal/FunCheckoutStep';
|
|
10
|
-
import type { WithdrawalModalStep } from '../modals/WithdrawalModal/types';
|
|
11
10
|
import type { FunkitActiveCheckoutItem } from './FunkitCheckoutContext';
|
|
12
11
|
export declare const trackEventFromBaseQuote: (checkoutItem: FunkitActiveCheckoutItem, eventName: CheckoutModalEvent | WithdrawModalEvent, quoteMode?: QuoteMode) => TrackEventData;
|
|
13
12
|
type PerfQuotePropertiesContext = {
|
|
14
|
-
analyticsStep:
|
|
13
|
+
analyticsStep: AnalyticsNamedStep;
|
|
15
14
|
checkoutItem: FunkitActiveCheckoutItem;
|
|
16
15
|
connectorId: string | undefined;
|
|
17
16
|
directExecutionType: DirectExecutionType | null;
|
package/dist/utils/checkout.d.ts
CHANGED
|
@@ -97,8 +97,8 @@ export declare function isCheckoutCrFlow(config: FunkitCheckoutConfig): boolean;
|
|
|
97
97
|
export declare function isCheckoutPostActionRequired(config: FunkitCheckoutConfig | ServerCheckoutConfig): boolean;
|
|
98
98
|
/**
|
|
99
99
|
* The amount-input switcher labels the *traded* token, which differs by quote
|
|
100
|
-
* mode: in EXACT_IN the entered amount is the source quantity, so it's
|
|
101
|
-
* with the input token; in EXACT_OUT it's the destination quantity,
|
|
100
|
+
* mode: in EXACT_IN the entered amount is the source quantity, so it's labeled
|
|
101
|
+
* with the input token; in EXACT_OUT it's the destination quantity, labeled
|
|
102
102
|
* with the output token. Single source of truth shared by the loaded and
|
|
103
103
|
* loading screens so their labels never diverge.
|
|
104
104
|
*/
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
/**
|
|
3
|
+
* Stand-in for the FiatV2 screens until they land. Shows the FiatV2 stage so
|
|
4
|
+
* the wiring can be checked on staging. Only users with the
|
|
5
|
+
* `enable-web-fiat-deposit-flow` gate can reach it.
|
|
6
|
+
*/
|
|
7
|
+
export declare function FiatPlaceholderScreen({ stage }: {
|
|
8
|
+
stage: string;
|
|
9
|
+
}): React.JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
xdefiWallet
|
|
4
|
+
} from "./chunk-HXX4PRE2.js";
|
|
5
5
|
import {
|
|
6
6
|
zealWallet
|
|
7
7
|
} from "./chunk-GLX5FULK.js";
|
|
@@ -9,8 +9,8 @@ import {
|
|
|
9
9
|
zerionWallet
|
|
10
10
|
} from "./chunk-34B7OJNT.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./chunk-
|
|
12
|
+
safepalWallet
|
|
13
|
+
} from "./chunk-BBB2J3US.js";
|
|
14
14
|
import {
|
|
15
15
|
tahoWallet
|
|
16
16
|
} from "./chunk-U74RFZOL.js";
|
|
@@ -23,15 +23,18 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
tokenaryWallet
|
|
25
25
|
} from "./chunk-TPM5PUJD.js";
|
|
26
|
+
import {
|
|
27
|
+
uniswapWallet
|
|
28
|
+
} from "./chunk-UNDWHCDH.js";
|
|
26
29
|
import {
|
|
27
30
|
trustWallet
|
|
28
31
|
} from "./chunk-SR5CZR3L.js";
|
|
29
|
-
import {
|
|
30
|
-
xdefiWallet
|
|
31
|
-
} from "./chunk-HXX4PRE2.js";
|
|
32
32
|
import {
|
|
33
33
|
walletConnectWallet
|
|
34
34
|
} from "./chunk-DUX4XCDV.js";
|
|
35
|
+
import {
|
|
36
|
+
rabbyWallet
|
|
37
|
+
} from "./chunk-RQ2GXOJL.js";
|
|
35
38
|
import {
|
|
36
39
|
phantomWallet
|
|
37
40
|
} from "./chunk-Q27YVDDH.js";
|
|
@@ -39,8 +42,8 @@ import {
|
|
|
39
42
|
rainbowWallet
|
|
40
43
|
} from "./chunk-ZSSSLFQF.js";
|
|
41
44
|
import {
|
|
42
|
-
|
|
43
|
-
} from "./chunk-
|
|
45
|
+
ramperWallet
|
|
46
|
+
} from "./chunk-GPXIBTWN.js";
|
|
44
47
|
import {
|
|
45
48
|
roninWallet
|
|
46
49
|
} from "./chunk-IA5432IR.js";
|
|
@@ -51,23 +54,20 @@ import {
|
|
|
51
54
|
safeheronWallet
|
|
52
55
|
} from "./chunk-UN3ONVNC.js";
|
|
53
56
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
57
|
+
subWallet
|
|
58
|
+
} from "./chunk-XODA5ESL.js";
|
|
56
59
|
import {
|
|
57
|
-
|
|
58
|
-
} from "./chunk-
|
|
60
|
+
metaMaskWallet
|
|
61
|
+
} from "./chunk-RXRYHMRI.js";
|
|
59
62
|
import {
|
|
60
63
|
ledgerWallet
|
|
61
64
|
} from "./chunk-BL4OC2EJ.js";
|
|
62
|
-
import {
|
|
63
|
-
mewWallet
|
|
64
|
-
} from "./chunk-DSPQXAB2.js";
|
|
65
65
|
import {
|
|
66
66
|
oktoWallet
|
|
67
67
|
} from "./chunk-V4M3SNPS.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
} from "./chunk-
|
|
69
|
+
mewWallet
|
|
70
|
+
} from "./chunk-DSPQXAB2.js";
|
|
71
71
|
import {
|
|
72
72
|
okxWallet
|
|
73
73
|
} from "./chunk-CU5J53XR.js";
|
|
@@ -92,64 +92,64 @@ import {
|
|
|
92
92
|
import {
|
|
93
93
|
frontierWallet
|
|
94
94
|
} from "./chunk-IWOMSW64.js";
|
|
95
|
-
import {
|
|
96
|
-
gateWallet
|
|
97
|
-
} from "./chunk-YRMBR6NA.js";
|
|
98
95
|
import {
|
|
99
96
|
imTokenWallet
|
|
100
97
|
} from "./chunk-YY2JA23M.js";
|
|
101
98
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
99
|
+
gateWallet
|
|
100
|
+
} from "./chunk-YRMBR6NA.js";
|
|
104
101
|
import {
|
|
105
102
|
kresusWallet
|
|
106
103
|
} from "./chunk-V77ATGZT.js";
|
|
104
|
+
import {
|
|
105
|
+
injectedWallet
|
|
106
|
+
} from "./chunk-M75V7OL3.js";
|
|
107
107
|
import {
|
|
108
108
|
clvWallet
|
|
109
109
|
} from "./chunk-4FHNLTR3.js";
|
|
110
|
-
import {
|
|
111
|
-
coin98Wallet
|
|
112
|
-
} from "./chunk-RFCZYLNR.js";
|
|
113
110
|
import {
|
|
114
111
|
bitverseWallet
|
|
115
112
|
} from "./chunk-5AEWIKRA.js";
|
|
116
113
|
import {
|
|
117
114
|
coinbaseWallet
|
|
118
115
|
} from "./chunk-SM2A3OSG.js";
|
|
116
|
+
import {
|
|
117
|
+
coin98Wallet
|
|
118
|
+
} from "./chunk-RFCZYLNR.js";
|
|
119
119
|
import {
|
|
120
120
|
coreWallet
|
|
121
121
|
} from "./chunk-TRZDAXCQ.js";
|
|
122
|
-
import {
|
|
123
|
-
customWallet
|
|
124
|
-
} from "./chunk-VKM5M5UK.js";
|
|
125
122
|
import {
|
|
126
123
|
dawnWallet
|
|
127
124
|
} from "./chunk-LV6YV3DE.js";
|
|
125
|
+
import {
|
|
126
|
+
customWallet
|
|
127
|
+
} from "./chunk-VKM5M5UK.js";
|
|
128
128
|
import {
|
|
129
129
|
desigWallet
|
|
130
130
|
} from "./chunk-DFHP75HV.js";
|
|
131
|
-
import {
|
|
132
|
-
bitgetWallet
|
|
133
|
-
} from "./chunk-HOCKAU5H.js";
|
|
134
|
-
import {
|
|
135
|
-
bitskiWallet
|
|
136
|
-
} from "./chunk-NPITCCJE.js";
|
|
137
131
|
import {
|
|
138
132
|
argentWallet
|
|
139
133
|
} from "./chunk-XSDTNMQY.js";
|
|
134
|
+
import {
|
|
135
|
+
bitgetWallet
|
|
136
|
+
} from "./chunk-HOCKAU5H.js";
|
|
140
137
|
import {
|
|
141
138
|
bifrostWallet
|
|
142
139
|
} from "./chunk-ALGPGI6V.js";
|
|
143
140
|
import {
|
|
144
141
|
bloomWallet
|
|
145
142
|
} from "./chunk-PNHDOC77.js";
|
|
143
|
+
import {
|
|
144
|
+
braveWallet
|
|
145
|
+
} from "./chunk-U2XXV45G.js";
|
|
146
|
+
import {
|
|
147
|
+
bitskiWallet
|
|
148
|
+
} from "./chunk-NPITCCJE.js";
|
|
146
149
|
import {
|
|
147
150
|
bybitWallet
|
|
148
151
|
} from "./chunk-BBDNB5TQ.js";
|
|
149
152
|
import "./chunk-AALSJCUR.js";
|
|
150
|
-
import {
|
|
151
|
-
braveWallet
|
|
152
|
-
} from "./chunk-U2XXV45G.js";
|
|
153
153
|
import "./chunk-EYWGX5LT.js";
|
|
154
154
|
import "./chunk-B454LLKJ.js";
|
|
155
155
|
export {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "13.
|
|
3
|
+
"version": "13.2.0",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -91,9 +91,9 @@
|
|
|
91
91
|
"@aave-dao/aave-address-book": "^4.49.9",
|
|
92
92
|
"@aave/client": "^0.9.3",
|
|
93
93
|
"@datadog/browser-logs": "5.22.0",
|
|
94
|
-
"@funkit/api-base": "10.
|
|
94
|
+
"@funkit/api-base": "10.5.0",
|
|
95
95
|
"@funkit/chains": "3.0.0",
|
|
96
|
-
"@funkit/connect-core": "17.
|
|
96
|
+
"@funkit/connect-core": "17.1.0",
|
|
97
97
|
"@funkit/fun-relay": "4.1.0",
|
|
98
98
|
"@funkit/utils": "5.1.2",
|
|
99
99
|
"@number-flow/react": "^0.5.5",
|