@dynamic-labs/sdk-react-core 1.1.0-alpha.21 → 1.1.0-alpha.22

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,4 +1,11 @@
1
1
 
2
+ ## [1.1.0-alpha.22](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.21...v1.1.0-alpha.22) (2024-02-01)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * onAuthFlowClose not being called ([#4563](https://github.com/dynamic-labs/DynamicAuth/issues/4563)) ([c4b2648](https://github.com/dynamic-labs/DynamicAuth/commit/c4b264885b7dba6e204ef49bf642d25c7d287b04))
8
+
2
9
  ## [1.1.0-alpha.21](https://github.com/dynamic-labs/DynamicAuth/compare/v1.1.0-alpha.20...v1.1.0-alpha.21) (2024-02-01)
3
10
 
4
11
 
package/package.cjs CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var version = "1.1.0-alpha.21";
5
+ var version = "1.1.0-alpha.22";
6
6
  var dependencies = {
7
7
  "@dynamic-labs/iconic": "0.1.50",
8
8
  "@dynamic-labs/sdk-api": "0.0.356",
package/package.js CHANGED
@@ -1,4 +1,4 @@
1
- var version = "1.1.0-alpha.21";
1
+ var version = "1.1.0-alpha.22";
2
2
  var dependencies = {
3
3
  "@dynamic-labs/iconic": "0.1.50",
4
4
  "@dynamic-labs/sdk-api": "0.0.356",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/sdk-react-core",
3
- "version": "1.1.0-alpha.21",
3
+ "version": "1.1.0-alpha.22",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/dynamic-labs/DynamicAuth.git",
@@ -17,15 +17,15 @@
17
17
  "react-focus-lock": "2.9.2",
18
18
  "react-i18next": "^13.2.0",
19
19
  "yup": "0.32.11",
20
- "@dynamic-labs/ethereum": "1.1.0-alpha.21",
21
- "@dynamic-labs/logger": "1.1.0-alpha.21",
22
- "@dynamic-labs/multi-wallet": "1.1.0-alpha.21",
23
- "@dynamic-labs/rpc-providers": "1.1.0-alpha.21",
24
- "@dynamic-labs/types": "1.1.0-alpha.21",
25
- "@dynamic-labs/utils": "1.1.0-alpha.21",
26
- "@dynamic-labs/viem-utils": "1.1.0-alpha.21",
27
- "@dynamic-labs/wallet-book": "1.1.0-alpha.21",
28
- "@dynamic-labs/wallet-connector-core": "1.1.0-alpha.21",
20
+ "@dynamic-labs/ethereum": "1.1.0-alpha.22",
21
+ "@dynamic-labs/logger": "1.1.0-alpha.22",
22
+ "@dynamic-labs/multi-wallet": "1.1.0-alpha.22",
23
+ "@dynamic-labs/rpc-providers": "1.1.0-alpha.22",
24
+ "@dynamic-labs/types": "1.1.0-alpha.22",
25
+ "@dynamic-labs/utils": "1.1.0-alpha.22",
26
+ "@dynamic-labs/viem-utils": "1.1.0-alpha.22",
27
+ "@dynamic-labs/wallet-book": "1.1.0-alpha.22",
28
+ "@dynamic-labs/wallet-connector-core": "1.1.0-alpha.22",
29
29
  "eventemitter3": "5.0.1"
30
30
  },
31
31
  "devDependencies": {
@@ -124,7 +124,7 @@ const DynamicContext = React.createContext(undefined);
124
124
  /** The context provider itself we only use internally */
125
125
  const InnerDynamicContextProvider = ({ children, theme, settings, locale: locale$1, }) => {
126
126
  var _a, _b, _c, _d, _e, _f;
127
- const { accessDeniedMessagePrimary, accessDeniedMessageSecondary, accessDeniedButton, apiBaseUrl, enableConnectOnlyFallback = false, enableForcedNetworkValidation: enableForcedNetworkValidationProp = false, deepLinkPreference = 'native', bridgeChains, cssOverrides, defaultNumberOfWalletsToShow = values.DEFAULT_NUMBER_OF_WALLETS_TO_SHOW, flowNetwork, initialAuthenticationMode = 'connect-and-sign', debugError = false, displaySiweStatement = true, newToWeb3WalletChainMap, enableVisitTrackingOnConnectOnly = true, environmentId, localStorageSuffix, eventsCallbacks, evmNetworks, walletsFilter, logLevel = 'WARN', notInTheListImageUrl, onboardingImageUrl, policiesConsentInnerComponent, customPrivacyPolicy, privacyPolicyUrl, signWithEmailWalletName, socialMediaLinkText, socialMediaIconUrl, socialMediaUrl, customTermsOfServices, termsOfServiceUrl, toolkitEnabled, siweStatement, shadowDOMEnabled = true, walletConnectors: walletConnectorsProp, socialProvidersFilter, showLockedWalletView = false, walletConnectPreferredChains, walletConnectorExtensions, } = settings;
127
+ const { accessDeniedMessagePrimary, accessDeniedMessageSecondary, accessDeniedButton, apiBaseUrl, enableConnectOnlyFallback = false, enableForcedNetworkValidation: enableForcedNetworkValidationProp = false, deepLinkPreference = 'native', bridgeChains, cssOverrides, defaultNumberOfWalletsToShow = values.DEFAULT_NUMBER_OF_WALLETS_TO_SHOW, flowNetwork, initialAuthenticationMode = 'connect-and-sign', debugError = false, displaySiweStatement = true, newToWeb3WalletChainMap, enableVisitTrackingOnConnectOnly = true, environmentId, localStorageSuffix, eventsCallbacks, evmNetworks, walletsFilter, logLevel = 'WARN', mobileExperience = 'in-app-browser', notInTheListImageUrl, onboardingImageUrl, policiesConsentInnerComponent, customPrivacyPolicy, privacyPolicyUrl, signWithEmailWalletName, socialMediaLinkText, socialMediaIconUrl, socialMediaUrl, customTermsOfServices, termsOfServiceUrl, toolkitEnabled, siweStatement, shadowDOMEnabled = true, walletConnectors: walletConnectorsProp, socialProvidersFilter, showLockedWalletView = false, walletConnectPreferredChains, walletConnectorExtensions, } = settings;
128
128
  let enableForcedNetworkValidation = enableForcedNetworkValidationProp;
129
129
  if (bridgeChains) {
130
130
  enableForcedNetworkValidation = true;
@@ -197,6 +197,7 @@ const InnerDynamicContextProvider = ({ children, theme, settings, locale: locale
197
197
  appName,
198
198
  deepLinkPreference,
199
199
  flowNetwork,
200
+ mobileExperience,
200
201
  networkConfigurations: serverNetworkConfigurations,
201
202
  projectSettings,
202
203
  walletBook: walletBook$1,
@@ -50,6 +50,7 @@ export interface DynamicContextProps {
50
50
  */
51
51
  logLevel?: keyof typeof LogLevel;
52
52
  showLockedWalletView?: boolean;
53
+ mobileExperience?: 'in-app-browser' | 'redirect';
53
54
  newToWeb3WalletChainMap?: ChainToWalletMap;
54
55
  notInTheListImageUrl?: string;
55
56
  onboardingImageUrl?: string;
@@ -120,7 +120,7 @@ const DynamicContext = createContext(undefined);
120
120
  /** The context provider itself we only use internally */
121
121
  const InnerDynamicContextProvider = ({ children, theme, settings, locale, }) => {
122
122
  var _a, _b, _c, _d, _e, _f;
123
- const { accessDeniedMessagePrimary, accessDeniedMessageSecondary, accessDeniedButton, apiBaseUrl, enableConnectOnlyFallback = false, enableForcedNetworkValidation: enableForcedNetworkValidationProp = false, deepLinkPreference = 'native', bridgeChains, cssOverrides, defaultNumberOfWalletsToShow = DEFAULT_NUMBER_OF_WALLETS_TO_SHOW, flowNetwork, initialAuthenticationMode = 'connect-and-sign', debugError = false, displaySiweStatement = true, newToWeb3WalletChainMap, enableVisitTrackingOnConnectOnly = true, environmentId, localStorageSuffix, eventsCallbacks, evmNetworks, walletsFilter, logLevel = 'WARN', notInTheListImageUrl, onboardingImageUrl, policiesConsentInnerComponent, customPrivacyPolicy, privacyPolicyUrl, signWithEmailWalletName, socialMediaLinkText, socialMediaIconUrl, socialMediaUrl, customTermsOfServices, termsOfServiceUrl, toolkitEnabled, siweStatement, shadowDOMEnabled = true, walletConnectors: walletConnectorsProp, socialProvidersFilter, showLockedWalletView = false, walletConnectPreferredChains, walletConnectorExtensions, } = settings;
123
+ const { accessDeniedMessagePrimary, accessDeniedMessageSecondary, accessDeniedButton, apiBaseUrl, enableConnectOnlyFallback = false, enableForcedNetworkValidation: enableForcedNetworkValidationProp = false, deepLinkPreference = 'native', bridgeChains, cssOverrides, defaultNumberOfWalletsToShow = DEFAULT_NUMBER_OF_WALLETS_TO_SHOW, flowNetwork, initialAuthenticationMode = 'connect-and-sign', debugError = false, displaySiweStatement = true, newToWeb3WalletChainMap, enableVisitTrackingOnConnectOnly = true, environmentId, localStorageSuffix, eventsCallbacks, evmNetworks, walletsFilter, logLevel = 'WARN', mobileExperience = 'in-app-browser', notInTheListImageUrl, onboardingImageUrl, policiesConsentInnerComponent, customPrivacyPolicy, privacyPolicyUrl, signWithEmailWalletName, socialMediaLinkText, socialMediaIconUrl, socialMediaUrl, customTermsOfServices, termsOfServiceUrl, toolkitEnabled, siweStatement, shadowDOMEnabled = true, walletConnectors: walletConnectorsProp, socialProvidersFilter, showLockedWalletView = false, walletConnectPreferredChains, walletConnectorExtensions, } = settings;
124
124
  let enableForcedNetworkValidation = enableForcedNetworkValidationProp;
125
125
  if (bridgeChains) {
126
126
  enableForcedNetworkValidation = true;
@@ -193,6 +193,7 @@ const InnerDynamicContextProvider = ({ children, theme, settings, locale, }) =>
193
193
  appName,
194
194
  deepLinkPreference,
195
195
  flowNetwork,
196
+ mobileExperience,
196
197
  networkConfigurations: serverNetworkConfigurations,
197
198
  projectSettings,
198
199
  walletBook,
@@ -17,56 +17,7 @@ require('../../../../shared/utils/classes/storage/localStorage.cjs');
17
17
  require('viem');
18
18
  require('@dynamic-labs/utils');
19
19
  require('../../../../shared/consts/index.cjs');
20
- require('../../../../../../_virtual/_tslib.cjs');
21
- require('../../DynamicContext.cjs');
22
- require('../../../CaptchaContext/CaptchaContext.cjs');
23
20
  var ErrorContext = require('../../../ErrorContext/ErrorContext.cjs');
24
- require('@dynamic-labs/multi-wallet');
25
- require('viem/chains');
26
- require('../../../AccessDeniedContext/AccessDeniedContext.cjs');
27
- require('../../../AccountExistsContext/AccountExistsContext.cjs');
28
- require('../../../../config/ApiEndpoint.cjs');
29
- require('../../../EmailVerificationContext/EmailVerificationContext.cjs');
30
- require('react-dom');
31
- require('../../../ThemeContext/ThemeContext.cjs');
32
- var usePrevious = require('../../../../utils/hooks/usePrevious/usePrevious.cjs');
33
- require('@dynamic-labs/types');
34
- require('yup');
35
- require('react-i18next');
36
- require('../../../MockContext/MockContext.cjs');
37
- require('../../../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.cjs');
38
- require('../../../UserFieldEditorContext/UserFieldEditorContext.cjs');
39
- require('@dynamic-labs/rpc-providers');
40
- require('../../../UserWalletsContext/UserWalletsContext.cjs');
41
- require('../../../../components/Alert/Alert.cjs');
42
- require('../../../../components/ShadowDOM/ShadowDOM.cjs');
43
- require('../../../../components/IconButton/IconButton.cjs');
44
- require('../../../../components/InlineWidget/InlineWidget.cjs');
45
- require('../../../../components/MenuList/Dropdown/Dropdown.cjs');
46
- require('../../../../components/Transition/ZoomTransition/ZoomTransition.cjs');
47
- require('../../../../components/Transition/SlideInUpTransition/SlideInUpTransition.cjs');
48
- require('../../../../components/Transition/OpacityTransition/OpacityTransition.cjs');
49
- require('../../../../components/Popper/Popper/Popper.cjs');
50
- require('../../../../components/Popper/PopperContext/PopperContext.cjs');
51
- require('react-focus-lock');
52
- require('formik');
53
- require('i18next');
54
- require('../../../../components/OverlayCard/OverlayCard.context.cjs');
55
- require('../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.cjs');
56
- require('../../../../views/WalletList/WalletList.cjs');
57
- require('qrcode');
58
- require('@hcaptcha/react-hcaptcha');
59
- require('../../../LoadingContext/LoadingContext.cjs');
60
- require('../../../SocialRedirectContext/SocialRedirectContext.cjs');
61
- require('../../../WalletGroupContext/WalletGroupContext.cjs');
62
- require('../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.cjs');
63
- require('../../../FooterAnimationContext/index.cjs');
64
- require('../../../PasskeyContext/PasskeyContext.cjs');
65
- require('../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.cjs');
66
- require('../../../../widgets/DynamicWidget/context/DynamicWidgetContext.cjs');
67
- require('../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.cjs');
68
- require('@dynamic-labs/viem-utils');
69
- require('../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.cjs');
70
21
 
71
22
  /**
72
23
  * There are a multitude of scenarios where we want to ignore or insert functionality to calls
@@ -76,15 +27,14 @@ require('../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/Passke
76
27
  */
77
28
  const useShowAuthFlow = ({ isAuthenticated, isRenderingEmbeddedAuthFlow, isMultiWalletEnabled, walletConnectorOptions, }) => {
78
29
  const [showAuthFlow, _setShowAuthFlow] = React.useState(false);
79
- const prevShowAuthFlow = usePrevious.usePrevious(showAuthFlow);
80
30
  const { setError } = ErrorContext.useErrorContext();
81
31
  const setShowAuthFlow = React.useCallback((value, options = {}) => {
82
32
  var _a;
83
33
  const { emitCancelAuth, ignoreIfIsEmbeddedWidget, initializeWalletConnect, performMultiWalletChecks, clearErrors, } = Object.assign({ clearErrors: true, emitCancelAuth: false, ignoreIfIsEmbeddedWidget: true, initializeWalletConnect: true, performMultiWalletChecks: false }, options);
84
- if (!prevShowAuthFlow && value) {
34
+ if (!showAuthFlow && value) {
85
35
  dynamicEvents.dynamicEvents.emit('authFlowOpen');
86
36
  }
87
- else if (prevShowAuthFlow && !value) {
37
+ else if (showAuthFlow && !value) {
88
38
  dynamicEvents.dynamicEvents.emit('authFlowClose');
89
39
  }
90
40
  if (value) {
@@ -114,7 +64,6 @@ const useShowAuthFlow = ({ isAuthenticated, isRenderingEmbeddedAuthFlow, isMulti
114
64
  setError,
115
65
  showAuthFlow,
116
66
  walletConnectorOptions,
117
- prevShowAuthFlow,
118
67
  ]);
119
68
  return [showAuthFlow, setShowAuthFlow];
120
69
  };
@@ -13,56 +13,7 @@ import '../../../../shared/utils/classes/storage/localStorage.js';
13
13
  import 'viem';
14
14
  import '@dynamic-labs/utils';
15
15
  import '../../../../shared/consts/index.js';
16
- import '../../../../../../_virtual/_tslib.js';
17
- import '../../DynamicContext.js';
18
- import '../../../CaptchaContext/CaptchaContext.js';
19
16
  import { useErrorContext } from '../../../ErrorContext/ErrorContext.js';
20
- import '@dynamic-labs/multi-wallet';
21
- import 'viem/chains';
22
- import '../../../AccessDeniedContext/AccessDeniedContext.js';
23
- import '../../../AccountExistsContext/AccountExistsContext.js';
24
- import '../../../../config/ApiEndpoint.js';
25
- import '../../../EmailVerificationContext/EmailVerificationContext.js';
26
- import 'react-dom';
27
- import '../../../ThemeContext/ThemeContext.js';
28
- import { usePrevious } from '../../../../utils/hooks/usePrevious/usePrevious.js';
29
- import '@dynamic-labs/types';
30
- import 'yup';
31
- import 'react-i18next';
32
- import '../../../MockContext/MockContext.js';
33
- import '../../../../utils/hooks/useUserUpdateRequest/useUpdateUser/useUpdateUser.js';
34
- import '../../../UserFieldEditorContext/UserFieldEditorContext.js';
35
- import '@dynamic-labs/rpc-providers';
36
- import '../../../UserWalletsContext/UserWalletsContext.js';
37
- import '../../../../components/Alert/Alert.js';
38
- import '../../../../components/ShadowDOM/ShadowDOM.js';
39
- import '../../../../components/IconButton/IconButton.js';
40
- import '../../../../components/InlineWidget/InlineWidget.js';
41
- import '../../../../components/MenuList/Dropdown/Dropdown.js';
42
- import '../../../../components/Transition/ZoomTransition/ZoomTransition.js';
43
- import '../../../../components/Transition/SlideInUpTransition/SlideInUpTransition.js';
44
- import '../../../../components/Transition/OpacityTransition/OpacityTransition.js';
45
- import '../../../../components/Popper/Popper/Popper.js';
46
- import '../../../../components/Popper/PopperContext/PopperContext.js';
47
- import 'react-focus-lock';
48
- import 'formik';
49
- import 'i18next';
50
- import '../../../../components/OverlayCard/OverlayCard.context.js';
51
- import '../../../../components/PasskeyCreatedSuccessBanner/PasskeyCreatedSuccessBanner.js';
52
- import '../../../../views/WalletList/WalletList.js';
53
- import 'qrcode';
54
- import '@hcaptcha/react-hcaptcha';
55
- import '../../../LoadingContext/LoadingContext.js';
56
- import '../../../SocialRedirectContext/SocialRedirectContext.js';
57
- import '../../../WalletGroupContext/WalletGroupContext.js';
58
- import '../../../../widgets/DynamicBridgeWidget/views/WalletsView/components/SecondaryWallets/SecondaryWallets.js';
59
- import '../../../FooterAnimationContext/index.js';
60
- import '../../../PasskeyContext/PasskeyContext.js';
61
- import '../../../../widgets/DynamicWidget/components/DynamicWidgetHeader/DynamicWidgetHeader.js';
62
- import '../../../../widgets/DynamicWidget/context/DynamicWidgetContext.js';
63
- import '../../../../components/UserProfile/parts/UserProfileField/components/VerifiedEmailIcon/VerifiedEmailIcon.js';
64
- import '@dynamic-labs/viem-utils';
65
- import '../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/PasskeyCard/PasskeyCard.js';
66
17
 
67
18
  /**
68
19
  * There are a multitude of scenarios where we want to ignore or insert functionality to calls
@@ -72,15 +23,14 @@ import '../../../../widgets/DynamicWidget/views/ManagePasskeysWidgetView/Passkey
72
23
  */
73
24
  const useShowAuthFlow = ({ isAuthenticated, isRenderingEmbeddedAuthFlow, isMultiWalletEnabled, walletConnectorOptions, }) => {
74
25
  const [showAuthFlow, _setShowAuthFlow] = useState(false);
75
- const prevShowAuthFlow = usePrevious(showAuthFlow);
76
26
  const { setError } = useErrorContext();
77
27
  const setShowAuthFlow = useCallback((value, options = {}) => {
78
28
  var _a;
79
29
  const { emitCancelAuth, ignoreIfIsEmbeddedWidget, initializeWalletConnect, performMultiWalletChecks, clearErrors, } = Object.assign({ clearErrors: true, emitCancelAuth: false, ignoreIfIsEmbeddedWidget: true, initializeWalletConnect: true, performMultiWalletChecks: false }, options);
80
- if (!prevShowAuthFlow && value) {
30
+ if (!showAuthFlow && value) {
81
31
  dynamicEvents.emit('authFlowOpen');
82
32
  }
83
- else if (prevShowAuthFlow && !value) {
33
+ else if (showAuthFlow && !value) {
84
34
  dynamicEvents.emit('authFlowClose');
85
35
  }
86
36
  if (value) {
@@ -110,7 +60,6 @@ const useShowAuthFlow = ({ isAuthenticated, isRenderingEmbeddedAuthFlow, isMulti
110
60
  setError,
111
61
  showAuthFlow,
112
62
  walletConnectorOptions,
113
- prevShowAuthFlow,
114
63
  ]);
115
64
  return [showAuthFlow, setShowAuthFlow];
116
65
  };
@@ -6,7 +6,7 @@ var React = require('react');
6
6
  var data = require('../../../views/WalletList/data.cjs');
7
7
  var verifyRequiredConnectorsAreSetup = require('./utils/verifyRequiredConnectorsAreSetup/verifyRequiredConnectorsAreSetup.cjs');
8
8
 
9
- const useWalletConnectorOptions = ({ projectSettings, appLogoUrl, appName, deepLinkPreference, flowNetwork, networkConfigurations, walletBook, walletConnectV1Bridge, walletUiUtils, walletConnectorsProp, walletConnectPreferredChains, walletConnectorExtensions, }) => {
9
+ const useWalletConnectorOptions = ({ projectSettings, appLogoUrl, appName, deepLinkPreference, flowNetwork, mobileExperience, networkConfigurations, walletBook, walletConnectV1Bridge, walletUiUtils, walletConnectorsProp, walletConnectPreferredChains, walletConnectorExtensions, }) => {
10
10
  const walletConnectorOptions = React.useMemo(() => {
11
11
  if (!projectSettings ||
12
12
  !Object.keys(walletBook !== null && walletBook !== void 0 ? walletBook : {}).length ||
@@ -18,6 +18,7 @@ const useWalletConnectorOptions = ({ projectSettings, appLogoUrl, appName, deepL
18
18
  appName,
19
19
  deepLinkPreference,
20
20
  flowNetwork,
21
+ mobileExperience,
21
22
  networkConfigurations,
22
23
  settings: projectSettings,
23
24
  skipMemo: true,
@@ -7,6 +7,7 @@ type Props = {
7
7
  appName?: string;
8
8
  deepLinkPreference?: DeepLinkVariant;
9
9
  flowNetwork?: 'mainnet' | 'testnet';
10
+ mobileExperience?: 'in-app-browser' | 'redirect';
10
11
  networkConfigurations: NetworkConfigurationMap | undefined;
11
12
  projectSettings: ProjectSettings | undefined;
12
13
  walletBook: WalletBookSchema;
@@ -16,7 +17,7 @@ type Props = {
16
17
  walletUiUtils: WalletUiUtils<WalletConnector>;
17
18
  walletConnectorExtensions?: WalletConnectorExtension[];
18
19
  };
19
- export declare const useWalletConnectorOptions: ({ projectSettings, appLogoUrl, appName, deepLinkPreference, flowNetwork, networkConfigurations, walletBook, walletConnectV1Bridge, walletUiUtils, walletConnectorsProp, walletConnectPreferredChains, walletConnectorExtensions, }: Props) => {
20
+ export declare const useWalletConnectorOptions: ({ projectSettings, appLogoUrl, appName, deepLinkPreference, flowNetwork, mobileExperience, networkConfigurations, walletBook, walletConnectV1Bridge, walletUiUtils, walletConnectorsProp, walletConnectPreferredChains, walletConnectorExtensions, }: Props) => {
20
21
  walletConnectorOptions: import("../../../shared").WalletOption[];
21
22
  };
22
23
  export {};
@@ -2,7 +2,7 @@ import { useMemo, useEffect } from 'react';
2
2
  import { getWallets } from '../../../views/WalletList/data.js';
3
3
  import { verifyRequiredConnectorsAreSetup } from './utils/verifyRequiredConnectorsAreSetup/verifyRequiredConnectorsAreSetup.js';
4
4
 
5
- const useWalletConnectorOptions = ({ projectSettings, appLogoUrl, appName, deepLinkPreference, flowNetwork, networkConfigurations, walletBook, walletConnectV1Bridge, walletUiUtils, walletConnectorsProp, walletConnectPreferredChains, walletConnectorExtensions, }) => {
5
+ const useWalletConnectorOptions = ({ projectSettings, appLogoUrl, appName, deepLinkPreference, flowNetwork, mobileExperience, networkConfigurations, walletBook, walletConnectV1Bridge, walletUiUtils, walletConnectorsProp, walletConnectPreferredChains, walletConnectorExtensions, }) => {
6
6
  const walletConnectorOptions = useMemo(() => {
7
7
  if (!projectSettings ||
8
8
  !Object.keys(walletBook !== null && walletBook !== void 0 ? walletBook : {}).length ||
@@ -14,6 +14,7 @@ const useWalletConnectorOptions = ({ projectSettings, appLogoUrl, appName, deepL
14
14
  appName,
15
15
  deepLinkPreference,
16
16
  flowNetwork,
17
+ mobileExperience,
17
18
  networkConfigurations,
18
19
  settings: projectSettings,
19
20
  skipMemo: true,