@funkit/connect 6.14.3 → 6.14.5
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 +28 -0
- package/dist/components/Dialog/Dialog.d.ts +2 -1
- package/dist/components/Dropdown/BaseDropdown.d.ts +2 -1
- package/dist/components/Dropdown/ChainDropdown.d.ts +2 -1
- package/dist/components/Dropdown/TokenDropdown.d.ts +5 -1
- package/dist/components/FunAlert/FunAlert.d.ts +2 -1
- package/dist/components/FunAsset/FunAssetItem.d.ts +2 -1
- package/dist/components/FunButton/FunButton.d.ts +2 -1
- package/dist/components/FunButton/FunIconButton.d.ts +2 -1
- package/dist/components/FunInput/FunInput.d.ts +1 -0
- package/dist/components/FunNotification/FunNotification.d.ts +2 -1
- package/dist/components/FunPaymentMethodItem/FunPaymentMethodItem.d.ts +4 -2
- package/dist/components/FunPayments/FunPaymentMethods.d.ts +6 -3
- package/dist/components/MeldQuoteItem/MeldQuoteItem.d.ts +2 -1
- package/dist/components/SourceMeldQuoteItem/SourceMeldQuoteItem.d.ts +2 -1
- package/dist/components/SourcePaymentMethodItem/SourcePaymentMethodItem.d.ts +2 -1
- package/dist/components/Text/Text.d.ts +1 -0
- package/dist/consts/customers.d.ts +1 -1
- package/dist/hooks/useCheckoutAccountBalanceTransfer.d.ts +1 -1
- package/dist/hooks/useIsUsUser.d.ts +1 -0
- package/dist/index.d.ts +0 -1
- package/dist/index.js +2146 -1899
- package/dist/modals/CheckoutModal/InputAmount/InputAmountLoaded.d.ts +2 -5
- package/dist/modals/CheckoutModal/InputAmount/state.d.ts +5 -1
- package/dist/modals/CheckoutModal/InputAmount/useAmountInput.d.ts +1 -2
- package/dist/modals/CheckoutModal/InputAmount/useMeld.d.ts +38 -0
- package/dist/modals/CheckoutModal/TransferToken/CheckoutNotifications.d.ts +1 -9
- package/dist/modals/CheckoutModal/TransferToken/types.d.ts +15 -0
- package/dist/modals/CheckoutModal/stepTransition.d.ts +1 -1
- package/dist/providers/FunkitCheckoutContext.d.ts +10 -0
- package/dist/utils/checkout.d.ts +1 -1
- package/dist/utils/flags/config.d.ts +5 -5
- package/dist/wallets/walletConnectors/bifrostWallet/bifrostWallet.js +2 -2
- package/dist/wallets/walletConnectors/bitgetWallet/bitgetWallet.js +2 -2
- package/dist/wallets/walletConnectors/bybitWallet/bybitWallet.js +2 -2
- package/dist/wallets/walletConnectors/clvWallet/clvWallet.js +2 -2
- package/dist/wallets/walletConnectors/coin98Wallet/coin98Wallet.js +2 -2
- package/dist/wallets/walletConnectors/coreWallet/coreWallet.js +2 -2
- package/dist/wallets/walletConnectors/foxWallet/foxWallet.js +2 -2
- package/dist/wallets/walletConnectors/frontierWallet/frontierWallet.js +2 -2
- package/dist/wallets/walletConnectors/gateWallet/gateWallet.js +2 -2
- package/dist/wallets/walletConnectors/index.js +61 -61
- 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 +5 -5
- package/dist/hooks/useGooeyFilter.d.ts +0 -21
- package/dist/hooks/useIsFunkitCheckoutActivated.d.ts +0 -7
- package/dist/hooks/useMountEffect.d.ts +0 -8
- package/dist/hooks/usePathMorph.d.ts +0 -16
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@funkit/connect",
|
|
3
|
-
"version": "6.14.
|
|
3
|
+
"version": "6.14.5",
|
|
4
4
|
"description": "Funkit Connect SDK elevates DeFi apps via web2 sign-ins and one-click checkouts.",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -92,12 +92,12 @@
|
|
|
92
92
|
"ua-parser-js": "^1.0.37",
|
|
93
93
|
"use-debounce": "^10.0.5",
|
|
94
94
|
"uuid": "^9.0.1",
|
|
95
|
-
"@funkit/api-base": "1.12.
|
|
95
|
+
"@funkit/api-base": "1.12.6",
|
|
96
96
|
"@funkit/chains": "0.4.1",
|
|
97
|
+
"@funkit/core": "2.3.51",
|
|
97
98
|
"@funkit/fun-relay": "2.0.4",
|
|
98
|
-
"@funkit/
|
|
99
|
-
"@funkit/wagmi-tools": "3.0.
|
|
100
|
-
"@funkit/utils": "1.1.12"
|
|
99
|
+
"@funkit/utils": "1.1.12",
|
|
100
|
+
"@funkit/wagmi-tools": "3.0.74"
|
|
101
101
|
},
|
|
102
102
|
"repository": {
|
|
103
103
|
"type": "git",
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export type GooeyFilterOptions = {
|
|
2
|
-
intensity?: number;
|
|
3
|
-
blur?: number;
|
|
4
|
-
contrast?: number;
|
|
5
|
-
mode?: 'standard' | 'soft' | 'heavy';
|
|
6
|
-
};
|
|
7
|
-
export type AnimateGooeyOptions = GooeyFilterOptions & {
|
|
8
|
-
duration?: number;
|
|
9
|
-
easing?: string;
|
|
10
|
-
onComplete?: () => void;
|
|
11
|
-
};
|
|
12
|
-
type SetGooeyFunction = (options: GooeyFilterOptions) => void;
|
|
13
|
-
type AnimateGooeyFunction = (options: AnimateGooeyOptions) => Promise<void>;
|
|
14
|
-
type UseGooeyFilterReturn = {
|
|
15
|
-
scope: React.RefObject<HTMLDivElement>;
|
|
16
|
-
filterId: string;
|
|
17
|
-
setGooey: SetGooeyFunction;
|
|
18
|
-
animateGooey: AnimateGooeyFunction;
|
|
19
|
-
};
|
|
20
|
-
export declare const useGooeyFilter: (options?: GooeyFilterOptions) => UseGooeyFilterReturn;
|
|
21
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Run an effect only on the first render, EXACTLY ONCE.
|
|
3
|
-
* regardless of the dependencies, regardless of the strict mode
|
|
4
|
-
* React team thinks that it is antithetical to the React model that
|
|
5
|
-
* an effect cannot be canceled or cannot be replayed. Yet the reality
|
|
6
|
-
* isn't ideal and especially external 3rd party API cannot be controlled.
|
|
7
|
-
*/
|
|
8
|
-
export declare function useMountEffect(effect: () => void): void;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export type EasingInput = `cubic-bezier(${number}, ${number}, ${number}, ${number})` | 'linear' | 'ease' | 'ease-in' | 'ease-out' | 'ease-in-out';
|
|
2
|
-
export type UseAnimateOptions = {
|
|
3
|
-
duration?: number;
|
|
4
|
-
easing?: EasingInput;
|
|
5
|
-
onComplete?: () => void;
|
|
6
|
-
};
|
|
7
|
-
export type AnimateParams = {
|
|
8
|
-
d?: string;
|
|
9
|
-
} & UseAnimateOptions;
|
|
10
|
-
type AnimateFunction = (args?: AnimateParams | string) => Promise<void>;
|
|
11
|
-
export declare const usePathMorph: (options?: UseAnimateOptions) => {
|
|
12
|
-
animate: AnimateFunction;
|
|
13
|
-
ref: (node: SVGPathElement | null) => void;
|
|
14
|
-
clear: () => void;
|
|
15
|
-
};
|
|
16
|
-
export {};
|