@tonconnect/ui-react 2.0.12 → 2.0.13-beta.1

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.
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ActionConfiguration, Locales, TonConnectUI, UIPreferences, WalletsListConfiguration } from '@tonconnect/ui';
3
- import type { ITonConnect } from '@tonconnect/ui';
3
+ import type { ITonConnect, Feature, RequireFeature } from '@tonconnect/ui';
4
4
  export declare const TonConnectUIContext: import("react").Context<TonConnectUI | null>;
5
5
  export declare type TonConnectUIProviderProps = {
6
6
  children: ReactNode;
@@ -42,6 +42,10 @@ export interface TonConnectUIProviderPropsBase {
42
42
  * Configuration for the wallets list in the connect wallet modal.
43
43
  */
44
44
  walletsListConfiguration?: WalletsListConfiguration;
45
+ /**
46
+ * Required features for wallets to be displayed in the connect wallet modal.
47
+ */
48
+ walletsRequiredFeatures?: RequireFeature[] | ((features: Feature[]) => boolean);
45
49
  /**
46
50
  * Configuration for action-period (e.g. sendTransaction) UI elements: modals and notifications and wallet behaviour (return strategy).
47
51
  */