@funkit/connect 3.0.0 → 3.0.2
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 +29 -0
- package/dist/__private__/index.d.ts +1 -1
- package/dist/{arbitrum-EB6UHB7R.js → arbitrum-7TAKMNTY.js} +1 -1
- package/dist/{avalanche-GTIW2NZO.js → avalanche-DP4OGWPS.js} +1 -1
- package/dist/{base-DSVASA5E.js → base-JKDU5GAC.js} +1 -1
- package/dist/{blast-T4B7OICF.js → blast-OXCCKFNZ.js} +1 -1
- package/dist/{bsc-D3LSG6XI.js → bsc-3D3KFEXX.js} +1 -1
- package/dist/components/Avatar/EmojiAvatar.d.ts +1 -1
- package/dist/components/ConnectButton/ConnectButtonRenderer.d.ts +1 -1
- package/dist/components/Dialog/Dialog.css.d.ts +1 -0
- package/dist/components/Dialog/Dialog.d.ts +4 -2
- package/dist/components/DydxSwitchModalTab/DydxSwitchModalTab.d.ts +2 -2
- package/dist/components/FunButton/FunIconButton.d.ts +1 -0
- package/dist/components/FunCheckoutBlocked/FunCheckoutBlocked.css.d.ts +1 -0
- package/dist/components/FunCheckoutBlocked/FunCheckoutBlocked.d.ts +2 -0
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +2 -1
- package/dist/components/index.d.ts +1 -1
- package/dist/config/getDefaultConfig.d.ts +429 -3149
- package/dist/consts/customers.d.ts +1 -0
- package/dist/{cronos-7AZSHGK7.js → cronos-5OEAMVEV.js} +1 -1
- package/dist/{dydx-B46RMDPA.js → dydx-IANKGTOD.js} +1 -1
- package/dist/{ethereum-NOZIKDN4.js → ethereum-VZBBHP2I.js} +1 -1
- package/dist/{hardhat-63UZQ2D2.js → hardhat-KGYIXSL3.js} +1 -1
- package/dist/hooks/useCheckoutType.d.ts +1 -1
- package/dist/hooks/useUsableWalletAssetsForCheckout.d.ts +1 -1
- package/dist/index.css +147 -127
- package/dist/index.d.ts +13 -12
- package/dist/index.js +4471 -4342
- package/dist/{klaytn-NDCZPHVS.js → klaytn-VYNHNZBE.js} +1 -1
- package/dist/{manta-VVKV27TG.js → manta-2J6LNNQO.js} +1 -1
- package/dist/{mantle-UYR6COHH.js → mantle-4HPADCAY.js} +1 -1
- package/dist/{components → modals}/ChainModal/Chain.d.ts +1 -1
- package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.css.d.ts +2 -0
- package/dist/{components → modals}/FunCheckoutModal/FunCheckoutInputAmountStep.d.ts +2 -1
- package/dist/{components → modals}/FunCheckoutModal/FunCheckoutModal.d.ts +5 -1
- package/dist/{components → modals}/FunCheckoutModal/FunCheckoutPrimaryInfo.d.ts +1 -1
- package/dist/{components → modals}/FunCheckoutModal/FunCheckoutVerifyDetailsStep.d.ts +5 -2
- package/dist/{components → modals}/ProfileDetails/ProfileDetails.d.ts +1 -0
- package/dist/{optimism-XW773SJ7.js → optimism-7SXPPT5B.js} +1 -1
- package/dist/{polygon-CTDRND6O.js → polygon-KTSHZSJE.js} +1 -1
- package/dist/{components/FunkitProvider → providers}/FunToastProvider.d.ts +1 -1
- package/dist/{components/FunkitProvider → providers}/FunkitCheckoutContext.d.ts +5 -3
- package/dist/{components/FunkitProvider → providers}/FunkitConfigContext.d.ts +1 -1
- package/dist/{components/FunkitProvider → providers}/FunkitMeshProvider.d.ts +1 -1
- package/dist/{components/FunkitProvider → providers}/FunkitMoonpayProvider.d.ts +1 -0
- package/dist/{components/FunkitProvider → providers}/FunkitProvider.d.ts +3 -3
- package/dist/{components/FunkitProvider → providers}/FunkitThemeProvider.d.ts +1 -1
- package/dist/{components/FunkitProvider → providers}/FunkitWeb2Provider.d.ts +1 -1
- package/dist/{components/FunkitProvider → providers}/GeneralWalletProvider.d.ts +14 -14
- package/dist/{components/FunkitProvider → providers}/I18nContext.d.ts +1 -1
- package/dist/{components/FunkitProvider → providers}/ModalContext.d.ts +1 -1
- package/dist/{components/FunkitProvider → providers}/ShowBalanceContext.d.ts +1 -1
- package/dist/{ronin-O2PUII26.js → ronin-NDQSRHAA.js} +1 -1
- package/dist/utils/assetAbort.d.ts +9 -0
- package/dist/utils/assets.d.ts +1 -1
- package/dist/utils/checkout.d.ts +1 -1
- package/dist/utils/flags/config.d.ts +4 -1
- package/dist/utils/flags/index.d.ts +1 -0
- package/dist/utils/funkitProvider.d.ts +1 -1
- package/dist/utils/mesh.d.ts +1 -1
- package/dist/wallets/walletConnectors/index.js +61 -61
- package/dist/{xdc-GR4FVKJB.js → xdc-DOOU3NNX.js} +1 -1
- package/dist/{zetachain-HP3BWJBU.js → zetachain-2J22B4NG.js} +1 -1
- package/dist/{zkSync-UPIELHYI.js → zkSync-YDZI4H7P.js} +1 -1
- package/dist/{zora-DMM6D4R4.js → zora-54FXXQHV.js} +1 -1
- package/package.json +6 -6
- /package/dist/{components → modals}/AccountModal/AccountModal.d.ts +0 -0
- /package/dist/{components → modals}/ChainModal/ChainModal.css.d.ts +0 -0
- /package/dist/{components → modals}/ChainModal/ChainModal.d.ts +0 -0
- /package/dist/{components → modals}/ConnectModal/ConnectModal.d.ts +0 -0
- /package/dist/{components → modals}/DevTest/DevEmbed.d.ts +0 -0
- /package/dist/{components → modals}/DevTest/FunDevTestModal.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryContent.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryDetail.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryHelp.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryModal.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutStatus.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutModal/FunCheckoutConfirmationStep.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutModal/FunCheckoutConnectExchangeStep.d.ts +0 -0
- /package/dist/{components → modals}/FunCheckoutModal/FunCheckoutSelectAssetStep.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/ActivityTraversalContext.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/FunProfileViews/ActivityHistory/ActivityHistory.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/Home.css.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.css.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/HomeTokenDisplayRow.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/index.d.ts +0 -0
- /package/dist/{components → modals}/ProfileDetails/FunProfileViews/Settings/Settings.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/AppContext.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/AuthenticationContext.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/AvatarContext.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/FunkitConnectChainContext.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/FunkitSandboxContext.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/ModalSizeContext.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/provideFunkitConnectChains.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/useFingerprint.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/usePreloadImages.d.ts +0 -0
- /package/dist/{components/FunkitProvider → providers}/walletConnectDeepLink.d.ts +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AssetBalanceInfo } from '@funkit/api-base';
|
|
2
2
|
import { Auth, FunWallet } from '@funkit/core';
|
|
3
3
|
import React from 'react';
|
|
4
|
-
import { FunkitUserInfo } from '
|
|
5
|
-
import { PaymentMethodInfo } from '
|
|
4
|
+
import { FunkitUserInfo } from '../consts/funkit';
|
|
5
|
+
import { PaymentMethodInfo } from '../consts/payment';
|
|
6
6
|
export interface KnownAssetBalanceInfo extends AssetBalanceInfo {
|
|
7
7
|
price: number;
|
|
8
8
|
totalUsdValue: number;
|
|
@@ -99,15 +99,15 @@ export declare const useFunkitDisconnect: () => {
|
|
|
99
99
|
error: null;
|
|
100
100
|
data: undefined;
|
|
101
101
|
status: "idle";
|
|
102
|
+
variables: undefined;
|
|
102
103
|
isError: false;
|
|
104
|
+
isIdle: true;
|
|
103
105
|
isPending: false;
|
|
104
106
|
isSuccess: false;
|
|
107
|
+
context: unknown;
|
|
105
108
|
failureCount: number;
|
|
106
109
|
failureReason: import("@wagmi/core").DisconnectErrorType | null;
|
|
107
110
|
isPaused: boolean;
|
|
108
|
-
variables: undefined;
|
|
109
|
-
isIdle: true;
|
|
110
|
-
context: unknown;
|
|
111
111
|
submittedAt: number;
|
|
112
112
|
connectors: readonly import("wagmi").Connector[];
|
|
113
113
|
} | {
|
|
@@ -117,15 +117,15 @@ export declare const useFunkitDisconnect: () => {
|
|
|
117
117
|
error: null;
|
|
118
118
|
data: undefined;
|
|
119
119
|
status: "pending";
|
|
120
|
+
variables: import("wagmi/query").DisconnectVariables;
|
|
120
121
|
isError: false;
|
|
122
|
+
isIdle: false;
|
|
121
123
|
isPending: true;
|
|
122
124
|
isSuccess: false;
|
|
125
|
+
context: unknown;
|
|
123
126
|
failureCount: number;
|
|
124
127
|
failureReason: import("@wagmi/core").DisconnectErrorType | null;
|
|
125
128
|
isPaused: boolean;
|
|
126
|
-
variables: import("wagmi/query").DisconnectVariables;
|
|
127
|
-
isIdle: false;
|
|
128
|
-
context: unknown;
|
|
129
129
|
submittedAt: number;
|
|
130
130
|
connectors: readonly import("wagmi").Connector[];
|
|
131
131
|
} | {
|
|
@@ -135,15 +135,15 @@ export declare const useFunkitDisconnect: () => {
|
|
|
135
135
|
error: import("@wagmi/core").DisconnectErrorType;
|
|
136
136
|
data: undefined;
|
|
137
137
|
status: "error";
|
|
138
|
+
variables: import("wagmi/query").DisconnectVariables;
|
|
138
139
|
isError: true;
|
|
140
|
+
isIdle: false;
|
|
139
141
|
isPending: false;
|
|
140
142
|
isSuccess: false;
|
|
143
|
+
context: unknown;
|
|
141
144
|
failureCount: number;
|
|
142
145
|
failureReason: import("@wagmi/core").DisconnectErrorType | null;
|
|
143
146
|
isPaused: boolean;
|
|
144
|
-
variables: import("wagmi/query").DisconnectVariables;
|
|
145
|
-
isIdle: false;
|
|
146
|
-
context: unknown;
|
|
147
147
|
submittedAt: number;
|
|
148
148
|
connectors: readonly import("wagmi").Connector[];
|
|
149
149
|
} | {
|
|
@@ -153,15 +153,15 @@ export declare const useFunkitDisconnect: () => {
|
|
|
153
153
|
error: null;
|
|
154
154
|
data: void;
|
|
155
155
|
status: "success";
|
|
156
|
+
variables: import("wagmi/query").DisconnectVariables;
|
|
156
157
|
isError: false;
|
|
158
|
+
isIdle: false;
|
|
157
159
|
isPending: false;
|
|
158
160
|
isSuccess: true;
|
|
161
|
+
context: unknown;
|
|
159
162
|
failureCount: number;
|
|
160
163
|
failureReason: import("@wagmi/core").DisconnectErrorType | null;
|
|
161
164
|
isPaused: boolean;
|
|
162
|
-
variables: import("wagmi/query").DisconnectVariables;
|
|
163
|
-
isIdle: false;
|
|
164
|
-
context: unknown;
|
|
165
165
|
submittedAt: number;
|
|
166
166
|
connectors: readonly import("wagmi").Connector[];
|
|
167
167
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
-
import { ResponsiveValue } from '
|
|
2
|
+
import { ResponsiveValue } from '../css/sprinkles.css';
|
|
3
3
|
interface ShowBalanceContextValue {
|
|
4
4
|
showBalance: ResponsiveValue<boolean> | undefined;
|
|
5
5
|
setShowBalance: (showBalance: ResponsiveValue<boolean>) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
// src/
|
|
3
|
+
// src/providers/chainIcons/ronin.svg
|
|
4
4
|
var ronin_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 28 28"><g clip-path="url(%23a)"><mask id="b" width="28" height="28" x="0" y="0" maskUnits="userSpaceOnUse" style="mask-type:alpha"><path fill="%23FDFDFF" d="M14 28c7.732 0 14-6.268 14-14S21.732 0 14 0 0 6.268 0 14s6.268 14 14 14Z"/></mask><g mask="url(%23b)"><path fill="%23FDFDFF" d="M6 3h16v21H6z"/><path fill="%231273EA" d="M0 14v14h28V0H0v14Zm19.468-8.543c.307.072.537.201.747.42.103.108.186.23.253.37.06.126.089.212.115.343l.02.1v11.805l-.02.094c-.062.28-.193.529-.383.722-.05.05-.302.26-.672.556l-1.038.833-.754.605-2.038 1.636c-.569.458-1.06.85-1.093.872-.34.23-.782.246-1.14.04a5.804 5.804 0 0 1-.388-.294L9.94 21.04l-1.199-.962c-.651-.523-.895-.724-.954-.786a1.445 1.445 0 0 1-.369-.739c-.017-.101-.017-.19-.015-6.005l.002-5.902.026-.103a1.445 1.445 0 0 1 1.224-1.105c.017-.002 2.44-.003 5.38-.003l5.35.002.083.02Z"/><path fill="%231273EA" d="M10.873 7.58A1.43 1.43 0 0 0 9.586 8.65c-.045.181-.044-.05-.044 4.489 0 2.905.003 4.25.01 4.302.043.348.188.642.43.875.053.05 2.205 1.784 2.318 1.867.025.02.04.023.095.023.056 0 .07-.004.101-.024a.18.18 0 0 0 .056-.063l.019-.04v-2.957c0-1.89.004-2.968.009-2.988a.186.186 0 0 1 .09-.113l.042-.022h.874c.958 0 .948 0 1.112.055.322.107.572.36.68.684.054.16.051-.007.051 2.765 0 1.81.003 2.552.01 2.577.021.08.089.13.172.13a.175.175 0 0 0 .072-.015c.027-.014 2.194-1.75 2.308-1.848.224-.195.39-.494.45-.809.02-.1.02-.108.023-1.442.004-1.392 0-1.52-.033-1.682a1.375 1.375 0 0 0-.39-.707 1.374 1.374 0 0 0-.847-.41l-.094-.012.063-.007c.18-.02.362-.071.503-.142.397-.2.669-.552.767-.996l.02-.09v-1.61c0-1.533 0-1.613-.017-1.698a1.404 1.404 0 0 0-.426-.778 1.4 1.4 0 0 0-.853-.382c-.093-.008-6.186-.011-6.284-.003Zm4.464 1.445c.021.012.05.037.063.057l.025.036.002 1.233c.002 1.103.001 1.242-.011 1.322-.072.432-.39.77-.83.878-.074.018-.097.018-.967.021-.996.004-.937.007-.998-.06a.213.213 0 0 1-.04-.069c-.014-.048-.014-3.265 0-3.313a.207.207 0 0 1 .11-.118c.031-.01.23-.012 1.322-.01l1.286.001.038.022Z"/></g></g><defs><clipPath id="a"><path fill="%23fff" d="M0 0h28v28H0z"/></clipPath></defs></svg>';
|
|
5
5
|
export {
|
|
6
6
|
ronin_default as default
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
declare class AssetAbortClass {
|
|
2
|
+
private abortController;
|
|
3
|
+
constructor(abortController: AbortController);
|
|
4
|
+
setAbortController(newAbortController: AbortController): void;
|
|
5
|
+
getAbortSignal(): AbortSignal;
|
|
6
|
+
abort(reason?: any): void;
|
|
7
|
+
}
|
|
8
|
+
export declare const singletonAssetAbort: AssetAbortClass;
|
|
9
|
+
export {};
|
package/dist/utils/assets.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { FunkitActiveCheckoutItem } from '../components/FunkitProvider/FunkitCheckoutContext';
|
|
2
1
|
import { PaymentMethod } from '../consts/payment';
|
|
2
|
+
import { FunkitActiveCheckoutItem } from '../providers/FunkitCheckoutContext';
|
|
3
3
|
export declare const getNormalizedTokenBalance: (tokenBalance: number, decimals: number) => number;
|
|
4
4
|
export declare const isAssetUsableToPayForCheckout: (checkoutItem: FunkitActiveCheckoutItem, paymentMethod: PaymentMethod, assetChainId: string, assetTokenAddress: string, isWeb2Login: boolean, isWeb3Login: boolean) => {
|
|
5
5
|
isUsable: boolean;
|
package/dist/utils/checkout.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { CheckoutHistoryItem, CheckoutState } from '@funkit/api-base';
|
|
2
2
|
import { Address, Hex } from 'viem';
|
|
3
3
|
import { UseConfigReturnType } from 'wagmi';
|
|
4
|
-
import { FunkitActiveCheckoutItem, FunkitCheckoutConfig } from '../
|
|
4
|
+
import { FunkitActiveCheckoutItem, FunkitCheckoutConfig } from '../providers/FunkitCheckoutContext';
|
|
5
5
|
export declare const MOONPAY_TIME_ESTIMATE_MS = 120000;
|
|
6
6
|
export declare const MESH_TIME_ESTIMATE_MS = 300000;
|
|
7
7
|
export declare const DUMMY_TRANSFER_PARAMS: {
|
|
@@ -23,7 +23,9 @@ export declare enum FlagKey {
|
|
|
23
23
|
/** Which exchanges to show in the exchange selection screen */
|
|
24
24
|
SupportedExchanges = "supported_exchanges",
|
|
25
25
|
/** Which countries should be blocked for Funkit Checkout. Reference Alpha-2 Code format https://www.iban.com/country-codes. */
|
|
26
|
-
BlockedCountries = "blocked_countries"
|
|
26
|
+
BlockedCountries = "blocked_countries",
|
|
27
|
+
/** Whether to show the [Powered by Fun.xyz] tagline at the bottom of the checkout modal. */
|
|
28
|
+
ShowPoweredTagline = "show_powered_tagline"
|
|
27
29
|
}
|
|
28
30
|
export declare const flagConfig: {
|
|
29
31
|
[FlagKey.PaymentMethodCopyV1]: BooleanFlagConfig;
|
|
@@ -32,4 +34,5 @@ export declare const flagConfig: {
|
|
|
32
34
|
[FlagKey.DisableZkSyncSourceAssetsForDydxCheckouts]: BooleanFlagConfig;
|
|
33
35
|
[FlagKey.SupportedExchanges]: StringFlagConfig;
|
|
34
36
|
[FlagKey.BlockedCountries]: StringFlagConfig;
|
|
37
|
+
[FlagKey.ShowPoweredTagline]: BooleanFlagConfig;
|
|
35
38
|
};
|
|
@@ -8,5 +8,6 @@ declare const singleton: FeatureFlag<{
|
|
|
8
8
|
disable_zksync_source_assets_for_dydx_checkouts: import("./types").BooleanFlagConfig;
|
|
9
9
|
supported_exchanges: import("./types").StringFlagConfig;
|
|
10
10
|
blocked_countries: import("./types").StringFlagConfig;
|
|
11
|
+
show_powered_tagline: import("./types").BooleanFlagConfig;
|
|
11
12
|
}>;
|
|
12
13
|
export declare const flags: Pick<typeof singleton, "init" | "getBool" | "getNumber" | "getString">;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FunkitProviderProps } from '../
|
|
1
|
+
import { FunkitProviderProps } from '../providers/FunkitProvider';
|
|
2
2
|
export declare function getInitialChainIdFromFunkitProviderProps(props: FunkitProviderProps): number | undefined;
|
|
3
3
|
/**
|
|
4
4
|
* Validates the passed in props of FunkitProvider. If there are any misconfigurations, an error will be thrown.
|
package/dist/utils/mesh.d.ts
CHANGED
|
@@ -1,40 +1,43 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
3
|
+
uniswapWallet
|
|
4
|
+
} from "./chunk-QFRZGNNV.js";
|
|
5
|
+
import {
|
|
6
|
+
zerionWallet
|
|
7
|
+
} from "./chunk-DBP432DI.js";
|
|
5
8
|
import {
|
|
6
9
|
zealWallet
|
|
7
10
|
} from "./chunk-BUUV6BS4.js";
|
|
8
|
-
import {
|
|
9
|
-
trustWallet
|
|
10
|
-
} from "./chunk-X45WXZDO.js";
|
|
11
11
|
import {
|
|
12
12
|
safeheronWallet
|
|
13
13
|
} from "./chunk-FCIRHRFH.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./chunk-
|
|
15
|
+
tahoWallet
|
|
16
|
+
} from "./chunk-6AYBA6IH.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
18
|
+
tokenPocketWallet
|
|
19
|
+
} from "./chunk-ISJYPD3T.js";
|
|
20
20
|
import {
|
|
21
21
|
subWallet
|
|
22
22
|
} from "./chunk-N3ELQYCY.js";
|
|
23
|
-
import {
|
|
24
|
-
tokenPocketWallet
|
|
25
|
-
} from "./chunk-ISJYPD3T.js";
|
|
26
23
|
import {
|
|
27
24
|
tokenaryWallet
|
|
28
25
|
} from "./chunk-FAYEL4JP.js";
|
|
29
26
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./chunk-
|
|
27
|
+
walletConnectWallet
|
|
28
|
+
} from "./chunk-OFU3PEVT.js";
|
|
32
29
|
import {
|
|
33
30
|
xdefiWallet
|
|
34
31
|
} from "./chunk-RVIZMVFR.js";
|
|
32
|
+
import {
|
|
33
|
+
trustWallet
|
|
34
|
+
} from "./chunk-X45WXZDO.js";
|
|
35
35
|
import {
|
|
36
36
|
phantomWallet
|
|
37
37
|
} from "./chunk-KEVUI6AA.js";
|
|
38
|
+
import {
|
|
39
|
+
ramperWallet
|
|
40
|
+
} from "./chunk-TKXQYHWJ.js";
|
|
38
41
|
import {
|
|
39
42
|
rainbowWallet
|
|
40
43
|
} from "./chunk-OHJBALD3.js";
|
|
@@ -51,103 +54,100 @@ import {
|
|
|
51
54
|
safepalWallet
|
|
52
55
|
} from "./chunk-AKAT37SI.js";
|
|
53
56
|
import {
|
|
54
|
-
|
|
55
|
-
} from "./chunk-
|
|
56
|
-
import {
|
|
57
|
-
tahoWallet
|
|
58
|
-
} from "./chunk-6AYBA6IH.js";
|
|
59
|
-
import {
|
|
60
|
-
ledgerWallet
|
|
61
|
-
} from "./chunk-ZMHCZCGS.js";
|
|
57
|
+
talismanWallet
|
|
58
|
+
} from "./chunk-OTXHQMSG.js";
|
|
62
59
|
import {
|
|
63
|
-
|
|
64
|
-
} from "./chunk-
|
|
60
|
+
imTokenWallet
|
|
61
|
+
} from "./chunk-BMJOLT2N.js";
|
|
65
62
|
import {
|
|
66
63
|
metaMaskWallet
|
|
67
64
|
} from "./chunk-ODRDT73B.js";
|
|
68
|
-
import {
|
|
69
|
-
oktoWallet
|
|
70
|
-
} from "./chunk-MBQTOALG.js";
|
|
71
65
|
import {
|
|
72
66
|
mewWallet
|
|
73
67
|
} from "./chunk-CVYXTHZ6.js";
|
|
74
68
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./chunk-
|
|
69
|
+
omniWallet
|
|
70
|
+
} from "./chunk-II6YBG2B.js";
|
|
71
|
+
import {
|
|
72
|
+
oktoWallet
|
|
73
|
+
} from "./chunk-MBQTOALG.js";
|
|
74
|
+
import {
|
|
75
|
+
okxWallet
|
|
76
|
+
} from "./chunk-5HXH52SO.js";
|
|
77
77
|
import {
|
|
78
78
|
oneKeyWallet
|
|
79
79
|
} from "./chunk-ZP2SV6KN.js";
|
|
80
80
|
import {
|
|
81
|
-
|
|
82
|
-
} from "./chunk-
|
|
83
|
-
import {
|
|
84
|
-
enkryptWallet
|
|
85
|
-
} from "./chunk-JJ4DXD7R.js";
|
|
81
|
+
oneInchWallet
|
|
82
|
+
} from "./chunk-I7MKK24W.js";
|
|
86
83
|
import {
|
|
87
84
|
frontierWallet
|
|
88
85
|
} from "./chunk-LCOUKF2U.js";
|
|
86
|
+
import {
|
|
87
|
+
foxWallet
|
|
88
|
+
} from "./chunk-WAOREEBE.js";
|
|
89
89
|
import {
|
|
90
90
|
frameWallet
|
|
91
91
|
} from "./chunk-KPVNJO3R.js";
|
|
92
|
-
import {
|
|
93
|
-
imTokenWallet
|
|
94
|
-
} from "./chunk-BMJOLT2N.js";
|
|
95
|
-
import {
|
|
96
|
-
kresusWallet
|
|
97
|
-
} from "./chunk-QQJKQCII.js";
|
|
98
92
|
import {
|
|
99
93
|
gateWallet
|
|
100
94
|
} from "./chunk-YIJ5ULO3.js";
|
|
95
|
+
import {
|
|
96
|
+
ledgerWallet
|
|
97
|
+
} from "./chunk-ZMHCZCGS.js";
|
|
101
98
|
import {
|
|
102
99
|
injectedWallet
|
|
103
100
|
} from "./chunk-E5NYR4SS.js";
|
|
101
|
+
import {
|
|
102
|
+
kresusWallet
|
|
103
|
+
} from "./chunk-QQJKQCII.js";
|
|
104
|
+
import {
|
|
105
|
+
clvWallet
|
|
106
|
+
} from "./chunk-UHHA5V52.js";
|
|
104
107
|
import {
|
|
105
108
|
coinbaseWallet
|
|
106
109
|
} from "./chunk-PNEDRY6O.js";
|
|
107
|
-
import {
|
|
108
|
-
dawnWallet
|
|
109
|
-
} from "./chunk-KCTWDMQP.js";
|
|
110
110
|
import {
|
|
111
111
|
bybitWallet
|
|
112
112
|
} from "./chunk-3AZNOY75.js";
|
|
113
113
|
import {
|
|
114
|
-
|
|
115
|
-
} from "./chunk-
|
|
114
|
+
desigWallet
|
|
115
|
+
} from "./chunk-44CHUPEQ.js";
|
|
116
116
|
import {
|
|
117
|
-
|
|
118
|
-
} from "./chunk-
|
|
117
|
+
coin98Wallet
|
|
118
|
+
} from "./chunk-ZXGMW3OS.js";
|
|
119
119
|
import {
|
|
120
|
-
|
|
121
|
-
} from "./chunk-
|
|
120
|
+
dawnWallet
|
|
121
|
+
} from "./chunk-KCTWDMQP.js";
|
|
122
122
|
import {
|
|
123
|
-
|
|
124
|
-
} from "./chunk-
|
|
123
|
+
coreWallet
|
|
124
|
+
} from "./chunk-MOOW2AOC.js";
|
|
125
125
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
126
|
+
enkryptWallet
|
|
127
|
+
} from "./chunk-JJ4DXD7R.js";
|
|
128
|
+
import {
|
|
129
|
+
bloomWallet
|
|
130
|
+
} from "./chunk-J64P6XK3.js";
|
|
128
131
|
import {
|
|
129
132
|
bifrostWallet
|
|
130
133
|
} from "./chunk-KL5Z3XHJ.js";
|
|
131
134
|
import {
|
|
132
135
|
argentWallet
|
|
133
136
|
} from "./chunk-ZHFISYEQ.js";
|
|
137
|
+
import {
|
|
138
|
+
bitskiWallet
|
|
139
|
+
} from "./chunk-OCCT5PIN.js";
|
|
134
140
|
import {
|
|
135
141
|
bitgetWallet
|
|
136
142
|
} from "./chunk-IEVZW3XR.js";
|
|
143
|
+
import "./chunk-RETKWSKD.js";
|
|
137
144
|
import {
|
|
138
145
|
bitverseWallet
|
|
139
146
|
} from "./chunk-BQEOIDHP.js";
|
|
140
|
-
import
|
|
141
|
-
bloomWallet
|
|
142
|
-
} from "./chunk-J64P6XK3.js";
|
|
143
|
-
import "./chunk-RETKWSKD.js";
|
|
147
|
+
import "./chunk-23WIEY36.js";
|
|
144
148
|
import {
|
|
145
149
|
braveWallet
|
|
146
150
|
} from "./chunk-NUEOWEZS.js";
|
|
147
|
-
import {
|
|
148
|
-
coin98Wallet
|
|
149
|
-
} from "./chunk-ZXGMW3OS.js";
|
|
150
|
-
import "./chunk-23WIEY36.js";
|
|
151
151
|
import "./chunk-WRA2DVJ7.js";
|
|
152
152
|
export {
|
|
153
153
|
argentWallet,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
// src/
|
|
3
|
+
// src/providers/chainIcons/xdc.svg
|
|
4
4
|
var xdc_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 28 28"><g clip-path="url(%23a)"><path fill="%23B7B5B1" d="M8 8h12v12H8z"/><path fill="%23B7B5B1" d="M28 12.667C24.786-5.97.448-2.363.011 12.667c1.4.728 2.285 1.176 2.285 1.176s-.74.448-2.296 1.434c2.8 18.278 26.723 15.624 28-.023-1.523-.93-2.352-1.422-2.352-1.422s.717-.336 2.352-1.165Zm-11.973 6.507-2.285-3.92-2.318 3.92-1.758-.123 3.304-5.566L9.99 8.68l1.792-.157 2.117 3.562 2.117-3.405 1.669.045-2.778 4.726 3.058 5.69-1.96.045.022-.012Z"/><path fill="%23244B81" d="M26.869 11.94C22.512-4.627 2.52-.147 1.154 11.94a249.514 249.514 0 0 1 3.404 1.926l-3.416 2.172c2.98 15.927 24.54 12.858 25.727-.022-2.173-1.366-3.461-2.162-3.461-2.162s2.934-1.635 3.46-1.915Zm-10.842 7.246-2.285-3.92-2.318 3.92-1.747-.124 3.304-5.566L10 8.691l1.793-.157 2.116 3.562 2.117-3.405 1.669.045-2.766 4.726 3.057 5.69-1.96.045v-.011Z"/></g><defs><clipPath id="a"><path fill="%23fff" d="M0 0h28v28H0z"/></clipPath></defs></svg>';
|
|
5
5
|
export {
|
|
6
6
|
xdc_default as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
// src/
|
|
3
|
+
// src/providers/chainIcons/zetachain.svg
|
|
4
4
|
var zetachain_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none" viewBox="0 0 178 178"><circle cx="89" cy="89" r="89" fill="%23005741"/><path fill="%23fff" d="M112.109 108.673v12.02H62.523c.684-7.911 3.236-13.477 12.064-21.304l37.522-32.01v28.09h13.507V43.79H48.813v25.76H62.32V57.297h40.803L65.784 89.163l-.089.085c-15.648 13.854-16.892 25.036-16.892 38.211v6.751h76.818v-25.527h-13.507z"/></svg>';
|
|
5
5
|
export {
|
|
6
6
|
zetachain_default as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
// src/
|
|
3
|
+
// src/providers/chainIcons/zkSync.svg
|
|
4
4
|
var zkSync_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 28 28"><g clip-path="url(%23a)"><path fill="%23F9F7EC" d="M14 28c7.732 0 14-6.268 14-14S21.732 0 14 0 0 6.268 0 14s6.268 14 14 14Z"/><path fill="%23000" fill-rule="evenodd" d="m22.12 13.93-4.669-4.648v3.402l-4.634 3.409h4.634v2.485l4.669-4.648ZM5.67 13.93l4.669 4.648v-3.381l4.634-3.437h-4.634V9.275L5.67 13.93Z" clip-rule="evenodd"/></g><defs><clipPath id="a"><path fill="%23fff" d="M0 0h28v28H0z"/></clipPath></defs></svg>';
|
|
5
5
|
export {
|
|
6
6
|
zkSync_default as default
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
// src/
|
|
3
|
+
// src/providers/chainIcons/zora.svg
|
|
4
4
|
var zora_default = 'data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="28" height="28" fill="none"><g clip-path="url(%23a)"><path fill="url(%23b)" d="M.943 13.754c0 7.586 5.944 13.755 13.252 13.755 7.308 0 13.252-6.17 13.252-13.755C27.44 6.17 21.497 0 14.195 0 6.887 0 .943 6.17.943 13.754Z"/><path fill="url(%23c)" d="M.943 13.754c0 7.586 5.944 13.755 13.252 13.755 7.308 0 13.252-6.17 13.252-13.755C27.44 6.17 21.497 0 14.195 0 6.887 0 .943 6.17.943 13.754Z"/><path fill="url(%23d)" d="M.943 13.754c0 7.586 5.944 13.755 13.252 13.755 7.308 0 13.252-6.17 13.252-13.755C27.44 6.17 21.497 0 14.195 0 6.887 0 .943 6.17.943 13.754Z"/></g><defs><radialGradient id="b" cx="0" cy="0" r="1" gradientTransform="matrix(19.9547 0 0 20.7113 18.16 6.7)" gradientUnits="userSpaceOnUse"><stop offset=".005" stop-color="%23fff"/><stop offset=".458" stop-color="%23B7D8C8"/><stop offset=".656" stop-color="%236D9487"/><stop offset="1" stop-color="%234B4C3C"/></radialGradient><radialGradient id="c" cx="0" cy="0" r="1" gradientTransform="matrix(19.9547 0 0 20.7113 18.16 6.7)" gradientUnits="userSpaceOnUse"><stop offset=".005" stop-color="%23fff"/><stop offset=".458" stop-color="%23B5B4C6"/><stop offset=".656" stop-color="%239B8F8F"/><stop offset="1" stop-color="%234B4C3C"/></radialGradient><radialGradient id="d" cx="0" cy="0" r="1" gradientTransform="matrix(19.9547 0 0 20.7113 18.16 6.7)" gradientUnits="userSpaceOnUse"><stop offset=".156" stop-color="%23DCC8D0"/><stop offset=".302" stop-color="%2378C8CF"/><stop offset=".427" stop-color="%234D959E"/><stop offset=".557" stop-color="%23305EB9"/><stop offset=".797" stop-color="%23311F12"/><stop offset=".906" stop-color="%23684232"/><stop offset="1" stop-color="%232D1C13"/></radialGradient><clipPath id="a"><path fill="%23fff" d="M0 0h28v28H0z"/></clipPath></defs></svg>';
|
|
5
5
|
export {
|
|
6
6
|
zora_default as default
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -66,12 +66,12 @@
|
|
|
66
66
|
"@meshconnect/web-link-sdk": "2.1.1",
|
|
67
67
|
"@moonpay/moonpay-react": "^1.6.1",
|
|
68
68
|
"@privy-io/js-sdk-core": "^0.21.0",
|
|
69
|
-
"@tanstack/react-query": "^5.
|
|
69
|
+
"@tanstack/react-query": "^5.51.11",
|
|
70
70
|
"@types/uuid": "^9.0.8",
|
|
71
71
|
"@vanilla-extract/css": "1.15.3",
|
|
72
72
|
"@vanilla-extract/dynamic": "2.1.0",
|
|
73
73
|
"@vanilla-extract/sprinkles": "1.6.1",
|
|
74
|
-
"@wagmi/core": "^2.
|
|
74
|
+
"@wagmi/core": "^2.13.0",
|
|
75
75
|
"bech32": "^2.0.0",
|
|
76
76
|
"clsx": "2.1.1",
|
|
77
77
|
"qrcode": "1.5.3",
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
"react-virtuoso": "4.10.1",
|
|
80
80
|
"ua-parser-js": "^1.0.37",
|
|
81
81
|
"uuid": "^9.0.1",
|
|
82
|
-
"@funkit/
|
|
83
|
-
"@funkit/
|
|
84
|
-
"@funkit/wagmi-tools": "3.0.
|
|
82
|
+
"@funkit/core": "2.1.4",
|
|
83
|
+
"@funkit/api-base": "1.0.3",
|
|
84
|
+
"@funkit/wagmi-tools": "3.0.6"
|
|
85
85
|
},
|
|
86
86
|
"repository": {
|
|
87
87
|
"type": "git",
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryTransaction.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
/package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/HomeCheckoutDisplayRow.d.ts
RENAMED
|
File without changes
|
/package/dist/{components → modals}/ProfileDetails/FunProfileViews/Home/HomeTokenDisplayRow.d.ts
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|