@reown/appkit-controllers 1.8.21-solflare-headless-deeplink-evm.0 → 1.8.21

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.
@@ -96,6 +96,13 @@ export interface FetchWalletsOptions {
96
96
  include?: string[];
97
97
  /** Wallet IDs to exclude. Overrides the default exclude list when provided. */
98
98
  exclude?: string[];
99
+ /**
100
+ * Include wallets that support WalletConnect Pay but are not v2-compatible.
101
+ * By default these are filtered out. Enable for WalletConnect Pay surfaces.
102
+ */
103
+ includePayOnly?: boolean;
104
+ /** Sort mode. 'wcpay' bubbles WalletConnect Pay-supporting wallets to the top. */
105
+ sort?: 'default' | 'wcpay';
99
106
  }
100
107
  export interface UseAppKitWalletsReturn {
101
108
  /**
@@ -71,20 +71,22 @@ export declare const ApiController: {
71
71
  prefetchWalletRanks(): Promise<void>;
72
72
  fetchFeaturedWallets(): Promise<void>;
73
73
  fetchRecommendedWallets(): Promise<void>;
74
- fetchWalletsByPage({ page, entries: entriesOverride, badge, include: includeOverride, exclude: excludeOverride }: Pick<ApiGetWalletsRequest, "page"> & {
74
+ fetchWalletsByPage({ page, entries: entriesOverride, badge, include: includeOverride, exclude: excludeOverride, includePayOnly, sort }: Pick<ApiGetWalletsRequest, "page" | "sort"> & {
75
75
  entries?: number;
76
76
  badge?: BadgeType;
77
77
  include?: string[];
78
78
  exclude?: string[];
79
+ includePayOnly?: boolean;
79
80
  }): Promise<void>;
80
81
  initializeExcludedWallets({ ids }: {
81
82
  ids: string[];
82
83
  }): Promise<void>;
83
- searchWallet({ search, badge, entries: entriesOverride, page: pageOverride, include: includeOverride, exclude: excludeOverride }: Pick<ApiGetWalletsRequest, "search" | "badge"> & {
84
+ searchWallet({ search, badge, entries: entriesOverride, page: pageOverride, include: includeOverride, exclude: excludeOverride, includePayOnly, sort }: Pick<ApiGetWalletsRequest, "search" | "badge" | "sort"> & {
84
85
  entries?: number;
85
86
  page?: number;
86
87
  include?: string[];
87
88
  exclude?: string[];
89
+ includePayOnly?: boolean;
88
90
  }): Promise<void>;
89
91
  initPromise(key: string, fetchFn: () => Promise<void>): Promise<unknown>;
90
92
  prefetch({ fetchConnectorImages, fetchFeaturedWallets, fetchRecommendedWallets, fetchNetworkImages, fetchWalletRanks }?: PrefetchParameters): Promise<PromiseSettledResult<unknown>[]>;
@@ -130,6 +130,13 @@ export interface ApiGetWalletsRequest {
130
130
  exclude?: string[];
131
131
  names?: string;
132
132
  rdns?: string;
133
+ /**
134
+ * Include wallets that support WalletConnect Pay but are not v2-compatible.
135
+ * By default the API returns only v2-compatible wallets, which filters these out.
136
+ */
137
+ include_pay_only?: boolean;
138
+ /** Sort mode. 'wcpay' bubbles WalletConnect Pay-supporting wallets to the top. */
139
+ sort?: 'default' | 'wcpay';
133
140
  }
134
141
  export interface ApiGetWalletsResponse {
135
142
  data: WcWallet[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@reown/appkit-controllers",
3
- "version": "1.8.21-solflare-headless-deeplink-evm.0",
3
+ "version": "1.8.21",
4
4
  "sideEffects": false,
5
5
  "type": "module",
6
6
  "main": "./dist/esm/exports/index.js",
@@ -56,8 +56,8 @@
56
56
  "@walletconnect/universal-provider": "2.23.7",
57
57
  "valtio": "2.1.7",
58
58
  "viem": ">=2.45.0",
59
- "@reown/appkit-common": "1.8.21-solflare-headless-deeplink-evm.0",
60
- "@reown/appkit-wallet": "1.8.21-solflare-headless-deeplink-evm.0"
59
+ "@reown/appkit-common": "1.8.21",
60
+ "@reown/appkit-wallet": "1.8.21"
61
61
  },
62
62
  "devDependencies": {
63
63
  "@vitest/coverage-v8": "2.1.9",