@dynamic-labs-sdk/client 1.22.1 → 1.23.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.
Files changed (118) hide show
  1. package/dist/{NativeModuleNotLinkedError-C1P6K16j.native.esm.js → NativeModuleNotLinkedError-DLP1hpcM.native.esm.js} +13 -21
  2. package/dist/NativeModuleNotLinkedError-DLP1hpcM.native.esm.js.map +1 -0
  3. package/dist/constants.d.ts.map +1 -1
  4. package/dist/{consumeMfaTokenIfRequiredForAction-NVOBPPQW.esm.js → consumeMfaTokenIfRequiredForAction-D2oiQdpj.esm.js} +2 -2
  5. package/dist/{consumeMfaTokenIfRequiredForAction-NVOBPPQW.esm.js.map → consumeMfaTokenIfRequiredForAction-D2oiQdpj.esm.js.map} +1 -1
  6. package/dist/{consumeMfaTokenIfRequiredForAction-D1iSuzzl.cjs → consumeMfaTokenIfRequiredForAction-DJAdtHe3.cjs} +2 -2
  7. package/dist/{consumeMfaTokenIfRequiredForAction-D1iSuzzl.cjs.map → consumeMfaTokenIfRequiredForAction-DJAdtHe3.cjs.map} +1 -1
  8. package/dist/core.cjs +8 -7
  9. package/dist/core.cjs.map +1 -1
  10. package/dist/core.esm.js +9 -9
  11. package/dist/core.esm.js.map +1 -1
  12. package/dist/core.native.esm.js +6 -6
  13. package/dist/core.native.esm.js.map +1 -1
  14. package/dist/exports/core.d.ts +2 -0
  15. package/dist/exports/core.d.ts.map +1 -1
  16. package/dist/exports/waas.d.ts +2 -0
  17. package/dist/exports/waas.d.ts.map +1 -1
  18. package/dist/generated/dependencyCatalog.d.ts +4 -0
  19. package/dist/generated/dependencyCatalog.d.ts.map +1 -0
  20. package/dist/{getNetworkProviderFromNetworkId-Cn1w40Jn.cjs → getNetworkProviderFromNetworkId-BVP0ghId.cjs} +2 -2
  21. package/dist/{getNetworkProviderFromNetworkId-Cn1w40Jn.cjs.map → getNetworkProviderFromNetworkId-BVP0ghId.cjs.map} +1 -1
  22. package/dist/{getNetworkProviderFromNetworkId-W8EeAcf_.native.esm.js → getNetworkProviderFromNetworkId-Bh4_-rhf.native.esm.js} +3 -261
  23. package/dist/getNetworkProviderFromNetworkId-Bh4_-rhf.native.esm.js.map +1 -0
  24. package/dist/{getNetworkProviderFromNetworkId-CkKboiVD.esm.js → getNetworkProviderFromNetworkId-OfuaqHXU.esm.js} +6 -6
  25. package/dist/getNetworkProviderFromNetworkId-OfuaqHXU.esm.js.map +1 -0
  26. package/dist/{getSignedSessionId-DgEVnuO-.native.esm.js → getSignedSessionId-2jmv21__.native.esm.js} +3 -3
  27. package/dist/{getSignedSessionId-DgEVnuO-.native.esm.js.map → getSignedSessionId-2jmv21__.native.esm.js.map} +1 -1
  28. package/dist/{getSignedSessionId-DjHPdrA_.esm.js → getSignedSessionId-CDEQ6TMC.esm.js} +2 -2
  29. package/dist/{getSignedSessionId-DjHPdrA_.esm.js.map → getSignedSessionId-CDEQ6TMC.esm.js.map} +1 -1
  30. package/dist/{getSignedSessionId-DXrCyLJT.cjs → getSignedSessionId-_ZPqzvm5.cjs} +2 -2
  31. package/dist/{getSignedSessionId-DXrCyLJT.cjs.map → getSignedSessionId-_ZPqzvm5.cjs.map} +1 -1
  32. package/dist/getWalletProviderByKey-0VBVdu30.native.esm.js +279 -0
  33. package/dist/getWalletProviderByKey-0VBVdu30.native.esm.js.map +1 -0
  34. package/dist/{getWalletProviderByKey-BAmDpbgi.esm.js → getWalletProviderByKey-BIHCI8S6.esm.js} +2 -2
  35. package/dist/{getWalletProviderByKey-BAmDpbgi.esm.js.map → getWalletProviderByKey-BIHCI8S6.esm.js.map} +1 -1
  36. package/dist/{getWalletProviderByKey-o0urQYPF.cjs → getWalletProviderByKey-F5wxlC_k.cjs} +2 -2
  37. package/dist/{getWalletProviderByKey-o0urQYPF.cjs.map → getWalletProviderByKey-F5wxlC_k.cjs.map} +1 -1
  38. package/dist/index.cjs +14 -8
  39. package/dist/index.cjs.map +1 -1
  40. package/dist/index.esm.js +17 -11
  41. package/dist/index.esm.js.map +1 -1
  42. package/dist/index.native.esm.js +14 -8
  43. package/dist/index.native.esm.js.map +1 -1
  44. package/dist/{isDynamicWaasEnabled-C0x4cUHe.esm.js → isDynamicWaasEnabled-OlDJAGIi.esm.js} +2 -2
  45. package/dist/{isDynamicWaasEnabled-C0x4cUHe.esm.js.map → isDynamicWaasEnabled-OlDJAGIi.esm.js.map} +1 -1
  46. package/dist/{isDynamicWaasEnabled-DQe8Wxd0.cjs → isDynamicWaasEnabled-YigU-EAT.cjs} +2 -2
  47. package/dist/{isDynamicWaasEnabled-DQe8Wxd0.cjs.map → isDynamicWaasEnabled-YigU-EAT.cjs.map} +1 -1
  48. package/dist/{isDynamicWaasEnabled-CF-T5TSi.native.esm.js → isDynamicWaasEnabled-cVxCp5BV.native.esm.js} +2 -2
  49. package/dist/{isDynamicWaasEnabled-CF-T5TSi.native.esm.js.map → isDynamicWaasEnabled-cVxCp5BV.native.esm.js.map} +1 -1
  50. package/dist/{isMfaRequiredForAction-BK_4B7Gi.esm.js → isMfaRequiredForAction-Bn2HCYvZ.esm.js} +2 -2
  51. package/dist/{isMfaRequiredForAction-BK_4B7Gi.esm.js.map → isMfaRequiredForAction-Bn2HCYvZ.esm.js.map} +1 -1
  52. package/dist/{isMfaRequiredForAction-BcO-fQ-N.cjs → isMfaRequiredForAction-BtPXuiSY.cjs} +2 -2
  53. package/dist/{isMfaRequiredForAction-BcO-fQ-N.cjs.map → isMfaRequiredForAction-BtPXuiSY.cjs.map} +1 -1
  54. package/dist/{isMfaRequiredForAction-Ce0neLQQ.native.esm.js → isMfaRequiredForAction-DjC0wQJ4.native.esm.js} +2 -2
  55. package/dist/{isMfaRequiredForAction-Ce0neLQQ.native.esm.js.map → isMfaRequiredForAction-DjC0wQJ4.native.esm.js.map} +1 -1
  56. package/dist/{isUserOnboardingComplete-CssbJY_7.esm.js → isUserOnboardingComplete-BCZpska8.native.esm.js} +3 -3
  57. package/dist/{isUserOnboardingComplete-BK7GcrpI.native.esm.js.map → isUserOnboardingComplete-BCZpska8.native.esm.js.map} +1 -1
  58. package/dist/{isUserOnboardingComplete-B4hlrt5N.cjs → isUserOnboardingComplete-Bi7tw1lk.cjs} +3 -3
  59. package/dist/{isUserOnboardingComplete-B4hlrt5N.cjs.map → isUserOnboardingComplete-Bi7tw1lk.cjs.map} +1 -1
  60. package/dist/{isUserOnboardingComplete-BK7GcrpI.native.esm.js → isUserOnboardingComplete-DScTOOg_.esm.js} +3 -3
  61. package/dist/{isUserOnboardingComplete-CssbJY_7.esm.js.map → isUserOnboardingComplete-DScTOOg_.esm.js.map} +1 -1
  62. package/dist/{migrateFromFireblocks-BX9JTaOI.native.esm.js → migrateFromFireblocks-7aKNa_3P.native.esm.js} +3 -3
  63. package/dist/{migrateFromFireblocks-BX9JTaOI.native.esm.js.map → migrateFromFireblocks-7aKNa_3P.native.esm.js.map} +1 -1
  64. package/dist/{migrateFromFireblocks-CIE4qLS6.cjs → migrateFromFireblocks-BnHU2AZJ.cjs} +4 -4
  65. package/dist/{migrateFromFireblocks-CIE4qLS6.cjs.map → migrateFromFireblocks-BnHU2AZJ.cjs.map} +1 -1
  66. package/dist/{migrateFromFireblocks-Btox03CB.esm.js → migrateFromFireblocks-DkQj3aYU.esm.js} +4 -4
  67. package/dist/{migrateFromFireblocks-Btox03CB.esm.js.map → migrateFromFireblocks-DkQj3aYU.esm.js.map} +1 -1
  68. package/dist/modules/apiClient/constants.d.ts +1 -1
  69. package/dist/modules/apiClient/constants.d.ts.map +1 -1
  70. package/dist/modules/auth/getActionAuthorizationTokens/getActionAuthorizationTokens.d.ts +29 -0
  71. package/dist/modules/auth/getActionAuthorizationTokens/getActionAuthorizationTokens.d.ts.map +1 -0
  72. package/dist/modules/auth/getActionAuthorizationTokens/index.d.ts +2 -0
  73. package/dist/modules/auth/getActionAuthorizationTokens/index.d.ts.map +1 -0
  74. package/dist/modules/auth/logoutReason.d.ts +1 -1
  75. package/dist/modules/auth/logoutReason.d.ts.map +1 -1
  76. package/dist/modules/waas/businessAccounts/addBusinessAccountMember/addBusinessAccountMember.d.ts +7 -2
  77. package/dist/modules/waas/businessAccounts/addBusinessAccountMember/addBusinessAccountMember.d.ts.map +1 -1
  78. package/dist/modules/waas/businessAccounts/addWalletToBusinessAccount/addWalletToBusinessAccount.d.ts +6 -1
  79. package/dist/modules/waas/businessAccounts/addWalletToBusinessAccount/addWalletToBusinessAccount.d.ts.map +1 -1
  80. package/dist/modules/waas/businessAccounts/businessAccounts.constants.d.ts +5 -0
  81. package/dist/modules/waas/businessAccounts/businessAccounts.constants.d.ts.map +1 -0
  82. package/dist/modules/waas/businessAccounts/transferBusinessAccountOwnership/transferBusinessAccountOwnership.d.ts.map +1 -1
  83. package/dist/modules/waas/businessAccounts/updateBusinessAccount/index.d.ts +2 -0
  84. package/dist/modules/waas/businessAccounts/updateBusinessAccount/index.d.ts.map +1 -0
  85. package/dist/modules/waas/businessAccounts/updateBusinessAccount/updateBusinessAccount.d.ts +26 -0
  86. package/dist/modules/waas/businessAccounts/updateBusinessAccount/updateBusinessAccount.d.ts.map +1 -0
  87. package/dist/modules/waas/businessAccounts/updateBusinessAccountMemberRole/index.d.ts +2 -0
  88. package/dist/modules/waas/businessAccounts/updateBusinessAccountMemberRole/index.d.ts.map +1 -0
  89. package/dist/modules/waas/businessAccounts/updateBusinessAccountMemberRole/updateBusinessAccountMemberRole.d.ts +35 -0
  90. package/dist/modules/waas/businessAccounts/updateBusinessAccountMemberRole/updateBusinessAccountMemberRole.d.ts.map +1 -0
  91. package/dist/modules/waas/createWaasProvider/createWaasProvider.d.ts.map +1 -1
  92. package/dist/modules/wallets/verifyWalletAccount/verifyWalletAccount.d.ts +1 -1
  93. package/dist/modules/wallets/verifyWalletAccountForSignInOrTransfer/verifyWalletAccountForSignInOrTransfer.d.ts.map +1 -1
  94. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  95. package/dist/{updateAuthFromVerifyResponse-CK3pAERc.cjs → updateAuthFromVerifyResponse-B2QePeNz.cjs} +12 -26
  96. package/dist/updateAuthFromVerifyResponse-B2QePeNz.cjs.map +1 -0
  97. package/dist/{updateAuthFromVerifyResponse-BhILXMm_.esm.js → updateAuthFromVerifyResponse-wHGRunTk.esm.js} +13 -21
  98. package/dist/updateAuthFromVerifyResponse-wHGRunTk.esm.js.map +1 -0
  99. package/dist/waas.cjs +127 -30
  100. package/dist/waas.cjs.map +1 -1
  101. package/dist/waas.esm.js +128 -33
  102. package/dist/waas.esm.js.map +1 -1
  103. package/dist/waas.native.esm.js +127 -32
  104. package/dist/waas.native.esm.js.map +1 -1
  105. package/dist/waasCore.cjs +53 -15
  106. package/dist/waasCore.cjs.map +1 -1
  107. package/dist/waasCore.esm.js +53 -15
  108. package/dist/waasCore.esm.js.map +1 -1
  109. package/dist/waasCore.native.esm.js +52 -14
  110. package/dist/waasCore.native.esm.js.map +1 -1
  111. package/package.json +7 -5
  112. package/dist/NativeModuleNotLinkedError-C1P6K16j.native.esm.js.map +0 -1
  113. package/dist/getNetworkProviderFromNetworkId-CkKboiVD.esm.js.map +0 -1
  114. package/dist/getNetworkProviderFromNetworkId-W8EeAcf_.native.esm.js.map +0 -1
  115. package/dist/getWalletProviderByKey-ClOKL5JG.native.esm.js +0 -20
  116. package/dist/getWalletProviderByKey-ClOKL5JG.native.esm.js.map +0 -1
  117. package/dist/updateAuthFromVerifyResponse-BhILXMm_.esm.js.map +0 -1
  118. package/dist/updateAuthFromVerifyResponse-CK3pAERc.cjs.map +0 -1
