@funkit/connect 1.0.3 → 1.0.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 +22 -0
- package/dist/components/Box/Box.d.ts +1 -1
- package/dist/components/FunBadge/FunBadge.d.ts +4 -0
- package/dist/components/FunCheckoutModal/FunCheckoutConfirmationStep.d.ts +2 -1
- package/dist/components/FunDivider/FunDivider.d.ts +2 -1
- package/dist/components/FunDot/FunDot.d.ts +2 -0
- package/dist/components/FunNotification/FunNotification.d.ts +2 -2
- package/dist/components/FunSelect/FunSelect.d.ts +1 -0
- package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +1 -0
- package/dist/components/FunkitProvider/FunkitMeshProvider.d.ts +20 -0
- package/dist/css/sprinkles.css.d.ts +1 -1
- package/dist/index.css +1332 -1328
- package/dist/index.js +1983 -1744
- package/dist/utils/formatTimestamp.d.ts +11 -0
- package/dist/utils/mesh.d.ts +1 -0
- 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/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 +72 -72
- 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 +3 -3
- package/dist/wallets/walletConnectors/chunk-2GAW2UBU.js +0 -102
- package/dist/wallets/walletConnectors/chunk-2PC2XXUH.js +0 -94
- package/dist/wallets/walletConnectors/chunk-75A2U7T7.js +0 -100
- package/dist/wallets/walletConnectors/chunk-CUKVUCIP.js +0 -98
- package/dist/wallets/walletConnectors/chunk-FDIIMYTB.js +0 -73
- package/dist/wallets/walletConnectors/chunk-GW6EF4G2.js +0 -92
- package/dist/wallets/walletConnectors/chunk-IBWFKX7P.js +0 -94
- package/dist/wallets/walletConnectors/chunk-N3VZE65M.js +0 -98
- package/dist/wallets/walletConnectors/chunk-OAEJQOAV.js +0 -105
- package/dist/wallets/walletConnectors/chunk-OKWOB3DN.js +0 -66
- package/dist/wallets/walletConnectors/chunk-OR3PU2W4.js +0 -95
- package/dist/wallets/walletConnectors/chunk-RTW6PVQI.js +0 -107
- package/dist/wallets/walletConnectors/chunk-SL4VH23R.js +0 -71
- package/dist/wallets/walletConnectors/chunk-SQGFKNNZ.js +0 -102
- package/dist/wallets/walletConnectors/chunk-T6JVHES7.js +0 -87
- package/dist/wallets/walletConnectors/chunk-VWZEDVW6.js +0 -27
- package/dist/wallets/walletConnectors/chunk-X255T3C4.js +0 -178
- package/dist/wallets/walletConnectors/chunk-XSSD5ZVD.js +0 -96
- package/dist/wallets/walletConnectors/chunk-YC7XNS7C.js +0 -98
- package/dist/wallets/walletConnectors/chunk-Z2HIQYVN.js +0 -96
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 1.0.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 9197b4f: fix: moonpay modal
|
|
8
|
+
- b388697: feat: unsupported checkout chains tracking
|
|
9
|
+
- 5e6e878: feat: trigger re-quote if checkout confirmation returns expired quote error
|
|
10
|
+
- ec8205e: feat: tx summary borders
|
|
11
|
+
- ec8205e: feat: better checkout time display
|
|
12
|
+
- 11d5350: feat: increase max height of token list
|
|
13
|
+
- cac4e5c: feat: consistent total usd amount with draft value
|
|
14
|
+
- b388697: feat: FunBadge component
|
|
15
|
+
- Updated dependencies [b388697]
|
|
16
|
+
- @funkit/core@1.0.2
|
|
17
|
+
- @funkit/wagmi-tools@1.0.3
|
|
18
|
+
|
|
19
|
+
## 1.0.4
|
|
20
|
+
|
|
21
|
+
### Patch Changes
|
|
22
|
+
|
|
23
|
+
- c1a7e76: fix: brokerage additional verifications
|
|
24
|
+
|
|
3
25
|
## 1.0.3
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -40,7 +40,7 @@ export declare const Box: React.ForwardRefExoticComponent<{
|
|
|
40
40
|
readonly backgroundSize?: "cover" | undefined;
|
|
41
41
|
readonly borderRadius?: "1" | "actionButton" | "connectButton" | "menuButton" | "modal" | "modalMobile" | "6" | "10" | "13" | "16" | "24" | "25%" | "full" | undefined;
|
|
42
42
|
readonly borderStyle?: "dotted" | "hidden" | "solid" | undefined;
|
|
43
|
-
readonly borderWidth?: "0" | "1" | "2" | "4" | undefined;
|
|
43
|
+
readonly borderWidth?: "0" | "1" | "2" | "0.5" | "4" | undefined;
|
|
44
44
|
readonly cursor?: "pointer" | undefined;
|
|
45
45
|
readonly flexDirection?: "column" | "row" | undefined;
|
|
46
46
|
readonly fontFamily?: "body" | undefined;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { FunCheckoutStep } from './FunCheckoutModal';
|
|
3
|
-
export declare function FunCheckoutConfirmationStep({ checkoutId, checkoutStep, onFinish, animateOut, }: {
|
|
3
|
+
export declare function FunCheckoutConfirmationStep({ checkoutId, checkoutStep, regenerateQuoteFn, onFinish, animateOut, }: {
|
|
4
4
|
checkoutId: string | null;
|
|
5
5
|
checkoutStep: FunCheckoutStep;
|
|
6
|
+
regenerateQuoteFn: () => void;
|
|
6
7
|
onFinish: (depositAddress: string) => void;
|
|
7
8
|
animateOut: boolean;
|
|
8
9
|
}): React.JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { BoxProps } from '../Box/Box';
|
|
3
|
-
export declare function FunDivider({ marginTop, marginBottom, transparent, }: {
|
|
3
|
+
export declare function FunDivider({ marginTop, marginBottom, transparent, borderWidth, }: {
|
|
4
4
|
marginTop?: BoxProps['margin'];
|
|
5
5
|
marginBottom?: BoxProps['margin'];
|
|
6
6
|
transparent?: boolean;
|
|
7
|
+
borderWidth?: BoxProps['borderWidth'];
|
|
7
8
|
}): React.JSX.Element;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { ReactNode } from 'react';
|
|
2
2
|
import { Box } from '../Box/Box';
|
|
3
3
|
import { TextProps } from '../Text/Text';
|
|
4
4
|
interface FunNotificationProps {
|
|
5
5
|
type?: FunNotificationType;
|
|
6
|
-
description: string;
|
|
6
|
+
description: string | ReactNode;
|
|
7
7
|
textProps?: Omit<TextProps, 'color'>;
|
|
8
8
|
containerProps?: React.ComponentProps<typeof Box>;
|
|
9
9
|
}
|
|
@@ -3,6 +3,7 @@ import { BoxProps } from '../Box/Box';
|
|
|
3
3
|
export interface FunSelectOption {
|
|
4
4
|
value: string;
|
|
5
5
|
label: ReactNode;
|
|
6
|
+
isDisabled: boolean;
|
|
6
7
|
}
|
|
7
8
|
export declare function FunSelectDropdown({ handleSelect, isDropdownOpen, options, selectedValue, containerPaddingY, containerMarginTop, optionItemPadding, showBorder, }: {
|
|
8
9
|
handleSelect: (newValue: FunSelectOption['value']) => void;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LinkPayload } from '@meshconnect/web-link-sdk';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import { MeshExchanges } from '../../utils/mesh';
|
|
4
|
+
interface MeshBrokerDataMap {
|
|
5
|
+
[brokerName: string]: LinkPayload & {
|
|
6
|
+
connectionExpiresAtMs: number;
|
|
7
|
+
};
|
|
8
|
+
}
|
|
9
|
+
export declare function FunkitMeshProvider({ children }: any): React.JSX.Element;
|
|
10
|
+
export declare function useFunkitMesh({ onBeforeConnect, onConnected, onMeshModalClose, }: {
|
|
11
|
+
onBeforeConnect?: () => void;
|
|
12
|
+
onConnected?: (brokerData: LinkPayload | null) => void;
|
|
13
|
+
onMeshModalClose?: () => void;
|
|
14
|
+
}): {
|
|
15
|
+
meshBrokerDataMap: MeshBrokerDataMap;
|
|
16
|
+
connectToBrokerage: (brokerage: MeshExchanges) => Promise<void>;
|
|
17
|
+
unlinkBrokerage: (exchange: MeshExchanges) => void;
|
|
18
|
+
hasActiveConnectionCheck: (brokerage: MeshExchanges) => boolean;
|
|
19
|
+
};
|
|
20
|
+
export {};
|
|
@@ -399,7 +399,7 @@ export declare const sprinkles: ((props: {
|
|
|
399
399
|
readonly backgroundSize?: "cover" | undefined;
|
|
400
400
|
readonly borderRadius?: "1" | "actionButton" | "connectButton" | "menuButton" | "modal" | "modalMobile" | "6" | "10" | "13" | "16" | "24" | "25%" | "full" | undefined;
|
|
401
401
|
readonly borderStyle?: "dotted" | "hidden" | "solid" | undefined;
|
|
402
|
-
readonly borderWidth?: "0" | "1" | "2" | "4" | undefined;
|
|
402
|
+
readonly borderWidth?: "0" | "1" | "2" | "0.5" | "4" | undefined;
|
|
403
403
|
readonly cursor?: "pointer" | undefined;
|
|
404
404
|
readonly flexDirection?: "column" | "row" | undefined;
|
|
405
405
|
readonly fontFamily?: "body" | undefined;
|