@funkit/connect 1.1.4 → 1.1.6
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/ConnectButton/ConnectButton.d.ts +3 -1
- package/dist/components/FunCheckoutHistoryModal/FunCheckoutHistoryHelp.d.ts +1 -1
- package/dist/components/FunkitProvider/FunkitCheckoutContext.d.ts +1 -1
- package/dist/components/Icons/Coinbase.d.ts +3 -1
- package/dist/components/Icons/FunkitPaymentsIconLine.d.ts +6 -0
- package/dist/hooks/useMesh.d.ts +6 -3
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +433 -146
- package/dist/utils/mesh.d.ts +4 -27
- package/dist/wallets/walletConnectors/chunk-2GAW2UBU.js +102 -0
- package/dist/wallets/walletConnectors/chunk-2PC2XXUH.js +94 -0
- package/dist/wallets/walletConnectors/chunk-75A2U7T7.js +100 -0
- package/dist/wallets/walletConnectors/chunk-CUKVUCIP.js +98 -0
- package/dist/wallets/walletConnectors/chunk-FDIIMYTB.js +73 -0
- package/dist/wallets/walletConnectors/chunk-GW6EF4G2.js +92 -0
- package/dist/wallets/walletConnectors/chunk-IBWFKX7P.js +94 -0
- package/dist/wallets/walletConnectors/chunk-N3VZE65M.js +98 -0
- package/dist/wallets/walletConnectors/chunk-OAEJQOAV.js +105 -0
- package/dist/wallets/walletConnectors/chunk-OKWOB3DN.js +66 -0
- package/dist/wallets/walletConnectors/chunk-OR3PU2W4.js +95 -0
- package/dist/wallets/walletConnectors/chunk-RTW6PVQI.js +107 -0
- package/dist/wallets/walletConnectors/chunk-SL4VH23R.js +71 -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/index.js +64 -64
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 1.1.6
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 798eec2: refactor: updated default payment method texts
|
|
8
|
+
- 798eec2: feat: export FunkitPaymentIconsLine component for customer use
|
|
9
|
+
- 798eec2: feat: support suffixIcon on ConnectButton
|
|
10
|
+
- 5464b7c: refactor: switch out checkout, asset, moonpay, mesh, support, turnkey, and faucet apis
|
|
11
|
+
- 798eec2: refactor: all checkouts default to editing step even if targetAssetAmount > 0. Only if disableEditing = true, does it get skipped.
|
|
12
|
+
- Updated dependencies [ad4a3ce]
|
|
13
|
+
- Updated dependencies [5464b7c]
|
|
14
|
+
- @funkit/api-base@0.0.3
|
|
15
|
+
- @funkit/core@1.0.14
|
|
16
|
+
- @funkit/wagmi-tools@1.0.16
|
|
17
|
+
|
|
18
|
+
## 1.1.5
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- 82e2501: chore: upgrade privy sdk deps & adapt to breaking changes
|
|
23
|
+
- 610e8f1: fix: remove funkit/shared deps
|
|
24
|
+
|
|
3
25
|
## 1.1.4
|
|
4
26
|
|
|
5
27
|
### Patch Changes
|
|
@@ -9,8 +9,9 @@ export interface ConnectButtonProps {
|
|
|
9
9
|
chainStatus?: ResponsiveValue<ChainStatus>;
|
|
10
10
|
label?: string;
|
|
11
11
|
showChainSelector?: boolean;
|
|
12
|
+
suffixIcon?: React.ReactNode;
|
|
12
13
|
}
|
|
13
|
-
export declare function ConnectButton({ accountStatus, chainStatus, label, showBalance, showChainSelector, }: ConnectButtonProps): React.JSX.Element;
|
|
14
|
+
export declare function ConnectButton({ accountStatus, chainStatus, label, showBalance, showChainSelector, suffixIcon, }: ConnectButtonProps): React.JSX.Element;
|
|
14
15
|
export declare namespace ConnectButton {
|
|
15
16
|
var __defaultProps: {
|
|
16
17
|
readonly accountStatus: "full";
|
|
@@ -24,6 +25,7 @@ export declare namespace ConnectButton {
|
|
|
24
25
|
readonly smallScreen: false;
|
|
25
26
|
};
|
|
26
27
|
readonly showChainSelector: true;
|
|
28
|
+
readonly suffixIcon: null;
|
|
27
29
|
};
|
|
28
30
|
var Custom: typeof ConnectButtonRenderer;
|
|
29
31
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CheckoutHistoryItem } from '@funkit/
|
|
1
|
+
import { CheckoutHistoryItem } from '@funkit/api-base';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
export declare function FunCheckoutHistoryHelp({ checkoutHistoryInfo, animateOut, onBackFromHelpPage, }: {
|
|
4
4
|
checkoutHistoryInfo: CheckoutHistoryItem;
|
|
@@ -47,7 +47,7 @@ export interface FunkitCheckoutConfig {
|
|
|
47
47
|
checkoutItemDescription?: string;
|
|
48
48
|
/** The quantity of the item being checked out. If not specified (0, null, undefined), it will default to blank. **/
|
|
49
49
|
checkoutItemAmount?: number;
|
|
50
|
-
/** Whether
|
|
50
|
+
/** Whether editing is skipped and disabled for checkouts with empty actionsParams. **/
|
|
51
51
|
disableEditing?: boolean;
|
|
52
52
|
/** *****************************
|
|
53
53
|
* Miscellaneous configurations *
|
package/dist/hooks/useMesh.d.ts
CHANGED
|
@@ -14,7 +14,7 @@ export declare const useMeshExchanges: ({ fullInfo, }: {
|
|
|
14
14
|
* @param exchange The mesh exchange user is currently connected with
|
|
15
15
|
*/
|
|
16
16
|
export declare const useMeshNetworkInfo: (exchange: MeshExchanges) => {
|
|
17
|
-
fetchInfo: () => Promise<
|
|
17
|
+
fetchInfo: () => Promise<import("@funkit/api-base").IntegrationNetworkInfo[]>;
|
|
18
18
|
};
|
|
19
19
|
/**
|
|
20
20
|
* Fetches mesh-related network information based on the active chain user is logged in on, given an exchange
|
|
@@ -26,7 +26,10 @@ export declare const useMeshActiveNetworkInfo: (exchange: MeshExchanges) => {
|
|
|
26
26
|
meshNetworkId: string | null;
|
|
27
27
|
};
|
|
28
28
|
fetchInfo: (chainId?: string) => Promise<{
|
|
29
|
-
meshSupportedTokens:
|
|
30
|
-
meshNetworkId:
|
|
29
|
+
meshSupportedTokens: string[];
|
|
30
|
+
meshNetworkId: string | undefined;
|
|
31
|
+
} | {
|
|
32
|
+
meshSupportedTokens: string[];
|
|
33
|
+
meshNetworkId: string | null;
|
|
31
34
|
}>;
|
|
32
35
|
};
|
package/dist/index.css
CHANGED
|
@@ -4785,7 +4785,7 @@ input[type=number] {
|
|
|
4785
4785
|
-moz-appearance: textfield;
|
|
4786
4786
|
}
|
|
4787
4787
|
|
|
4788
|
-
/* vanilla-extract-css-ns:src/components/FunInput/FunInput.css.ts.vanilla.css?source=
|
|
4788
|
+
/* vanilla-extract-css-ns:src/components/FunInput/FunInput.css.ts.vanilla.css?source=Lnp1ZTBpNjEgewogIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50OwogIGJvcmRlcjogbm9uZTsKICBvdXRsaW5lOiBub25lOwogIHBhZGRpbmc6IDE0cHggMTJweDsKICB3aWR0aDogMTAwJTsKICBmb250LXNpemU6IDE2cHg7CiAgbGluZS1oZWlnaHQ6IDIwcHg7Cn0KLnp1ZTBpNjE6OnBsYWNlaG9sZGVyIHsKICBjb2xvcjogaW5wdXRGaWVsZFByaW1hcnk7Cn0KLnp1ZTBpNjE6Zm9jdXMgewogIGNvbG9yOiBpbnB1dEZpZWxkUHJpbWFyeTsKfQouenVlMGk2MyB7CiAgYmFja2dyb3VuZC1jb2xvcjogdHJhbnNwYXJlbnQ7CiAgYm9yZGVyOiBub25lOwogIG91dGxpbmU6IG5vbmU7CiAgcGFkZGluZzogMTRweCAxMnB4OwogIHdpZHRoOiAxMDAlOwogIGZvbnQtc2l6ZTogMTZweDsKICBsaW5lLWhlaWdodDogMjBweDsKfQouenVlMGk2Mzo6cGxhY2Vob2xkZXIgewogIGNvbG9yOiBpbnB1dEZpZWxkUHJpbWFyeTsKfQouenVlMGk2Mzpmb2N1cyB7CiAgY29sb3I6IGlucHV0RmllbGRQcmltYXJ5Owp9 */
|
|
4789
4789
|
[data-rk] .zue0i61 {
|
|
4790
4790
|
background-color: transparent;
|
|
4791
4791
|
border: none;
|
package/dist/index.d.ts
CHANGED
|
@@ -15,6 +15,7 @@ export type { AvatarComponent } from './components/FunkitProvider/AvatarContext'
|
|
|
15
15
|
export type { FunkitConnectChain as Chain } from './components/FunkitProvider/FunkitConnectChainContext';
|
|
16
16
|
export type { Theme } from './components/FunkitProvider/FunkitProvider';
|
|
17
17
|
export { useAccountModal, useChainModal, useConnectModal, } from './components/FunkitProvider/ModalContext';
|
|
18
|
+
export { FunkitPaymentsIconLine } from './components/Icons/FunkitPaymentsIconLine';
|
|
18
19
|
export { NATIVE_TOKEN } from './consts/funkit';
|
|
19
20
|
export { PaymentMethod } from './consts/payment';
|
|
20
21
|
export { cssObjectFromTheme } from './css/cssObjectFromTheme';
|