@@ -1,9 +1,9 @@
1
- import { $ as createStorageKeySchema, A as NoWalletProviderFoundError, B as emitEvent, C as getOperatingSystem, Ct as getCore, D as WalletProviderPriority, E as getWalletProviderFromWalletAccount, F as CHAINS_INFO_MAP, H as onEvent, I as formatWalletAccountId, J as getNonce, L as normalizeAddress, O as getWalletProviderRegistry, P as getChainFromVerifiedCredentialChain, Q as updateNoncePoolStorage, R as splitWalletProviderKey, S as getUserAgent, St as BaseError, Tt as version, U as onceEvent, V as offEvent, W as createApiClient, Z as fetchAndStoreNonces, _ as DYNAMIC_ICONIC_SPRITE_URL, _t as getPlatform, a as InvalidParamError, at as LinkCredentialError, b as scrubParameters, bt as setDefaultClient, et as createLocalStorageAdapter, ft as isCookieEnabled, gt as randomString, h as checkAndRaiseWalletAccountsChangedEvent, ht as getElevatedAccessToken, i as parseElevatedAccessToken, it as MfaInvalidOtpError, j as getWalletAccounts, m as isUserMissingMfaAuth, mt as ValueMustBeDefinedError, n as updateAuthFromVerifyResponse, nt as SandboxMaximumThresholdReachedError, o as initializeWaasClientsForEagerRecovery, ot as InvalidExternalAuthError, p as getWalletProviders, pt as assertDefined, r as upsertElevatedAccessToken, rt as MfaRateLimitedError, st as APIError, tt as UnauthorizedError, v as SDK_API_CORE_VERSION, vt as NONCE_POOL_SIZE, w as extractSessionId, wt as name, x as DEFAULT_PII_FIELDS, y as instrumentFunction, yt as getDefaultClient } from "./NativeModuleNotLinkedError-C1P6K16j.native.esm.js";
2
- import { B as __logoutWithReason_wrapped, C as getKeychainIndexedDBName, E as assertSafeNavigationUrl, F as INITIALIZE_STORAGE_SYNC_TRACKER_KEY, G as subscribeWithSelector, H as fetchProjectSettings, I as REFRESH_USER_STATE_FROM_COOKIE_TRACKER_KEY, K as isEqualShallow, L as REFRESH_USER_STATE_FROM_VALID_TOKEN_TRACKER_KEY, M as createDeferredPromise, N as FETCH_PROJECT_SETTINGS_TRACKER_KEY, O as createLogger, P as GENERATE_SESSION_KEYS_TRACKER_KEY, R as isServerSideRendering, S as MergeAccountsConfirmationError, T as createKeychainService, U as isSignedIn, V as generateSessionKeys, W as retryOnFail, _ as getAppMetadata, a as verifyMessageSignatureOwnership, b as WalletAlreadyLinkedToAnotherUserError, c as formatSignInMessage, d as setUnverifiedWalletAccounts, f as createVisit, g as isCaptchaRequired, h as consumeCaptchaToken, i as getNetworksData, j as CannotTrackError, k as createCrossTabBroadcast, l as reconcileWalletAccountsAgainstClient, m as __setCaptchaToken_wrapped, o as removeUnverifiedWalletAccount, p as hasExtension, q as createStorage, s as createSignInMessageStatement, t as getNetworkProviderFromNetworkId, u as updateWalletProviderKeysForVerifiedCredentials, v as MethodNotImplementedError, w as createRealtimeService, x as NoNetworkProvidersError, y as WalletScreeningBlockedError, z as getBuffer } from "./getNetworkProviderFromNetworkId-W8EeAcf_.native.esm.js";
3
- import { n as NotWaasWalletAccountError, r as __refreshAuth_wrapped } from "./isDynamicWaasEnabled-CF-T5TSi.native.esm.js";
4
- import { a as WaasOnboardingIncompleteError, i as preconnectWaasIframe, n as isPendingRecoveryCodesAcknowledgment, o as WaasLoadFailedError, r as isDeviceRegistrationRequired, t as isUserOnboardingComplete } from "./isUserOnboardingComplete-BK7GcrpI.native.esm.js";
5
- import { n as getVerifiedCredentialForWalletAccount, t as getWalletProviderByKey } from "./getWalletProviderByKey-ClOKL5JG.native.esm.js";
6
- import { n as getMfaMethods, r as __consumeMfaToken_wrapped, t as isMfaRequiredForAction } from "./isMfaRequiredForAction-Ce0neLQQ.native.esm.js";
1
+ import { $ as UnauthorizedError, B as onEvent, Ct as name, E as getWalletProviderRegistry, F as normalizeAddress, H as createApiClient, I as splitWalletProviderKey, K as getNonce, M as getChainFromVerifiedCredentialChain, N as CHAINS_INFO_MAP, O as NoWalletProviderFoundError, P as formatWalletAccountId, Q as createLocalStorageAdapter, R as emitEvent, S as extractSessionId, St as getCore, T as WalletProviderPriority, V as onceEvent, X as updateNoncePoolStorage, Y as fetchAndStoreNonces, Z as createStorageKeySchema, _ as instrumentFunction, _t as NONCE_POOL_SIZE, a as InvalidParamError, at as APIError, b as getUserAgent, ct as DYNAMIC_ICONIC_SPRITE_URL, dt as isCookieEnabled, et as SandboxMaximumThresholdReachedError, ft as assertDefined, gt as getPlatform, h as checkAndRaiseWalletAccountsChangedEvent, ht as randomString, i as parseElevatedAccessToken, it as InvalidExternalAuthError, k as getWalletAccounts, lt as SDK_API_CORE_VERSION, m as isUserMissingMfaAuth, mt as getElevatedAccessToken, n as updateAuthFromVerifyResponse, nt as MfaInvalidOtpError, o as initializeWaasClientsForEagerRecovery, p as getWalletProviders, pt as ValueMustBeDefinedError, r as upsertElevatedAccessToken, rt as LinkCredentialError, tt as MfaRateLimitedError, v as scrubParameters, vt as getDefaultClient, w as getWalletProviderFromWalletAccount, wt as version, x as getOperatingSystem, xt as BaseError, y as DEFAULT_PII_FIELDS, yt as setDefaultClient, z as offEvent } from "./NativeModuleNotLinkedError-DLP1hpcM.native.esm.js";
2
+ import { B as subscribeWithSelector, C as getKeychainIndexedDBName, E as assertSafeNavigationUrl, F as INITIALIZE_STORAGE_SYNC_TRACKER_KEY, H as createStorage, I as REFRESH_USER_STATE_FROM_COOKIE_TRACKER_KEY, L as REFRESH_USER_STATE_FROM_VALID_TOKEN_TRACKER_KEY, M as createDeferredPromise, N as FETCH_PROJECT_SETTINGS_TRACKER_KEY, O as createLogger, P as GENERATE_SESSION_KEYS_TRACKER_KEY, R as isServerSideRendering, S as MergeAccountsConfirmationError, T as createKeychainService, V as isEqualShallow, _ as getAppMetadata, a as verifyMessageSignatureOwnership, b as WalletAlreadyLinkedToAnotherUserError, c as formatSignInMessage, d as setUnverifiedWalletAccounts, f as createVisit, g as isCaptchaRequired, h as consumeCaptchaToken, i as getNetworksData, j as CannotTrackError, k as createCrossTabBroadcast, l as reconcileWalletAccountsAgainstClient, m as __setCaptchaToken_wrapped, o as removeUnverifiedWalletAccount, p as hasExtension, s as createSignInMessageStatement, t as getNetworkProviderFromNetworkId, u as updateWalletProviderKeysForVerifiedCredentials, v as MethodNotImplementedError, w as createRealtimeService, x as NoNetworkProvidersError, y as WalletScreeningBlockedError, z as getBuffer } from "./getNetworkProviderFromNetworkId-Bh4_-rhf.native.esm.js";
3
+ import { a as fetchProjectSettings, i as generateSessionKeys, n as getVerifiedCredentialForWalletAccount, o as isSignedIn, r as __logoutWithReason_wrapped, s as retryOnFail, t as getWalletProviderByKey } from "./getWalletProviderByKey-0VBVdu30.native.esm.js";
4
+ import { n as NotWaasWalletAccountError, r as __refreshAuth_wrapped } from "./isDynamicWaasEnabled-cVxCp5BV.native.esm.js";
5
+ import { a as WaasOnboardingIncompleteError, i as preconnectWaasIframe, n as isPendingRecoveryCodesAcknowledgment, o as WaasLoadFailedError, r as isDeviceRegistrationRequired, t as isUserOnboardingComplete } from "./isUserOnboardingComplete-BCZpska8.native.esm.js";
6
+ import { n as getMfaMethods, r as __consumeMfaToken_wrapped, t as isMfaRequiredForAction } from "./isMfaRequiredForAction-DjC0wQJ4.native.esm.js";
7
7
  import { assertPackageVersion } from "@dynamic-labs-sdk/assert-package-version";
