@funkit/connect 9.19.0 → 9.20.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 +62 -0
- package/dist/clients/argentWallet-2WSTOUAO.js +7 -0
- package/dist/clients/bifrostWallet-5NQVDZ5P.js +7 -0
- package/dist/clients/bitgetWallet-CBQAJOIK.js +7 -0
- package/dist/clients/bitskiWallet-OLIYN3IU.js +7 -0
- package/dist/clients/bitverseWallet-AQMAJ2NN.js +7 -0
- package/dist/clients/bloomWallet-MJRQJYSG.js +7 -0
- package/dist/clients/braveWallet-T76TVZA6.js +7 -0
- package/dist/clients/bybitWallet-GOPAS32Q.js +7 -0
- package/dist/clients/chunk-4752IYY6.js +94 -0
- package/dist/clients/chunk-47AQXZQE.js +230 -0
- package/dist/clients/chunk-CSONEKIF.js +54 -0
- package/dist/clients/chunk-JOM2J5WB.js +2371 -0
- package/dist/clients/{chunk-GSK3TMI5.js → chunk-JVTKIEOP.js} +2 -223
- package/dist/clients/{polymarket.js → chunk-MOUTRRN3.js} +15 -27
- package/dist/clients/chunk-MRBN4XCA.js +96 -0
- package/dist/clients/chunk-UNCVGPTD.js +186 -0
- package/dist/clients/chunk-UUHGOBKZ.js +51 -0
- package/dist/clients/clvWallet-VVMLP7BK.js +7 -0
- package/dist/clients/coin98Wallet-I5CP5KYZ.js +7 -0
- package/dist/clients/coinbaseWallet-ICYEIYQD.js +7 -0
- package/dist/clients/coreWallet-RFVUHOVE.js +7 -0
- package/dist/clients/dawnWallet-QBFTQLS4.js +7 -0
- package/dist/clients/desigWallet-IBKYOHSY.js +7 -0
- package/dist/clients/enkryptWallet-ZVUZMI7H.js +7 -0
- package/dist/clients/fanatics.js +42 -83
- package/dist/clients/foxWallet-I7D5KIW4.js +7 -0
- package/dist/clients/frameWallet-UDD4OVZX.js +7 -0
- package/dist/clients/frontierWallet-5QV7ZACT.js +7 -0
- package/dist/clients/gateWallet-CJNGQQCV.js +7 -0
- package/dist/clients/imTokenWallet-UPA7ADZ2.js +7 -0
- package/dist/clients/injectedWallet-OIRJSVBZ.js +7 -0
- package/dist/clients/kresusWallet-7ROCNWAU.js +7 -0
- package/dist/clients/ledgerWallet-3FCEIKPD.js +7 -0
- package/dist/clients/lighter.js +10 -180
- package/dist/clients/metaMaskWallet-RMHEKBDR.js +7 -0
- package/dist/clients/mewWallet-ANFGVCZT.js +7 -0
- package/dist/clients/oktoWallet-Q5XCEOTD.js +7 -0
- package/dist/clients/okxWallet-GJMKZIND.js +7 -0
- package/dist/clients/omniWallet-YH4FEL6J.js +7 -0
- package/dist/clients/oneInchWallet-4S73ZPPN.js +7 -0
- package/dist/clients/oneKeyWallet-YVJDPHJS.js +7 -0
- package/dist/clients/phantomWallet-LZDJJ5XR.js +7 -0
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.css +17293 -0
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.d.ts +30 -0
- package/dist/clients/polymarket/PolymarketDepositAccountDropdown.js +14 -0
- package/dist/clients/polymarket/createPolymarketDepositConfig.d.ts +54 -0
- package/dist/clients/polymarket/createPolymarketDepositConfig.js +15 -0
- package/dist/clients/polymarket/index.css +17293 -0
- package/dist/clients/polymarket/index.d.ts +8 -0
- package/dist/clients/polymarket/index.js +42 -0
- package/dist/clients/{polymarket.d.ts → polymarket/polymarket.d.ts} +59 -2
- package/dist/clients/polymarket/polymarket.js +24 -0
- package/dist/clients/polymarket/usePolymarketAccountBalances.d.ts +66 -0
- package/dist/clients/polymarket/usePolymarketAccountBalances.js +12 -0
- package/dist/clients/rabbyWallet-TYX2JDHU.js +7 -0
- package/dist/clients/rainbowWallet-MFJQCICF.js +7 -0
- package/dist/clients/ramperWallet-Q2XAH4WA.js +7 -0
- package/dist/clients/rolly.d.ts +2 -0
- package/dist/clients/rolly.js +6 -2
- package/dist/clients/roninWallet-SAB5ESVK.js +7 -0
- package/dist/clients/safeWallet-Y3VPODK2.js +7 -0
- package/dist/clients/safeheronWallet-MCFXLKO5.js +7 -0
- package/dist/clients/safepalWallet-7YULGM2L.js +7 -0
- package/dist/clients/subWallet-5WUZ4IIO.js +7 -0
- package/dist/clients/tahoWallet-U2VWWO76.js +7 -0
- package/dist/clients/talismanWallet-ZYTPIANG.js +7 -0
- package/dist/clients/tokenPocketWallet-FLFG3JUQ.js +7 -0
- package/dist/clients/tokenaryWallet-S3JS2IGK.js +7 -0
- package/dist/clients/trustWallet-2N5TZJGC.js +7 -0
- package/dist/clients/uniswapWallet-NJQBP5VM.js +7 -0
- package/dist/clients/walletConnectWallet-E4OQJ4DC.js +7 -0
- package/dist/clients/xdefiWallet-ZKBEFEOH.js +7 -0
- package/dist/clients/zealWallet-7VO3C4PM.js +7 -0
- package/dist/clients/zerionWallet-SEPREHKH.js +7 -0
- package/dist/components/Dropdown/AccountSelectDropdown.d.ts +45 -0
- package/dist/components/Dropdown/BaseDropdownItem.d.ts +3 -1
- package/dist/components/FreeUsdcBanner/FreeUsdcBanner.css.d.ts +15 -0
- package/dist/components/FreeUsdcBanner/FreeUsdcBanner.d.ts +5 -5
- package/dist/components/ModalHeightAnimationLayer/ModalHeightAnimationLayer.d.ts +8 -0
- package/dist/consts/customers.d.ts +13 -0
- package/dist/consts/funkit.d.ts +2 -0
- package/dist/consts/polymarket.d.ts +9 -0
- package/dist/domains/aave.d.ts +28 -0
- package/dist/domains/dynamicRouting.d.ts +13 -1
- package/dist/domains/paymentMethods.d.ts +8 -0
- package/dist/domains/quote.d.ts +2 -2
- package/dist/hooks/statsig/useDynamicConfig.d.ts +2 -5
- package/dist/hooks/statsig/useExperiment.d.ts +1 -33
- package/dist/hooks/statsig/useFeatureGate.d.ts +1 -4
- package/dist/hooks/track/CheckoutModalEvent.d.ts +1 -0
- package/dist/hooks/useCheckoutTransferInit.d.ts +2 -17
- package/dist/hooks/useExchangeOptions.d.ts +11 -2
- package/dist/hooks/useTokenAndChainDropdown.d.ts +1 -1
- package/dist/hooks/useTokenTransfer.d.ts +3 -8
- package/dist/hooks/useUDAParams.d.ts +2 -10
- package/dist/index.css +1331 -94
- package/dist/index.js +4965 -5413
- package/dist/modals/CheckoutModal/FunCheckoutStep.d.ts +2 -1
- package/dist/modals/CheckoutModal/InputAmount/QuickOptions.d.ts +1 -0
- package/dist/modals/CheckoutModal/InputAmount/aaveClient.d.ts +3 -7
- package/dist/modals/CheckoutModal/InputAmount/state.d.ts +25 -1
- package/dist/modals/CheckoutModal/InputAmount/useAaveNativeSupply.d.ts +2 -19
- package/dist/modals/CheckoutModal/InputAmount/useCheckoutAmountLimits.d.ts +17 -0
- package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +1 -1
- package/dist/modals/CheckoutModal/SourceChange/useSourceChangeLayout.d.ts +10 -0
- package/dist/modals/CheckoutModal/stepTransition.d.ts +27 -1
- package/dist/modals/PolymarketPerpsTransfer/DirectionSwapButton.d.ts +17 -0
- package/dist/modals/PolymarketPerpsTransfer/PerpsTransferBottomBar.d.ts +11 -0
- package/dist/modals/PolymarketPerpsTransfer/PerpsTransferRows.d.ts +10 -0
- package/dist/modals/PolymarketPerpsTransfer/PerpsTransferStep.d.ts +11 -0
- package/dist/modals/PolymarketPerpsTransfer/PolymarketPerpsTransferScreen.d.ts +52 -0
- package/dist/modals/PolymarketPerpsTransfer/TransferActionButton.d.ts +34 -0
- package/dist/modals/PolymarketPerpsTransfer/TransferAmountRow.css.d.ts +13 -0
- package/dist/modals/PolymarketPerpsTransfer/TransferAmountRow.d.ts +27 -0
- package/dist/modals/PolymarketPerpsTransfer/usePerpsTransferForm.d.ts +66 -0
- package/dist/providers/FunkitCheckoutContext/index.d.ts +10 -1
- package/dist/providers/FunkitCheckoutContext/types.d.ts +63 -3
- package/dist/providers/FunkitConfigContext.d.ts +13 -2
- package/dist/providers/FunkitQuoteContext.d.ts +16 -0
- package/dist/providers/SwappedProvider.d.ts +1 -1
- package/dist/transports/iframeSwappedTransport.d.ts +1 -1
- package/dist/utils/consts.d.ts +1 -2
- package/dist/utils/datadogBrowserLogsTransport.d.ts +1 -1
- package/dist/utils/freeUsdcBanner.d.ts +3 -0
- package/dist/utils/funLogger.d.ts +1 -51
- package/dist/utils/statsig/checkFeatureGate.d.ts +1 -1
- package/dist/utils/swapped.d.ts +2 -2
- package/dist/utils/tokenMath.d.ts +6 -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/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 +48 -48
- 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 +8 -7
- package/dist/__generated__/default_configs.d.ts +0 -901
- package/dist/__generated__/default_feature_gates.d.ts +0 -20
- package/dist/clients/chunk-3QHYYLVM.js +0 -240
- package/dist/interfaces/logTransport.d.ts +0 -51
- package/dist/interfaces/swapped-transport.d.ts +0 -78
- package/dist/utils/flags/resolver.d.ts +0 -34
- 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
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type FormOfPaymentType } from '@funkit/api-base';
|
|
2
|
+
import type { SwappedTransport } from '@funkit/connect-core';
|
|
2
3
|
import React from 'react';
|
|
3
|
-
import type { SwappedTransport } from '../interfaces/swapped-transport';
|
|
4
4
|
import { type SwappedTheme } from '../utils/swapped';
|
|
5
5
|
interface SwappedContextValue {
|
|
6
6
|
iframeUrl: string | null;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { SwappedTransport } from '
|
|
1
|
+
import type { SwappedTransport } from '@funkit/connect-core';
|
|
2
2
|
interface IframeSwappedTransportOptions {
|
|
3
3
|
/** The embed's content window, or `null` if it isn't mounted/loaded yet. */
|
|
4
4
|
getContentWindow: () => Window | null;
|
package/dist/utils/consts.d.ts
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
export declare const MIN_CHECKOUT_AMOUNT_USD = 1;
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const MAX_MOONPAY_AMOUNT_USD = 10000;
|
|
2
|
+
export declare const MAX_BTC_LIGHTNING_AMOUNT_USD = 10000;
|
|
4
3
|
export declare const LOW_BALANCE = "Low Balance";
|
|
5
4
|
export declare const CONTACT_US_LINK = "https://intercom.help/funxyz/en/articles/10732578-contact-us";
|
|
6
5
|
export declare const DEFAULT_CHECKOUT_HISTORY_DETAIL_TITLE = "Your Purchase";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { LogRecord, LogTransport, TrackingConsent } from '
|
|
1
|
+
import type { LogRecord, LogTransport, TrackingConsent } from '@funkit/connect-core';
|
|
2
2
|
/**
|
|
3
3
|
* Web `LogTransport` backed by `@datadog/browser-logs`. Owns Datadog
|
|
4
4
|
* initialization, global-context/consent wiring, and the browser-only emit.
|
|
@@ -1,53 +1,3 @@
|
|
|
1
|
-
import
|
|
2
|
-
declare class FunLogger {
|
|
3
|
-
protected apiKey: string | null;
|
|
4
|
-
protected isDebugMode: boolean;
|
|
5
|
-
protected userId: string | null;
|
|
6
|
-
protected userAddress: string | null;
|
|
7
|
-
protected userName: string | null;
|
|
8
|
-
protected userLoginType: string | null;
|
|
9
|
-
protected typeLabel: string | null;
|
|
10
|
-
protected sdkVersion: string | null;
|
|
11
|
-
protected l2Address: string | null;
|
|
12
|
-
private isConfigured;
|
|
13
|
-
private logQueue;
|
|
14
|
-
private disableLogging;
|
|
15
|
-
private readonly transport;
|
|
16
|
-
constructor(transport: LogTransport);
|
|
17
|
-
private getFunLogEnv;
|
|
18
|
-
/** Merge caller data with the logger's resolved context for the transport. */
|
|
19
|
-
private buildLogContext;
|
|
20
|
-
private processLog;
|
|
21
|
-
private onDebug;
|
|
22
|
-
private onInfo;
|
|
23
|
-
private onWarn;
|
|
24
|
-
private onError;
|
|
25
|
-
private extractError;
|
|
26
|
-
/**========================
|
|
27
|
-
* PUBLIC LOGGER FUNCTIONS
|
|
28
|
-
*=========================*/
|
|
29
|
-
log(title: string, data?: object): void;
|
|
30
|
-
info(title: string, data?: object): void;
|
|
31
|
-
debug(title: string, data?: object): void;
|
|
32
|
-
warn(title: string, data?: object): void;
|
|
33
|
-
/**
|
|
34
|
-
* @param errorOrData -
|
|
35
|
-
* Previously was called "error" but since in the {@link Logger} interface, error is defined as object (which is the same thing as "any"), we treat it as of unknown type here for safety.
|
|
36
|
-
* In a lot of places it's actually being used as a "data" prop, which also usually has an `.error` property representing an actual {@link Error} object.
|
|
37
|
-
*/
|
|
38
|
-
error(title: string, errorOrData: unknown, _data?: object): void;
|
|
39
|
-
private flushLogQueue;
|
|
40
|
-
configure(apiKey: string | null, isDebug: boolean, sdkVersion: string, disableLogging?: boolean): void;
|
|
41
|
-
getUserId(): string | null;
|
|
42
|
-
getUserAddress(): string | null;
|
|
43
|
-
getUserName(): string | null;
|
|
44
|
-
getUserLoginType(): string | null;
|
|
45
|
-
getTypeLabel(): string | null;
|
|
46
|
-
getL2Address(): string | null;
|
|
47
|
-
setUserInfo(userId: string, userAddress: string, userName: string, userLoginType: string, typeLabel: string, l2Address?: string): void;
|
|
48
|
-
}
|
|
49
|
-
/**===============================
|
|
50
|
-
* INITIALIZATION
|
|
51
|
-
*================================*/
|
|
1
|
+
import { FunLogger } from '@funkit/connect-core';
|
|
52
2
|
declare const logger: FunLogger;
|
|
53
3
|
export { logger, FunLogger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import fallbackFeatureGates from '
|
|
1
|
+
import { defaultFeatureGates as fallbackFeatureGates } from '@funkit/connect-core';
|
|
2
2
|
type FeatureGateName = keyof typeof fallbackFeatureGates;
|
|
3
3
|
/**
|
|
4
4
|
* Synchronous, non-hook variant of {@link useFeatureGate}. Reads the gate
|
package/dist/utils/swapped.d.ts
CHANGED
|
@@ -9,7 +9,7 @@ export declare function resolveObjectCssVars<T extends object>(obj: T): T;
|
|
|
9
9
|
* touch the DOM, so it is safe to share across platforms. The returned values
|
|
10
10
|
* may still contain `var(...)` / `calc(var(...))` references: web callers must
|
|
11
11
|
* resolve them with {@link resolveObjectCssVars} before sending to the Swapped
|
|
12
|
-
* embed
|
|
12
|
+
* embed; non-web callers must pass already-concrete values.
|
|
13
13
|
*/
|
|
14
14
|
export declare function buildSwappedTheme(theme: ThemeVars & {
|
|
15
15
|
customFontFamily?: {
|
|
@@ -21,6 +21,6 @@ export declare function buildSwappedTheme(theme: ThemeVars & {
|
|
|
21
21
|
* Maps a *resolved* ThemeVars into Swapped's theme query params. Pure — it does
|
|
22
22
|
* not touch the DOM. Web callers must pass a theme whose CSS vars are already
|
|
23
23
|
* resolved (via {@link resolveObjectCssVars}) so colors are concrete hex and the
|
|
24
|
-
* leading `#` can be stripped;
|
|
24
|
+
* leading `#` can be stripped; non-web callers must pass concrete values.
|
|
25
25
|
*/
|
|
26
26
|
export declare function buildSwappedThemeQueryParams(resolvedTheme: ThemeVars): Record<string, string>;
|
|
@@ -31,6 +31,12 @@ export declare function toDisplayNumber(amount: Dnum): number;
|
|
|
31
31
|
* @example floorToDecimals(6.999, 2) → 6.99
|
|
32
32
|
*/
|
|
33
33
|
export declare function floorToDecimals(value: number, decimals: number): number;
|
|
34
|
+
/**
|
|
35
|
+
* Format a USD balance floored to the cent (`196.867461` → `"$196.86"`) so the
|
|
36
|
+
* display never overstates what the user holds — plain 2-decimal currency
|
|
37
|
+
* formatting would round `196.867461` *up* to `$196.87`.
|
|
38
|
+
*/
|
|
39
|
+
export declare function formatUsdFlooredToCent(balanceUsd: number): string;
|
|
34
40
|
/**
|
|
35
41
|
* Compare two token amounts. Returns true if a > b.
|
|
36
42
|
* Handles different decimal representations.
|
|
@@ -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
|
|
@@ -1,25 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
zealWallet
|
|
4
|
-
} from "./chunk-52QXXLDS.js";
|
|
5
2
|
import {
|
|
6
3
|
zerionWallet
|
|
7
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-SWFF3TWJ.js";
|
|
5
|
+
import {
|
|
6
|
+
safeheronWallet
|
|
7
|
+
} from "./chunk-76S7R2ND.js";
|
|
8
8
|
import {
|
|
9
9
|
talismanWallet
|
|
10
10
|
} from "./chunk-4DCO3TGL.js";
|
|
11
11
|
import {
|
|
12
12
|
tokenPocketWallet
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-WKNQMP4A.js";
|
|
14
14
|
import {
|
|
15
15
|
tokenaryWallet
|
|
16
16
|
} from "./chunk-VH3THHJY.js";
|
|
17
17
|
import {
|
|
18
18
|
trustWallet
|
|
19
|
-
} from "./chunk-
|
|
20
|
-
import {
|
|
21
|
-
ramperWallet
|
|
22
|
-
} from "./chunk-OQB55QXP.js";
|
|
19
|
+
} from "./chunk-KCRO2AGO.js";
|
|
23
20
|
import {
|
|
24
21
|
uniswapWallet
|
|
25
22
|
} from "./chunk-Z3PPW6NC.js";
|
|
@@ -30,59 +27,59 @@ import {
|
|
|
30
27
|
xdefiWallet
|
|
31
28
|
} from "./chunk-JN5I3DNC.js";
|
|
32
29
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
30
|
+
zealWallet
|
|
31
|
+
} from "./chunk-52QXXLDS.js";
|
|
32
|
+
import {
|
|
33
|
+
rabbyWallet
|
|
34
|
+
} from "./chunk-RB66PKPA.js";
|
|
35
35
|
import {
|
|
36
36
|
rainbowWallet
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-W2LCLDPX.js";
|
|
38
|
+
import {
|
|
39
|
+
ramperWallet
|
|
40
|
+
} from "./chunk-OQB55QXP.js";
|
|
38
41
|
import {
|
|
39
42
|
roninWallet
|
|
40
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-YQFGVZGR.js";
|
|
41
44
|
import {
|
|
42
45
|
safeWallet
|
|
43
46
|
} from "./chunk-RCY66YHF.js";
|
|
44
|
-
import {
|
|
45
|
-
safeheronWallet
|
|
46
|
-
} from "./chunk-76S7R2ND.js";
|
|
47
47
|
import {
|
|
48
48
|
safepalWallet
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-XCNHV3HS.js";
|
|
50
50
|
import {
|
|
51
51
|
subWallet
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-NR2OGDHQ.js";
|
|
53
53
|
import {
|
|
54
54
|
tahoWallet
|
|
55
55
|
} from "./chunk-7ZYCBDQ4.js";
|
|
56
56
|
import {
|
|
57
57
|
metaMaskWallet
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-YO2K4MBH.js";
|
|
59
|
+
import {
|
|
60
|
+
mewWallet
|
|
61
|
+
} from "./chunk-MQM45ADF.js";
|
|
59
62
|
import {
|
|
60
63
|
oktoWallet
|
|
61
64
|
} from "./chunk-YWOVAU6O.js";
|
|
62
65
|
import {
|
|
63
66
|
okxWallet
|
|
64
|
-
} from "./chunk-
|
|
65
|
-
import {
|
|
66
|
-
mewWallet
|
|
67
|
-
} from "./chunk-MQM45ADF.js";
|
|
67
|
+
} from "./chunk-KI5Y2BBF.js";
|
|
68
68
|
import {
|
|
69
69
|
omniWallet
|
|
70
70
|
} from "./chunk-2CX7LX4J.js";
|
|
71
71
|
import {
|
|
72
72
|
oneInchWallet
|
|
73
73
|
} from "./chunk-QG6ZHI7B.js";
|
|
74
|
+
import {
|
|
75
|
+
oneKeyWallet
|
|
76
|
+
} from "./chunk-WVT6BBJH.js";
|
|
74
77
|
import {
|
|
75
78
|
phantomWallet
|
|
76
79
|
} from "./chunk-QY53O7WG.js";
|
|
77
|
-
import {
|
|
78
|
-
rabbyWallet
|
|
79
|
-
} from "./chunk-RB66PKPA.js";
|
|
80
|
-
import {
|
|
81
|
-
coin98Wallet
|
|
82
|
-
} from "./chunk-6BW3HLBG.js";
|
|
83
80
|
import {
|
|
84
81
|
foxWallet
|
|
85
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-GUQM4QSL.js";
|
|
86
83
|
import {
|
|
87
84
|
frameWallet
|
|
88
85
|
} from "./chunk-BU3ZAT5X.js";
|
|
@@ -91,7 +88,10 @@ import {
|
|
|
91
88
|
} from "./chunk-WNAGGFMG.js";
|
|
92
89
|
import {
|
|
93
90
|
gateWallet
|
|
94
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-JPN6TWIT.js";
|
|
92
|
+
import {
|
|
93
|
+
frontierWallet
|
|
94
|
+
} from "./chunk-AVDUNQUW.js";
|
|
95
95
|
import {
|
|
96
96
|
injectedWallet
|
|
97
97
|
} from "./chunk-T6LGKC3F.js";
|
|
@@ -103,16 +103,16 @@ import {
|
|
|
103
103
|
} from "./chunk-RPV27V2Y.js";
|
|
104
104
|
import {
|
|
105
105
|
clvWallet
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-OEEGYENV.js";
|
|
107
107
|
import {
|
|
108
108
|
coinbaseWallet
|
|
109
109
|
} from "./chunk-2DLDAZRH.js";
|
|
110
|
-
import {
|
|
111
|
-
braveWallet
|
|
112
|
-
} from "./chunk-DS73TZ6O.js";
|
|
113
110
|
import {
|
|
114
111
|
coreWallet
|
|
115
|
-
} from "./chunk-
|
|
112
|
+
} from "./chunk-4NV5BYRP.js";
|
|
113
|
+
import {
|
|
114
|
+
bloomWallet
|
|
115
|
+
} from "./chunk-PJ7Y57EH.js";
|
|
116
116
|
import {
|
|
117
117
|
dawnWallet
|
|
118
118
|
} from "./chunk-G2PHTVL6.js";
|
|
@@ -123,14 +123,17 @@ import {
|
|
|
123
123
|
desigWallet
|
|
124
124
|
} from "./chunk-FW3WZETT.js";
|
|
125
125
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
128
|
-
import {
|
|
129
|
-
bitgetWallet
|
|
130
|
-
} from "./chunk-CPI4TD43.js";
|
|
126
|
+
coin98Wallet
|
|
127
|
+
} from "./chunk-WAHGI5L7.js";
|
|
131
128
|
import {
|
|
132
129
|
argentWallet
|
|
133
130
|
} from "./chunk-NTMBEOR2.js";
|
|
131
|
+
import {
|
|
132
|
+
bifrostWallet
|
|
133
|
+
} from "./chunk-IULPZP2Q.js";
|
|
134
|
+
import {
|
|
135
|
+
bitgetWallet
|
|
136
|
+
} from "./chunk-TKB2OY6G.js";
|
|
134
137
|
import {
|
|
135
138
|
bitskiWallet
|
|
136
139
|
} from "./chunk-7HRFUZFX.js";
|
|
@@ -138,16 +141,13 @@ import {
|
|
|
138
141
|
bitverseWallet
|
|
139
142
|
} from "./chunk-NSK6A7TI.js";
|
|
140
143
|
import {
|
|
141
|
-
|
|
142
|
-
} from "./chunk-
|
|
143
|
-
import {
|
|
144
|
-
bloomWallet
|
|
145
|
-
} from "./chunk-PJ7Y57EH.js";
|
|
144
|
+
braveWallet
|
|
145
|
+
} from "./chunk-DS73TZ6O.js";
|
|
146
146
|
import {
|
|
147
147
|
bybitWallet
|
|
148
|
-
} from "./chunk-
|
|
149
|
-
import "./chunk-OLZ7626J.js";
|
|
148
|
+
} from "./chunk-OX37G4YT.js";
|
|
150
149
|
import "./chunk-N4IJLYFY.js";
|
|
150
|
+
import "./chunk-OLZ7626J.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.20.0",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -13,7 +13,8 @@
|
|
|
13
13
|
".": "./dist/index.js",
|
|
14
14
|
"./styles.css": "./dist/index.css",
|
|
15
15
|
"./wallets": "./dist/wallets/walletConnectors/index.js",
|
|
16
|
-
"./clients/*": "./dist/clients/*.js"
|
|
16
|
+
"./clients/*": "./dist/clients/*.js",
|
|
17
|
+
"./clients/polymarket": "./dist/clients/polymarket/index.js"
|
|
17
18
|
},
|
|
18
19
|
"main": "./dist/index.js",
|
|
19
20
|
"types": "./dist/index.d.ts",
|
|
@@ -110,11 +111,11 @@
|
|
|
110
111
|
"ua-parser-js": "^1.0.37",
|
|
111
112
|
"use-debounce": "^10.0.5",
|
|
112
113
|
"uuid": "^11.1.1",
|
|
113
|
-
"@funkit/api-base": "4.5.
|
|
114
|
-
"@funkit/chains": "2.
|
|
115
|
-
"@funkit/connect-core": "0.
|
|
116
|
-
"@funkit/fun-relay": "2.8.
|
|
117
|
-
"@funkit/utils": "3.0
|
|
114
|
+
"@funkit/api-base": "4.5.1",
|
|
115
|
+
"@funkit/chains": "2.1.0",
|
|
116
|
+
"@funkit/connect-core": "0.3.1",
|
|
117
|
+
"@funkit/fun-relay": "2.8.1",
|
|
118
|
+
"@funkit/utils": "3.1.0"
|
|
118
119
|
},
|
|
119
120
|
"repository": {
|
|
120
121
|
"type": "git",
|