@dynamic-labs/sdk-react-core 4.47.0 → 4.47.2
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 +29 -0
- package/package.cjs +3 -3
- package/package.js +3 -3
- package/package.json +14 -14
- package/src/lib/client/extension/deprecated/mfa/verifyTotpMfaDevice/verifyTotpMfaDevice.d.ts +1 -1
- package/src/lib/client/extension/hooks/useInitializeSdkClient/useInitializeSdkClient.cjs +17 -0
- package/src/lib/client/extension/hooks/useInitializeSdkClient/useInitializeSdkClient.js +17 -0
- package/src/lib/client/extension/user/raiseUserProfileEvent/raiseUserProfileEvent.cjs +6 -6
- package/src/lib/client/extension/user/raiseUserProfileEvent/raiseUserProfileEvent.js +6 -6
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.cjs +6 -6
- package/src/lib/components/PoweredByDynamic/PoweredByDynamic.js +6 -6
- package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.cjs +7 -5
- package/src/lib/context/ConnectWithOtpContext/utils/createEmailHandler.js +7 -5
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.cjs +7 -5
- package/src/lib/context/ConnectWithOtpContext/utils/createSmsHandler.js +7 -5
- package/src/lib/context/DynamicContext/hooks/useRemoveWallet/useRemoveWallet.cjs +4 -4
- package/src/lib/context/DynamicContext/hooks/useRemoveWallet/useRemoveWallet.js +4 -4
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.cjs +2 -0
- package/src/lib/context/SocialRedirectContext/SocialRedirectContext.js +2 -0
- package/src/lib/context/ViewContext/ViewContext.cjs +6 -1
- package/src/lib/context/ViewContext/ViewContext.js +6 -1
- package/src/lib/data/api/api.cjs +9 -9
- package/src/lib/data/api/api.js +9 -9
- package/src/lib/data/api/externalAuth/externalAuth.cjs +4 -4
- package/src/lib/data/api/externalAuth/externalAuth.js +4 -4
- package/src/lib/data/api/oauth/oauth.cjs +4 -4
- package/src/lib/data/api/oauth/oauth.js +4 -4
- package/src/lib/data/api/user/user.cjs +4 -4
- package/src/lib/data/api/user/user.js +4 -4
- package/src/lib/data/api/wallets/wallets.cjs +4 -4
- package/src/lib/data/api/wallets/wallets.js +4 -4
- package/src/lib/shared/assets/index.d.ts +1 -0
- package/src/lib/shared/assets/reload-icon.cjs +54 -0
- package/src/lib/shared/assets/reload-icon.js +30 -0
- package/src/lib/store/state/connectedWalletsInfo/connectedWalletsInfo.cjs +6 -6
- package/src/lib/store/state/connectedWalletsInfo/connectedWalletsInfo.js +6 -6
- package/src/lib/store/state/nonce/nonce.cjs +4 -4
- package/src/lib/store/state/nonce/nonce.js +4 -4
- package/src/lib/store/utils/settingsUtils/settingsUtils.cjs +6 -6
- package/src/lib/store/utils/settingsUtils/settingsUtils.js +6 -6
- package/src/lib/styles/index.shadow.cjs +1 -1
- package/src/lib/styles/index.shadow.js +1 -1
- package/src/lib/utils/functions/clientSessionKeys/getClientSessionKeys.js +1 -1
- package/src/lib/utils/functions/isMfaMethodEnabled/isMfaMethodEnabled.cjs +6 -6
- package/src/lib/utils/functions/isMfaMethodEnabled/isMfaMethodEnabled.js +6 -6
- package/src/lib/utils/functions/updatePrimaryWalletId/updatePrimaryWalletId.cjs +5 -5
- package/src/lib/utils/functions/updatePrimaryWalletId/updatePrimaryWalletId.js +5 -5
- package/src/lib/utils/hooks/authenticationHooks/helpers/isConnectOnly.cjs +6 -6
- package/src/lib/utils/hooks/authenticationHooks/helpers/isConnectOnly.js +6 -6
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.cjs +2 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSign/useConnectAndSign.js +2 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.cjs +2 -0
- package/src/lib/utils/hooks/authenticationHooks/useConnectAndSignSplitSteps/useConnectAndSignSplitSteps.js +2 -0
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.cjs +2 -0
- package/src/lib/utils/hooks/authenticationHooks/useSignConnectOnlyUser/useSignConnectOnlyUser.js +2 -0
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAllowClose/useAllowClose.cjs +6 -6
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAllowClose/useAllowClose.js +6 -6
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.cjs +6 -6
- package/src/lib/utils/hooks/useAuthLayoutChecks/useAuthLayoutChecks.js +6 -6
- package/src/lib/utils/hooks/useClientSessionKeys/useClientSessionKeys.cjs +5 -11
- package/src/lib/utils/hooks/useClientSessionKeys/useClientSessionKeys.js +6 -12
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.cjs +4 -4
- package/src/lib/utils/hooks/useConnectWallet/useConnectWallet.js +4 -4
- package/src/lib/utils/hooks/useDeleteUserAccount/useDeleteUserAccount.cjs +4 -4
- package/src/lib/utils/hooks/useDeleteUserAccount/useDeleteUserAccount.js +4 -4
- package/src/lib/utils/hooks/useDynamicWaas/useDynamicWaas.cjs +4 -4
- package/src/lib/utils/hooks/useDynamicWaas/useDynamicWaas.js +4 -4
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.cjs +16 -16
- package/src/lib/utils/hooks/useEmbeddedWallet/useSecureEnclaveEmbeddedWallet/useSecureEnclaveEmbeddedWallet.js +16 -16
- package/src/lib/utils/hooks/useEmbeddedWalletSessionKeys/useEmbeddedWalletSessionKeys.cjs +5 -5
- package/src/lib/utils/hooks/useEmbeddedWalletSessionKeys/useEmbeddedWalletSessionKeys.js +5 -5
- package/src/lib/utils/hooks/useExternalAuth/useExternalAuth.cjs +6 -4
- package/src/lib/utils/hooks/useExternalAuth/useExternalAuth.js +6 -4
- package/src/lib/utils/hooks/useFundingHelpers/useFundingHelpers.cjs +2 -1
- package/src/lib/utils/hooks/useFundingHelpers/useFundingHelpers.js +2 -1
- package/src/lib/utils/hooks/useGlobalLoading/useGlobalLoading.cjs +5 -5
- package/src/lib/utils/hooks/useGlobalLoading/useGlobalLoading.js +5 -5
- package/src/lib/utils/hooks/useIsLoadingEmbeddedWallet/useIsLoadingEmbeddedWallet.cjs +6 -6
- package/src/lib/utils/hooks/useIsLoadingEmbeddedWallet/useIsLoadingEmbeddedWallet.js +6 -6
- package/src/lib/utils/hooks/useIsPasskeysMfaEnabled/useIsPasskeysMfaEnabled.cjs +6 -6
- package/src/lib/utils/hooks/useIsPasskeysMfaEnabled/useIsPasskeysMfaEnabled.js +6 -6
- package/src/lib/utils/hooks/useIsTotpMfaEnabled/useIsTotpMfaEnabled.cjs +6 -6
- package/src/lib/utils/hooks/useIsTotpMfaEnabled/useIsTotpMfaEnabled.js +6 -6
- package/src/lib/utils/hooks/useMergeUserAccounts/useMergeUserAccounts.cjs +4 -4
- package/src/lib/utils/hooks/useMergeUserAccounts/useMergeUserAccounts.js +4 -4
- package/src/lib/utils/hooks/useMfa/useMfa.cjs +5 -5
- package/src/lib/utils/hooks/useMfa/useMfa.js +5 -5
- package/src/lib/utils/hooks/useMultichainTokenBalances/useMultichainTokenBalances.cjs +6 -6
- package/src/lib/utils/hooks/useMultichainTokenBalances/useMultichainTokenBalances.js +6 -6
- package/src/lib/utils/hooks/usePayWithDynamic/usePayWithDynamic.cjs +5 -5
- package/src/lib/utils/hooks/usePayWithDynamic/usePayWithDynamic.js +5 -5
- package/src/lib/utils/hooks/usePromptMfaAuth/usePromptMfaAuth.cjs +25 -27
- package/src/lib/utils/hooks/usePromptMfaAuth/usePromptMfaAuth.js +25 -27
- package/src/lib/utils/hooks/useRefreshUser/useRefreshUser.cjs +4 -4
- package/src/lib/utils/hooks/useRefreshUser/useRefreshUser.js +4 -4
- package/src/lib/utils/hooks/useSendDynamicProps/useSendDynamicProps.cjs +4 -4
- package/src/lib/utils/hooks/useSendDynamicProps/useSendDynamicProps.js +4 -4
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.cjs +6 -3
- package/src/lib/utils/hooks/useSocialAuth/useSocialAuth.js +6 -3
- package/src/lib/utils/hooks/useSyncDynamicWaas/useSyncDynamicWaas.cjs +5 -5
- package/src/lib/utils/hooks/useSyncDynamicWaas/useSyncDynamicWaas.js +5 -5
- package/src/lib/utils/hooks/useTokenBalances/useTokenBalances.cjs +6 -6
- package/src/lib/utils/hooks/useTokenBalances/useTokenBalances.js +6 -6
- package/src/lib/utils/hooks/useTransferWallet/useTransferWallet.cjs +5 -5
- package/src/lib/utils/hooks/useTransferWallet/useTransferWallet.js +5 -5
- package/src/lib/utils/hooks/useUpgradeEmbeddedWallet/useUpgradeEmbeddedWallet.cjs +6 -6
- package/src/lib/utils/hooks/useUpgradeEmbeddedWallet/useUpgradeEmbeddedWallet.js +6 -6
- package/src/lib/utils/hooks/useUserAuth/useUserAuth.cjs +4 -4
- package/src/lib/utils/hooks/useUserAuth/useUserAuth.js +4 -4
- package/src/lib/utils/hooks/useValidateSession/handleWalletInfoOutOfSync/handleWalletInfoOutOfSync.cjs +5 -5
- package/src/lib/utils/hooks/useValidateSession/handleWalletInfoOutOfSync/handleWalletInfoOutOfSync.js +5 -5
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.cjs +5 -5
- package/src/lib/utils/hooks/useValidateSession/useValidateSession.js +5 -5
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.cjs +2 -0
- package/src/lib/utils/hooks/useVerifyWallet/useVerifyWallet.js +2 -0
- package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.cjs +4 -3
- package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.d.ts +3 -20
- package/src/lib/utils/hooks/useWalletOptions/useWalletOptions.js +4 -3
- package/src/lib/views/EmailVerification/EmailVerification.cjs +9 -7
- package/src/lib/views/EmailVerification/EmailVerification.js +9 -7
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.cjs +9 -9
- package/src/lib/views/EmbeddedReveal/utils/turnkeyExport/turnkeyExport.js +9 -9
- package/src/lib/views/ExchangeList/ExchangeList.cjs +6 -6
- package/src/lib/views/ExchangeList/ExchangeList.js +6 -6
- package/src/lib/views/MfaChooseDeviceView/useGetMfaOptions/useGetMfaOptions.cjs +5 -5
- package/src/lib/views/MfaChooseDeviceView/useGetMfaOptions/useGetMfaOptions.js +5 -5
- package/src/lib/views/MfaVerificationView/MfaVerificationView.cjs +4 -4
- package/src/lib/views/MfaVerificationView/MfaVerificationView.js +4 -4
- package/src/lib/views/Passkey/utils/createEmbeddedWalletRequest/createEmbeddedWalletRequest.cjs +5 -5
- package/src/lib/views/Passkey/utils/createEmbeddedWalletRequest/createEmbeddedWalletRequest.js +5 -5
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.cjs +25 -25
- package/src/lib/views/Passkey/utils/passkeyRecovery/passkeyRecovery.js +25 -25
- package/src/lib/views/SendBalanceView/SendBalanceView.cjs +1 -0
- package/src/lib/views/SendBalanceView/SendBalanceView.js +1 -0
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.cjs +2 -0
- package/src/lib/views/SmsVerification/useSmsVerification/useSmsVerification.js +2 -0
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletBalance/ActiveWalletBalance.cjs +42 -2
- package/src/lib/widgets/DynamicWidget/components/ActiveWalletBalance/ActiveWalletBalance.js +42 -2
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.cjs +6 -6
- package/src/lib/widgets/DynamicWidget/hooks/useFetchNameService/useFetchNameService.js +6 -6
- package/src/lib/widgets/DynamicWidget/views/AccountAndSecuritySettingsView/ZKSyncSessionsSection/ZKSyncSessionsSection.cjs +6 -6
- package/src/lib/widgets/DynamicWidget/views/AccountAndSecuritySettingsView/ZKSyncSessionsSection/ZKSyncSessionsSection.js +6 -6
- package/src/lib/widgets/DynamicWidget/views/ChooseWalletFundingMethod/useFundingMethods/getPromptAmountParams/getPromptAmountParams.cjs +5 -5
- package/src/lib/widgets/DynamicWidget/views/ChooseWalletFundingMethod/useFundingMethods/getPromptAmountParams/getPromptAmountParams.js +5 -5
- package/src/lib/widgets/DynamicWidget/views/ChooseWalletFundingMethod/useFundingMethods/useStartExchangeFunding/useStartExchangeFunding.cjs +5 -5
- package/src/lib/widgets/DynamicWidget/views/ChooseWalletFundingMethod/useFundingMethods/useStartExchangeFunding/useStartExchangeFunding.js +5 -5
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.cjs +6 -6
- package/src/lib/widgets/DynamicWidget/views/ManagePasskeysWidgetView/ManagePasskeysWidgetView.js +6 -6
- package/src/lib/widgets/DynamicWidget/views/WaasBackupView/WaasBackupView.cjs +5 -5
- package/src/lib/widgets/DynamicWidget/views/WaasBackupView/WaasBackupView.js +5 -5
package/src/lib/data/api/api.js
CHANGED
|
@@ -6,23 +6,23 @@ import '../../client/client.js';
|
|
|
6
6
|
import 'react';
|
|
7
7
|
import '@dynamic-labs-sdk/client';
|
|
8
8
|
import ApiEndpoint from '../../config/ApiEndpoint.js';
|
|
9
|
+
import '@dynamic-labs/iconic';
|
|
10
|
+
import '@dynamic-labs/wallet-connector-core';
|
|
11
|
+
import 'react/jsx-runtime';
|
|
12
|
+
import '../../context/ViewContext/ViewContext.js';
|
|
13
|
+
import '../../shared/logger.js';
|
|
14
|
+
import '@dynamic-labs/wallet-book';
|
|
15
|
+
import '../../utils/constants/colors.js';
|
|
16
|
+
import '../../utils/constants/values.js';
|
|
17
|
+
import '../../shared/consts/index.js';
|
|
9
18
|
import { getApiHeaders } from '../../client/extension/hooks/useInitializeSdkClient/getApiHeaders/getApiHeaders.js';
|
|
10
19
|
import '../../events/dynamicEvents.js';
|
|
11
20
|
import { getProjectSettings } from '../../client/extension/projectSettings/getProjectSettings/getProjectSettings.js';
|
|
12
21
|
import '../../../../_virtual/_tslib.js';
|
|
13
22
|
import { isCookieEnabled } from '../../client/extension/functions/isCookieEnabled/isCookieEnabled.js';
|
|
14
23
|
import { getMinAuthToken } from '../../client/extension/functions/getMinAuthToken/getMinAuthToken.js';
|
|
15
|
-
import '../../utils/constants/values.js';
|
|
16
24
|
import '@dynamic-labs/multi-wallet';
|
|
17
25
|
import 'react-international-phone';
|
|
18
|
-
import '../../utils/constants/colors.js';
|
|
19
|
-
import '@dynamic-labs/iconic';
|
|
20
|
-
import '@dynamic-labs/wallet-connector-core';
|
|
21
|
-
import 'react/jsx-runtime';
|
|
22
|
-
import '../../context/ViewContext/ViewContext.js';
|
|
23
|
-
import '../../shared/logger.js';
|
|
24
|
-
import '@dynamic-labs/wallet-book';
|
|
25
|
-
import '../../shared/consts/index.js';
|
|
26
26
|
import '../../store/state/nonce/nonce.js';
|
|
27
27
|
import { randomString } from '../../utils/functions/randomString/randomString.js';
|
|
28
28
|
import '@dynamic-labs/locale';
|
|
@@ -11,17 +11,17 @@ require('@dynamic-labs/sdk-api-core');
|
|
|
11
11
|
require('../../../client/client.cjs');
|
|
12
12
|
require('react');
|
|
13
13
|
require('../../../config/ApiEndpoint.cjs');
|
|
14
|
-
require('../../../utils/constants/values.cjs');
|
|
15
|
-
require('@dynamic-labs/multi-wallet');
|
|
16
|
-
require('react-international-phone');
|
|
17
|
-
require('../../../utils/constants/colors.cjs');
|
|
18
14
|
require('@dynamic-labs/iconic');
|
|
19
15
|
require('@dynamic-labs/wallet-connector-core');
|
|
20
16
|
require('react/jsx-runtime');
|
|
21
17
|
require('../../../context/ViewContext/ViewContext.cjs');
|
|
22
18
|
require('../../../shared/logger.cjs');
|
|
23
19
|
require('@dynamic-labs/wallet-book');
|
|
20
|
+
require('../../../utils/constants/colors.cjs');
|
|
21
|
+
require('../../../utils/constants/values.cjs');
|
|
24
22
|
require('../../../shared/consts/index.cjs');
|
|
23
|
+
require('@dynamic-labs/multi-wallet');
|
|
24
|
+
require('react-international-phone');
|
|
25
25
|
require('../../../store/state/nonce/nonce.cjs');
|
|
26
26
|
var api = require('../api.cjs');
|
|
27
27
|
var utils = require('../utils.cjs');
|
|
@@ -7,17 +7,17 @@ import '@dynamic-labs/sdk-api-core';
|
|
|
7
7
|
import '../../../client/client.js';
|
|
8
8
|
import 'react';
|
|
9
9
|
import '../../../config/ApiEndpoint.js';
|
|
10
|
-
import '../../../utils/constants/values.js';
|
|
11
|
-
import '@dynamic-labs/multi-wallet';
|
|
12
|
-
import 'react-international-phone';
|
|
13
|
-
import '../../../utils/constants/colors.js';
|
|
14
10
|
import '@dynamic-labs/iconic';
|
|
15
11
|
import '@dynamic-labs/wallet-connector-core';
|
|
16
12
|
import 'react/jsx-runtime';
|
|
17
13
|
import '../../../context/ViewContext/ViewContext.js';
|
|
18
14
|
import '../../../shared/logger.js';
|
|
19
15
|
import '@dynamic-labs/wallet-book';
|
|
16
|
+
import '../../../utils/constants/colors.js';
|
|
17
|
+
import '../../../utils/constants/values.js';
|
|
20
18
|
import '../../../shared/consts/index.js';
|
|
19
|
+
import '@dynamic-labs/multi-wallet';
|
|
20
|
+
import 'react-international-phone';
|
|
21
21
|
import '../../../store/state/nonce/nonce.js';
|
|
22
22
|
import { sdkApi } from '../api.js';
|
|
23
23
|
import { logResponseError } from '../utils.js';
|
|
@@ -11,17 +11,17 @@ require('../../../client/client.cjs');
|
|
|
11
11
|
require('react');
|
|
12
12
|
require('@dynamic-labs-sdk/client');
|
|
13
13
|
require('../../../config/ApiEndpoint.cjs');
|
|
14
|
-
require('../../../utils/constants/values.cjs');
|
|
15
|
-
require('@dynamic-labs/multi-wallet');
|
|
16
|
-
require('react-international-phone');
|
|
17
|
-
require('../../../utils/constants/colors.cjs');
|
|
18
14
|
require('@dynamic-labs/iconic');
|
|
19
15
|
require('@dynamic-labs/wallet-connector-core');
|
|
20
16
|
require('react/jsx-runtime');
|
|
21
17
|
require('../../../context/ViewContext/ViewContext.cjs');
|
|
22
18
|
var logger = require('../../../shared/logger.cjs');
|
|
23
19
|
require('@dynamic-labs/wallet-book');
|
|
20
|
+
require('../../../utils/constants/colors.cjs');
|
|
21
|
+
require('../../../utils/constants/values.cjs');
|
|
24
22
|
require('../../../shared/consts/index.cjs');
|
|
23
|
+
require('@dynamic-labs/multi-wallet');
|
|
24
|
+
require('react-international-phone');
|
|
25
25
|
require('../../../store/state/nonce/nonce.cjs');
|
|
26
26
|
var api = require('../api.cjs');
|
|
27
27
|
var utils = require('../utils.cjs');
|
|
@@ -7,17 +7,17 @@ import '../../../client/client.js';
|
|
|
7
7
|
import 'react';
|
|
8
8
|
import '@dynamic-labs-sdk/client';
|
|
9
9
|
import '../../../config/ApiEndpoint.js';
|
|
10
|
-
import '../../../utils/constants/values.js';
|
|
11
|
-
import '@dynamic-labs/multi-wallet';
|
|
12
|
-
import 'react-international-phone';
|
|
13
|
-
import '../../../utils/constants/colors.js';
|
|
14
10
|
import '@dynamic-labs/iconic';
|
|
15
11
|
import '@dynamic-labs/wallet-connector-core';
|
|
16
12
|
import 'react/jsx-runtime';
|
|
17
13
|
import '../../../context/ViewContext/ViewContext.js';
|
|
18
14
|
import { logger } from '../../../shared/logger.js';
|
|
19
15
|
import '@dynamic-labs/wallet-book';
|
|
16
|
+
import '../../../utils/constants/colors.js';
|
|
17
|
+
import '../../../utils/constants/values.js';
|
|
20
18
|
import '../../../shared/consts/index.js';
|
|
19
|
+
import '@dynamic-labs/multi-wallet';
|
|
20
|
+
import 'react-international-phone';
|
|
21
21
|
import '../../../store/state/nonce/nonce.js';
|
|
22
22
|
import { sdkApi } from '../api.js';
|
|
23
23
|
import { logResponseError } from '../utils.js';
|
|
@@ -11,17 +11,17 @@ require('../../../client/client.cjs');
|
|
|
11
11
|
require('react');
|
|
12
12
|
require('@dynamic-labs-sdk/client');
|
|
13
13
|
require('../../../config/ApiEndpoint.cjs');
|
|
14
|
-
require('../../../utils/constants/values.cjs');
|
|
15
|
-
require('@dynamic-labs/multi-wallet');
|
|
16
|
-
require('react-international-phone');
|
|
17
|
-
require('../../../utils/constants/colors.cjs');
|
|
18
14
|
require('@dynamic-labs/iconic');
|
|
19
15
|
require('@dynamic-labs/wallet-connector-core');
|
|
20
16
|
require('react/jsx-runtime');
|
|
21
17
|
require('../../../context/ViewContext/ViewContext.cjs');
|
|
22
18
|
require('../../../shared/logger.cjs');
|
|
23
19
|
require('@dynamic-labs/wallet-book');
|
|
20
|
+
require('../../../utils/constants/colors.cjs');
|
|
21
|
+
require('../../../utils/constants/values.cjs');
|
|
24
22
|
require('../../../shared/consts/index.cjs');
|
|
23
|
+
require('@dynamic-labs/multi-wallet');
|
|
24
|
+
require('react-international-phone');
|
|
25
25
|
require('../../../store/state/nonce/nonce.cjs');
|
|
26
26
|
var api = require('../api.cjs');
|
|
27
27
|
var utils = require('../utils.cjs');
|
|
@@ -7,17 +7,17 @@ import '../../../client/client.js';
|
|
|
7
7
|
import 'react';
|
|
8
8
|
import '@dynamic-labs-sdk/client';
|
|
9
9
|
import '../../../config/ApiEndpoint.js';
|
|
10
|
-
import '../../../utils/constants/values.js';
|
|
11
|
-
import '@dynamic-labs/multi-wallet';
|
|
12
|
-
import 'react-international-phone';
|
|
13
|
-
import '../../../utils/constants/colors.js';
|
|
14
10
|
import '@dynamic-labs/iconic';
|
|
15
11
|
import '@dynamic-labs/wallet-connector-core';
|
|
16
12
|
import 'react/jsx-runtime';
|
|
17
13
|
import '../../../context/ViewContext/ViewContext.js';
|
|
18
14
|
import '../../../shared/logger.js';
|
|
19
15
|
import '@dynamic-labs/wallet-book';
|
|
16
|
+
import '../../../utils/constants/colors.js';
|
|
17
|
+
import '../../../utils/constants/values.js';
|
|
20
18
|
import '../../../shared/consts/index.js';
|
|
19
|
+
import '@dynamic-labs/multi-wallet';
|
|
20
|
+
import 'react-international-phone';
|
|
21
21
|
import '../../../store/state/nonce/nonce.js';
|
|
22
22
|
import { sdkApi } from '../api.js';
|
|
23
23
|
import { logResponseError } from '../utils.js';
|
|
@@ -11,17 +11,17 @@ require('../../../client/client.cjs');
|
|
|
11
11
|
require('react');
|
|
12
12
|
require('@dynamic-labs-sdk/client');
|
|
13
13
|
require('../../../config/ApiEndpoint.cjs');
|
|
14
|
-
require('../../../utils/constants/values.cjs');
|
|
15
|
-
require('@dynamic-labs/multi-wallet');
|
|
16
|
-
require('react-international-phone');
|
|
17
|
-
require('../../../utils/constants/colors.cjs');
|
|
18
14
|
require('@dynamic-labs/iconic');
|
|
19
15
|
require('@dynamic-labs/wallet-connector-core');
|
|
20
16
|
require('react/jsx-runtime');
|
|
21
17
|
require('../../../context/ViewContext/ViewContext.cjs');
|
|
22
18
|
require('../../../shared/logger.cjs');
|
|
23
19
|
require('@dynamic-labs/wallet-book');
|
|
20
|
+
require('../../../utils/constants/colors.cjs');
|
|
21
|
+
require('../../../utils/constants/values.cjs');
|
|
24
22
|
require('../../../shared/consts/index.cjs');
|
|
23
|
+
require('@dynamic-labs/multi-wallet');
|
|
24
|
+
require('react-international-phone');
|
|
25
25
|
require('../../../store/state/nonce/nonce.cjs');
|
|
26
26
|
var api = require('../api.cjs');
|
|
27
27
|
var utils = require('../utils.cjs');
|
|
@@ -7,17 +7,17 @@ import '../../../client/client.js';
|
|
|
7
7
|
import 'react';
|
|
8
8
|
import '@dynamic-labs-sdk/client';
|
|
9
9
|
import '../../../config/ApiEndpoint.js';
|
|
10
|
-
import '../../../utils/constants/values.js';
|
|
11
|
-
import '@dynamic-labs/multi-wallet';
|
|
12
|
-
import 'react-international-phone';
|
|
13
|
-
import '../../../utils/constants/colors.js';
|
|
14
10
|
import '@dynamic-labs/iconic';
|
|
15
11
|
import '@dynamic-labs/wallet-connector-core';
|
|
16
12
|
import 'react/jsx-runtime';
|
|
17
13
|
import '../../../context/ViewContext/ViewContext.js';
|
|
18
14
|
import '../../../shared/logger.js';
|
|
19
15
|
import '@dynamic-labs/wallet-book';
|
|
16
|
+
import '../../../utils/constants/colors.js';
|
|
17
|
+
import '../../../utils/constants/values.js';
|
|
20
18
|
import '../../../shared/consts/index.js';
|
|
19
|
+
import '@dynamic-labs/multi-wallet';
|
|
20
|
+
import 'react-international-phone';
|
|
21
21
|
import '../../../store/state/nonce/nonce.js';
|
|
22
22
|
import { sdkApi } from '../api.js';
|
|
23
23
|
import { logResponseError } from '../utils.js';
|
|
@@ -131,3 +131,4 @@ export { ReactComponent as GoogleDriveIcon } from './google-drive.svg';
|
|
|
131
131
|
export { ReactComponent as UpgradeIcon } from './upgrade.svg';
|
|
132
132
|
export { ReactComponent as WhiteCheck } from './white-check-black-circle.svg';
|
|
133
133
|
export { ReactComponent as ConnectIcon } from './connect.svg';
|
|
134
|
+
export { ReactComponent as ReloadIcon } from './reload-icon.svg';
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
var React = require('react');
|
|
7
|
+
|
|
8
|
+
function _interopNamespace(e) {
|
|
9
|
+
if (e && e.__esModule) return e;
|
|
10
|
+
var n = Object.create(null);
|
|
11
|
+
if (e) {
|
|
12
|
+
Object.keys(e).forEach(function (k) {
|
|
13
|
+
if (k !== 'default') {
|
|
14
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
15
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return e[k]; }
|
|
18
|
+
});
|
|
19
|
+
}
|
|
20
|
+
});
|
|
21
|
+
}
|
|
22
|
+
n["default"] = e;
|
|
23
|
+
return Object.freeze(n);
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
27
|
+
|
|
28
|
+
var _path;
|
|
29
|
+
var _excluded = ["title", "titleId"];
|
|
30
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
31
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
32
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
33
|
+
var SvgReloadIcon = function SvgReloadIcon(_ref) {
|
|
34
|
+
var title = _ref.title,
|
|
35
|
+
titleId = _ref.titleId,
|
|
36
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
37
|
+
return /*#__PURE__*/React__namespace.createElement("svg", _extends({
|
|
38
|
+
width: 24,
|
|
39
|
+
height: 24,
|
|
40
|
+
viewBox: "0 0 24 24",
|
|
41
|
+
fill: "none",
|
|
42
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
43
|
+
"aria-labelledby": titleId
|
|
44
|
+
}, props), title ? /*#__PURE__*/React__namespace.createElement("title", {
|
|
45
|
+
id: titleId
|
|
46
|
+
}, title) : null, _path || (_path = /*#__PURE__*/React__namespace.createElement("path", {
|
|
47
|
+
fillRule: "evenodd",
|
|
48
|
+
clipRule: "evenodd",
|
|
49
|
+
d: "M4.955 12.806a7.373 7.373 0 1 0 9.14-7.07l.35.358a.922.922 0 1 1-1.32 1.287l-1.82-1.866a.922.922 0 0 1 .015-1.303l1.866-1.82a.922.922 0 0 1 1.287 1.32l-.182.177a9.217 9.217 0 1 1-6.548 1.01.922.922 0 0 1 .918 1.598 7.37 7.37 0 0 0-3.706 6.31Z",
|
|
50
|
+
fill: "#ABACB2"
|
|
51
|
+
})));
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
exports.ReactComponent = SvgReloadIcon;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
|
|
4
|
+
var _path;
|
|
5
|
+
var _excluded = ["title", "titleId"];
|
|
6
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
7
|
+
function _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var s = Object.getOwnPropertySymbols(e); for (r = 0; r < s.length; r++) o = s[r], t.includes(o) || {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }
|
|
8
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (e.includes(n)) continue; t[n] = r[n]; } return t; }
|
|
9
|
+
var SvgReloadIcon = function SvgReloadIcon(_ref) {
|
|
10
|
+
var title = _ref.title,
|
|
11
|
+
titleId = _ref.titleId,
|
|
12
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
13
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
14
|
+
width: 24,
|
|
15
|
+
height: 24,
|
|
16
|
+
viewBox: "0 0 24 24",
|
|
17
|
+
fill: "none",
|
|
18
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
19
|
+
"aria-labelledby": titleId
|
|
20
|
+
}, props), title ? /*#__PURE__*/React.createElement("title", {
|
|
21
|
+
id: titleId
|
|
22
|
+
}, title) : null, _path || (_path = /*#__PURE__*/React.createElement("path", {
|
|
23
|
+
fillRule: "evenodd",
|
|
24
|
+
clipRule: "evenodd",
|
|
25
|
+
d: "M4.955 12.806a7.373 7.373 0 1 0 9.14-7.07l.35.358a.922.922 0 1 1-1.32 1.287l-1.82-1.866a.922.922 0 0 1 .015-1.303l1.866-1.82a.922.922 0 0 1 1.287 1.32l-.182.177a9.217 9.217 0 1 1-6.548 1.01.922.922 0 0 1 .918 1.598 7.37 7.37 0 0 0-3.706 6.31Z",
|
|
26
|
+
fill: "#ABACB2"
|
|
27
|
+
})));
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export { SvgReloadIcon as ReactComponent };
|
|
@@ -9,19 +9,19 @@ require('../../../client/client.cjs');
|
|
|
9
9
|
require('react');
|
|
10
10
|
require('@dynamic-labs-sdk/client');
|
|
11
11
|
require('../../../config/ApiEndpoint.cjs');
|
|
12
|
-
require('../../../utils/constants/values.cjs');
|
|
13
|
-
require('@dynamic-labs/utils');
|
|
14
|
-
require('../../../../../_virtual/_tslib.cjs');
|
|
15
|
-
require('@dynamic-labs/multi-wallet');
|
|
16
|
-
require('react-international-phone');
|
|
17
|
-
require('../../../utils/constants/colors.cjs');
|
|
18
12
|
require('@dynamic-labs/iconic');
|
|
19
13
|
require('@dynamic-labs/wallet-connector-core');
|
|
20
14
|
require('react/jsx-runtime');
|
|
21
15
|
require('../../../context/ViewContext/ViewContext.cjs');
|
|
22
16
|
require('../../../shared/logger.cjs');
|
|
23
17
|
require('@dynamic-labs/wallet-book');
|
|
18
|
+
require('@dynamic-labs/utils');
|
|
19
|
+
require('../../../utils/constants/colors.cjs');
|
|
20
|
+
require('../../../utils/constants/values.cjs');
|
|
24
21
|
require('../../../shared/consts/index.cjs');
|
|
22
|
+
require('../../../../../_virtual/_tslib.cjs');
|
|
23
|
+
require('@dynamic-labs/multi-wallet');
|
|
24
|
+
require('react-international-phone');
|
|
25
25
|
require('../nonce/nonce.cjs');
|
|
26
26
|
require('@dynamic-labs/locale');
|
|
27
27
|
require('../dynamicContextProps/dynamicContextProps.cjs');
|
|
@@ -5,19 +5,19 @@ import '../../../client/client.js';
|
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@dynamic-labs-sdk/client';
|
|
7
7
|
import '../../../config/ApiEndpoint.js';
|
|
8
|
-
import '../../../utils/constants/values.js';
|
|
9
|
-
import '@dynamic-labs/utils';
|
|
10
|
-
import '../../../../../_virtual/_tslib.js';
|
|
11
|
-
import '@dynamic-labs/multi-wallet';
|
|
12
|
-
import 'react-international-phone';
|
|
13
|
-
import '../../../utils/constants/colors.js';
|
|
14
8
|
import '@dynamic-labs/iconic';
|
|
15
9
|
import '@dynamic-labs/wallet-connector-core';
|
|
16
10
|
import 'react/jsx-runtime';
|
|
17
11
|
import '../../../context/ViewContext/ViewContext.js';
|
|
18
12
|
import '../../../shared/logger.js';
|
|
19
13
|
import '@dynamic-labs/wallet-book';
|
|
14
|
+
import '@dynamic-labs/utils';
|
|
15
|
+
import '../../../utils/constants/colors.js';
|
|
16
|
+
import '../../../utils/constants/values.js';
|
|
20
17
|
import '../../../shared/consts/index.js';
|
|
18
|
+
import '../../../../../_virtual/_tslib.js';
|
|
19
|
+
import '@dynamic-labs/multi-wallet';
|
|
20
|
+
import 'react-international-phone';
|
|
21
21
|
import '../nonce/nonce.js';
|
|
22
22
|
import '@dynamic-labs/locale';
|
|
23
23
|
import '../dynamicContextProps/dynamicContextProps.js';
|
|
@@ -11,17 +11,17 @@ require('../../../client/client.cjs');
|
|
|
11
11
|
require('react');
|
|
12
12
|
require('@dynamic-labs-sdk/client');
|
|
13
13
|
require('../../../config/ApiEndpoint.cjs');
|
|
14
|
-
require('../../../utils/constants/values.cjs');
|
|
15
|
-
require('@dynamic-labs/multi-wallet');
|
|
16
|
-
require('react-international-phone');
|
|
17
|
-
require('../../../utils/constants/colors.cjs');
|
|
18
14
|
require('@dynamic-labs/iconic');
|
|
19
15
|
require('@dynamic-labs/wallet-connector-core');
|
|
20
16
|
require('react/jsx-runtime');
|
|
21
17
|
require('../../../context/ViewContext/ViewContext.cjs');
|
|
22
18
|
var logger = require('../../../shared/logger.cjs');
|
|
23
19
|
require('@dynamic-labs/wallet-book');
|
|
20
|
+
require('../../../utils/constants/colors.cjs');
|
|
21
|
+
require('../../../utils/constants/values.cjs');
|
|
24
22
|
require('../../../shared/consts/index.cjs');
|
|
23
|
+
require('@dynamic-labs/multi-wallet');
|
|
24
|
+
require('react-international-phone');
|
|
25
25
|
var dynamicContextProps = require('../dynamicContextProps/dynamicContextProps.cjs');
|
|
26
26
|
require('../primaryWalletId/primaryWalletId.cjs');
|
|
27
27
|
require('../connectedWalletsInfo/connectedWalletsInfo.cjs');
|
|
@@ -7,17 +7,17 @@ import '../../../client/client.js';
|
|
|
7
7
|
import 'react';
|
|
8
8
|
import '@dynamic-labs-sdk/client';
|
|
9
9
|
import '../../../config/ApiEndpoint.js';
|
|
10
|
-
import '../../../utils/constants/values.js';
|
|
11
|
-
import '@dynamic-labs/multi-wallet';
|
|
12
|
-
import 'react-international-phone';
|
|
13
|
-
import '../../../utils/constants/colors.js';
|
|
14
10
|
import '@dynamic-labs/iconic';
|
|
15
11
|
import '@dynamic-labs/wallet-connector-core';
|
|
16
12
|
import 'react/jsx-runtime';
|
|
17
13
|
import '../../../context/ViewContext/ViewContext.js';
|
|
18
14
|
import { logger } from '../../../shared/logger.js';
|
|
19
15
|
import '@dynamic-labs/wallet-book';
|
|
16
|
+
import '../../../utils/constants/colors.js';
|
|
17
|
+
import '../../../utils/constants/values.js';
|
|
20
18
|
import '../../../shared/consts/index.js';
|
|
19
|
+
import '@dynamic-labs/multi-wallet';
|
|
20
|
+
import 'react-international-phone';
|
|
21
21
|
import { useEnvironmentId, getEnvironmentId } from '../dynamicContextProps/dynamicContextProps.js';
|
|
22
22
|
import '../primaryWalletId/primaryWalletId.js';
|
|
23
23
|
import '../connectedWalletsInfo/connectedWalletsInfo.js';
|
|
@@ -9,19 +9,19 @@ require('../../../client/client.cjs');
|
|
|
9
9
|
require('react');
|
|
10
10
|
require('@dynamic-labs-sdk/client');
|
|
11
11
|
require('../../../config/ApiEndpoint.cjs');
|
|
12
|
-
require('../../../utils/constants/values.cjs');
|
|
13
|
-
require('@dynamic-labs/utils');
|
|
14
|
-
require('../../../../../_virtual/_tslib.cjs');
|
|
15
|
-
require('@dynamic-labs/multi-wallet');
|
|
16
|
-
require('react-international-phone');
|
|
17
|
-
require('../../../utils/constants/colors.cjs');
|
|
18
12
|
require('@dynamic-labs/iconic');
|
|
19
13
|
require('@dynamic-labs/wallet-connector-core');
|
|
20
14
|
require('react/jsx-runtime');
|
|
21
15
|
require('../../../context/ViewContext/ViewContext.cjs');
|
|
22
16
|
require('../../../shared/logger.cjs');
|
|
23
17
|
require('@dynamic-labs/wallet-book');
|
|
18
|
+
require('@dynamic-labs/utils');
|
|
19
|
+
require('../../../utils/constants/colors.cjs');
|
|
20
|
+
require('../../../utils/constants/values.cjs');
|
|
24
21
|
require('../../../shared/consts/index.cjs');
|
|
22
|
+
require('../../../../../_virtual/_tslib.cjs');
|
|
23
|
+
require('@dynamic-labs/multi-wallet');
|
|
24
|
+
require('react-international-phone');
|
|
25
25
|
require('../../state/nonce/nonce.cjs');
|
|
26
26
|
require('@dynamic-labs/locale');
|
|
27
27
|
var dynamicContextProps = require('../../state/dynamicContextProps/dynamicContextProps.cjs');
|
|
@@ -5,19 +5,19 @@ import '../../../client/client.js';
|
|
|
5
5
|
import 'react';
|
|
6
6
|
import '@dynamic-labs-sdk/client';
|
|
7
7
|
import '../../../config/ApiEndpoint.js';
|
|
8
|
-
import '../../../utils/constants/values.js';
|
|
9
|
-
import '@dynamic-labs/utils';
|
|
10
|
-
import '../../../../../_virtual/_tslib.js';
|
|
11
|
-
import '@dynamic-labs/multi-wallet';
|
|
12
|
-
import 'react-international-phone';
|
|
13
|
-
import '../../../utils/constants/colors.js';
|
|
14
8
|
import '@dynamic-labs/iconic';
|
|
15
9
|
import '@dynamic-labs/wallet-connector-core';
|
|
16
10
|
import 'react/jsx-runtime';
|
|
17
11
|
import '../../../context/ViewContext/ViewContext.js';
|
|
18
12
|
import '../../../shared/logger.js';
|
|
19
13
|
import '@dynamic-labs/wallet-book';
|
|
14
|
+
import '@dynamic-labs/utils';
|
|
15
|
+
import '../../../utils/constants/colors.js';
|
|
16
|
+
import '../../../utils/constants/values.js';
|
|
20
17
|
import '../../../shared/consts/index.js';
|
|
18
|
+
import '../../../../../_virtual/_tslib.js';
|
|
19
|
+
import '@dynamic-labs/multi-wallet';
|
|
20
|
+
import 'react-international-phone';
|
|
21
21
|
import '../../state/nonce/nonce.js';
|
|
22
22
|
import '@dynamic-labs/locale';
|
|
23
23
|
import { useDynamicSettings } from '../../state/dynamicContextProps/dynamicContextProps.js';
|