@dynamic-labs/sdk-react-core 0.19.0-alpha.24 → 0.19.0-alpha.26

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.
Files changed (51) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/package.cjs +1 -1
  3. package/package.js +1 -1
  4. package/package.json +8 -8
  5. package/src/lib/components/LogoutButton/LogoutButton.cjs +3 -1
  6. package/src/lib/components/LogoutButton/LogoutButton.js +3 -1
  7. package/src/lib/components/SocialSignIn/SocialSignIn.cjs +16 -6
  8. package/src/lib/components/SocialSignIn/SocialSignIn.d.ts +1 -1
  9. package/src/lib/components/SocialSignIn/SocialSignIn.js +16 -6
  10. package/src/lib/context/DynamicContext/DynamicContext.cjs +1 -0
  11. package/src/lib/context/DynamicContext/DynamicContext.js +1 -0
  12. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +8 -8
  13. package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +8 -8
  14. package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.cjs +2 -1
  15. package/src/lib/shared/utils/functions/isUserLinkingWallet/isUserLinkingWallet.js +2 -1
  16. package/src/lib/shared/utils/hooks/useOnClickOutside/index.cjs +2 -2
  17. package/src/lib/shared/utils/hooks/useOnClickOutside/index.js +2 -2
  18. package/src/lib/styles/index.shadow.cjs +1 -1
  19. package/src/lib/styles/index.shadow.js +1 -1
  20. package/src/lib/utils/functions/getUserWalletsFromVerifiedCredentials/getUserWalletsFromVerifiedCredentials.cjs +26 -0
  21. package/src/lib/utils/functions/getUserWalletsFromVerifiedCredentials/getUserWalletsFromVerifiedCredentials.d.ts +1 -0
  22. package/src/lib/utils/functions/getUserWalletsFromVerifiedCredentials/getUserWalletsFromVerifiedCredentials.js +22 -0
  23. package/src/lib/utils/functions/getUserWalletsFromVerifiedCredentials/index.d.ts +1 -0
  24. package/src/lib/utils/functions/index.d.ts +1 -0
  25. package/src/lib/utils/functions/walletListBuilder/walletListBuilder.cjs +5 -4
  26. package/src/lib/utils/functions/walletListBuilder/walletListBuilder.d.ts +2 -1
  27. package/src/lib/utils/functions/walletListBuilder/walletListBuilder.js +5 -4
  28. package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.cjs +12 -6
  29. package/src/lib/utils/hooks/useEmbeddedWallet/useEmbeddedWallet.js +12 -6
  30. package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +14 -8
  31. package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +14 -8
  32. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.cjs +2 -2
  33. package/src/lib/utils/hooks/useWalletEventListeners/useWalletEventListeners.js +2 -2
  34. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.cjs +7 -1
  35. package/src/lib/views/CollectUserDataView/OnboardingUserDataForm/OnboardingUserDataForm.js +7 -1
  36. package/src/lib/views/EmailVerification/EmailVerification.cjs +10 -6
  37. package/src/lib/views/EmailVerification/EmailVerification.js +10 -6
  38. package/src/lib/views/LoginView/LoginView.cjs +4 -1
  39. package/src/lib/views/LoginView/LoginView.js +4 -1
  40. package/src/lib/views/LoginView/sections/LoginWidget.d.ts +1 -0
  41. package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.cjs +2 -2
  42. package/src/lib/views/LoginView/sections/SocialSignInSection/DynamicSocialSignIn/DynamicSocialSignIn.js +2 -2
  43. package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.cjs +3 -5
  44. package/src/lib/views/LoginView/sections/SocialSignInSection/MagicSocialSignIn/MagicSocialSignIn.js +3 -5
  45. package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.cjs +2 -1
  46. package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.d.ts +2 -1
  47. package/src/lib/views/LoginView/sections/SocialSignInSection/SocialSignInSection.js +2 -1
  48. package/src/lib/views/LoginView/useLoginView.cjs +33 -19
  49. package/src/lib/views/LoginView/useLoginView.js +34 -20
  50. package/src/lib/views/WalletList/WalletList.cjs +2 -1
  51. package/src/lib/views/WalletList/WalletList.js +2 -1
