@funkit/connect 1.0.23 → 1.0.25
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 +24 -0
- package/dist/{chunk-2GFNZKMA.js → chunk-4SROXH24.js} +3 -3
- package/dist/{chunk-RA4J3G3B.js → chunk-EYTYHIPM.js} +3 -3
- package/dist/components/ChainModal/Chain.d.ts +5 -0
- package/dist/components/FunButton/FunButton.css.d.ts +1 -0
- package/dist/components/FunButton/FunIconButton.d.ts +2 -1
- package/dist/components/FunNotification/FunNotification.d.ts +5 -1
- package/dist/components/FunTransactionSummary/FunTransactionSummary.d.ts +1 -0
- package/dist/components/FunTransactionSummary/FunTxSummaryComponents.d.ts +9 -0
- package/dist/components/FunTransactionSummary/FunTxSummaryHistory.d.ts +5 -0
- package/dist/components/FunkitProvider/FunkitConfigContext.d.ts +2 -0
- package/dist/components/FunkitProvider/FunkitMoonpayProvider.d.ts +20 -0
- package/dist/components/FunkitProvider/GeneralWalletProvider.d.ts +12 -2
- package/dist/components/Icons/StatusIcons.d.ts +4 -0
- package/dist/components/Icons/SwitchIcon.d.ts +2 -0
- package/dist/consts/funkit.d.ts +3 -0
- package/dist/consts/moonpay.d.ts +3 -0
- package/dist/index.css +51 -8
- package/dist/index.d.ts +1 -0
- package/dist/index.js +2779 -2374
- package/dist/themes/darkTheme.js +1 -1
- package/dist/themes/lightTheme.js +1 -1
- package/dist/utils/checkout.d.ts +1 -1
- package/dist/utils/deposit.d.ts +1 -0
- package/dist/utils/mesh.d.ts +2 -1
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/chunk-2GAW2UBU.js +102 -0
- package/dist/wallets/walletConnectors/chunk-AJKRYTH2.js +92 -0
- package/dist/wallets/walletConnectors/chunk-CUKVUCIP.js +98 -0
- package/dist/wallets/walletConnectors/chunk-CVGDYGHA.js +60 -0
- package/dist/wallets/walletConnectors/chunk-FDIIMYTB.js +73 -0
- package/dist/wallets/walletConnectors/chunk-GW6EF4G2.js +92 -0
- package/dist/wallets/walletConnectors/chunk-HXYRONSJ.js +94 -0
- package/dist/wallets/walletConnectors/chunk-IBWFKX7P.js +94 -0
- package/dist/wallets/walletConnectors/chunk-OKWOB3DN.js +66 -0
- package/dist/wallets/walletConnectors/chunk-OKZSWAPF.js +60 -0
- package/dist/wallets/walletConnectors/chunk-OYKWP3N3.js +60 -0
- package/dist/wallets/walletConnectors/chunk-OYW4TIA3.js +81 -0
- package/dist/wallets/walletConnectors/chunk-PPFSHJTA.js +95 -0
- package/dist/wallets/walletConnectors/chunk-RTW6PVQI.js +107 -0
- package/dist/wallets/walletConnectors/chunk-RYO26XSK.js +100 -0
- package/dist/wallets/walletConnectors/chunk-SL4VH23R.js +71 -0
- package/dist/wallets/walletConnectors/chunk-SPLW3CCH.js +98 -0
- package/dist/wallets/walletConnectors/chunk-SQGFKNNZ.js +102 -0
- package/dist/wallets/walletConnectors/chunk-T6JVHES7.js +87 -0
- package/dist/wallets/walletConnectors/chunk-VWZEDVW6.js +27 -0
- package/dist/wallets/walletConnectors/chunk-X255T3C4.js +178 -0
- package/dist/wallets/walletConnectors/chunk-XSSD5ZVD.js +96 -0
- package/dist/wallets/walletConnectors/chunk-YC7XNS7C.js +98 -0
- package/dist/wallets/walletConnectors/chunk-Z2HIQYVN.js +96 -0
- package/dist/wallets/walletConnectors/chunk-ZFXXHGAS.js +105 -0
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coinbaseWallet/coinbaseWallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/dawnWallet/dawnWallet.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 +70 -70
- 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 +1 -1
- package/dist/hooks/useFunkitSwitchChain.d.ts +0 -7
- package/dist/wallets/walletConnectors/{chunk-NGXIHASN.js → chunk-2LY3WMXK.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-V45EXW7A.js → chunk-2PC2XXUH.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-3WZRNEZH.js → chunk-2XQJ2NQ4.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-ZNXQ4V6G.js → chunk-75A2U7T7.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-O5NKWWEG.js → chunk-DNOEX5NF.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-7CQPABJG.js → chunk-MCTPLICE.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-6LTLPR2Q.js → chunk-MU35GKP3.js} +3 -3
- package/dist/wallets/walletConnectors/{chunk-AM4SSLAP.js → chunk-N3VZE65M.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-Z2DGDHHZ.js → chunk-OAEJQOAV.js} +4 -4
- package/dist/wallets/walletConnectors/{chunk-2UXZAUWT.js → chunk-OR3PU2W4.js} +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 1.0.25
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f27a1fc: feat: absolute to usd input switcher
|
|
8
|
+
- 286c947: refactor: notification animations
|
|
9
|
+
- f27a1fc: refactor: more animations
|
|
10
|
+
- 286c947: feat: payment selection flow improvements
|
|
11
|
+
- a441de2: feat: new purchase history notification
|
|
12
|
+
- 18a9e56: feat: custom funkit wagmi hook `useFunkitSwitchChain`
|
|
13
|
+
- bbdf020: feat: checkout history v2
|
|
14
|
+
|
|
15
|
+
## 1.0.24
|
|
16
|
+
|
|
17
|
+
### Patch Changes
|
|
18
|
+
|
|
19
|
+
- 570e072: feat: fees animation
|
|
20
|
+
- f824018: feat: support any chain connection (even for non-checkout supported chains)
|
|
21
|
+
- a75ebd4: feat: globally unique userId generation
|
|
22
|
+
- a75ebd4: feat: regionally available asset selection for moonpay
|
|
23
|
+
- 828fae0: feat: new `showUnknownTokens` config (defaults to false)
|
|
24
|
+
- 3b9f9f4: refactor: v2 of moonpay asset heuristics
|
|
25
|
+
- f824018: feat: allow copying of wallet connection uris
|
|
26
|
+
|
|
3
27
|
## 1.0.23
|
|
4
28
|
|
|
5
29
|
### Patch Changes
|
|
@@ -53,7 +53,7 @@ var darkTheme = ({
|
|
|
53
53
|
solidLine: "#FFF",
|
|
54
54
|
rightTranslucentLine: "linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0.5))",
|
|
55
55
|
leftTranslucentLine: "linear-gradient(to right, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0))",
|
|
56
|
-
standby: "#
|
|
56
|
+
standby: "#F6851B",
|
|
57
57
|
loadingBase: "rgba(255, 255, 255, 0.05)",
|
|
58
58
|
loadingAccent: "rgba(255, 255, 255, 0.2)",
|
|
59
59
|
modalBackdrop: "rgba(0, 0, 0, 0.4)",
|
|
@@ -76,8 +76,8 @@ var darkTheme = ({
|
|
|
76
76
|
buttonTextPrimary: "#000000",
|
|
77
77
|
buttonTextSecondary: "#FFFFFF",
|
|
78
78
|
buttonTextDisabled: "#000000",
|
|
79
|
-
buttonWarning: "#
|
|
80
|
-
buttonSuccess: "#
|
|
79
|
+
buttonWarning: "#F34126",
|
|
80
|
+
buttonSuccess: "#2EA200",
|
|
81
81
|
buttonTextWarning: "#FFFFFF",
|
|
82
82
|
buttonTextSuccess: "#FFFFFF",
|
|
83
83
|
transparent: "transparent",
|
|
@@ -53,7 +53,7 @@ var lightTheme = ({
|
|
|
53
53
|
solidLine: "#000",
|
|
54
54
|
rightTranslucentLine: "linear-gradient(to right, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.5))",
|
|
55
55
|
leftTranslucentLine: "linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))",
|
|
56
|
-
standby: "#
|
|
56
|
+
standby: "#F6851B",
|
|
57
57
|
loadingBase: "rgba(0, 0, 0, 0.05)",
|
|
58
58
|
loadingAccent: "rgba(0, 0, 0, 0.2)",
|
|
59
59
|
modalBackdrop: "rgba(0, 0, 0, 0.4)",
|
|
@@ -73,8 +73,8 @@ var lightTheme = ({
|
|
|
73
73
|
buttonPrimary: accentColor,
|
|
74
74
|
buttonProcessing: accentColorForeground,
|
|
75
75
|
buttonDisabled: "#31A3F826",
|
|
76
|
-
buttonWarning: "#
|
|
77
|
-
buttonSuccess: "#
|
|
76
|
+
buttonWarning: "#F34126",
|
|
77
|
+
buttonSuccess: "#2EA200",
|
|
78
78
|
buttonTextWarning: "#FFFFFF",
|
|
79
79
|
buttonTextSuccess: "#FFFFFF",
|
|
80
80
|
buttonTextPrimary: "#FFFFFF",
|
|
@@ -13,5 +13,10 @@ interface ChainProps {
|
|
|
13
13
|
src: string | AsyncImageSrc | undefined | null;
|
|
14
14
|
idx: number;
|
|
15
15
|
}
|
|
16
|
+
export declare function ChainLineItem({ chainId, chainIconSize, gap, }: {
|
|
17
|
+
chainId: number;
|
|
18
|
+
chainIconSize: BoxProps['height'];
|
|
19
|
+
gap?: BoxProps['gap'];
|
|
20
|
+
}): React.JSX.Element | null;
|
|
16
21
|
declare const Chain: ({ chainId, currentChainId, switchChain, chainIconSize, isLoading, src, name, iconBackground, idx, }: ChainProps) => React.JSX.Element;
|
|
17
22
|
export default Chain;
|
|
@@ -3,7 +3,7 @@ import { BoxProps } from '../Box/Box';
|
|
|
3
3
|
/**
|
|
4
4
|
* Circular icon button with dynamic height and width
|
|
5
5
|
*/
|
|
6
|
-
export declare const FunIconButton: ({ onClick, icon, size, showBorder, paddingX, paddingY, borderRadius, ariaLabel, color, background, width, }: {
|
|
6
|
+
export declare const FunIconButton: ({ onClick, icon, size, showBorder, paddingX, paddingY, borderRadius, ariaLabel, color, background, width, rotateIconAnimation, }: {
|
|
7
7
|
onClick: () => void;
|
|
8
8
|
icon: React.ReactNode;
|
|
9
9
|
size?: BoxProps['height'];
|
|
@@ -15,4 +15,5 @@ export declare const FunIconButton: ({ onClick, icon, size, showBorder, paddingX
|
|
|
15
15
|
color?: BoxProps['color'];
|
|
16
16
|
background?: BoxProps['background'];
|
|
17
17
|
width?: BoxProps['width'];
|
|
18
|
+
rotateIconAnimation?: boolean | undefined;
|
|
18
19
|
}) => React.JSX.Element;
|
|
@@ -1,12 +1,16 @@
|
|
|
1
|
+
import './FunNotification.css';
|
|
1
2
|
import React, { ReactNode } from 'react';
|
|
2
3
|
import { Box } from '../Box/Box';
|
|
3
4
|
import { TextProps } from '../Text/Text';
|
|
4
5
|
interface FunNotificationProps {
|
|
5
6
|
type?: FunNotificationType;
|
|
6
7
|
description: string | ReactNode;
|
|
8
|
+
actionText?: string;
|
|
9
|
+
onAction?: () => void;
|
|
7
10
|
textProps?: Omit<TextProps, 'color'>;
|
|
8
11
|
containerProps?: React.ComponentProps<typeof Box>;
|
|
12
|
+
isVisible?: boolean;
|
|
9
13
|
}
|
|
10
14
|
type FunNotificationType = 'default' | 'error';
|
|
11
|
-
export declare function FunNotification({ type, description, textProps, containerProps, }: FunNotificationProps): React.JSX.Element;
|
|
15
|
+
export declare function FunNotification({ type, description, actionText, onAction, textProps, containerProps, isVisible, }: FunNotificationProps): React.JSX.Element;
|
|
12
16
|
export {};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare function FunTxSummaryBox({ children }: {
|
|
3
|
+
children: any;
|
|
4
|
+
}): React.JSX.Element;
|
|
5
|
+
export declare function FunTxSummaryLineItem({ children, ...otherProps }: any): React.JSX.Element;
|
|
6
|
+
export declare function FunTxSummaryLineItemKeyText({ text }: {
|
|
7
|
+
text: string;
|
|
8
|
+
}): React.JSX.Element;
|
|
9
|
+
export declare function FunTxSummaryDivider(): React.JSX.Element;
|
|
@@ -28,6 +28,8 @@ interface FunkitLoginOptionsConfig {
|
|
|
28
28
|
interface FunkitAccountOptionsConfig {
|
|
29
29
|
/** Whether end users can deposit usdc/eth from the account modal **/
|
|
30
30
|
allowDepositing?: boolean;
|
|
31
|
+
/** Whether unknown tokens are shown in users' account balance. Default: false. **/
|
|
32
|
+
showUnknownTokens?: boolean;
|
|
31
33
|
}
|
|
32
34
|
interface FunkitPaymentsConfig {
|
|
33
35
|
/** If available, the specified payment method will be selected by default during checkout or deposits **/
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export declare function FunkitMoonpayProvider({ children, debug, }: {
|
|
3
|
+
children: any;
|
|
4
|
+
debug: boolean;
|
|
5
|
+
}): React.JSX.Element;
|
|
6
|
+
interface UserIpInfoFromMoonpay {
|
|
7
|
+
alpha2: string;
|
|
8
|
+
alpha3: string;
|
|
9
|
+
country: string;
|
|
10
|
+
ipAddress: string;
|
|
11
|
+
isAllowed: boolean;
|
|
12
|
+
isBuyAllowed: boolean;
|
|
13
|
+
isNftAllowed: boolean;
|
|
14
|
+
isSellAllowed: boolean;
|
|
15
|
+
isBalanceLedgerWithdrawAllowed: boolean;
|
|
16
|
+
isLowLimitEnabled: boolean;
|
|
17
|
+
state: string;
|
|
18
|
+
}
|
|
19
|
+
export declare function useFunkitMoonpayUserIp(): UserIpInfoFromMoonpay | null;
|
|
20
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Auth, FunWallet } from '@funkit/core';
|
|
2
2
|
import React from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { FinalFunkitUserInfo } from '../../consts/funkit';
|
|
4
4
|
import { PaymentMethodInfo } from '../../consts/payment';
|
|
5
5
|
type GeneralWalletAssets = null | {
|
|
6
6
|
[x: string]: any;
|
|
@@ -11,7 +11,7 @@ interface GeneralWalletContextProps {
|
|
|
11
11
|
isUserLoggedIn: boolean;
|
|
12
12
|
isWeb2Login: boolean;
|
|
13
13
|
isWeb3Login: boolean;
|
|
14
|
-
userInfo:
|
|
14
|
+
userInfo: FinalFunkitUserInfo;
|
|
15
15
|
isFetchingAssets: boolean;
|
|
16
16
|
walletAssets: GeneralWalletAssets;
|
|
17
17
|
startAssetsListener: () => void;
|
|
@@ -99,4 +99,14 @@ export declare const useFunkitDisconnect: () => {
|
|
|
99
99
|
submittedAt: number;
|
|
100
100
|
connectors: readonly import("wagmi").Connector[];
|
|
101
101
|
};
|
|
102
|
+
/**
|
|
103
|
+
* Replacement for wagmi's useSwitchChains
|
|
104
|
+
*/
|
|
105
|
+
export declare const useFunkitSwitchChains: ({ onSettled, }: {
|
|
106
|
+
onSettled?: (() => void) | undefined;
|
|
107
|
+
}) => {
|
|
108
|
+
switchChain: (params: any) => void;
|
|
109
|
+
switchChainAsync: (params: any) => Promise<void>;
|
|
110
|
+
pendingChainId: number | null;
|
|
111
|
+
};
|
|
102
112
|
export {};
|
package/dist/consts/funkit.d.ts
CHANGED
|
@@ -15,6 +15,9 @@ export interface FunkitUserInfo {
|
|
|
15
15
|
accountName: string;
|
|
16
16
|
accountPicSrc: string;
|
|
17
17
|
}
|
|
18
|
+
export interface FinalFunkitUserInfo extends FunkitUserInfo {
|
|
19
|
+
globalFunkitUserId: string;
|
|
20
|
+
}
|
|
18
21
|
export declare const PLACEHOLDER_FUNKIT_USER_INFO: FunkitUserInfo;
|
|
19
22
|
export declare enum DepositTokenSymbol {
|
|
20
23
|
USDC = "USDC",
|
package/dist/index.css
CHANGED
|
@@ -4579,7 +4579,7 @@
|
|
|
4579
4579
|
animation-name: stgjxl1;
|
|
4580
4580
|
}
|
|
4581
4581
|
|
|
4582
|
-
/* vanilla-extract-css-ns:src/components/FunButton/FunButton.css.ts.vanilla.css?source=
|
|
4582
|
+
/* vanilla-extract-css-ns:src/components/FunButton/FunButton.css.ts.vanilla.css?source=QGtleWZyYW1lcyBfMXR5eDVudTIgewogIDAlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpOwogIH0KICAzMyUgewogICAgdHJhbnNmb3JtOiByb3RhdGUoMTVkZWcpOwogIH0KICA2NiUgewogICAgdHJhbnNmb3JtOiByb3RhdGUoLTE1ZGVnKTsKICB9CiAgMTAwJSB7CiAgICB0cmFuc2Zvcm06IHJvdGF0ZSgwZGVnKTsKICB9Cn0KQGtleWZyYW1lcyBfMXR5eDVudTUgewogIDAlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlKDBkZWcpOwogIH0KICAzMyUgewogICAgdHJhbnNmb3JtOiByb3RhdGUoMjAwZGVnKTsKICB9CiAgNjYlIHsKICAgIHRyYW5zZm9ybTogcm90YXRlKDE2MGRlZyk7CiAgfQogIDEwMCUgewogICAgdHJhbnNmb3JtOiByb3RhdGUoMTgwZGVnKTsKICB9Cn0KLl8xdHl4NW51MSB7CiAgY3Vyc29yOiBwb2ludGVyOwp9Ci5fMXR5eDVudTE6aG92ZXIgewogIHRleHQtZGVjb3JhdGlvbi1saW5lOiB1bmRlcmxpbmU7Cn0KLl8xdHl4NW51MyB7CiAgY3Vyc29yOiBwb2ludGVyOwp9Ci5fMXR5eDVudTM6aG92ZXIgLl8xdHl4NW51NCB7CiAgYW5pbWF0aW9uOiBfMXR5eDVudTIgMC42cyBlYXNlLWluLW91dDsKfQouXzF0eXg1bnU2IHsKICBhbmltYXRpb246IF8xdHl4NW51NSAxczsKfQ== */
|
|
4583
4583
|
@keyframes _1tyx5nu2 {
|
|
4584
4584
|
0% {
|
|
4585
4585
|
transform: rotate(0deg);
|
|
@@ -4594,6 +4594,20 @@
|
|
|
4594
4594
|
transform: rotate(0deg);
|
|
4595
4595
|
}
|
|
4596
4596
|
}
|
|
4597
|
+
@keyframes _1tyx5nu5 {
|
|
4598
|
+
0% {
|
|
4599
|
+
transform: rotate(0deg);
|
|
4600
|
+
}
|
|
4601
|
+
33% {
|
|
4602
|
+
transform: rotate(200deg);
|
|
4603
|
+
}
|
|
4604
|
+
66% {
|
|
4605
|
+
transform: rotate(160deg);
|
|
4606
|
+
}
|
|
4607
|
+
100% {
|
|
4608
|
+
transform: rotate(180deg);
|
|
4609
|
+
}
|
|
4610
|
+
}
|
|
4597
4611
|
[data-rk] ._1tyx5nu1 {
|
|
4598
4612
|
cursor: pointer;
|
|
4599
4613
|
}
|
|
@@ -4606,6 +4620,9 @@
|
|
|
4606
4620
|
[data-rk] ._1tyx5nu3:hover ._1tyx5nu4 {
|
|
4607
4621
|
animation: _1tyx5nu2 0.6s ease-in-out;
|
|
4608
4622
|
}
|
|
4623
|
+
[data-rk] ._1tyx5nu6 {
|
|
4624
|
+
animation: _1tyx5nu5 1s;
|
|
4625
|
+
}
|
|
4609
4626
|
|
|
4610
4627
|
/* vanilla-extract-css-ns:src/components/FunModalTitleSection/FunModalTitleSection.css.ts.vanilla.css?source=QGtleWZyYW1lcyBfN2psZ3g3MCB7CiAgMCUgewogICAgb3BhY2l0eTogMC4yOwogIH0KICAxMDAlIHsKICAgIG9wYWNpdHk6IDE7CiAgfQp9CkBrZXlmcmFtZXMgXzdqbGd4NzEgewogIDAlIHsKICAgIG9wYWNpdHk6IDE7CiAgfQogIDEwMCUgewogICAgb3BhY2l0eTogMC4yOwogIH0KfQouXzdqbGd4NzIgewogIGFuaW1hdGlvbi1kdXJhdGlvbjogMzAwbXM7CiAgYW5pbWF0aW9uLXRpbWluZy1mdW5jdGlvbjogbGluZWFyOwogIGFuaW1hdGlvbi1maWxsLW1vZGU6IGZvcndhcmRzOwogIGFuaW1hdGlvbi1uYW1lOiBfN2psZ3g3MDsKfQouXzdqbGd4NzMgewogIGFuaW1hdGlvbi1kdXJhdGlvbjogMzAwbXM7CiAgYW5pbWF0aW9uLXRpbWluZy1mdW5jdGlvbjogbGluZWFyOwogIGFuaW1hdGlvbi1maWxsLW1vZGU6IGZvcndhcmRzOwogIGFuaW1hdGlvbi1uYW1lOiBfN2psZ3g3MTsKfQ== */
|
|
4611
4628
|
@keyframes _7jlgx70 {
|
|
@@ -4637,6 +4654,30 @@
|
|
|
4637
4654
|
animation-name: _7jlgx71;
|
|
4638
4655
|
}
|
|
4639
4656
|
|
|
4657
|
+
/* vanilla-extract-css-ns:src/components/FunAssetAvatar/FunAssetAvatar.css.ts.vanilla.css?source=LnV3cmRjMjAgewogIHBvc2l0aW9uOiByZWxhdGl2ZTsKfQoudXdyZGMyMiB7CiAgcG9zaXRpb246IGFic29sdXRlOwogIGJvdHRvbTogMDsKICByaWdodDogMDsKfQ== */
|
|
4658
|
+
[data-rk] .uwrdc20 {
|
|
4659
|
+
position: relative;
|
|
4660
|
+
}
|
|
4661
|
+
[data-rk] .uwrdc22 {
|
|
4662
|
+
position: absolute;
|
|
4663
|
+
bottom: 0;
|
|
4664
|
+
right: 0;
|
|
4665
|
+
}
|
|
4666
|
+
|
|
4667
|
+
/* src/components/FunNotification/FunNotification.css */
|
|
4668
|
+
.fun-notification-expanded {
|
|
4669
|
+
transition: all 0.3s, opacity 0.3s;
|
|
4670
|
+
overflow: hidden;
|
|
4671
|
+
}
|
|
4672
|
+
.fun-notification-collapsed {
|
|
4673
|
+
max-height: 0px;
|
|
4674
|
+
opacity: 0;
|
|
4675
|
+
padding-top: 0px !important;
|
|
4676
|
+
padding-bottom: 0px !important;
|
|
4677
|
+
transition: all 0.3s, opacity 0.2s;
|
|
4678
|
+
overflow: hidden;
|
|
4679
|
+
}
|
|
4680
|
+
|
|
4640
4681
|
/* vanilla-extract-css-ns:src/components/Icons/Icons.css.ts.vanilla.css?source=QGtleWZyYW1lcyBxZTIyMWExIHsKICAwJSB7CiAgICB0cmFuc2Zvcm06IHJvdGF0ZSgwZGVnKTsKICB9CiAgMTAwJSB7CiAgICB0cmFuc2Zvcm06IHJvdGF0ZSgzNjBkZWcpOwogIH0KfQoucWUyMjFhMiB7CiAgYW5pbWF0aW9uOiBxZTIyMWExIDNzIGluZmluaXRlIGxpbmVhcjsKfQoucWUyMjFhMyB7CiAgYmFja2dyb3VuZDogY29uaWMtZ3JhZGllbnQoZnJvbSAxODBkZWcgYXQgNTAlIDUwJSwgcmdiYSg3MiwgMTQ2LCAyNTQsIDApIDBkZWcsIGN1cnJlbnRDb2xvciAyODIuMDRkZWcsIHJnYmEoNzIsIDE0NiwgMjU0LCAwKSAzMTkuODZkZWcsIHJnYmEoNzIsIDE0NiwgMjU0LCAwKSAzNjBkZWcpOwogIGhlaWdodDogMjFweDsKICB3aWR0aDogMjFweDsKfQ== */
|
|
4641
4682
|
@keyframes qe221a1 {
|
|
4642
4683
|
0% {
|
|
@@ -4703,14 +4744,16 @@ input[type=number] {
|
|
|
4703
4744
|
color: inputFieldPrimary;
|
|
4704
4745
|
}
|
|
4705
4746
|
|
|
4706
|
-
/*
|
|
4707
|
-
|
|
4708
|
-
|
|
4747
|
+
/* src/components/FunTransactionSummary/FunTransactionSummary.css */
|
|
4748
|
+
.fun-container-content-expanded {
|
|
4749
|
+
transition: all 0.5s ease-in-out;
|
|
4750
|
+
max-height: 200px;
|
|
4751
|
+
overflow: hidden;
|
|
4709
4752
|
}
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4753
|
+
.fun-container-content-collapsed {
|
|
4754
|
+
max-height: 0px;
|
|
4755
|
+
transition: all 0.4s ease-out;
|
|
4756
|
+
overflow: hidden;
|
|
4714
4757
|
}
|
|
4715
4758
|
|
|
4716
4759
|
/* vanilla-extract-css-ns:src/components/FunPayments/FunPaymentMoonpayType.css.ts.vanilla.css?source=Ll8xa21wZXlmMCBpZnJhbWUgewogIGJvcmRlcjogbm9uZTsKfQ== */
|
package/dist/index.d.ts
CHANGED
|
@@ -24,3 +24,4 @@ export { lightTheme } from './themes/lightTheme';
|
|
|
24
24
|
export { useAddRecentTransaction } from './transactions/useAddRecentTransaction';
|
|
25
25
|
export type { FunkitConnectWalletConnectParameters, Wallet, WalletDetailsParams, WalletList, } from './wallets/Wallet';
|
|
26
26
|
export { useFunkitDisconnect } from './components/FunkitProvider/GeneralWalletProvider';
|
|
27
|
+
export { useFunkitSwitchChains } from './components/FunkitProvider/GeneralWalletProvider';
|