8
8
  import { AuthModeEnum, CaptchaProviderEnum as CaptchaProviderEnum$1, ExchangeKeyEnum, JwtVerifiedCredentialFormatEnum, JwtVerifiedCredentialFormatEnum as JwtVerifiedCredentialFormatEnum$1, MFAAction, MfaBackupCodeAcknowledgement, ProviderEnum, ProviderEnum as ProviderEnum$1, TokenScope, TokenScope as TokenScope$1, WaasBackupOptionsEnum, WalletProviderEnum } from "@dynamic-labs/sdk-api-core";
9
9
  import * as z from "zod/mini";
@@ -8191,7 +8191,13 @@ const isSameAddress = ({ chain, left, right }) => normalizeAddress({
8191
8191
  //#region src/modules/wallets/verifyWalletAccountForSignInOrTransfer/verifyWalletAccountForSignInOrTransfer.ts
8192
8192
  /** @notInstrumented */
8193
8193
  const verifyWalletAccountForSignInOrTransfer = async ({ walletAccount, isTransfer, requestedScopes }, client) => {
8194
- if (walletAccount.verifiedCredentialId) throw new WalletAccountAlreadyVerifiedError(walletAccount.address);
8194
+ /**
8195
+ * A wallet that is already verified can still be used for step-up
8196
+ * authentication: the user proves ownership again to mint an elevated
8197
+ * access token for the requested scope. Skip the already-verified guard
8198
+ * when scopes are provided so the call reaches walletsVerify.
8199
+ */
8200
+ if (walletAccount.verifiedCredentialId && !requestedScopes) throw new WalletAccountAlreadyVerifiedError(walletAccount.address);
8195
8201
  const walletProvider = getWalletProviderFromWalletAccount({ walletAccount }, client);
8196
8202
  const { messageToSign, signature } = await __proveWalletAccountOwnership_wrapped({ walletAccount }, client);
8197
8203
  const formattedSignature = walletAccount.hardwareWalletVendor ? formatSignatureForHardwareWallet({
@@ -8260,7 +8266,7 @@ const verifyWalletAccountForSignInOrTransfer = async ({ walletAccount, isTransfe
8260
8266
  * @param [params.requestedScopes] - Optional token scopes to request during verification.
8261
8267
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
8262
8268
  * @returns A promise that resolves to the verified wallet account.
8263
- * @throws WalletAccountAlreadyVerifiedError If the wallet is already verified.
8269
+ * @throws WalletAccountAlreadyVerifiedError If the wallet is already verified and no requestedScopes are provided.
8264
8270
  * @throws WalletAlreadyLinkedToAnotherUserError If the wallet is linked to another user.
8265
8271
  * @see connectWithWalletProvider
8266
8272
  * @see connectAndVerifyWithWalletProvider