@funkit/connect 7.0.0 → 7.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 +25 -0
- package/dist/components/FunPoweredTagline/FunPoweredTagline.css.d.ts +1 -0
- package/dist/components/FunPoweredTagline/FunPoweredTagline.d.ts +4 -1
- package/dist/consts/funkit.d.ts +0 -17
- package/dist/domains/feeEstimate.d.ts +1 -1
- package/dist/hooks/usePaymentSources.d.ts +1 -1
- package/dist/index.css +16 -0
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1015 -622
- package/dist/locales/index.d.ts +1 -1
- package/dist/modals/CheckoutModal/ConfirmationStep/useAccountBalanceTransfer.d.ts +1 -1
- package/dist/modals/CheckoutModal/SourceChange/SourceChange.d.ts +1 -1
- package/dist/providers/FunkitConfigContext.d.ts +0 -18
- package/dist/utils/checkout.d.ts +0 -34
- package/dist/utils/flags/config.d.ts +1 -1
- package/dist/wallets/walletConnectors/index.js +6 -6
- package/package.json +5 -6
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 7.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- df73659: chore: bump versions
|
|
8
|
+
- Updated dependencies [df73659]
|
|
9
|
+
- @funkit/api-base@1.12.21
|
|
10
|
+
- @funkit/chains@0.5.1
|
|
11
|
+
- @funkit/fun-relay@2.1.15
|
|
12
|
+
- @funkit/utils@1.1.21
|
|
13
|
+
|
|
14
|
+
## 7.0.1
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- 3518f7b: rename meld flow variable name and remove core deps
|
|
19
|
+
- 2b89d85: chore(connect): remove unused translations
|
|
20
|
+
- 96fd4d4: feat(connect): reduce L1 fee estimate to $1
|
|
21
|
+
- cf2b385: feat: add french locale
|
|
22
|
+
- b693f57: feat(connect): update withdrawal recipient address placeholder for solana
|
|
23
|
+
- eec5311: refactor(connect): deprecate remaining loginConfig types
|
|
24
|
+
- d22ffac: feat(connect): add border to modal footer (above fun technology logo)
|
|
25
|
+
- Updated dependencies [208bcd7]
|
|
26
|
+
- @funkit/api-base@1.12.20
|
|
27
|
+
|
|
3
28
|
## 7.0.0
|
|
4
29
|
|
|
5
30
|
### Major Changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const taglineBorderTop: string;
|
|
@@ -1,2 +1,5 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
-
export
|
|
2
|
+
export interface FunPoweredTaglineProps {
|
|
3
|
+
enableBorderTop?: boolean;
|
|
4
|
+
}
|
|
5
|
+
export declare function FunPoweredTagline({ enableBorderTop, }: FunPoweredTaglineProps): React.JSX.Element;
|
package/dist/consts/funkit.d.ts
CHANGED
|
@@ -4,25 +4,8 @@ import type { Address } from 'viem';
|
|
|
4
4
|
* e.g. on Base it is ETH, but on Polygon it is MATIC/POL. It is not one specific real token address.
|
|
5
5
|
**/
|
|
6
6
|
export declare const NATIVE_TOKEN = "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee";
|
|
7
|
-
export declare const FUNKIT_CONNECT_WALLET_ID = "funkitConnectWallet";
|
|
8
|
-
export declare const DEFAULT_FUNWALLET_INDEX = 0;
|
|
9
7
|
export declare const FUN_ORG_NAME = "Fun.xyz";
|
|
10
8
|
export declare const FUN_TERMS_URL = "https://fun.xyz/terms";
|
|
11
|
-
export declare enum PrivyLoginMethod {
|
|
12
|
-
email = "email",
|
|
13
|
-
farcaster = "farcaster",
|
|
14
|
-
google_oauth = "google_oauth",
|
|
15
|
-
twitter_oauth = "twitter_oauth",
|
|
16
|
-
apple_oauth = "apple_oauth"
|
|
17
|
-
}
|
|
18
|
-
export declare enum FunkitSocialLoginMethod {
|
|
19
|
-
GOOGLE = "google_oauth",
|
|
20
|
-
TWITTER = "twitter_oauth",
|
|
21
|
-
APPLE = "apple_oauth",
|
|
22
|
-
FARCASTER = "farcaster"
|
|
23
|
-
}
|
|
24
|
-
export type FunkitLoginType = 'web2' | 'web3';
|
|
25
|
-
export type FunkitPrioritizedLoginType = 'none' | FunkitLoginType;
|
|
26
9
|
export interface FunkitUserInfoBase {
|
|
27
10
|
/** Unique identifier of the user **/
|
|
28
11
|
id: string | Address;
|
|
@@ -5,7 +5,7 @@ export declare function usePaymentMethodEnablement({ checkoutConfig, }: {
|
|
|
5
5
|
}): {
|
|
6
6
|
isFiatEnabled: boolean;
|
|
7
7
|
isTokenTransferEnabled: boolean;
|
|
8
|
-
|
|
8
|
+
isMeldEnabled: boolean;
|
|
9
9
|
isBrokerageEnabled: boolean;
|
|
10
10
|
};
|
|
11
11
|
export declare const usePaymentSources: (paymentMethodInfo: ConnectablePaymentMethodInfo | null, targetChainId: string, checkoutConfig?: FunkitCheckoutConfig) => {
|
package/dist/index.css
CHANGED
|
@@ -9826,6 +9826,22 @@
|
|
|
9826
9826
|
box-shadow: 0px -1px 1px 0px rgba(0, 0, 0, 0.09) inset;
|
|
9827
9827
|
}
|
|
9828
9828
|
|
|
9829
|
+
/* vanilla-extract-css-ns:src/components/FunPoweredTagline/FunPoweredTagline.css.ts.vanilla.css?source=Ll8xd2RnazZpMCB7CiAgcG9zaXRpb246IHJlbGF0aXZlOwogIG1hcmdpbi10b3A6IDZweDsKICBwYWRkaW5nLXRvcDogdmFyKC0tcmstc3BhY2luZy1tb2RhbFBhZGRpbmdCb3R0b21Mb3dlcik7Cn0KLl8xd2RnazZpMDo6YmVmb3JlIHsKICBjb250ZW50OiAiIjsKICBiYWNrZ3JvdW5kLWNvbG9yOiB2YXIoLS1yay1jb2xvcnMtbGlnaHRTdHJva2UpOwogIGhlaWdodDogMXB4OwogIHBvc2l0aW9uOiBhYnNvbHV0ZTsKICB0b3A6IDA7CiAgbGVmdDogY2FsYygtMSAqICh2YXIoLS1yay1zcGFjaW5nLW1vZGFsQmFzZUhvcml6b250YWxQYWRkaW5nKSArIHZhcigtLXJrLXNwYWNpbmctbW9kYWxCb3R0b21Ib3Jpem9udGFsUGFkZGluZykpKTsKICByaWdodDogY2FsYygtMSAqICh2YXIoLS1yay1zcGFjaW5nLW1vZGFsQmFzZUhvcml6b250YWxQYWRkaW5nKSArIHZhcigtLXJrLXNwYWNpbmctbW9kYWxCb3R0b21Ib3Jpem9udGFsUGFkZGluZykpKTsKfQ== */
|
|
9830
|
+
[data-rk] ._1wdgk6i0 {
|
|
9831
|
+
position: relative;
|
|
9832
|
+
margin-top: 6px;
|
|
9833
|
+
padding-top: var(--rk-spacing-modalPaddingBottomLower);
|
|
9834
|
+
}
|
|
9835
|
+
[data-rk] ._1wdgk6i0::before {
|
|
9836
|
+
content: "";
|
|
9837
|
+
background-color: var(--rk-colors-lightStroke);
|
|
9838
|
+
height: 1px;
|
|
9839
|
+
position: absolute;
|
|
9840
|
+
top: 0;
|
|
9841
|
+
left: calc(-1 * (var(--rk-spacing-modalBaseHorizontalPadding) + var(--rk-spacing-modalBottomHorizontalPadding)));
|
|
9842
|
+
right: calc(-1 * (var(--rk-spacing-modalBaseHorizontalPadding) + var(--rk-spacing-modalBottomHorizontalPadding)));
|
|
9843
|
+
}
|
|
9844
|
+
|
|
9829
9845
|
/* vanilla-extract-css-ns:src/components/FunDivider/FunDivider.css.ts.vanilla.css?source=Ll8zZGtkc2MwIHsKICBib3JkZXItd2lkdGg6IDA7CiAgYm9yZGVyLXRvcC13aWR0aDogMXB4OwogIGJvcmRlci1zdHlsZTogc29saWQ7CiAgZmxleDogMTsKfQ== */
|
|
9830
9846
|
[data-rk] ._3dkdsc0 {
|
|
9831
9847
|
border-width: 0;
|
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,7 @@ export { Avatar as FunkitAvatar } from './components/Avatar/Avatar';
|
|
|
3
3
|
export { ConnectButton } from './components/ConnectButton/ConnectButton';
|
|
4
4
|
export { FunkitPaymentsIconLine } from './components/Icons/FunkitPaymentsIconLine';
|
|
5
5
|
export { createFunkitWagmiConfig, getDefaultChains, getDefaultTransports, } from './config/getDefaultConfig';
|
|
6
|
-
export
|
|
7
|
-
export { FunkitSocialLoginMethod, NATIVE_TOKEN } from './consts/funkit';
|
|
6
|
+
export { NATIVE_TOKEN } from './consts/funkit';
|
|
8
7
|
export { cssObjectFromTheme } from './css/cssObjectFromTheme';
|
|
9
8
|
export { cssStringFromTheme } from './css/cssStringFromTheme';
|
|
10
9
|
export type { ThemeVars } from './css/sprinkles.css';
|
|
@@ -33,7 +32,7 @@ export type { Theme, ThemeSet } from './providers/FunkitThemeProvider';
|
|
|
33
32
|
export { useActiveTheme } from './providers/FunkitThemeProvider';
|
|
34
33
|
export { useFunkitUserInfo } from './providers/GeneralWalletProvider';
|
|
35
34
|
export { useAccountModal, useChainModal, useConnectModal, } from './providers/ModalContext';
|
|
36
|
-
export type { FunkitUserInfo
|
|
35
|
+
export type { FunkitUserInfo } from './consts/funkit';
|
|
37
36
|
export { systemFontStack, type ThemeOptions } from './themes/baseTheme';
|
|
38
37
|
export { darkTheme } from './themes/darkTheme';
|
|
39
38
|
export { lightTheme } from './themes/lightTheme';
|