@funkit/connect 9.25.0 → 9.26.1
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 +31 -0
- package/dist/clients/{chunk-7G3QEQFB.js → chunk-2NBYHUIW.js} +1 -1
- package/dist/clients/{chunk-SQ2RX7WY.js → chunk-4IWQ2UT5.js} +11 -8
- package/dist/clients/{chunk-VJZW3MA3.js → chunk-F4SCUKY6.js} +1 -1
- package/dist/clients/{chunk-7UIDHSYG.js → chunk-LUHEVXPD.js} +1 -8
- package/dist/clients/chunk-STLOQEN7.js +11 -0
- package/dist/clients/chunk-UPZNKPYU.js +27 -0
- package/dist/clients/{chunk-MXPZTW2H.js → chunk-VT3ERWXE.js} +4 -2
- package/dist/clients/fanatics.js +5 -3
- package/dist/clients/lighter.js +7 -4
- package/dist/clients/mallard.d.ts +43 -1
- package/dist/clients/mallard.js +112 -3
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +7 -5
- package/dist/clients/polymarket/createPolymarketDepositConfig.js +2 -2
- package/dist/clients/polymarket/index.js +7 -5
- package/dist/clients/polymarket/polymarket.js +1 -1
- package/dist/domains/clientMetadata.d.ts +21 -0
- package/dist/index.js +570 -245
- package/dist/modals/CheckoutModal/SourceChange/FormOfPaymentsList.d.ts +1 -1
- package/dist/modals/CheckoutModal/SourceChange/buildSourceGroups.d.ts +2 -2
- package/dist/modals/WithdrawalModal/RecipientAddress.d.ts +12 -0
- package/dist/modals/WithdrawalModal/WithdrawalSwappedIframeController.d.ts +3 -1
- package/dist/modals/WithdrawalModal/useFiatWithdrawal.d.ts +40 -0
- package/dist/modals/WithdrawalModal/useWithdrawal.d.ts +2 -2
- package/dist/providers/FunkitCheckoutContext/types.d.ts +18 -0
- package/dist/utils/swappedRouteOverride.d.ts +27 -0
- package/dist/wagmi/actions.d.ts +1 -1
- 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/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 +41 -41
- 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 +3 -3
- package/dist/clients/{chunk-ME4OAQIY.js → chunk-O5CTDT3L.js} +0 -0
- package/dist/wallets/walletConnectors/{chunk-RB3HR4R2.js → chunk-4NV5BYRP.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-YEZM4CK4.js → chunk-AVDUNQUW.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-MIQTHJ6X.js → chunk-GUQM4QSL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-4T6ZSRJF.js → chunk-IULPZP2Q.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-HNRB7KJU.js → chunk-JPN6TWIT.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ZNX4EMPB.js → chunk-KCRO2AGO.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-STVVP43G.js → chunk-KI5Y2BBF.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-X6CGV36L.js → chunk-NR2OGDHQ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-UK7C2JXW.js → chunk-OEEGYENV.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-F5XEEVG6.js → chunk-OX37G4YT.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-RVOY537T.js → chunk-SWFF3TWJ.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-CPI4TD43.js → chunk-TKB2OY6G.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-2VP2F6EK.js → chunk-W2LCLDPX.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-6BW3HLBG.js → chunk-WAHGI5L7.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-HTHAK6XB.js → chunk-WKNQMP4A.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-VTM6EECM.js → chunk-XCNHV3HS.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-CCQV2ZET.js → chunk-YO2K4MBH.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-VAPGUPHO.js → chunk-YQFGVZGR.js} +3 -3
|
@@ -11,7 +11,7 @@ interface FormOfPaymentsListProps {
|
|
|
11
11
|
}
|
|
12
12
|
interface FormOfPaymentSection {
|
|
13
13
|
items: SwappedFormOfPayment[];
|
|
14
|
-
labelKey: 'sourceChange.mostPopular' | 'sourceChange.savedPaymentMethods' | 'sourceChange.moreOptions'
|
|
14
|
+
labelKey: 'sourceChange.mostPopular' | 'sourceChange.savedPaymentMethods' | 'sourceChange.moreOptions';
|
|
15
15
|
}
|
|
16
16
|
export declare function getFormOfPaymentSections(fopsData: GetFopsResponse, fopPriority: readonly string[]): {
|
|
17
17
|
primary: FormOfPaymentSection;
|
|
@@ -51,8 +51,8 @@ export type BuildSourceGroupsResult = {
|
|
|
51
51
|
* `<PayPal />` as the flat footer.)
|
|
52
52
|
* - `isSwappedEnabled=true` → grouped layout. Same two groups, but
|
|
53
53
|
* rendered in separate boxes with `showLabels` toggling the section
|
|
54
|
-
* headers ("Connected" / "Most popular" / "
|
|
55
|
-
* "
|
|
54
|
+
* headers ("Connected" / "Most popular" / "More options"). The
|
|
55
|
+
* "More options" header is suppressed when no preferred group
|
|
56
56
|
* precedes it.
|
|
57
57
|
*
|
|
58
58
|
* **Aave branch** (per Figma, [ENG-3743](https://linear.app/funxyz/issue/ENG-3743)
|
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import type { FunkitWithdrawalConfig } from '../../providers/FunkitCheckoutContext';
|
|
3
|
+
/**
|
|
4
|
+
* Whether to offer the "Use connected wallet" recipient shortcut: shown when a
|
|
5
|
+
* wallet is connected and the integrator hasn't set `disableConnectedWallet`.
|
|
6
|
+
* Independent of the withdrawal source address — for connected-wallet
|
|
7
|
+
* withdrawals (e.g. Mallard) the source IS the connected wallet, and
|
|
8
|
+
* withdrawing to it on the destination chain is valid.
|
|
9
|
+
*/
|
|
10
|
+
export declare function shouldShowUseConnectedWallet({ disableConnectedWallet, isConnected, connectedWalletAddress, }: {
|
|
11
|
+
disableConnectedWallet: boolean | undefined;
|
|
12
|
+
isConnected: boolean;
|
|
13
|
+
connectedWalletAddress: string | undefined;
|
|
14
|
+
}): boolean;
|
|
3
15
|
export declare function WithdrawRecipientAddress({ config, recipientAddress, setRecipientAddress, selectedChainId, selectedToken, isValidAddress, isRiskyAddress, }: {
|
|
4
16
|
config: FunkitWithdrawalConfig;
|
|
5
17
|
recipientAddress: string;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import type { SwappedFormOfPayment } from '@funkit/api-base';
|
|
2
2
|
import React from 'react';
|
|
3
|
+
import type { CustomWithdrawalConfig, WalletWithdrawalConfig } from '../../providers/FunkitCheckoutContext';
|
|
3
4
|
interface WithdrawalSwappedIframeControllerProps {
|
|
4
5
|
selectedFop: SwappedFormOfPayment;
|
|
6
|
+
activeConfig: WalletWithdrawalConfig | CustomWithdrawalConfig;
|
|
5
7
|
isError: boolean;
|
|
6
8
|
onError: () => void;
|
|
7
9
|
onBack: () => void;
|
|
8
10
|
onClose: () => void;
|
|
9
11
|
}
|
|
10
|
-
export declare function WithdrawalSwappedIframeController({ selectedFop, isError, onError, onBack, onClose, }: WithdrawalSwappedIframeControllerProps): React.JSX.Element;
|
|
12
|
+
export declare function WithdrawalSwappedIframeController({ selectedFop, activeConfig, isError, onError, onBack, onClose, }: WithdrawalSwappedIframeControllerProps): React.JSX.Element;
|
|
11
13
|
export {};
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import { type Address } from 'viem';
|
|
2
|
+
import { type CustomWithdrawalConfig, type FunkitActiveWithdrawalItem, type WalletWithdrawalConfig } from '../../providers/FunkitCheckoutContext';
|
|
3
|
+
/**
|
|
4
|
+
* Provider-agnostic fiat off-ramp order: deliver `amount` of the accepted
|
|
5
|
+
* token to `destinationAddress`. The Swapped controller maps its order payload
|
|
6
|
+
* onto this shape.
|
|
7
|
+
*/
|
|
8
|
+
export interface FiatWithdrawalOrder {
|
|
9
|
+
orderId: string;
|
|
10
|
+
destinationAddress: Address;
|
|
11
|
+
/** Amount (human units) of the target/accepted token the provider expects. */
|
|
12
|
+
amount: string;
|
|
13
|
+
/**
|
|
14
|
+
* Provider-reported accepted asset, by name (e.g. `'USDC'` / `'base'`).
|
|
15
|
+
* Informational only — surfaced in the route-decision log for reconciliation,
|
|
16
|
+
* never used to determine routing (routing comes from config + the Statsig
|
|
17
|
+
* source override).
|
|
18
|
+
*/
|
|
19
|
+
providerCrypto?: string;
|
|
20
|
+
providerNetwork?: string;
|
|
21
|
+
}
|
|
22
|
+
interface UseFiatWithdrawalParams {
|
|
23
|
+
config: WalletWithdrawalConfig | CustomWithdrawalConfig;
|
|
24
|
+
withdrawalItem: FunkitActiveWithdrawalItem | null;
|
|
25
|
+
/** Invoked for unrecoverable failures (the caller tears down the flow). */
|
|
26
|
+
onError: () => void;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Owns the order → quote → execute pipeline for a fiat off-ramp withdrawal,
|
|
30
|
+
* keeping the iframe controller a thin lifecycle/dispatch shell.
|
|
31
|
+
*
|
|
32
|
+
* Quoting is **EXACT_OUT** — the provider credits fiat on the exact deposited
|
|
33
|
+
* amount, so we deliver exactly what it expects. Execution itself is delegated
|
|
34
|
+
* to {@link useWithdrawal}, which owns preWithdrawalAction + confirmCheckout +
|
|
35
|
+
* error mapping.
|
|
36
|
+
*/
|
|
37
|
+
export declare function useFiatWithdrawal({ config, withdrawalItem, onError, }: UseFiatWithdrawalParams): {
|
|
38
|
+
processOrder: (order: FiatWithdrawalOrder) => Promise<void>;
|
|
39
|
+
};
|
|
40
|
+
export {};
|
|
@@ -3,7 +3,7 @@ import { type CheckoutConfirmationError } from '../../domains/checkoutErrors';
|
|
|
3
3
|
import type { FunkitCheckoutQuoteResult } from '../../domains/quote';
|
|
4
4
|
import { type FunkitActiveWithdrawalItem, type FunkitWithdrawalConfig } from '../../providers/FunkitCheckoutContext';
|
|
5
5
|
interface UseWithdrawalResult {
|
|
6
|
-
handleWithdrawal: (withdrawal: WithdrawalFormData) => Promise<
|
|
6
|
+
handleWithdrawal: (withdrawal: WithdrawalFormData) => Promise<Hex | null>;
|
|
7
7
|
isWithdrawing: boolean;
|
|
8
8
|
withdrawalError: CheckoutConfirmationError | null;
|
|
9
9
|
stepMessage: string | null;
|
|
@@ -22,6 +22,6 @@ export type WithdrawalFormData = {
|
|
|
22
22
|
export declare function useWithdrawal({ config, withdrawalItem, onSuccess, }: {
|
|
23
23
|
config: FunkitWithdrawalConfig;
|
|
24
24
|
withdrawalItem: FunkitActiveWithdrawalItem | null;
|
|
25
|
-
onSuccess
|
|
25
|
+
onSuccess?: (withdrawal: WithdrawalFormData, txHash: Hex) => void;
|
|
26
26
|
}): UseWithdrawalResult;
|
|
27
27
|
export {};
|
|
@@ -257,6 +257,24 @@ export interface WalletWithdrawalConfig extends WithdrawalConfigBase {
|
|
|
257
257
|
* by virtue of living on a different config variant.
|
|
258
258
|
*/
|
|
259
259
|
preWithdrawalAction?: (param: WithdrawalParam) => Promise<WithdrawalTransaction[]>;
|
|
260
|
+
/**
|
|
261
|
+
* Token that Swapped accepts for fiat withdrawal. When set and differs from
|
|
262
|
+
* {@link WithdrawalConfigBase.sourceTokenAddress}, the Swapped controller
|
|
263
|
+
* fetches a Relay quote to swap the source token into this token before
|
|
264
|
+
* sending to Swapped's deposit address.
|
|
265
|
+
*/
|
|
266
|
+
swappedTargetTokenAddress?: Address;
|
|
267
|
+
/**
|
|
268
|
+
* Chain ID for the Swapped target token. Defaults to
|
|
269
|
+
* {@link WithdrawalConfigBase.sourceChainId} when omitted.
|
|
270
|
+
*/
|
|
271
|
+
swappedTargetChainId?: string;
|
|
272
|
+
/**
|
|
273
|
+
* Symbol of the Swapped target token (e.g. 'USDC'). Recorded against the
|
|
274
|
+
* on-chain movement, which is denominated in the target — not the source —
|
|
275
|
+
* token. Defaults to {@link WithdrawalConfigBase.sourceTokenSymbol}.
|
|
276
|
+
*/
|
|
277
|
+
swappedTargetTokenSymbol?: string;
|
|
260
278
|
}
|
|
261
279
|
export interface CustomWithdrawalConfig extends WithdrawalConfigBase {
|
|
262
280
|
/**
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import type { Address } from 'viem';
|
|
2
|
+
/**
|
|
3
|
+
* Operator override (Statsig `swappedwithdrawalsourceoverrides`) pinning a
|
|
4
|
+
* Swapped withdrawal to a known-good accepted asset, keyed on the source asset,
|
|
5
|
+
* for when the config's requested target isn't supported by Swapped. `when`
|
|
6
|
+
* matches the source; `use` is the target the Relay quote delivers.
|
|
7
|
+
*/
|
|
8
|
+
export interface SwappedSourceRouteOverride {
|
|
9
|
+
when: {
|
|
10
|
+
chainId: string;
|
|
11
|
+
tokenAddress: string;
|
|
12
|
+
};
|
|
13
|
+
use: {
|
|
14
|
+
chainId: string;
|
|
15
|
+
tokenAddress: Address;
|
|
16
|
+
symbol: string;
|
|
17
|
+
};
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* First well-formed override whose `when` matches the source asset, or
|
|
21
|
+
* `undefined`. First match wins so ops can order more specific rules ahead of
|
|
22
|
+
* broader ones.
|
|
23
|
+
*/
|
|
24
|
+
export declare function findSwappedSourceOverride(overrides: readonly SwappedSourceRouteOverride[] | undefined, source: {
|
|
25
|
+
chainId: string;
|
|
26
|
+
tokenAddress: string;
|
|
27
|
+
}): SwappedSourceRouteOverride | undefined;
|
package/dist/wagmi/actions.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Config } from 'wagmi';
|
|
2
2
|
import { type GetBalanceParameters, type GetBalanceReturnType } from 'wagmi/actions';
|
|
3
|
-
export { estimateGas, getGasPrice, getTransaction, getWalletClient, multicall, readContract, waitForTransactionReceipt, } from 'wagmi/actions';
|
|
3
|
+
export { estimateGas, getAccount, getGasPrice, getTransaction, getWalletClient, multicall, readContract, sendTransaction, switchChain, waitForTransactionReceipt, } from 'wagmi/actions';
|
|
4
4
|
export type GetBalanceReturnTypeCompat = GetBalanceReturnType & {
|
|
5
5
|
formatted: string;
|
|
6
6
|
};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bifrostWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-IULPZP2Q.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
bifrostWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bitgetWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-TKB2OY6G.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
bitgetWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bybitWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-OX37G4YT.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
bybitWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
coin98Wallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-WAHGI5L7.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
coin98Wallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
frontierWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-AVDUNQUW.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
frontierWallet
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-52QXXLDS.js";
|
|
5
5
|
import {
|
|
6
6
|
zerionWallet
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-SWFF3TWJ.js";
|
|
8
8
|
import {
|
|
9
9
|
tahoWallet
|
|
10
10
|
} from "./chunk-7ZYCBDQ4.js";
|
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
} from "./chunk-4DCO3TGL.js";
|
|
14
14
|
import {
|
|
15
15
|
tokenPocketWallet
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WKNQMP4A.js";
|
|
17
17
|
import {
|
|
18
18
|
tokenaryWallet
|
|
19
19
|
} from "./chunk-VH3THHJY.js";
|
|
20
20
|
import {
|
|
21
21
|
trustWallet
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KCRO2AGO.js";
|
|
23
23
|
import {
|
|
24
24
|
uniswapWallet
|
|
25
25
|
} from "./chunk-Z3PPW6NC.js";
|
|
@@ -34,88 +34,88 @@ import {
|
|
|
34
34
|
} from "./chunk-RB66PKPA.js";
|
|
35
35
|
import {
|
|
36
36
|
rainbowWallet
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-W2LCLDPX.js";
|
|
38
38
|
import {
|
|
39
39
|
ramperWallet
|
|
40
40
|
} from "./chunk-OQB55QXP.js";
|
|
41
41
|
import {
|
|
42
42
|
roninWallet
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-YQFGVZGR.js";
|
|
44
|
+
import {
|
|
45
|
+
safeWallet
|
|
46
|
+
} from "./chunk-RCY66YHF.js";
|
|
44
47
|
import {
|
|
45
48
|
safeheronWallet
|
|
46
49
|
} from "./chunk-76S7R2ND.js";
|
|
47
50
|
import {
|
|
48
51
|
safepalWallet
|
|
49
|
-
} from "./chunk-
|
|
50
|
-
import {
|
|
51
|
-
safeWallet
|
|
52
|
-
} from "./chunk-RCY66YHF.js";
|
|
52
|
+
} from "./chunk-XCNHV3HS.js";
|
|
53
53
|
import {
|
|
54
54
|
subWallet
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-NR2OGDHQ.js";
|
|
56
56
|
import {
|
|
57
57
|
metaMaskWallet
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-YO2K4MBH.js";
|
|
59
59
|
import {
|
|
60
|
-
|
|
61
|
-
} from "./chunk-
|
|
60
|
+
mewWallet
|
|
61
|
+
} from "./chunk-MQM45ADF.js";
|
|
62
62
|
import {
|
|
63
63
|
okxWallet
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-KI5Y2BBF.js";
|
|
65
|
+
import {
|
|
66
|
+
oktoWallet
|
|
67
|
+
} from "./chunk-YWOVAU6O.js";
|
|
65
68
|
import {
|
|
66
69
|
omniWallet
|
|
67
70
|
} from "./chunk-2CX7LX4J.js";
|
|
68
|
-
import {
|
|
69
|
-
oneInchWallet
|
|
70
|
-
} from "./chunk-QG6ZHI7B.js";
|
|
71
|
-
import {
|
|
72
|
-
mewWallet
|
|
73
|
-
} from "./chunk-MQM45ADF.js";
|
|
74
71
|
import {
|
|
75
72
|
oneKeyWallet
|
|
76
73
|
} from "./chunk-WVT6BBJH.js";
|
|
74
|
+
import {
|
|
75
|
+
oneInchWallet
|
|
76
|
+
} from "./chunk-QG6ZHI7B.js";
|
|
77
77
|
import {
|
|
78
78
|
phantomWallet
|
|
79
79
|
} from "./chunk-QY53O7WG.js";
|
|
80
80
|
import {
|
|
81
81
|
foxWallet
|
|
82
|
-
} from "./chunk-
|
|
83
|
-
import {
|
|
84
|
-
frontierWallet
|
|
85
|
-
} from "./chunk-YEZM4CK4.js";
|
|
82
|
+
} from "./chunk-GUQM4QSL.js";
|
|
86
83
|
import {
|
|
87
84
|
frameWallet
|
|
88
85
|
} from "./chunk-BU3ZAT5X.js";
|
|
86
|
+
import {
|
|
87
|
+
frontierWallet
|
|
88
|
+
} from "./chunk-AVDUNQUW.js";
|
|
89
89
|
import {
|
|
90
90
|
gateWallet
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-JPN6TWIT.js";
|
|
92
92
|
import {
|
|
93
93
|
imTokenWallet
|
|
94
94
|
} from "./chunk-WNAGGFMG.js";
|
|
95
95
|
import {
|
|
96
96
|
injectedWallet
|
|
97
97
|
} from "./chunk-T6LGKC3F.js";
|
|
98
|
-
import {
|
|
99
|
-
ledgerWallet
|
|
100
|
-
} from "./chunk-RPV27V2Y.js";
|
|
101
98
|
import {
|
|
102
99
|
kresusWallet
|
|
103
100
|
} from "./chunk-RICTB3FA.js";
|
|
104
101
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
102
|
+
ledgerWallet
|
|
103
|
+
} from "./chunk-RPV27V2Y.js";
|
|
104
|
+
import {
|
|
105
|
+
clvWallet
|
|
106
|
+
} from "./chunk-OEEGYENV.js";
|
|
107
107
|
import {
|
|
108
108
|
coin98Wallet
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-WAHGI5L7.js";
|
|
110
110
|
import {
|
|
111
|
-
|
|
112
|
-
} from "./chunk-
|
|
111
|
+
bybitWallet
|
|
112
|
+
} from "./chunk-OX37G4YT.js";
|
|
113
113
|
import {
|
|
114
114
|
coinbaseWallet
|
|
115
115
|
} from "./chunk-2DLDAZRH.js";
|
|
116
116
|
import {
|
|
117
117
|
coreWallet
|
|
118
|
-
} from "./chunk-
|
|
118
|
+
} from "./chunk-4NV5BYRP.js";
|
|
119
119
|
import {
|
|
120
120
|
dawnWallet
|
|
121
121
|
} from "./chunk-G2PHTVL6.js";
|
|
@@ -130,10 +130,10 @@ import {
|
|
|
130
130
|
} from "./chunk-NTMBEOR2.js";
|
|
131
131
|
import {
|
|
132
132
|
bifrostWallet
|
|
133
|
-
} from "./chunk-
|
|
133
|
+
} from "./chunk-IULPZP2Q.js";
|
|
134
134
|
import {
|
|
135
135
|
bitgetWallet
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-TKB2OY6G.js";
|
|
137
137
|
import {
|
|
138
138
|
bitskiWallet
|
|
139
139
|
} from "./chunk-7HRFUZFX.js";
|
|
@@ -141,13 +141,13 @@ import {
|
|
|
141
141
|
bitverseWallet
|
|
142
142
|
} from "./chunk-NSK6A7TI.js";
|
|
143
143
|
import {
|
|
144
|
-
|
|
145
|
-
} from "./chunk-
|
|
144
|
+
bloomWallet
|
|
145
|
+
} from "./chunk-PJ7Y57EH.js";
|
|
146
|
+
import "./chunk-N4IJLYFY.js";
|
|
146
147
|
import {
|
|
147
|
-
|
|
148
|
-
} from "./chunk-
|
|
148
|
+
braveWallet
|
|
149
|
+
} from "./chunk-DS73TZ6O.js";
|
|
149
150
|
import "./chunk-OLZ7626J.js";
|
|
150
|
-
import "./chunk-N4IJLYFY.js";
|
|
151
151
|
import "./chunk-IGKXZBTA.js";
|
|
152
152
|
export {
|
|
153
153
|
argentWallet,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
metaMaskWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-YO2K4MBH.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
metaMaskWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
rainbowWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-W2LCLDPX.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
rainbowWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
roninWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-YQFGVZGR.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
roninWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
safepalWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-XCNHV3HS.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
safepalWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
tokenPocketWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-WKNQMP4A.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
tokenPocketWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
trustWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-KCRO2AGO.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
trustWallet
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
zerionWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-OLZ7626J.js";
|
|
4
|
+
} from "../chunk-SWFF3TWJ.js";
|
|
6
5
|
import "../chunk-N4IJLYFY.js";
|
|
6
|
+
import "../chunk-OLZ7626J.js";
|
|
7
7
|
import "../chunk-IGKXZBTA.js";
|
|
8
8
|
export {
|
|
9
9
|
zerionWallet
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.26.1",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -113,8 +113,8 @@
|
|
|
113
113
|
"uuid": "^11.1.1",
|
|
114
114
|
"@funkit/api-base": "5.0.0",
|
|
115
115
|
"@funkit/chains": "2.1.1",
|
|
116
|
-
"@funkit/connect-core": "1.
|
|
117
|
-
"@funkit/fun-relay": "2.8.
|
|
116
|
+
"@funkit/connect-core": "1.4.0",
|
|
117
|
+
"@funkit/fun-relay": "2.8.6",
|
|
118
118
|
"@funkit/utils": "3.1.0"
|
|
119
119
|
},
|
|
120
120
|
"repository": {
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector
|
|
4
|
+
} from "./chunk-N4IJLYFY.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-OLZ7626J.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-N4IJLYFY.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/coreWallet/coreWallet.ts
|
|
11
11
|
var coreWallet = ({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector
|
|
4
|
+
} from "./chunk-N4IJLYFY.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-OLZ7626J.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-N4IJLYFY.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/frontierWallet/frontierWallet.ts
|
|
11
11
|
import { isAndroid } from "@funkit/utils";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
+
import {
|
|
3
|
+
getWalletConnectConnector
|
|
4
|
+
} from "./chunk-N4IJLYFY.js";
|
|
2
5
|
import {
|
|
3
6
|
getInjectedConnector,
|
|
4
7
|
hasInjectedProvider
|
|
5
8
|
} from "./chunk-OLZ7626J.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-N4IJLYFY.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/foxWallet/foxWallet.ts
|
|
11
11
|
var foxWallet = ({
|