@funkit/connect 3.0.0-next.8 → 3.0.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 +45 -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.d.ts +2 -1
- package/dist/components/DydxSwitchModalTab/DydxSwitchModalTab.d.ts +2 -2
- package/dist/components/FunButton/FunButton.css.d.ts +1 -0
- package/dist/components/FunButton/FunIconButton.d.ts +1 -2
- package/dist/components/FunCheckoutBlocked/FunCheckoutBlocked.css.d.ts +1 -0
- package/dist/components/FunCheckoutBlocked/FunCheckoutBlocked.d.ts +2 -0
- package/dist/components/FunInput/FunTextAreaInput.d.ts +1 -1
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +2 -1
- package/dist/components/Icons/Spinner.d.ts +2 -3
- package/dist/components/index.d.ts +1 -1
- package/dist/config/getDefaultConfig.d.ts +1 -1
- 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/useAnimatedNavigation.d.ts +10 -0
- package/dist/hooks/useCheckoutModalTitle.d.ts +2 -0
- package/dist/hooks/useCheckoutType.d.ts +1 -1
- package/dist/hooks/useMesh.d.ts +1 -0
- package/dist/hooks/useUsableWalletAssetsForCheckout.d.ts +1 -1
- package/dist/index.css +151 -136
- package/dist/index.d.ts +12 -12
- package/dist/index.js +4665 -4509
- 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/modals/AccountModal/AccountModal.d.ts +8 -0
- package/dist/{components → modals}/ChainModal/Chain.d.ts +1 -1
- package/dist/{components → modals}/FunCheckoutHistoryModal/FunCheckoutHistoryContent.d.ts +1 -0
- 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/modals/ProfileDetails/ProfileDetails.d.ts +16 -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 +3 -3
- package/dist/{components/FunkitProvider → providers}/FunkitConfigContext.d.ts +1 -7
- 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 +2 -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/funkitProvider.d.ts +1 -1
- package/dist/wallets/walletConnectors/index.js +73 -73
- 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 +4 -4
- package/dist/components/AccountModal/AccountModal.d.ts +0 -6
- package/dist/components/ProfileDetails/ProfileDetails.d.ts +0 -13
- package/dist/wallets/walletConnectors/chunk-25VW5TZP.js +0 -92
- package/dist/wallets/walletConnectors/chunk-45BGLKK3.js +0 -149
- package/dist/wallets/walletConnectors/chunk-4HKPVECK.js +0 -95
- package/dist/wallets/walletConnectors/chunk-4K3EKHXR.js +0 -71
- package/dist/wallets/walletConnectors/chunk-57UUMOOZ.js +0 -95
- package/dist/wallets/walletConnectors/chunk-5MVCKMZT.js +0 -94
- package/dist/wallets/walletConnectors/chunk-5NZLWT3Y.js +0 -73
- package/dist/wallets/walletConnectors/chunk-A6MZY5ZZ.js +0 -81
- package/dist/wallets/walletConnectors/chunk-ARIYPPEC.js +0 -92
- package/dist/wallets/walletConnectors/chunk-B5D7DYVV.js +0 -101
- package/dist/wallets/walletConnectors/chunk-BEAW5Y5M.js +0 -60
- package/dist/wallets/walletConnectors/chunk-CW3DUKXK.js +0 -102
- package/dist/wallets/walletConnectors/chunk-E5XC6KBV.js +0 -95
- package/dist/wallets/walletConnectors/chunk-FCHEJLHR.js +0 -101
- package/dist/wallets/walletConnectors/chunk-FLTQRYFS.js +0 -27
- package/dist/wallets/walletConnectors/chunk-HCKLWBE5.js +0 -98
- package/dist/wallets/walletConnectors/chunk-HKN7647Q.js +0 -73
- package/dist/wallets/walletConnectors/chunk-HLH777AC.js +0 -108
- package/dist/wallets/walletConnectors/chunk-HMDUVRZP.js +0 -98
- package/dist/wallets/walletConnectors/chunk-IOQWKPOO.js +0 -71
- package/dist/wallets/walletConnectors/chunk-IR3YKU2N.js +0 -103
- package/dist/wallets/walletConnectors/chunk-J2BF4L2V.js +0 -87
- package/dist/wallets/walletConnectors/chunk-KDGMYRMC.js +0 -102
- package/dist/wallets/walletConnectors/chunk-LPQBQIZL.js +0 -108
- package/dist/wallets/walletConnectors/chunk-LTIIUGMZ.js +0 -96
- package/dist/wallets/walletConnectors/chunk-OKUX4BC4.js +0 -66
- package/dist/wallets/walletConnectors/chunk-PIZ2XVGH.js +0 -60
- package/dist/wallets/walletConnectors/chunk-RXUGTOMT.js +0 -60
- package/dist/wallets/walletConnectors/chunk-VJ5C6RXN.js +0 -98
- package/dist/wallets/walletConnectors/chunk-VU6B3HMD.js +0 -96
- package/dist/wallets/walletConnectors/chunk-WAMHUVNP.js +0 -96
- package/dist/wallets/walletConnectors/chunk-WMLYUYMP.js +0 -94
- package/dist/wallets/walletConnectors/chunk-YRK6XWL6.js +0 -149
- package/dist/wallets/walletConnectors/chunk-ZCKNEKQQ.js +0 -110
- /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/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,6 +1,6 @@
|
|
|
1
1
|
import { OAuthProviderType } from '@privy-io/js-sdk-core';
|
|
2
2
|
import React, { ReactNode } from 'react';
|
|
3
|
-
import { FunkitUserInfoBase, PrivyLoginMethod } from '
|
|
3
|
+
import { FunkitUserInfoBase, PrivyLoginMethod } from '../consts/funkit';
|
|
4
4
|
export declare const ERROR_MESSAGES: {
|
|
5
5
|
readonly MISSING_LOGIN_CODES: "Missing login codes";
|
|
6
6
|
readonly INVALID_LOGIN_METHOD: "Invalid login method";
|
|
@@ -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,4 +1,5 @@
|
|
|
1
1
|
import React, { ReactNode } from 'react';
|
|
2
|
+
import { SelectedHomeTab } from '../modals/ProfileDetails/FunProfileViews/Home';
|
|
2
3
|
interface ModalProviderProps {
|
|
3
4
|
children: ReactNode;
|
|
4
5
|
}
|
|
@@ -10,7 +11,7 @@ export declare function useModalState(): {
|
|
|
10
11
|
};
|
|
11
12
|
export declare function useAccountModal(): {
|
|
12
13
|
accountModalOpen: boolean;
|
|
13
|
-
openAccountModal: (() => void) | undefined;
|
|
14
|
+
openAccountModal: ((tab: SelectedHomeTab | null) => void) | undefined;
|
|
14
15
|
};
|
|
15
16
|
export declare function useChainModal(): {
|
|
16
17
|
chainModalOpen: boolean;
|
|
@@ -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: {
|
|
@@ -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.
|
|
@@ -1,22 +1,28 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
zealWallet
|
|
7
|
-
} from "./chunk-BUUV6BS4.js";
|
|
3
|
+
safeheronWallet
|
|
4
|
+
} from "./chunk-FCIRHRFH.js";
|
|
8
5
|
import {
|
|
9
6
|
zerionWallet
|
|
10
7
|
} from "./chunk-DBP432DI.js";
|
|
8
|
+
import {
|
|
9
|
+
xdefiWallet
|
|
10
|
+
} from "./chunk-RVIZMVFR.js";
|
|
11
11
|
import {
|
|
12
12
|
tahoWallet
|
|
13
13
|
} from "./chunk-6AYBA6IH.js";
|
|
14
|
+
import {
|
|
15
|
+
talismanWallet
|
|
16
|
+
} from "./chunk-OTXHQMSG.js";
|
|
14
17
|
import {
|
|
15
18
|
tokenPocketWallet
|
|
16
19
|
} from "./chunk-ISJYPD3T.js";
|
|
17
20
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./chunk-
|
|
21
|
+
tokenaryWallet
|
|
22
|
+
} from "./chunk-FAYEL4JP.js";
|
|
23
|
+
import {
|
|
24
|
+
uniswapWallet
|
|
25
|
+
} from "./chunk-QFRZGNNV.js";
|
|
20
26
|
import {
|
|
21
27
|
walletConnectWallet
|
|
22
28
|
} from "./chunk-OFU3PEVT.js";
|
|
@@ -24,17 +30,14 @@ import {
|
|
|
24
30
|
trustWallet
|
|
25
31
|
} from "./chunk-X45WXZDO.js";
|
|
26
32
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./chunk-
|
|
29
|
-
import {
|
|
30
|
-
tokenaryWallet
|
|
31
|
-
} from "./chunk-FAYEL4JP.js";
|
|
33
|
+
zealWallet
|
|
34
|
+
} from "./chunk-BUUV6BS4.js";
|
|
32
35
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./chunk-
|
|
36
|
+
roninWallet
|
|
37
|
+
} from "./chunk-63YLN6R5.js";
|
|
35
38
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./chunk-
|
|
39
|
+
ramperWallet
|
|
40
|
+
} from "./chunk-TKXQYHWJ.js";
|
|
38
41
|
import {
|
|
39
42
|
phantomWallet
|
|
40
43
|
} from "./chunk-KEVUI6AA.js";
|
|
@@ -45,108 +48,105 @@ import {
|
|
|
45
48
|
safeWallet
|
|
46
49
|
} from "./chunk-Z2QCE6O6.js";
|
|
47
50
|
import {
|
|
48
|
-
|
|
49
|
-
} from "./chunk-
|
|
51
|
+
safepalWallet
|
|
52
|
+
} from "./chunk-AKAT37SI.js";
|
|
53
|
+
import {
|
|
54
|
+
rabbyWallet
|
|
55
|
+
} from "./chunk-H5LLXNOI.js";
|
|
50
56
|
import {
|
|
51
57
|
subWallet
|
|
52
58
|
} from "./chunk-N3ELQYCY.js";
|
|
53
|
-
import {
|
|
54
|
-
roninWallet
|
|
55
|
-
} from "./chunk-63YLN6R5.js";
|
|
56
|
-
import {
|
|
57
|
-
talismanWallet
|
|
58
|
-
} from "./chunk-OTXHQMSG.js";
|
|
59
|
-
import {
|
|
60
|
-
oktoWallet
|
|
61
|
-
} from "./chunk-MBQTOALG.js";
|
|
62
59
|
import {
|
|
63
60
|
mewWallet
|
|
64
61
|
} from "./chunk-CVYXTHZ6.js";
|
|
65
62
|
import {
|
|
66
|
-
|
|
67
|
-
} from "./chunk-
|
|
63
|
+
kresusWallet
|
|
64
|
+
} from "./chunk-QQJKQCII.js";
|
|
68
65
|
import {
|
|
69
|
-
|
|
70
|
-
} from "./chunk-
|
|
66
|
+
ledgerWallet
|
|
67
|
+
} from "./chunk-ZMHCZCGS.js";
|
|
71
68
|
import {
|
|
72
69
|
oneInchWallet
|
|
73
70
|
} from "./chunk-I7MKK24W.js";
|
|
74
71
|
import {
|
|
75
|
-
|
|
76
|
-
} from "./chunk-
|
|
72
|
+
omniWallet
|
|
73
|
+
} from "./chunk-II6YBG2B.js";
|
|
74
|
+
import {
|
|
75
|
+
oktoWallet
|
|
76
|
+
} from "./chunk-MBQTOALG.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";
|
|
86
|
-
import {
|
|
87
|
-
bitverseWallet
|
|
88
|
-
} from "./chunk-BQEOIDHP.js";
|
|
81
|
+
okxWallet
|
|
82
|
+
} from "./chunk-5HXH52SO.js";
|
|
89
83
|
import {
|
|
90
|
-
|
|
91
|
-
} from "./chunk-
|
|
84
|
+
frameWallet
|
|
85
|
+
} from "./chunk-KPVNJO3R.js";
|
|
92
86
|
import {
|
|
93
|
-
|
|
94
|
-
} from "./chunk-
|
|
87
|
+
foxWallet
|
|
88
|
+
} from "./chunk-WAOREEBE.js";
|
|
95
89
|
import {
|
|
96
90
|
gateWallet
|
|
97
91
|
} from "./chunk-YIJ5ULO3.js";
|
|
92
|
+
import {
|
|
93
|
+
imTokenWallet
|
|
94
|
+
} from "./chunk-BMJOLT2N.js";
|
|
95
|
+
import {
|
|
96
|
+
frontierWallet
|
|
97
|
+
} from "./chunk-LCOUKF2U.js";
|
|
98
|
+
import {
|
|
99
|
+
injectedWallet
|
|
100
|
+
} from "./chunk-E5NYR4SS.js";
|
|
98
101
|
import {
|
|
99
102
|
metaMaskWallet
|
|
100
103
|
} from "./chunk-ODRDT73B.js";
|
|
101
104
|
import {
|
|
102
|
-
|
|
103
|
-
} from "./chunk-
|
|
105
|
+
bybitWallet
|
|
106
|
+
} from "./chunk-3AZNOY75.js";
|
|
104
107
|
import {
|
|
105
108
|
coinbaseWallet
|
|
106
109
|
} from "./chunk-PNEDRY6O.js";
|
|
107
110
|
import {
|
|
108
|
-
|
|
109
|
-
} from "./chunk-
|
|
110
|
-
import {
|
|
111
|
-
braveWallet
|
|
112
|
-
} from "./chunk-NUEOWEZS.js";
|
|
113
|
-
import {
|
|
114
|
-
dawnWallet
|
|
115
|
-
} from "./chunk-KCTWDMQP.js";
|
|
116
|
-
import {
|
|
117
|
-
foxWallet
|
|
118
|
-
} from "./chunk-WAOREEBE.js";
|
|
111
|
+
enkryptWallet
|
|
112
|
+
} from "./chunk-JJ4DXD7R.js";
|
|
119
113
|
import {
|
|
120
114
|
coreWallet
|
|
121
115
|
} from "./chunk-MOOW2AOC.js";
|
|
122
116
|
import {
|
|
123
|
-
|
|
124
|
-
} from "./chunk-
|
|
117
|
+
bloomWallet
|
|
118
|
+
} from "./chunk-J64P6XK3.js";
|
|
125
119
|
import {
|
|
126
|
-
|
|
127
|
-
} from "./chunk-
|
|
120
|
+
bitskiWallet
|
|
121
|
+
} from "./chunk-OCCT5PIN.js";
|
|
128
122
|
import {
|
|
129
|
-
|
|
130
|
-
} from "./chunk-
|
|
123
|
+
desigWallet
|
|
124
|
+
} from "./chunk-44CHUPEQ.js";
|
|
125
|
+
import {
|
|
126
|
+
dawnWallet
|
|
127
|
+
} from "./chunk-KCTWDMQP.js";
|
|
131
128
|
import {
|
|
132
129
|
argentWallet
|
|
133
130
|
} from "./chunk-ZHFISYEQ.js";
|
|
134
131
|
import {
|
|
135
|
-
|
|
136
|
-
} from "./chunk-
|
|
137
|
-
import {
|
|
138
|
-
bitgetWallet
|
|
139
|
-
} from "./chunk-IEVZW3XR.js";
|
|
140
|
-
import "./chunk-RETKWSKD.js";
|
|
141
|
-
import {
|
|
142
|
-
bybitWallet
|
|
143
|
-
} from "./chunk-3AZNOY75.js";
|
|
132
|
+
bitverseWallet
|
|
133
|
+
} from "./chunk-BQEOIDHP.js";
|
|
144
134
|
import {
|
|
145
135
|
clvWallet
|
|
146
136
|
} from "./chunk-UHHA5V52.js";
|
|
147
137
|
import {
|
|
148
138
|
coin98Wallet
|
|
149
139
|
} from "./chunk-ZXGMW3OS.js";
|
|
140
|
+
import {
|
|
141
|
+
braveWallet
|
|
142
|
+
} from "./chunk-NUEOWEZS.js";
|
|
143
|
+
import {
|
|
144
|
+
bifrostWallet
|
|
145
|
+
} from "./chunk-KL5Z3XHJ.js";
|
|
146
|
+
import {
|
|
147
|
+
bitgetWallet
|
|
148
|
+
} from "./chunk-IEVZW3XR.js";
|
|
149
|
+
import "./chunk-RETKWSKD.js";
|
|
150
150
|
import "./chunk-23WIEY36.js";
|
|
151
151
|
import "./chunk-WRA2DVJ7.js";
|
|
152
152
|
export {
|
|
@@ -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.1",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -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/api-base": "1.0.
|
|
83
|
-
"@funkit/
|
|
84
|
-
"@funkit/
|
|
82
|
+
"@funkit/api-base": "1.0.3",
|
|
83
|
+
"@funkit/wagmi-tools": "3.0.5",
|
|
84
|
+
"@funkit/core": "2.1.3"
|
|
85
85
|
},
|
|
86
86
|
"repository": {
|
|
87
87
|
"type": "git",
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare const PROFILE_SIDE_PADDING = "18";
|
|
3
|
-
export declare enum FunProfileView {
|
|
4
|
-
HOME = 0,
|
|
5
|
-
SETTINGS = 1,
|
|
6
|
-
ACTIVITY = 2,
|
|
7
|
-
SINGLE_ACTIVITY = 3
|
|
8
|
-
}
|
|
9
|
-
interface ProfileDetailsProps {
|
|
10
|
-
onClose: () => void;
|
|
11
|
-
}
|
|
12
|
-
export declare function ProfileDetails({ onClose }: ProfileDetailsProps): React.JSX.Element;
|
|
13
|
-
export {};
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import {
|
|
3
|
-
getInjectedConnector,
|
|
4
|
-
hasInjectedProvider
|
|
5
|
-
} from "./chunk-WRA2DVJ7.js";
|
|
6
|
-
import {
|
|
7
|
-
getWalletConnectConnector
|
|
8
|
-
} from "./chunk-23WIEY36.js";
|
|
9
|
-
|
|
10
|
-
// src/wallets/walletConnectors/roninWallet/roninWallet.ts
|
|
11
|
-
var roninWallet = ({
|
|
12
|
-
projectId,
|
|
13
|
-
walletConnectParameters
|
|
14
|
-
}) => {
|
|
15
|
-
const isRoninInjected = hasInjectedProvider({
|
|
16
|
-
namespace: "ronin.provider"
|
|
17
|
-
});
|
|
18
|
-
return {
|
|
19
|
-
id: "ronin",
|
|
20
|
-
name: "Ronin Wallet",
|
|
21
|
-
iconUrl: async () => (await import("./roninWallet-SAB5ESVK.js")).default,
|
|
22
|
-
iconBackground: "#ffffff",
|
|
23
|
-
rdns: "com.roninchain.wallet",
|
|
24
|
-
installed: isRoninInjected || void 0,
|
|
25
|
-
downloadUrls: {
|
|
26
|
-
android: "https://play.google.com/store/apps/details?id=com.skymavis.genesis",
|
|
27
|
-
ios: "https://apps.apple.com/us/app/ronin-wallet/id1592675001",
|
|
28
|
-
mobile: "https://wallet.roninchain.com",
|
|
29
|
-
chrome: "https://chrome.google.com/webstore/detail/ronin-wallet/fnjhmkhhmkbjkkabndcnnogagogbneec",
|
|
30
|
-
edge: "https://microsoftedge.microsoft.com/addons/detail/ronin-wallet/kjmoohlgokccodicjjfebfomlbljgfhk",
|
|
31
|
-
firefox: "https://addons.mozilla.org/firefox/addon/ronin-wallet",
|
|
32
|
-
browserExtension: "https://wallet.roninchain.com/",
|
|
33
|
-
qrCode: "https://wallet.roninchain.com/"
|
|
34
|
-
},
|
|
35
|
-
mobile: {
|
|
36
|
-
getUri: (uri) => `roninwallet://wc?uri=${encodeURIComponent(uri)}`
|
|
37
|
-
},
|
|
38
|
-
qrCode: {
|
|
39
|
-
getUri: (uri) => uri,
|
|
40
|
-
instructions: {
|
|
41
|
-
learnMoreUrl: "https://wallet.roninchain.com/",
|
|
42
|
-
steps: [
|
|
43
|
-
{
|
|
44
|
-
description: "wallet_connectors.ronin.qr_code.step1.description",
|
|
45
|
-
step: "install",
|
|
46
|
-
title: "wallet_connectors.ronin.qr_code.step1.title"
|
|
47
|
-
},
|
|
48
|
-
{
|
|
49
|
-
description: "wallet_connectors.ronin.qr_code.step2.description",
|
|
50
|
-
step: "create",
|
|
51
|
-
title: "wallet_connectors.ronin.qr_code.step2.title"
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
description: "wallet_connectors.ronin.qr_code.step3.description",
|
|
55
|
-
step: "scan",
|
|
56
|
-
title: "wallet_connectors.ronin.qr_code.step3.title"
|
|
57
|
-
}
|
|
58
|
-
]
|
|
59
|
-
}
|
|
60
|
-
},
|
|
61
|
-
extension: {
|
|
62
|
-
instructions: {
|
|
63
|
-
learnMoreUrl: "https://wallet.roninchain.com/",
|
|
64
|
-
steps: [
|
|
65
|
-
{
|
|
66
|
-
description: "wallet_connectors.ronin.extension.step1.description",
|
|
67
|
-
step: "install",
|
|
68
|
-
title: "wallet_connectors.ronin.extension.step1.title"
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
description: "wallet_connectors.ronin.extension.step2.description",
|
|
72
|
-
step: "create",
|
|
73
|
-
title: "wallet_connectors.ronin.extension.step2.title"
|
|
74
|
-
},
|
|
75
|
-
{
|
|
76
|
-
description: "wallet_connectors.ronin.extension.step3.description",
|
|
77
|
-
step: "refresh",
|
|
78
|
-
title: "wallet_connectors.ronin.extension.step3.title"
|
|
79
|
-
}
|
|
80
|
-
]
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
createConnector: isRoninInjected ? getInjectedConnector({ namespace: "ronin.provider" }) : getWalletConnectConnector({
|
|
84
|
-
projectId,
|
|
85
|
-
walletConnectParameters
|
|
86
|
-
})
|
|
87
|
-
};
|
|
88
|
-
};
|
|
89
|
-
|
|
90
|
-
export {
|
|
91
|
-
roninWallet
|
|
92
|
-
};
|