@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 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 {};
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ export declare const CoinsIcon: ({ size }: {
3
+ size?: number;
4
+ }) => React.JSX.Element;
@@ -0,0 +1,3 @@
1
+ export declare function useIsUsUser(): boolean;
2
+ export declare function useIsUsBankrUser(): boolean;
3
+ export declare function useIsUsKatanaUser(): boolean;
@@ -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[];