@funkit/connect 9.4.3 → 9.5.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 +30 -0
- package/dist/__generated__/default_configs.d.ts +145 -6
- package/dist/__generated__/default_feature_gates.d.ts +1 -0
- package/dist/clients/{chunk-SBQ2UUPK.js → chunk-H6F75ULR.js} +7 -1
- package/dist/clients/fanatics.js +1 -1
- package/dist/clients/polymarket.js +1 -1
- package/dist/components/Dropdown/ChainDropdown.d.ts +1 -3
- package/dist/components/Dropdown/TokenAndChainDropdown.d.ts +1 -3
- package/dist/domains/quoteMode/exactIn.d.ts +2 -0
- package/dist/domains/quoteMode/exactOut.d.ts +2 -0
- package/dist/domains/quoteMode/gasEstimate.d.ts +15 -0
- package/dist/domains/quoteMode/index.d.ts +9 -0
- package/dist/domains/quoteMode/oneToOne.d.ts +21 -0
- package/dist/domains/quoteMode/resolveQuoteMode.d.ts +19 -0
- package/dist/domains/quoteMode/types.d.ts +125 -0
- package/dist/hooks/queries/useFops.d.ts +1 -0
- package/dist/hooks/queries/useWithdrawFops.d.ts +9 -0
- package/dist/hooks/track/CheckoutModalEvent.d.ts +1 -0
- package/dist/hooks/track/WithdrawModalEvent.d.ts +3 -0
- package/dist/hooks/useCheckoutTransferInit.d.ts +1 -0
- package/dist/hooks/useTokenAndChainDropdown.d.ts +0 -1
- package/dist/hooks/useTokenTransfer.d.ts +7 -11
- package/dist/hooks/useTokenTransferConfig.d.ts +1 -1
- package/dist/index.css +205 -205
- package/dist/index.js +3707 -3252
- package/dist/modals/CheckoutModal/SwappedIframe/SwappedIframeContainer.d.ts +1 -1
- package/dist/modals/WithdrawalModal/WithdrawalMethodSelect.d.ts +8 -0
- package/dist/modals/WithdrawalModal/types.d.ts +1 -0
- package/dist/providers/SwappedProvider.d.ts +2 -1
- package/dist/utils/bluvo.d.ts +2 -4
- package/dist/utils/funLogger.d.ts +3 -1
- package/dist/utils/tokenMath.d.ts +38 -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 +43 -43
- 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 +4 -3
- package/dist/wallets/walletConnectors/{chunk-6YO27XOM.js → chunk-3Y2GG3PM.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-HETS3KKI.js → chunk-3YCR2ZB4.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-HOPH3TQ3.js → chunk-C4RP2DNH.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-IICWJWGZ.js → chunk-CBI3SGOC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-GVOQTORD.js → chunk-CMLFDRCP.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-LI6QY2B5.js → chunk-COX3VEDR.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-EKJHJFRN.js → chunk-CT3QPTAU.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-7OARWILZ.js → chunk-DWMUM4F6.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-CJJT7LMT.js → chunk-FDVJHNLL.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-6UCI7GM6.js → chunk-I7K6LUZR.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-XBLHZICW.js → chunk-N3UJMC3V.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-4C7ER452.js → chunk-NEK7T3IC.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-PKMAPNN6.js → chunk-RLLTYOWT.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-GH4M6FTK.js → chunk-TIT5F32X.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-TTHM3WUR.js → chunk-UPUDLUBT.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-53VYSPXK.js → chunk-UVMMPRDM.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-GSHSWVEG.js → chunk-UVYZSGIX.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-KO56HCTI.js → chunk-ZMRIQOR5.js} +3 -3
|
@@ -14,4 +14,4 @@ export type SwappedIframeNext = {
|
|
|
14
14
|
success?: boolean;
|
|
15
15
|
};
|
|
16
16
|
export declare const SwappedIframeInfo: ModalStepInfo<FunCheckoutStep.SWAPPED_IFRAME>;
|
|
17
|
-
export declare function SwappedIframeContainer({ modalState,
|
|
17
|
+
export declare function SwappedIframeContainer({ modalState, onBack, onClose, setModalState, }: ModalStepComponentProps<FunCheckoutStep.SWAPPED_IFRAME>): React.JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import type { SwappedFormOfPayment } from '@funkit/api-base';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
interface WithdrawalMethodSelectProps {
|
|
4
|
+
onCryptoSelect: () => void;
|
|
5
|
+
onCashFopSelect: (fop: SwappedFormOfPayment) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function WithdrawalMethodSelect({ onCryptoSelect, onCashFopSelect, }: WithdrawalMethodSelectProps): React.JSX.Element;
|
|
8
|
+
export {};
|
|
@@ -2,13 +2,13 @@ import { type FormOfPaymentType } from '@funkit/api-base';
|
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { type SwappedTheme } from '../utils/swapped';
|
|
4
4
|
export interface SwappedIframeCallbacks {
|
|
5
|
-
onComplete: () => void;
|
|
6
5
|
onBack: () => void;
|
|
7
6
|
onExit: () => void;
|
|
8
7
|
onNewDeposit: () => void;
|
|
9
8
|
onError: (data: Record<string, unknown>) => void;
|
|
10
9
|
onNavigation: (step: string) => void;
|
|
11
10
|
onOrderData: (data: Record<string, unknown>) => void;
|
|
11
|
+
onSuccess: (data: Record<string, unknown>) => void;
|
|
12
12
|
onLogout: () => void;
|
|
13
13
|
}
|
|
14
14
|
interface SwappedContextValue {
|
|
@@ -21,6 +21,7 @@ interface SwappedContextValue {
|
|
|
21
21
|
resetIframe: () => void;
|
|
22
22
|
setIframeRef: (el: HTMLIFrameElement | null) => void;
|
|
23
23
|
setActiveCallbacks: (cb: SwappedIframeCallbacks | null) => void;
|
|
24
|
+
focusAmountInput: () => void;
|
|
24
25
|
swappedTheme: SwappedTheme;
|
|
25
26
|
}
|
|
26
27
|
export declare function SwappedProvider({ children }: {
|
package/dist/utils/bluvo.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ type WithdrawableBalance = WalletwithdrawbalancebalanceResponse['balances'][numb
|
|
|
3
3
|
import { type BluvoExecuteWithdrawalResponse, BluvoWithdrawalError } from '@funkit/api-base';
|
|
4
4
|
import type { BluvoExchangeType } from '../consts/bluvo';
|
|
5
5
|
import type { AssetHoldingsItem, AssetHoldingsMap, BrokerageAssetHoldingsItem } from '../domains/wallet';
|
|
6
|
+
import { type MinTransferConfig } from '../hooks/useTokenTransfer';
|
|
6
7
|
export declare const isBrokerageAsset: (asset: AssetHoldingsItem) => asset is BrokerageAssetHoldingsItem & {
|
|
7
8
|
usdAmount: number;
|
|
8
9
|
};
|
|
@@ -15,10 +16,7 @@ export declare const isBrokerageAsset: (asset: AssetHoldingsItem) => asset is Br
|
|
|
15
16
|
*/
|
|
16
17
|
export declare function getBrokerageMinMax(asset: BrokerageAssetHoldingsItem & {
|
|
17
18
|
usdAmount: number;
|
|
18
|
-
}, minTransferLimits: {
|
|
19
|
-
mainnet: number;
|
|
20
|
-
nonMainnet: number;
|
|
21
|
-
}, minDeposit?: number): {
|
|
19
|
+
}, minTransferLimits: MinTransferConfig, minDeposit?: number): {
|
|
22
20
|
minUsd: number;
|
|
23
21
|
maxUsd: number;
|
|
24
22
|
};
|
|
@@ -5,6 +5,7 @@ declare class FunLogger {
|
|
|
5
5
|
protected userAddress: string | null;
|
|
6
6
|
protected userName: string | null;
|
|
7
7
|
protected userLoginType: string | null;
|
|
8
|
+
protected typeLabel: string | null;
|
|
8
9
|
protected sdkVersion: string | null;
|
|
9
10
|
protected l2Address: string | null;
|
|
10
11
|
private isConfigured;
|
|
@@ -38,8 +39,9 @@ declare class FunLogger {
|
|
|
38
39
|
getUserAddress(): string | null;
|
|
39
40
|
getUserName(): string | null;
|
|
40
41
|
getUserLoginType(): string | null;
|
|
42
|
+
getTypeLabel(): string | null;
|
|
41
43
|
getL2Address(): string | null;
|
|
42
|
-
setUserInfo(userId: string, userAddress: string, userName: string, userLoginType: string, l2Address?: string): void;
|
|
44
|
+
setUserInfo(userId: string, userAddress: string, userName: string, userLoginType: string, typeLabel: string, l2Address?: string): void;
|
|
43
45
|
}
|
|
44
46
|
declare const logger: FunLogger;
|
|
45
47
|
export { logger, FunLogger };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { Dnum } from 'dnum';
|
|
2
|
+
/**
|
|
3
|
+
* Multiply a token amount by a float price, returning the result
|
|
4
|
+
* as a Dnum in `resultDecimals` precision. Uses floor rounding so the
|
|
5
|
+
* displayed value never exceeds the real value.
|
|
6
|
+
*
|
|
7
|
+
* @example
|
|
8
|
+
* // 6.999920 USDC (6 dec) × $1.00 → Dnum representing $6.99 (2 dec, floored)
|
|
9
|
+
* mulByPriceRoundedDown(dnum.from(6.99992, 6), 1.0, 2) // → Dnum [699n, 2]
|
|
10
|
+
*/
|
|
11
|
+
export declare function mulByPriceRoundedDown(amount: Dnum, price: number, resultDecimals: number): Dnum;
|
|
12
|
+
/**
|
|
13
|
+
* Convert a human-readable number to a Dnum.
|
|
14
|
+
* Uses truncation (not rounding) so the result never exceeds the input.
|
|
15
|
+
*/
|
|
16
|
+
export declare function toBaseUnits(amount: number, decimals: number): Dnum;
|
|
17
|
+
/**
|
|
18
|
+
* Like `toBaseUnits` but rounds up instead of truncating.
|
|
19
|
+
* Use for minimum amounts where going below the input would be incorrect.
|
|
20
|
+
*/
|
|
21
|
+
export declare function toBaseUnitsCeil(amount: number, decimals: number): Dnum;
|
|
22
|
+
/**
|
|
23
|
+
* Convert a Dnum to a human-readable number.
|
|
24
|
+
* **Use only at the display boundary** — the result is lossy.
|
|
25
|
+
*/
|
|
26
|
+
export declare function toDisplayNumber(amount: Dnum): number;
|
|
27
|
+
/**
|
|
28
|
+
* Floor a number to the given decimal places.
|
|
29
|
+
* Replaces inlined `Math.floor(x * 100) / 100` patterns.
|
|
30
|
+
*
|
|
31
|
+
* @example floorToDecimals(6.999, 2) → 6.99
|
|
32
|
+
*/
|
|
33
|
+
export declare function floorToDecimals(value: number, decimals: number): number;
|
|
34
|
+
/**
|
|
35
|
+
* Compare two token amounts. Returns true if a > b.
|
|
36
|
+
* Handles different decimal representations.
|
|
37
|
+
*/
|
|
38
|
+
export declare function tokenGreaterThan(a: Dnum, b: Dnum): boolean;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
bifrostWallet
|
|
4
|
-
} from "../chunk-
|
|
5
|
-
import "../chunk-MAPXJUOO.js";
|
|
4
|
+
} from "../chunk-CT3QPTAU.js";
|
|
6
5
|
import "../chunk-BAVE62IL.js";
|
|
6
|
+
import "../chunk-MAPXJUOO.js";
|
|
7
7
|
import "../chunk-KV4HGYM3.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-MAPXJUOO.js";
|
|
4
|
+
} from "../chunk-C4RP2DNH.js";
|
|
6
5
|
import "../chunk-BAVE62IL.js";
|
|
6
|
+
import "../chunk-MAPXJUOO.js";
|
|
7
7
|
import "../chunk-KV4HGYM3.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-MAPXJUOO.js";
|
|
4
|
+
} from "../chunk-I7K6LUZR.js";
|
|
6
5
|
import "../chunk-BAVE62IL.js";
|
|
6
|
+
import "../chunk-MAPXJUOO.js";
|
|
7
7
|
import "../chunk-KV4HGYM3.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-MAPXJUOO.js";
|
|
4
|
+
} from "../chunk-3Y2GG3PM.js";
|
|
6
5
|
import "../chunk-BAVE62IL.js";
|
|
6
|
+
import "../chunk-MAPXJUOO.js";
|
|
7
7
|
import "../chunk-KV4HGYM3.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-MAPXJUOO.js";
|
|
4
|
+
} from "../chunk-FDVJHNLL.js";
|
|
6
5
|
import "../chunk-BAVE62IL.js";
|
|
6
|
+
import "../chunk-MAPXJUOO.js";
|
|
7
7
|
import "../chunk-KV4HGYM3.js";
|
|
8
8
|
export {
|
|
9
9
|
frontierWallet
|
|
@@ -1,19 +1,22 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
zerionWallet
|
|
4
|
+
} from "./chunk-UPUDLUBT.js";
|
|
5
5
|
import {
|
|
6
6
|
kresusWallet
|
|
7
7
|
} from "./chunk-G4V5B6YC.js";
|
|
8
8
|
import {
|
|
9
9
|
tokenPocketWallet
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NEK7T3IC.js";
|
|
11
11
|
import {
|
|
12
12
|
tokenaryWallet
|
|
13
13
|
} from "./chunk-34LO6Q7A.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
trustWallet
|
|
16
|
+
} from "./chunk-ZMRIQOR5.js";
|
|
17
|
+
import {
|
|
18
|
+
talismanWallet
|
|
19
|
+
} from "./chunk-6MFOL6EB.js";
|
|
17
20
|
import {
|
|
18
21
|
uniswapWallet
|
|
19
22
|
} from "./chunk-NHLG5PVD.js";
|
|
@@ -27,32 +30,29 @@ import {
|
|
|
27
30
|
zealWallet
|
|
28
31
|
} from "./chunk-HE2LMIPD.js";
|
|
29
32
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
33
|
+
rainbowWallet
|
|
34
|
+
} from "./chunk-UVYZSGIX.js";
|
|
32
35
|
import {
|
|
33
36
|
ramperWallet
|
|
34
37
|
} from "./chunk-R4S234FL.js";
|
|
35
38
|
import {
|
|
36
39
|
roninWallet
|
|
37
|
-
} from "./chunk-
|
|
38
|
-
import {
|
|
39
|
-
oneKeyWallet
|
|
40
|
-
} from "./chunk-HE5J5T7X.js";
|
|
40
|
+
} from "./chunk-RLLTYOWT.js";
|
|
41
41
|
import {
|
|
42
42
|
safeWallet
|
|
43
43
|
} from "./chunk-YKVWTGU7.js";
|
|
44
44
|
import {
|
|
45
45
|
safeheronWallet
|
|
46
46
|
} from "./chunk-4R4AARTG.js";
|
|
47
|
+
import {
|
|
48
|
+
safepalWallet
|
|
49
|
+
} from "./chunk-CBI3SGOC.js";
|
|
47
50
|
import {
|
|
48
51
|
subWallet
|
|
49
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-N3UJMC3V.js";
|
|
50
53
|
import {
|
|
51
54
|
tahoWallet
|
|
52
55
|
} from "./chunk-4BMUFNMT.js";
|
|
53
|
-
import {
|
|
54
|
-
talismanWallet
|
|
55
|
-
} from "./chunk-6MFOL6EB.js";
|
|
56
56
|
import {
|
|
57
57
|
mewWallet
|
|
58
58
|
} from "./chunk-HKVDCVCG.js";
|
|
@@ -61,31 +61,31 @@ import {
|
|
|
61
61
|
} from "./chunk-BVX22N7L.js";
|
|
62
62
|
import {
|
|
63
63
|
okxWallet
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-COX3VEDR.js";
|
|
65
65
|
import {
|
|
66
66
|
omniWallet
|
|
67
67
|
} from "./chunk-INNF7G5X.js";
|
|
68
68
|
import {
|
|
69
69
|
oneInchWallet
|
|
70
70
|
} from "./chunk-RVWLP4IM.js";
|
|
71
|
+
import {
|
|
72
|
+
oneKeyWallet
|
|
73
|
+
} from "./chunk-HE5J5T7X.js";
|
|
71
74
|
import {
|
|
72
75
|
phantomWallet
|
|
73
76
|
} from "./chunk-XMNVOYSJ.js";
|
|
74
77
|
import {
|
|
75
78
|
rabbyWallet
|
|
76
79
|
} from "./chunk-WFNPWKU3.js";
|
|
77
|
-
import {
|
|
78
|
-
rainbowWallet
|
|
79
|
-
} from "./chunk-GSHSWVEG.js";
|
|
80
80
|
import {
|
|
81
81
|
foxWallet
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-UVMMPRDM.js";
|
|
83
83
|
import {
|
|
84
84
|
frontierWallet
|
|
85
|
-
} from "./chunk-
|
|
85
|
+
} from "./chunk-FDVJHNLL.js";
|
|
86
86
|
import {
|
|
87
87
|
gateWallet
|
|
88
|
-
} from "./chunk-
|
|
88
|
+
} from "./chunk-DWMUM4F6.js";
|
|
89
89
|
import {
|
|
90
90
|
imTokenWallet
|
|
91
91
|
} from "./chunk-IUVO4IN3.js";
|
|
@@ -100,54 +100,54 @@ import {
|
|
|
100
100
|
} from "./chunk-WKCCLGHJ.js";
|
|
101
101
|
import {
|
|
102
102
|
metaMaskWallet
|
|
103
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-3YCR2ZB4.js";
|
|
104
104
|
import {
|
|
105
|
-
|
|
106
|
-
} from "./chunk-
|
|
105
|
+
braveWallet
|
|
106
|
+
} from "./chunk-ZRNBHLUU.js";
|
|
107
107
|
import {
|
|
108
108
|
coin98Wallet
|
|
109
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-3Y2GG3PM.js";
|
|
110
|
+
import {
|
|
111
|
+
coreWallet
|
|
112
|
+
} from "./chunk-TIT5F32X.js";
|
|
113
|
+
import {
|
|
114
|
+
bitverseWallet
|
|
115
|
+
} from "./chunk-GROWFRGP.js";
|
|
110
116
|
import {
|
|
111
117
|
coinbaseWallet
|
|
112
118
|
} from "./chunk-RZXMOPIV.js";
|
|
113
119
|
import {
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
116
|
-
import {
|
|
117
|
-
coreWallet
|
|
118
|
-
} from "./chunk-GH4M6FTK.js";
|
|
120
|
+
dawnWallet
|
|
121
|
+
} from "./chunk-TFVCCI2D.js";
|
|
119
122
|
import {
|
|
120
123
|
desigWallet
|
|
121
124
|
} from "./chunk-JYVLYSH3.js";
|
|
122
|
-
import {
|
|
123
|
-
dawnWallet
|
|
124
|
-
} from "./chunk-TFVCCI2D.js";
|
|
125
125
|
import {
|
|
126
126
|
enkryptWallet
|
|
127
127
|
} from "./chunk-W6TXXLCO.js";
|
|
128
128
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./chunk-
|
|
129
|
+
bitgetWallet
|
|
130
|
+
} from "./chunk-C4RP2DNH.js";
|
|
131
131
|
import {
|
|
132
132
|
argentWallet
|
|
133
133
|
} from "./chunk-VUOAIUZE.js";
|
|
134
134
|
import {
|
|
135
135
|
bitskiWallet
|
|
136
136
|
} from "./chunk-A7FNGC4A.js";
|
|
137
|
-
import {
|
|
138
|
-
bitverseWallet
|
|
139
|
-
} from "./chunk-GROWFRGP.js";
|
|
140
137
|
import {
|
|
141
138
|
bloomWallet
|
|
142
139
|
} from "./chunk-UB2SSFH7.js";
|
|
143
140
|
import {
|
|
144
|
-
|
|
145
|
-
} from "./chunk-
|
|
141
|
+
bifrostWallet
|
|
142
|
+
} from "./chunk-CT3QPTAU.js";
|
|
146
143
|
import {
|
|
147
144
|
bybitWallet
|
|
148
|
-
} from "./chunk-
|
|
149
|
-
import
|
|
145
|
+
} from "./chunk-I7K6LUZR.js";
|
|
146
|
+
import {
|
|
147
|
+
clvWallet
|
|
148
|
+
} from "./chunk-CMLFDRCP.js";
|
|
150
149
|
import "./chunk-BAVE62IL.js";
|
|
150
|
+
import "./chunk-MAPXJUOO.js";
|
|
151
151
|
import "./chunk-KV4HGYM3.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-MAPXJUOO.js";
|
|
4
|
+
} from "../chunk-3YCR2ZB4.js";
|
|
6
5
|
import "../chunk-BAVE62IL.js";
|
|
6
|
+
import "../chunk-MAPXJUOO.js";
|
|
7
7
|
import "../chunk-KV4HGYM3.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-MAPXJUOO.js";
|
|
4
|
+
} from "../chunk-UVYZSGIX.js";
|
|
6
5
|
import "../chunk-BAVE62IL.js";
|
|
6
|
+
import "../chunk-MAPXJUOO.js";
|
|
7
7
|
import "../chunk-KV4HGYM3.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-MAPXJUOO.js";
|
|
4
|
+
} from "../chunk-RLLTYOWT.js";
|
|
6
5
|
import "../chunk-BAVE62IL.js";
|
|
6
|
+
import "../chunk-MAPXJUOO.js";
|
|
7
7
|
import "../chunk-KV4HGYM3.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-MAPXJUOO.js";
|
|
4
|
+
} from "../chunk-CBI3SGOC.js";
|
|
6
5
|
import "../chunk-BAVE62IL.js";
|
|
6
|
+
import "../chunk-MAPXJUOO.js";
|
|
7
7
|
import "../chunk-KV4HGYM3.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-MAPXJUOO.js";
|
|
4
|
+
} from "../chunk-NEK7T3IC.js";
|
|
6
5
|
import "../chunk-BAVE62IL.js";
|
|
6
|
+
import "../chunk-MAPXJUOO.js";
|
|
7
7
|
import "../chunk-KV4HGYM3.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-MAPXJUOO.js";
|
|
4
|
+
} from "../chunk-ZMRIQOR5.js";
|
|
6
5
|
import "../chunk-BAVE62IL.js";
|
|
6
|
+
import "../chunk-MAPXJUOO.js";
|
|
7
7
|
import "../chunk-KV4HGYM3.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-MAPXJUOO.js";
|
|
4
|
+
} from "../chunk-UPUDLUBT.js";
|
|
6
5
|
import "../chunk-BAVE62IL.js";
|
|
6
|
+
import "../chunk-MAPXJUOO.js";
|
|
7
7
|
import "../chunk-KV4HGYM3.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.5.1",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -94,6 +94,7 @@
|
|
|
94
94
|
"@vanilla-extract/dynamic": "2.1.0",
|
|
95
95
|
"@vanilla-extract/sprinkles": "1.6.1",
|
|
96
96
|
"clsx": "2.1.1",
|
|
97
|
+
"dnum": "2.17.0",
|
|
97
98
|
"i18next": "25.6.2",
|
|
98
99
|
"motion": "^12.0.11",
|
|
99
100
|
"qrcode": "1.5.3",
|
|
@@ -103,10 +104,10 @@
|
|
|
103
104
|
"ua-parser-js": "^1.0.37",
|
|
104
105
|
"use-debounce": "^10.0.5",
|
|
105
106
|
"uuid": "^9.0.1",
|
|
106
|
-
"@funkit/api-base": "3.0.4",
|
|
107
107
|
"@funkit/chains": "1.1.2",
|
|
108
|
+
"@funkit/api-base": "3.0.6",
|
|
108
109
|
"@funkit/fun-relay": "2.6.5",
|
|
109
|
-
"@funkit/utils": "1.2.
|
|
110
|
+
"@funkit/utils": "1.2.8"
|
|
110
111
|
},
|
|
111
112
|
"repository": {
|
|
112
113
|
"type": "git",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-MAPXJUOO.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-BAVE62IL.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-MAPXJUOO.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/coin98Wallet/coin98Wallet.ts
|
|
11
11
|
var coin98Wallet = ({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-MAPXJUOO.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-BAVE62IL.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-MAPXJUOO.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/metaMaskWallet/metaMaskWallet.ts
|
|
11
11
|
import { isAndroid, isIOS } from "@funkit/utils";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-MAPXJUOO.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-BAVE62IL.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-MAPXJUOO.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/bitgetWallet/bitgetWallet.ts
|
|
11
11
|
import { isAndroid } from "@funkit/utils";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-MAPXJUOO.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-BAVE62IL.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-MAPXJUOO.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/safepalWallet/safepalWallet.ts
|
|
11
11
|
var safepalWallet = ({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-MAPXJUOO.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-BAVE62IL.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-MAPXJUOO.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/clvWallet/clvWallet.ts
|
|
11
11
|
var clvWallet = ({
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getWalletConnectConnector
|
|
4
|
-
} from "./chunk-MAPXJUOO.js";
|
|
5
2
|
import {
|
|
6
3
|
getInjectedConnector,
|
|
7
4
|
hasInjectedProvider
|
|
8
5
|
} from "./chunk-BAVE62IL.js";
|
|
6
|
+
import {
|
|
7
|
+
getWalletConnectConnector
|
|
8
|
+
} from "./chunk-MAPXJUOO.js";
|
|
9
9
|
|
|
10
10
|
// src/wallets/walletConnectors/okxWallet/okxWallet.ts
|
|
11
11
|
import { isAndroid } from "@funkit/utils";
|