@@ -22,11 +22,12 @@ var getSocialSignInProviderFromString = require('../../../../utils/functions/get
22
22
  var MagicSocialSignIn = require('./MagicSocialSignIn/MagicSocialSignIn.cjs');
23
23
  var DynamicSocialSignIn = require('./DynamicSocialSignIn/DynamicSocialSignIn.cjs');
24
24
 
25
- const SocialSignInSection = ({ sectionData }) => {
25
+ const SocialSignInSection = ({ sectionData, collapsedLayout, }) => {
26
26
  var _a, _b, _c;
27
27
  const { projectSettings } = useInternalDynamicContext.useInternalDynamicContext();
28
28
  const providers = (_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.providers) !== null && _a !== void 0 ? _a : [];
29
29
  const componentProps = {
30
+ collapsedLayout,
30
31
  defaultProvider: getSocialSignInProviderFromString.getSocialSignInProviderFromString(sectionData.defaultItem),
31
32
  numOfItemsToDisplay: sectionData.numOfItemsToDisplay,
32
33
  };
@@ -2,6 +2,7 @@
2
2
  import { SdkViewSection } from '@dynamic-labs/sdk-api';
3
3
  type Props = {
4
4
  sectionData: SdkViewSection;
5
+ collapsedLayout?: boolean;
5
6
  };
6
- export declare const SocialSignInSection: ({ sectionData }: Props) => JSX.Element | null;
7
+ export declare const SocialSignInSection: ({ sectionData, collapsedLayout, }: Props) => JSX.Element | null;
7
8
  export {};
@@ -18,11 +18,12 @@ import { getSocialSignInProviderFromString } from '../../../../utils/functions/g
18
18
  import { MagicSocialSignIn } from './MagicSocialSignIn/MagicSocialSignIn.js';
19
19
  import { DynamicSocialSignIn } from './DynamicSocialSignIn/DynamicSocialSignIn.js';
20
20
 
21
- const SocialSignInSection = ({ sectionData }) => {
21
+ const SocialSignInSection = ({ sectionData, collapsedLayout, }) => {
22
22
  var _a, _b, _c;
23
23
  const { projectSettings } = useInternalDynamicContext();
24
24
  const providers = (_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.providers) !== null && _a !== void 0 ? _a : [];
25
25
  const componentProps = {
26
+ collapsedLayout,
26
27
  defaultProvider: getSocialSignInProviderFromString(sectionData.defaultItem),
27
28
  numOfItemsToDisplay: sectionData.numOfItemsToDisplay,
28
29
  };
@@ -6,6 +6,7 @@ var React = require('react');
6
6
  var reactI18next = require('react-i18next');
7
7
  var sdkApi = require('@dynamic-labs/sdk-api');
8
8
  var useInternalDynamicContext = require('../../context/DynamicContext/useInternalDynamicContext.cjs');
9
+ var SocialRedirectContext = require('../../context/SocialRedirectContext/SocialRedirectContext.cjs');
9
10
  require('../../shared/logger.cjs');
10
11
  require('@dynamic-labs/iconic');
11
12
  require('@dynamic-labs/wallet-connector-core');
@@ -24,14 +25,16 @@ var index = require('../../utils/functions/getEnabledProviders/index.cjs');
24
25
  /* eslint-disable multiline-comment-style */
25
26
  const NUMBER_OF_WALLETS = 3;
26
27
  const useLoginView = () => {
27
- const { projectSettings, authorizationViewDisplayOrder, loginWithEmail, wallets, } = useInternalDynamicContext.useInternalDynamicContext();
28
+ var _a, _b, _c, _d;
29
+ const { projectSettings, authorizationViewDisplayOrder, loginWithEmail, wallets, walletsFilter, } = useInternalDynamicContext.useInternalDynamicContext();
30
+ const { enabledSocialProviders } = SocialRedirectContext.useSocialRedirectContext();
28
31
  /** Takes from wallets only those that can be selected in the wallet list by the user.
29
32
  * Should filter out embedded wallets
30
33
  * WHY: when we decide whether to show wallets or not, we need to know how many wallets
31
34
  * will actually be rendered. It would be especially bad to only have for ex "turnkey" in
32
35
  * wallets and then display an empty wallet list (since turnkey doesn't render)
33
36
  */
34
- const selectableWallets = wallets.filter(({ key }) => key !== 'turnkey');
37
+ const selectableWallets = (walletsFilter ? walletsFilter(wallets) : wallets).filter(({ key }) => key !== 'turnkey');
35
38
  const { t } = reactI18next.useTranslation();
36
39
  const hasEnabledProviders = Boolean(index.getEnabledProviders(projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.providers).length);
37
40
  const isWalletOnly = React.useMemo(() => {
@@ -55,46 +58,51 @@ const useLoginView = () => {
55
58
  * build email and social view sections from project settings design.modal props - backwards compatibility
56
59
  * @returns SdkViewSection[]
57
60
  */
58
- const getEmailViewSectionDefinition = () => {
59
- var _a, _b, _c, _d;
61
+ const getEmailViewSectionDefinition = React.useCallback(() => {
62
+ var _a, _b;
60
63
  const loginViewSections = [
61
64
  {
62
65
  type: sdkApi.SdkViewSectionType.Email,
63
66
  },
64
67
  ];
65
- const enabledSocialProviders = (_b = (_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.sdk.socialSignIn) === null || _a === void 0 ? void 0 : _a.providers) === null || _b === void 0 ? void 0 : _b.filter((provider) => provider.enabled);
66
68
  if (enabledSocialProviders === null || enabledSocialProviders === void 0 ? void 0 : enabledSocialProviders.length) {
67
- loginViewSections.push({
69
+ const socialSection = {
68
70
  numOfItemsToDisplay: 5,
69
71
  type: sdkApi.SdkViewSectionType.Social,
70
- });
71
- if ((_c = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _c === void 0 ? void 0 : _c.splitEmailAndSocial) {
72
+ };
73
+ loginViewSections.push(socialSection);
74
+ if ((_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _a === void 0 ? void 0 : _a.splitEmailAndSocial) {
72
75
  loginViewSections.splice(1, 0, {
73
76
  label: t('dyn_login.separators.default'),
74
77
  type: sdkApi.SdkViewSectionType.Separator,
75
78
  });
76
- loginViewSections[loginViewSections.length - 1].defaultItem =
77
- enabledSocialProviders[0].provider;
79
+ // eslint-disable-next-line prefer-destructuring
80
+ socialSection.defaultItem = enabledSocialProviders[0];
78
81
  }
79
82
  }
80
- if ((_d = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _d === void 0 ? void 0 : _d.socialAboveEmail) {
83
+ if ((_b = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _b === void 0 ? void 0 : _b.socialAboveEmail) {
81
84
  loginViewSections.reverse();
82
85
  }
83
86
  return loginViewSections;
84
- };
87
+ }, [
88
+ enabledSocialProviders,
89
+ (_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _a === void 0 ? void 0 : _a.socialAboveEmail,
90
+ (_b = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _b === void 0 ? void 0 : _b.splitEmailAndSocial,
91
+ t,
92
+ ]);
85
93
  // TODO: https://linear.app/dynamic-labs/issue/GVTY-212/rethink-or-implement-toolkit-template-for-email-wallet-order
86
94
  /**
87
95
  * remove wallet view section from projectSettings?.sdk?.views if no wallet defined
88
96
  * @param sections
89
97
  * @returns
90
98
  */
91
- const filterLoginViewSections = (sections) => {
99
+ const filterLoginViewSections = React.useCallback((sections) => {
92
100
  if (selectableWallets === null || selectableWallets === void 0 ? void 0 : selectableWallets.length) {
93
101
  return sections;
94
102
  }
95
103
  return sections.filter((section) => section.type !== 'wallet');
96
- };
97
- const addSeparator = (index, loginItem) => {
104
+ }, [selectableWallets === null || selectableWallets === void 0 ? void 0 : selectableWallets.length]);
105
+ const addSeparator = React.useCallback((index) => {
98
106
  // if not the first index, no separator is needed
99
107
  // if the first index but does not have wallets or providers,
100
108
  // it'll show only one view section - no separator is needed
@@ -107,12 +115,12 @@ const useLoginView = () => {
107
115
  type: sdkApi.SdkViewSectionType.Separator,
108
116
  },
109
117
  ];
110
- };
118
+ }, [hasEnabledProviders, selectableWallets === null || selectableWallets === void 0 ? void 0 : selectableWallets.length, t]);
111
119
  /**
112
120
  * build login view sections array from project settings design.modal props - backwards compatibility
113
121
  * @returns SdkViewSection[]
114
122
  */
115
- const buildLoginSections = () => {
123
+ const buildLoginSections = React.useCallback(() => {
116
124
  let loginViewSections = [];
117
125
  authorizationViewDisplayOrder === null || authorizationViewDisplayOrder === void 0 ? void 0 : authorizationViewDisplayOrder.forEach((loginItem, index) => {
118
126
  var _a, _b;
@@ -139,7 +147,14 @@ const useLoginView = () => {
139
147
  }
140
148
  });
141
149
  return loginViewSections;
142
- };
150
+ }, [
151
+ addSeparator,
152
+ authorizationViewDisplayOrder,
153
+ getEmailViewSectionDefinition,
154
+ (_d = (_c = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design) === null || _c === void 0 ? void 0 : _c.modal) === null || _d === void 0 ? void 0 : _d.showWalletsButton,
155
+ projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.providers,
156
+ selectableWallets === null || selectableWallets === void 0 ? void 0 : selectableWallets.length,
157
+ ]);
143
158
  /**
144
159
  * returns the login view sections to be displayed in order from projectSettings?.sdk?.views
145
160
  * and has backwards compatibility with project settings design.modal props
@@ -156,7 +171,6 @@ const useLoginView = () => {
156
171
  return buildLoginSections();
157
172
  }, [
158
173
  projectSettings,
159
- authorizationViewDisplayOrder,
160
174
  getEmailViewSectionDefinition,
161
175
  filterLoginViewSections,
162
176
  buildLoginSections,
@@ -1,7 +1,8 @@
1
- import { useMemo } from 'react';
1
+ import { useMemo, useCallback } from 'react';
2
2
  import { useTranslation } from 'react-i18next';
3
3
  import { SdkViewType, SdkViewSectionType } from '@dynamic-labs/sdk-api';
4
4
  import { useInternalDynamicContext } from '../../context/DynamicContext/useInternalDynamicContext.js';
5
+ import { useSocialRedirectContext } from '../../context/SocialRedirectContext/SocialRedirectContext.js';
5
6
  import '../../shared/logger.js';
6
7
  import '@dynamic-labs/iconic';
7
8
  import '@dynamic-labs/wallet-connector-core';
@@ -20,14 +21,16 @@ import { getEnabledProviders } from '../../utils/functions/getEnabledProviders/i
20
21
  /* eslint-disable multiline-comment-style */
21
22
  const NUMBER_OF_WALLETS = 3;
22
23
  const useLoginView = () => {
23
- const { projectSettings, authorizationViewDisplayOrder, loginWithEmail, wallets, } = useInternalDynamicContext();
24
+ var _a, _b, _c, _d;
25
+ const { projectSettings, authorizationViewDisplayOrder, loginWithEmail, wallets, walletsFilter, } = useInternalDynamicContext();
26
+ const { enabledSocialProviders } = useSocialRedirectContext();
24
27
  /** Takes from wallets only those that can be selected in the wallet list by the user.
25
28
  * Should filter out embedded wallets
26
29
  * WHY: when we decide whether to show wallets or not, we need to know how many wallets
27
30
  * will actually be rendered. It would be especially bad to only have for ex "turnkey" in
28
31
  * wallets and then display an empty wallet list (since turnkey doesn't render)
29
32
  */
30
- const selectableWallets = wallets.filter(({ key }) => key !== 'turnkey');
33
+ const selectableWallets = (walletsFilter ? walletsFilter(wallets) : wallets).filter(({ key }) => key !== 'turnkey');
31
34
  const { t } = useTranslation();
32
35
  const hasEnabledProviders = Boolean(getEnabledProviders(projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.providers).length);
33
36
  const isWalletOnly = useMemo(() => {
@@ -51,46 +54,51 @@ const useLoginView = () => {
51
54
  * build email and social view sections from project settings design.modal props - backwards compatibility
52
55
  * @returns SdkViewSection[]
53
56
  */
54
- const getEmailViewSectionDefinition = () => {
55
- var _a, _b, _c, _d;
57
+ const getEmailViewSectionDefinition = useCallback(() => {
58
+ var _a, _b;
56
59
  const loginViewSections = [
57
60
  {
58
61
  type: SdkViewSectionType.Email,
59
62
  },
60
63
  ];
61
- const enabledSocialProviders = (_b = (_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.sdk.socialSignIn) === null || _a === void 0 ? void 0 : _a.providers) === null || _b === void 0 ? void 0 : _b.filter((provider) => provider.enabled);
62
64
  if (enabledSocialProviders === null || enabledSocialProviders === void 0 ? void 0 : enabledSocialProviders.length) {
63
- loginViewSections.push({
65
+ const socialSection = {
64
66
  numOfItemsToDisplay: 5,
65
67
  type: SdkViewSectionType.Social,
66
- });
67
- if ((_c = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _c === void 0 ? void 0 : _c.splitEmailAndSocial) {
68
+ };
69
+ loginViewSections.push(socialSection);
70
+ if ((_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _a === void 0 ? void 0 : _a.splitEmailAndSocial) {
68
71
  loginViewSections.splice(1, 0, {
69
72
  label: t('dyn_login.separators.default'),
70
73
  type: SdkViewSectionType.Separator,
71
74
  });
72
- loginViewSections[loginViewSections.length - 1].defaultItem =
73
- enabledSocialProviders[0].provider;
75
+ // eslint-disable-next-line prefer-destructuring
76
+ socialSection.defaultItem = enabledSocialProviders[0];
74
77
  }
75
78
  }
76
- if ((_d = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _d === void 0 ? void 0 : _d.socialAboveEmail) {
79
+ if ((_b = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _b === void 0 ? void 0 : _b.socialAboveEmail) {
77
80
  loginViewSections.reverse();
78
81
  }
79
82
  return loginViewSections;
80
- };
83
+ }, [
84
+ enabledSocialProviders,
85
+ (_a = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _a === void 0 ? void 0 : _a.socialAboveEmail,
86
+ (_b = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design.modal) === null || _b === void 0 ? void 0 : _b.splitEmailAndSocial,
87
+ t,
88
+ ]);
81
89
  // TODO: https://linear.app/dynamic-labs/issue/GVTY-212/rethink-or-implement-toolkit-template-for-email-wallet-order
82
90
  /**
83
91
  * remove wallet view section from projectSettings?.sdk?.views if no wallet defined
84
92
  * @param sections
85
93
  * @returns
86
94
  */
87
- const filterLoginViewSections = (sections) => {
95
+ const filterLoginViewSections = useCallback((sections) => {
88
96
  if (selectableWallets === null || selectableWallets === void 0 ? void 0 : selectableWallets.length) {
89
97
  return sections;
90
98
  }
91
99
  return sections.filter((section) => section.type !== 'wallet');
92
- };
93
- const addSeparator = (index, loginItem) => {
100
+ }, [selectableWallets === null || selectableWallets === void 0 ? void 0 : selectableWallets.length]);
101
+ const addSeparator = useCallback((index) => {
94
102
  // if not the first index, no separator is needed
95
103
  // if the first index but does not have wallets or providers,
96
104
  // it'll show only one view section - no separator is needed
@@ -103,12 +111,12 @@ const useLoginView = () => {
103
111
  type: SdkViewSectionType.Separator,
104
112
  },
105
113
  ];
106
- };
114
+ }, [hasEnabledProviders, selectableWallets === null || selectableWallets === void 0 ? void 0 : selectableWallets.length, t]);
107
115
  /**
108
116
  * build login view sections array from project settings design.modal props - backwards compatibility
109
117
  * @returns SdkViewSection[]
110
118
  */
111
- const buildLoginSections = () => {
119
+ const buildLoginSections = useCallback(() => {
112
120
  let loginViewSections = [];
113
121
  authorizationViewDisplayOrder === null || authorizationViewDisplayOrder === void 0 ? void 0 : authorizationViewDisplayOrder.forEach((loginItem, index) => {
114
122
  var _a, _b;
@@ -135,7 +143,14 @@ const useLoginView = () => {
135
143
  }
136
144
  });
137
145
  return loginViewSections;
138
- };
146
+ }, [
147
+ addSeparator,
148
+ authorizationViewDisplayOrder,
149
+ getEmailViewSectionDefinition,
150
+ (_d = (_c = projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.design) === null || _c === void 0 ? void 0 : _c.modal) === null || _d === void 0 ? void 0 : _d.showWalletsButton,
151
+ projectSettings === null || projectSettings === void 0 ? void 0 : projectSettings.providers,
152
+ selectableWallets === null || selectableWallets === void 0 ? void 0 : selectableWallets.length,
153
+ ]);
139
154
  /**
140
155
  * returns the login view sections to be displayed in order from projectSettings?.sdk?.views
141
156
  * and has backwards compatibility with project settings design.modal props
@@ -152,7 +167,6 @@ const useLoginView = () => {
152
167
  return buildLoginSections();
153
168
  }, [
154
169
  projectSettings,
155
- authorizationViewDisplayOrder,
156
170
  getEmailViewSectionDefinition,
157
171
  filterLoginViewSections,
158
172
  buildLoginSections,
@@ -53,9 +53,10 @@ const WalletList = ({ isWalletConnectList = false, }) => {
53
53
  multiWallet,
54
54
  numberOfWalletsToShow: defaultNumberOfWalletsToShow,
55
55
  searchFilter: filterValue,
56
+ showMoreWalletsWithFilter: true,
56
57
  signWithEmailWalletName,
57
58
  walletBook: walletBook$1,
58
- walletsFilter: walletsFilter,
59
+ walletsFilter,
59
60
  });
60
61
  const isSearchEnabled = numberOfWallets > defaultNumberOfWalletsToShow &&
61
62
  walletsList.length !== numberOfWallets;
@@ -49,9 +49,10 @@ const WalletList = ({ isWalletConnectList = false, }) => {
49
49
  multiWallet,
50
50
  numberOfWalletsToShow: defaultNumberOfWalletsToShow,
51
51
  searchFilter: filterValue,
52
+ showMoreWalletsWithFilter: true,
52
53
  signWithEmailWalletName,
53
54
  walletBook,
54
- walletsFilter: walletsFilter,
55
+ walletsFilter,
55
56
  });
56
57
  const isSearchEnabled = numberOfWallets > defaultNumberOfWalletsToShow &&
57
58
  walletsList.length !== numberOfWallets;