@funkit/connect 5.5.3 → 5.5.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 +15 -0
- package/dist/components/FunNoResults/FunNoResults.d.ts +5 -2
- package/dist/components/Icons/CoinsIcon.d.ts +4 -0
- package/dist/hooks/useIsUsUser.d.ts +3 -0
- package/dist/hooks/usePaymentSources.d.ts +8 -0
- package/dist/index.js +1085 -934
- package/dist/modals/CheckoutModal/SelectAsset.d.ts +1 -1
- package/dist/utils/flags/config.d.ts +16 -0
- package/dist/wallets/walletConnectors/index.js +51 -51
- package/package.json +4 -4
- package/dist/hooks/useIsUsBankrUser.d.ts +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @funkit/connect
|
|
2
2
|
|
|
3
|
+
## 5.5.5
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 8e6ce3f: feat: add new variant of FunNoResults, custom callback specified by client
|
|
8
|
+
- 93e43d6: fix: qr code conditional hide
|
|
9
|
+
|
|
10
|
+
## 5.5.4
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 50686af: feat: katana custom terms
|
|
15
|
+
- 3308a72: fix: direct execution notification processing status
|
|
16
|
+
- 0a6f31e: feat: hide qr for US Katana users
|
|
17
|
+
|
|
3
18
|
## 5.5.3
|
|
4
19
|
|
|
5
20
|
### Patch Changes
|
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import React, { type ReactNode } from 'react';
|
|
2
2
|
interface FunNoResultsProps {
|
|
3
3
|
text: string;
|
|
4
|
+
title?: string;
|
|
5
|
+
variant?: 'default' | 'actionable';
|
|
6
|
+
actionButton?: ReactNode;
|
|
4
7
|
}
|
|
5
|
-
export declare const FunNoResults: ({ text }: FunNoResultsProps) => React.JSX.Element;
|
|
8
|
+
export declare const FunNoResults: ({ text, title, variant, actionButton, }: FunNoResultsProps) => React.JSX.Element;
|
|
6
9
|
export {};
|
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
import { type ConnectablePaymentMethodInfo, PaymentMethod } from '~/domains/paymentMethods';
|
|
2
2
|
import type { FunkitCheckoutConfig } from '~/providers/FunkitCheckoutContext';
|
|
3
|
+
export declare function usePaymentMethodEnablement({ checkoutConfig, }: {
|
|
4
|
+
checkoutConfig: FunkitCheckoutConfig | undefined;
|
|
5
|
+
}): {
|
|
6
|
+
isFiatEnabled: boolean;
|
|
7
|
+
isTokenTransferEnabled: boolean;
|
|
8
|
+
isBrokerageEnabled: boolean;
|
|
9
|
+
isCardEnabled: boolean;
|
|
10
|
+
};
|
|
3
11
|
export declare const usePaymentSources: (paymentMethodInfo: ConnectablePaymentMethodInfo | null, targetChainId: string, checkoutConfig?: FunkitCheckoutConfig) => {
|
|
4
12
|
preferred: (import("~/domains/paymentMethods").PaymentMethodBrokerageInfo | import("~/domains/paymentMethods").PaymentMethodAccountInfo | import("~/domains/paymentMethods").PaymentMethodVirtualBankInfo)[] | PaymentMethod[];
|
|
5
13
|
moreSources: PaymentMethod[];
|