@dynamic-labs-sdk/client 0.25.2 → 0.26.0

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 (140) hide show
  1. package/dist/{InvalidParamError-BxdCGMzn.esm.js → InvalidParamError-8oTZu9Ss.esm.js} +76 -74
  2. package/dist/InvalidParamError-8oTZu9Ss.esm.js.map +1 -0
  3. package/dist/{InvalidParamError-Dg0Tc6h7.cjs.js → InvalidParamError-CDcFoUsR.cjs} +76 -74
  4. package/dist/InvalidParamError-CDcFoUsR.cjs.map +1 -0
  5. package/dist/{InvalidParamError-C5CPZiAb.native.esm.js → InvalidParamError-DfGUIqBR.native.esm.js} +76 -74
  6. package/dist/InvalidParamError-DfGUIqBR.native.esm.js.map +1 -0
  7. package/dist/{NotWaasWalletAccountError-DjVbgGrH.esm.js → NotWaasWalletAccountError-BXYbDiS5.esm.js} +3 -3
  8. package/dist/{NotWaasWalletAccountError-DjVbgGrH.esm.js.map → NotWaasWalletAccountError-BXYbDiS5.esm.js.map} +1 -1
  9. package/dist/{NotWaasWalletAccountError-w4J6uXP2.cjs.js → NotWaasWalletAccountError-Dz_L-UKa.cjs} +3 -3
  10. package/dist/NotWaasWalletAccountError-Dz_L-UKa.cjs.map +1 -0
  11. package/dist/{NotWaasWalletAccountError-C3DRuoiZ.native.esm.js → NotWaasWalletAccountError-zzSINA4C.native.esm.js} +3 -3
  12. package/dist/{NotWaasWalletAccountError-C3DRuoiZ.native.esm.js.map → NotWaasWalletAccountError-zzSINA4C.native.esm.js.map} +1 -1
  13. package/dist/client/core/createCore/createCore.d.ts.map +1 -1
  14. package/dist/{core.cjs.js → core.cjs} +6 -6
  15. package/dist/core.cjs.map +1 -0
  16. package/dist/core.esm.js +5 -5
  17. package/dist/core.native.esm.js +5 -19
  18. package/dist/core.native.esm.js.map +1 -1
  19. package/dist/exports/index.d.ts +6 -0
  20. package/dist/exports/index.d.ts.map +1 -1
  21. package/dist/{getNetworkProviderFromNetworkId-BzJ_kChE.esm.js → getNetworkProviderFromNetworkId-CQ6-2hmD.esm.js} +5 -4
  22. package/dist/getNetworkProviderFromNetworkId-CQ6-2hmD.esm.js.map +1 -0
  23. package/dist/{getNetworkProviderFromNetworkId-DRAq7tIx.cjs.js → getNetworkProviderFromNetworkId-D_s_Quuj.cjs} +5 -4
  24. package/dist/getNetworkProviderFromNetworkId-D_s_Quuj.cjs.map +1 -0
  25. package/dist/{getNetworkProviderFromNetworkId-DnfmH9wZ.native.esm.js → getNetworkProviderFromNetworkId-Direm9Jd.native.esm.js} +46 -31
  26. package/dist/getNetworkProviderFromNetworkId-Direm9Jd.native.esm.js.map +1 -0
  27. package/dist/{getSignedSessionId-DerECbsD.esm.js → getSignedSessionId-B2eeBoo6.esm.js} +3 -3
  28. package/dist/{getSignedSessionId-DerECbsD.esm.js.map → getSignedSessionId-B2eeBoo6.esm.js.map} +1 -1
  29. package/dist/{getSignedSessionId-CDCWfHxY.cjs.js → getSignedSessionId-BRFJcCTN.cjs} +3 -3
  30. package/dist/getSignedSessionId-BRFJcCTN.cjs.map +1 -0
  31. package/dist/{getSignedSessionId-CZnVdASR.native.esm.js → getSignedSessionId-Dis6zpC8.native.esm.js} +3 -3
  32. package/dist/{getSignedSessionId-CZnVdASR.native.esm.js.map → getSignedSessionId-Dis6zpC8.native.esm.js.map} +1 -1
  33. package/dist/{getVerifiedCredentialForWalletAccount-B18TOqzI.native.esm.js → getVerifiedCredentialForWalletAccount-BIBPCcgg.native.esm.js} +27 -3
  34. package/dist/getVerifiedCredentialForWalletAccount-BIBPCcgg.native.esm.js.map +1 -0
  35. package/dist/{getVerifiedCredentialForWalletAccount-Bznazz-w.cjs.js → getVerifiedCredentialForWalletAccount-BlbBwou9.cjs} +33 -3
  36. package/dist/getVerifiedCredentialForWalletAccount-BlbBwou9.cjs.map +1 -0
  37. package/dist/{getVerifiedCredentialForWalletAccount-C2LbBPET.esm.js → getVerifiedCredentialForWalletAccount-DhETeEbE.esm.js} +27 -3
  38. package/dist/getVerifiedCredentialForWalletAccount-DhETeEbE.esm.js.map +1 -0
  39. package/dist/{index.cjs.js → index.cjs} +130 -70
  40. package/dist/index.cjs.map +1 -0
  41. package/dist/index.esm.js +125 -68
  42. package/dist/index.esm.js.map +1 -1
  43. package/dist/index.native.esm.js +176 -250
  44. package/dist/index.native.esm.js.map +1 -1
  45. package/dist/{isMfaRequiredForAction-BulokP-s.esm.js → isMfaRequiredForAction-BYL3bf1x.esm.js} +2 -2
  46. package/dist/{isMfaRequiredForAction-BulokP-s.esm.js.map → isMfaRequiredForAction-BYL3bf1x.esm.js.map} +1 -1
  47. package/dist/{isMfaRequiredForAction-HwI5Mu8R.native.esm.js → isMfaRequiredForAction-DF-lP3Zt.native.esm.js} +2 -2
  48. package/dist/{isMfaRequiredForAction-HwI5Mu8R.native.esm.js.map → isMfaRequiredForAction-DF-lP3Zt.native.esm.js.map} +1 -1
  49. package/dist/{isMfaRequiredForAction-DG4IaOFU.cjs.js → isMfaRequiredForAction-_6Mr0I9D.cjs} +2 -2
  50. package/dist/isMfaRequiredForAction-_6Mr0I9D.cjs.map +1 -0
  51. package/dist/modules/apiClient/createApiClient.d.ts +1 -1
  52. package/dist/modules/apiClient/createApiClient.d.ts.map +1 -1
  53. package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts +1 -1
  54. package/dist/modules/auth/social/oauth/authenticateWithSocial/authenticateWithSocial.d.ts +4 -12
  55. package/dist/modules/auth/social/oauth/authenticateWithSocial/authenticateWithSocial.d.ts.map +1 -1
  56. package/dist/modules/auth/social/oauth/completeSocialAuthentication/completeSocialAuthentication.d.ts +4 -12
  57. package/dist/modules/auth/social/oauth/completeSocialAuthentication/completeSocialAuthentication.d.ts.map +1 -1
  58. package/dist/modules/auth/social/oauth/completeSocialRedirect/completeSocialRedirect.d.ts +20 -0
  59. package/dist/modules/auth/social/oauth/completeSocialRedirect/completeSocialRedirect.d.ts.map +1 -0
  60. package/dist/modules/auth/social/oauth/completeSocialRedirect/completeSocialRedirect.types.d.ts +6 -0
  61. package/dist/modules/auth/social/oauth/completeSocialRedirect/completeSocialRedirect.types.d.ts.map +1 -0
  62. package/dist/modules/auth/social/oauth/completeSocialRedirect/index.d.ts +2 -0
  63. package/dist/modules/auth/social/oauth/completeSocialRedirect/index.d.ts.map +1 -0
  64. package/dist/modules/auth/social/oauth/detectOAuthRedirect/detectOAuthRedirect.d.ts +4 -9
  65. package/dist/modules/auth/social/oauth/detectOAuthRedirect/detectOAuthRedirect.d.ts.map +1 -1
  66. package/dist/modules/auth/social/oauth/detectSocialRedirectUrl/detectSocialRedirectUrl.d.ts +16 -0
  67. package/dist/modules/auth/social/oauth/detectSocialRedirectUrl/detectSocialRedirectUrl.d.ts.map +1 -0
  68. package/dist/modules/auth/social/oauth/detectSocialRedirectUrl/detectSocialRedirectUrl.types.d.ts +4 -0
  69. package/dist/modules/auth/social/oauth/detectSocialRedirectUrl/detectSocialRedirectUrl.types.d.ts.map +1 -0
  70. package/dist/modules/auth/social/oauth/detectSocialRedirectUrl/index.d.ts +2 -0
  71. package/dist/modules/auth/social/oauth/detectSocialRedirectUrl/index.d.ts.map +1 -0
  72. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.d.ts.map +1 -0
  73. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/addOAuthUrlParams/index.d.ts.map +1 -0
  74. package/dist/modules/auth/social/oauth/{authenticateWithSocial → signInWithSocialRedirect}/buildOAuthUrl/buildOAuthUrl.d.ts +1 -1
  75. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/buildOAuthUrl.d.ts.map +1 -0
  76. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.d.ts.map +1 -0
  77. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/getOAuthBaseUrl/index.d.ts.map +1 -0
  78. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/index.d.ts.map +1 -0
  79. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/index.d.ts +2 -0
  80. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/index.d.ts.map +1 -0
  81. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/signInWithSocialRedirect.d.ts +19 -0
  82. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/signInWithSocialRedirect.d.ts.map +1 -0
  83. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/signInWithSocialRedirect.types.d.ts +6 -0
  84. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/signInWithSocialRedirect.types.d.ts.map +1 -0
  85. package/dist/modules/sessionKeys/generateSessionKeys/generateSessionKeys.d.ts.map +1 -1
  86. package/dist/modules/waas/restoreUserSharesForAllWalletAccounts/restoreUserSharesForAllWalletAccounts.d.ts.map +1 -1
  87. package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts +2 -1
  88. package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts.map +1 -1
  89. package/dist/services/instrumentation/instrumentFunction/instrumentFunction.d.ts.map +1 -1
  90. package/dist/services/instrumentation/instrumentation.types.d.ts +2 -0
  91. package/dist/services/instrumentation/instrumentation.types.d.ts.map +1 -1
  92. package/dist/services/passkey/createPasskeyService/createPasskeyService.d.ts +11 -0
  93. package/dist/services/passkey/createPasskeyService/createPasskeyService.d.ts.map +1 -0
  94. package/dist/services/passkey/createPasskeyService/index.d.ts +2 -0
  95. package/dist/services/passkey/createPasskeyService/index.d.ts.map +1 -0
  96. package/dist/services/passkey/index.d.ts +1 -1
  97. package/dist/services/passkey/index.d.ts.map +1 -1
  98. package/dist/services/passkey/passkey.types.d.ts +4 -0
  99. package/dist/services/passkey/passkey.types.d.ts.map +1 -1
  100. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  101. package/dist/{waas.cjs.js → waas.cjs} +5 -5
  102. package/dist/waas.cjs.map +1 -0
  103. package/dist/waas.esm.js +3 -3
  104. package/dist/waas.native.esm.js +3 -3
  105. package/dist/{waasCore.cjs.js → waasCore.cjs} +5 -5
  106. package/dist/waasCore.cjs.map +1 -0
  107. package/dist/waasCore.esm.js +3 -3
  108. package/dist/waasCore.native.esm.js +3 -3
  109. package/package.json +13 -8
  110. package/dist/InvalidParamError-BxdCGMzn.esm.js.map +0 -1
  111. package/dist/InvalidParamError-C5CPZiAb.native.esm.js.map +0 -1
  112. package/dist/InvalidParamError-Dg0Tc6h7.cjs.js.map +0 -1
  113. package/dist/NotWaasWalletAccountError-w4J6uXP2.cjs.js.map +0 -1
  114. package/dist/core.cjs.js.map +0 -1
  115. package/dist/getNetworkProviderFromNetworkId-BzJ_kChE.esm.js.map +0 -1
  116. package/dist/getNetworkProviderFromNetworkId-DRAq7tIx.cjs.js.map +0 -1
  117. package/dist/getNetworkProviderFromNetworkId-DnfmH9wZ.native.esm.js.map +0 -1
  118. package/dist/getSignedSessionId-CDCWfHxY.cjs.js.map +0 -1
  119. package/dist/getVerifiedCredentialForWalletAccount-B18TOqzI.native.esm.js.map +0 -1
  120. package/dist/getVerifiedCredentialForWalletAccount-Bznazz-w.cjs.js.map +0 -1
  121. package/dist/getVerifiedCredentialForWalletAccount-C2LbBPET.esm.js.map +0 -1
  122. package/dist/index.cjs.js.map +0 -1
  123. package/dist/isMfaRequiredForAction-DG4IaOFU.cjs.js.map +0 -1
  124. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.d.ts.map +0 -1
  125. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/addOAuthUrlParams/index.d.ts.map +0 -1
  126. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/buildOAuthUrl.d.ts.map +0 -1
  127. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.d.ts.map +0 -1
  128. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/getOAuthBaseUrl/index.d.ts.map +0 -1
  129. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/index.d.ts.map +0 -1
  130. package/dist/services/passkey/createWebPasskeyService/createWebPasskeyService.d.ts +0 -7
  131. package/dist/services/passkey/createWebPasskeyService/createWebPasskeyService.d.ts.map +0 -1
  132. package/dist/services/passkey/createWebPasskeyService/index.d.ts +0 -2
  133. package/dist/services/passkey/createWebPasskeyService/index.d.ts.map +0 -1
  134. package/dist/waas.cjs.js.map +0 -1
  135. package/dist/waasCore.cjs.js.map +0 -1
  136. /package/dist/modules/auth/social/oauth/{authenticateWithSocial → signInWithSocialRedirect}/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.d.ts +0 -0
  137. /package/dist/modules/auth/social/oauth/{authenticateWithSocial → signInWithSocialRedirect}/buildOAuthUrl/addOAuthUrlParams/index.d.ts +0 -0
  138. /package/dist/modules/auth/social/oauth/{authenticateWithSocial → signInWithSocialRedirect}/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.d.ts +0 -0
  139. /package/dist/modules/auth/social/oauth/{authenticateWithSocial → signInWithSocialRedirect}/buildOAuthUrl/getOAuthBaseUrl/index.d.ts +0 -0
  140. /package/dist/modules/auth/social/oauth/{authenticateWithSocial → signInWithSocialRedirect}/buildOAuthUrl/index.d.ts +0 -0
package/dist/index.esm.js CHANGED
@@ -1,8 +1,8 @@
1
- import { A as ValueMustBeDefinedError, B as name, D as extractSessionId, E as getUserAgent, F as getDefaultClient, I as setDefaultClient, O as isCookieEnabled, P as NONCE_POOL_SIZE, R as BaseError, S as __getElevatedAccessToken_wrapped, T as DEFAULT_PII_FIELDS, V as version, _ as MfaRateLimitedError, a as DYNAMIC_ICONIC_SPRITE_URL, b as InvalidExternalAuthError, c as CHAINS_INFO_MAP, d as UnauthorizedError, g as SandboxMaximumThresholdReachedError, h as __getNonce_wrapped, j as randomString, k as assertDefined, l as fetchAndStoreNonces, o as SDK_API_CORE_VERSION, s as __getChainFromVerifiedCredentialChain_wrapped, t as InvalidParamError, u as __createApiClient_wrapped, v as MfaInvalidOtpError, w as instrumentFunction, x as APIError, y as LinkCredentialError, z as getCore } from "./InvalidParamError-BxdCGMzn.esm.js";
2
- import { A as REFRESH_USER_STATE_FROM_VALID_TOKEN_TRACKER_KEY, B as isSignedIn, D as GENERATE_SESSION_KEYS_TRACKER_KEY, E as FETCH_PROJECT_SETTINGS_TRACKER_KEY, F as __fetchProjectSettings_wrapped, H as __subscribeWithSelector_wrapped, I as __createStorageKeySchema_wrapped, L as __createStorage_wrapped, M as getBuffer, N as __logoutWithReason_wrapped, O as INITIALIZE_STORAGE_SYNC_TRACKER_KEY, P as __generateSessionKeys_wrapped, S as __createCrossTabBroadcast_wrapped, T as __createDeferredPromise_wrapped, U as isEqualShallow, V as retryOnFail, _ as WalletAlreadyLinkedToAnotherUserError, a as __updateWalletProviderKeysForVerifiedCredentials_wrapped, b as createKeychainService, c as __createSignInMessageStatement_wrapped, d as __createVisit_wrapped, f as hasExtension, g as isCaptchaRequired, h as __consumeCaptchaToken_wrapped, i as __getNetworksData_wrapped, j as isServerSideRendering, k as REFRESH_USER_STATE_FROM_COOKIE_TRACKER_KEY, l as formatSignInMessage, m as __setCaptchaToken_wrapped, o as __verifyMessageSignatureOwnership_wrapped, p as __createRealtimeChannelSchema_wrapped, s as __removeUnverifiedWalletAccount_wrapped, t as __getNetworkProviderFromNetworkId_wrapped, u as __setUnverifiedWalletAccounts_wrapped, v as NoNetworkProvidersError, w as CannotTrackError, x as __createLogger_wrapped, y as __createRealtimeService_wrapped, z as __createLocalStorageAdapter_wrapped } from "./getNetworkProviderFromNetworkId-BzJ_kChE.esm.js";
3
- import { C as normalizeAddress, D as __onEvent_wrapped, E as __offEvent_wrapped, O as __onceEvent_wrapped, S as formatWalletAccountId, a as parseElevatedAccessToken, d as checkAndRaiseWalletAccountsChangedEvent, f as emitWalletAccountsChangedEvent, i as upsertElevatedAccessToken, k as emitEvent, m as __getWalletProviderFromWalletAccount_wrapped, n as getWalletProviderByKey, o as restoreUserSharesForAllWalletAccounts, r as __updateAuthFromVerifyResponse_wrapped, t as __getVerifiedCredentialForWalletAccount_wrapped, u as __getWalletProviders_wrapped, v as NoWalletProviderFoundError, w as splitWalletProviderKey, y as __getWalletAccounts_wrapped } from "./getVerifiedCredentialForWalletAccount-C2LbBPET.esm.js";
4
- import { n as __refreshAuth_wrapped, t as NotWaasWalletAccountError } from "./NotWaasWalletAccountError-DjVbgGrH.esm.js";
5
- import { n as __getMfaMethods_wrapped, r as __consumeMfaToken_wrapped, t as isMfaRequiredForAction } from "./isMfaRequiredForAction-BulokP-s.esm.js";
1
+ import { A as extractSessionId, B as name, C as isCookieEnabled, D as instrumentFunction, E as __getElevatedAccessToken_wrapped, F as getDefaultClient, I as setDefaultClient, O as DEFAULT_PII_FIELDS, P as NONCE_POOL_SIZE, R as BaseError, T as ValueMustBeDefinedError, V as version, _ as MfaRateLimitedError, a as DYNAMIC_ICONIC_SPRITE_URL, b as InvalidExternalAuthError, c as CHAINS_INFO_MAP, d as UnauthorizedError, g as SandboxMaximumThresholdReachedError, h as __getNonce_wrapped, j as randomString, k as getUserAgent, l as fetchAndStoreNonces, o as SDK_API_CORE_VERSION, s as __getChainFromVerifiedCredentialChain_wrapped, t as InvalidParamError, u as __createApiClient_wrapped, v as MfaInvalidOtpError, w as assertDefined, x as APIError, y as LinkCredentialError, z as getCore } from "./InvalidParamError-8oTZu9Ss.esm.js";
2
+ import { A as REFRESH_USER_STATE_FROM_VALID_TOKEN_TRACKER_KEY, B as isSignedIn, D as GENERATE_SESSION_KEYS_TRACKER_KEY, E as FETCH_PROJECT_SETTINGS_TRACKER_KEY, F as __fetchProjectSettings_wrapped, H as __subscribeWithSelector_wrapped, I as __createStorageKeySchema_wrapped, L as __createStorage_wrapped, M as getBuffer, N as __logoutWithReason_wrapped, O as INITIALIZE_STORAGE_SYNC_TRACKER_KEY, P as __generateSessionKeys_wrapped, S as __createCrossTabBroadcast_wrapped, T as __createDeferredPromise_wrapped, U as isEqualShallow, V as retryOnFail, _ as WalletAlreadyLinkedToAnotherUserError, a as __updateWalletProviderKeysForVerifiedCredentials_wrapped, b as createKeychainService, c as __createSignInMessageStatement_wrapped, d as __createVisit_wrapped, f as hasExtension, g as isCaptchaRequired, h as __consumeCaptchaToken_wrapped, i as __getNetworksData_wrapped, j as isServerSideRendering, k as REFRESH_USER_STATE_FROM_COOKIE_TRACKER_KEY, l as formatSignInMessage, m as __setCaptchaToken_wrapped, o as __verifyMessageSignatureOwnership_wrapped, p as __createRealtimeChannelSchema_wrapped, s as __removeUnverifiedWalletAccount_wrapped, t as __getNetworkProviderFromNetworkId_wrapped, u as __setUnverifiedWalletAccounts_wrapped, v as NoNetworkProvidersError, w as CannotTrackError, x as __createLogger_wrapped, y as __createRealtimeService_wrapped, z as __createLocalStorageAdapter_wrapped } from "./getNetworkProviderFromNetworkId-CQ6-2hmD.esm.js";
3
+ import { A as emitEvent, C as formatWalletAccountId, D as __offEvent_wrapped, O as __onEvent_wrapped, T as splitWalletProviderKey, a as parseElevatedAccessToken, b as __getWalletAccounts_wrapped, d as isUserMissingMfaAuth, f as checkAndRaiseWalletAccountsChangedEvent, h as __getWalletProviderFromWalletAccount_wrapped, i as upsertElevatedAccessToken, k as __onceEvent_wrapped, n as getWalletProviderByKey, o as restoreUserSharesForAllWalletAccounts, p as emitWalletAccountsChangedEvent, r as __updateAuthFromVerifyResponse_wrapped, t as __getVerifiedCredentialForWalletAccount_wrapped, u as __getWalletProviders_wrapped, w as normalizeAddress, y as NoWalletProviderFoundError } from "./getVerifiedCredentialForWalletAccount-DhETeEbE.esm.js";
4
+ import { n as __refreshAuth_wrapped, t as NotWaasWalletAccountError } from "./NotWaasWalletAccountError-BXYbDiS5.esm.js";
5
+ import { n as __getMfaMethods_wrapped, r as __consumeMfaToken_wrapped, t as isMfaRequiredForAction } from "./isMfaRequiredForAction-BYL3bf1x.esm.js";
6
6
  import { assertPackageVersion } from "@dynamic-labs-sdk/assert-package-version";
7
7
  import { AuthModeEnum, ExchangeKeyEnum, JwtVerifiedCredentialFormatEnum, MFAAction, MfaBackupCodeAcknowledgement, ProviderEnum, TokenScope, WaasBackupOptionsEnum, WalletProviderEnum } from "@dynamic-labs/sdk-api-core";
8
8
  import * as z from "zod/mini";
@@ -620,7 +620,7 @@ const createWebFetch = () => {
620
620
  * Only error-level log entries are forwarded.
621
621
  * @not-instrumented
622
622
  */
623
- const connectLoggerToInstrumentation = ({ environmentId, instrumentation, logger, sdkSessionId, sdkVersion, state }) => {
623
+ const connectLoggerToInstrumentation = ({ environmentId, extensions, instrumentation, logger, sdkSessionId, sdkVersion, state }) => {
624
624
  logger.on("log", (level, message, ...args) => {
625
625
  if (level !== "error") return;
626
626
  const { token, user } = state.get();
@@ -630,6 +630,7 @@ const connectLoggerToInstrumentation = ({ environmentId, instrumentation, logger
630
630
  args,
631
631
  message
632
632
  },
633
+ registeredExtensionKeys: Array.from(extensions),
633
634
  sdkSessionId,
634
635
  sdkVersion,
635
636
  status: "error",
@@ -761,7 +762,7 @@ const createWebDeeplinkOpener = () => {
761
762
  };
762
763
 
763
764
  //#endregion
764
- //#region src/services/passkey/createWebPasskeyService/createWebPasskeyService.ts
765
+ //#region src/services/passkey/createPasskeyService/createPasskeyService.ts
765
766
  /**
766
767
  * Because this is the web implementation of the passkey service, we need to
767
768
  * import the browser's WebAuthn API directly.
@@ -769,9 +770,13 @@ const createWebDeeplinkOpener = () => {
769
770
  */
770
771
  /**
771
772
  * Create a passkey service that uses the browser's WebAuthn API.
773
+ *
774
+ * Metadata is accepted for parity with the native implementation (which uses
775
+ * `universalLink` to validate the associated domain) but is unused on web —
776
+ * the browser derives the relying party from `window.location.origin`.
772
777
  * @not-instrumented
773
778
  */
774
- const createWebPasskeyService = () => ({
779
+ const createPasskeyService = (_params) => ({
775
780
  authenticate: (options) => startAuthentication(options),
776
781
  isSupported: () => browserSupportsWebAuthn(),
777
782
  register: (options) => startRegistration(options)
@@ -949,8 +954,10 @@ const createCore = (config) => {
949
954
  const initTrack = createAsyncTrack();
950
955
  const sdkSessionId = randomString({ length: 32 });
951
956
  const instrumentation = createInstrumentation({ config: config.instrumentation });
957
+ const extensions = /* @__PURE__ */ new Set();
952
958
  connectLoggerToInstrumentation({
953
959
  environmentId: config.environmentId,
960
+ extensions,
954
961
  instrumentation,
955
962
  logger,
956
963
  sdkSessionId,
@@ -962,7 +969,11 @@ const createCore = (config) => {
962
969
  fetch
963
970
  }));
964
971
  const runtimeServices = createRuntimeServices();
965
- const passkey = config.coreConfig?.passkey ?? createWebPasskeyService();
972
+ const metadata = {
973
+ ...config.metadata,
974
+ universalLink: config.metadata?.universalLink ?? (isServerSideRendering() ? void 0 : window.location.origin)
975
+ };
976
+ const passkey = config.coreConfig?.passkey ?? createPasskeyService({ metadata });
966
977
  const realtime = config.coreConfig?.realtime ?? __createRealtimeService_wrapped();
967
978
  const deviceSigner = config.coreConfig?.deviceSigner;
968
979
  const keychain = config.coreConfig?.keychain ?? createKeychainService({ dbName: `dynamic_${config.environmentId}_keychain` });
@@ -973,17 +984,14 @@ const createCore = (config) => {
973
984
  deviceSigner,
974
985
  environmentId: config.environmentId,
975
986
  eventEmitter,
976
- extensions: /* @__PURE__ */ new Set(),
987
+ extensions,
977
988
  fetch,
978
989
  getApiHeaders: config.coreConfig?.getApiHeaders ?? (() => ({})),
979
990
  initTrack,
980
991
  instrumentation,
981
992
  keychain,
982
993
  logger,
983
- metadata: {
984
- ...config.metadata,
985
- universalLink: config.metadata?.universalLink ?? (isServerSideRendering() ? void 0 : window.location.origin)
986
- },
994
+ metadata,
987
995
  navigate,
988
996
  openDeeplink,
989
997
  passkey,
@@ -1864,7 +1872,7 @@ const encodeBase64Url = (str) => {
1864
1872
  };
1865
1873
 
1866
1874
  //#endregion
1867
- //#region src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.ts
1875
+ //#region src/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.ts
1868
1876
  const APPLE_RESPONSE_MODE = "form_post";
1869
1877
  const APPLE_RESPONSE_TYPE = "code id_token";
1870
1878
  /** Helper function to add OAuth URL parameters to a given base URL. * @not-instrumented
@@ -1894,7 +1902,7 @@ const addOAuthUrlParams = ({ baseUrl, isGoogleDriveBackupEnabled, provider }) =>
1894
1902
  };
1895
1903
 
1896
1904
  //#endregion
1897
- //#region src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.ts
1905
+ //#region src/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.ts
1898
1906
  /** Helper function to build the OAuth base URL for a given provider. * @not-instrumented
1899
1907
  */
1900
1908
  const getOAuthBaseUrl = (provider) => {
@@ -1914,7 +1922,7 @@ const getOAuthBaseUrl = (provider) => {
1914
1922
  };
1915
1923
 
1916
1924
  //#endregion
1917
- //#region src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/buildOAuthUrl.ts
1925
+ //#region src/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/buildOAuthUrl.ts
1918
1926
  const providersRequiringPkce = ["twitter", "github"];
1919
1927
  /** Helper function to build the OAuth URL for a given provider. * @not-instrumented
1920
1928
  */
@@ -1948,22 +1956,23 @@ const buildOAuthUrl = async (core, provider) => {
1948
1956
  };
1949
1957
 
1950
1958
  //#endregion
1951
- //#region src/modules/auth/social/oauth/authenticateWithSocial/authenticateWithSocial.ts
1959
+ //#region src/modules/auth/social/oauth/signInWithSocialRedirect/signInWithSocialRedirect.ts
1952
1960
  /**
1953
1961
  * Initiates social authentication by redirecting to the OAuth provider.
1954
1962
  *
1955
1963
  * This function redirects the user to the specified social provider's
1956
- * authorization page to complete OAuth authentication flow.
1957
- * After the oauth flow is complete, the user will be redirected back to your app.
1958
- * You can then call `detectOAuthRedirect` to check if the user got redirected back to your app due to the oauth flow,
1959
- * and finally call `completeSocialAuthentication` to complete the social authentication flow.
1964
+ * authorization page to complete the OAuth authentication flow.
1965
+ * After the flow is complete, the user is redirected back to your app.
1966
+ * Call `detectSocialRedirectUrl` to check whether the user was redirected
1967
+ * back because of this flow, then call `completeSocialRedirect` to finish
1968
+ * the social authentication.
1960
1969
  *
1961
1970
  * @param params.provider - The social provider to authenticate with (e.g., 'google', 'github').
1962
1971
  * @param params.redirectUrl - The URL to redirect back to after authentication.
1963
1972
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1964
1973
  * @instrumented
1965
1974
  */
1966
- const authenticateWithSocial = async ({ provider, redirectUrl }, client = getDefaultClient()) => {
1975
+ const signInWithSocialRedirect = async ({ provider, redirectUrl }, client = getDefaultClient()) => {
1967
1976
  const core = getCore(client);
1968
1977
  const apiClient = __createApiClient_wrapped({}, client);
1969
1978
  await core.initTrack.waitForAll();
@@ -1984,10 +1993,10 @@ const authenticateWithSocial = async ({ provider, redirectUrl }, client = getDef
1984
1993
  });
1985
1994
  await core.navigate(url.toString());
1986
1995
  };
1987
- const __authenticateWithSocial_impl = authenticateWithSocial;
1988
- const __authenticateWithSocial_wrapped = instrumentFunction({
1989
- fn: __authenticateWithSocial_impl,
1990
- functionName: "authenticateWithSocial",
1996
+ const __signInWithSocialRedirect_impl = signInWithSocialRedirect;
1997
+ const __signInWithSocialRedirect_wrapped = instrumentFunction({
1998
+ fn: __signInWithSocialRedirect_impl,
1999
+ functionName: "signInWithSocialRedirect",
1991
2000
  getCore: () => {
1992
2001
  try {
1993
2002
  return getCore(getDefaultClient());
@@ -1998,12 +2007,48 @@ const __authenticateWithSocial_wrapped = instrumentFunction({
1998
2007
  });
1999
2008
 
2000
2009
  //#endregion
2001
- //#region src/modules/auth/social/oauth/completeSocialAuthentication/completeSocialAuthentication.ts
2010
+ //#region src/modules/auth/social/oauth/detectSocialRedirectUrl/detectSocialRedirectUrl.ts
2002
2011
  /**
2003
- * Completes the social authentication flow after OAuth redirect.
2012
+ * Detects whether the given URL is an OAuth redirect from a social provider.
2004
2013
  *
2005
- * This function processes the OAuth callback URL with authorization codes
2006
- * and completes the user authentication with the social provider.
2014
+ * Examines the URL parameters to determine whether it carries OAuth callback
2015
+ * data that originated from a social authentication flow started by
2016
+ * `signInWithSocialRedirect`.
2017
+ *
2018
+ * @param params.url - The URL to check for OAuth redirect parameters.
2019
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2020
+ * @returns A promise that resolves to true if the URL is an OAuth redirect, false otherwise.
2021
+ * @instrumented
2022
+ */
2023
+ const detectSocialRedirectUrl = async ({ url }, client = getDefaultClient()) => {
2024
+ const core = getCore(client);
2025
+ const dynamicOauthState = url.searchParams.get("dynamicOauthState");
2026
+ const dynamicOauthCode = url.searchParams.get("dynamicOauthCode");
2027
+ if (!dynamicOauthState || !dynamicOauthCode) return false;
2028
+ await core.initTrack.waitForAll();
2029
+ return (await core.storage.getItem(redirectStateStorageKeySchema))?.state === dynamicOauthState;
2030
+ };
2031
+ const __detectSocialRedirectUrl_impl = detectSocialRedirectUrl;
2032
+ const __detectSocialRedirectUrl_wrapped = instrumentFunction({
2033
+ fn: __detectSocialRedirectUrl_impl,
2034
+ functionName: "detectSocialRedirectUrl",
2035
+ getCore: () => {
2036
+ try {
2037
+ return getCore(getDefaultClient());
2038
+ } catch {
2039
+ return;
2040
+ }
2041
+ }
2042
+ });
2043
+
2044
+ //#endregion
2045
+ //#region src/modules/auth/social/oauth/completeSocialRedirect/completeSocialRedirect.ts
2046
+ /**
2047
+ * Completes the social authentication flow after the OAuth redirect.
2048
+ *
2049
+ * Processes the OAuth callback URL with the authorization code and finishes
2050
+ * authenticating (or linking) the user with the social provider. This is the
2051
+ * final step after `signInWithSocialRedirect` + `detectSocialRedirectUrl`.
2007
2052
  *
2008
2053
  * @param params.url - The callback URL containing OAuth response parameters.
2009
2054
  * @param [params.requestedScopes] - Optional scopes to request an elevated access token when verifying (linking) a social account.
@@ -2013,7 +2058,7 @@ const __authenticateWithSocial_wrapped = instrumentFunction({
2013
2058
  * @throws InvalidRedirectStorageStateError If the stored state doesn't match.
2014
2059
  * @instrumented
2015
2060
  */
2016
- const completeSocialAuthentication = async ({ url, requestedScopes }, client = getDefaultClient()) => {
2061
+ const completeSocialRedirect = async ({ url, requestedScopes }, client = getDefaultClient()) => {
2017
2062
  const core = getCore(client);
2018
2063
  const apiClient = __createApiClient_wrapped({}, client);
2019
2064
  await core.initTrack.waitForAll();
@@ -2050,6 +2095,50 @@ const completeSocialAuthentication = async ({ url, requestedScopes }, client = g
2050
2095
  __updateAuthFromVerifyResponse_wrapped({ response }, client);
2051
2096
  return response.user;
2052
2097
  };
2098
+ const __completeSocialRedirect_impl = completeSocialRedirect;
2099
+ const __completeSocialRedirect_wrapped = instrumentFunction({
2100
+ fn: __completeSocialRedirect_impl,
2101
+ functionName: "completeSocialRedirect",
2102
+ getCore: () => {
2103
+ try {
2104
+ return getCore(getDefaultClient());
2105
+ } catch {
2106
+ return;
2107
+ }
2108
+ }
2109
+ });
2110
+
2111
+ //#endregion
2112
+ //#region src/modules/auth/social/oauth/authenticateWithSocial/authenticateWithSocial.ts
2113
+ /**
2114
+ * @deprecated Renamed to {@link signInWithSocialRedirect}. This alias will be
2115
+ * removed in a future major version.
2116
+ *
2117
+ * @instrumented
2118
+ */
2119
+ const authenticateWithSocial = (params, client = getDefaultClient()) => __signInWithSocialRedirect_wrapped(params, client);
2120
+ const __authenticateWithSocial_impl = authenticateWithSocial;
2121
+ const __authenticateWithSocial_wrapped = instrumentFunction({
2122
+ fn: __authenticateWithSocial_impl,
2123
+ functionName: "authenticateWithSocial",
2124
+ getCore: () => {
2125
+ try {
2126
+ return getCore(getDefaultClient());
2127
+ } catch {
2128
+ return;
2129
+ }
2130
+ }
2131
+ });
2132
+
2133
+ //#endregion
2134
+ //#region src/modules/auth/social/oauth/completeSocialAuthentication/completeSocialAuthentication.ts
2135
+ /**
2136
+ * @deprecated Renamed to {@link completeSocialRedirect}. This alias will be
2137
+ * removed in a future major version.
2138
+ *
2139
+ * @instrumented
2140
+ */
2141
+ const completeSocialAuthentication = (params, client = getDefaultClient()) => __completeSocialRedirect_wrapped(params, client);
2053
2142
  const __completeSocialAuthentication_impl = completeSocialAuthentication;
2054
2143
  const __completeSocialAuthentication_wrapped = instrumentFunction({
2055
2144
  fn: __completeSocialAuthentication_impl,
@@ -2066,26 +2155,12 @@ const __completeSocialAuthentication_wrapped = instrumentFunction({
2066
2155
  //#endregion
2067
2156
  //#region src/modules/auth/social/oauth/detectOAuthRedirect/detectOAuthRedirect.ts
2068
2157
  /**
2069
- * Detects if the current URL is an OAuth redirect from a social provider.
2158
+ * @deprecated Renamed to {@link detectSocialRedirectUrl}. This alias will be
2159
+ * removed in a future major version.
2070
2160
  *
2071
- * This function examines the URL parameters to determine if it contains
2072
- * OAuth callback data from a social authentication flow.
2073
- *
2074
- * @param params.url - The URL to check for OAuth redirect parameters.
2075
- * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2076
- * @returns A promise that resolves to true if the URL is an OAuth redirect, false otherwise.
2077
2161
  * @instrumented
2078
2162
  */
2079
- const detectOAuthRedirect = async ({ url }, client = getDefaultClient()) => {
2080
- const core = getCore(client);
2081
- const dynamicOauthState = url.searchParams.get("dynamicOauthState");
2082
- const dynamicOauthCode = url.searchParams.get("dynamicOauthCode");
2083
- if (!dynamicOauthState || !dynamicOauthCode) return false;
2084
- await core.initTrack.waitForAll();
2085
- const storedSocialRedirectState = await core.storage.getItem(redirectStateStorageKeySchema);
2086
- if (!storedSocialRedirectState || storedSocialRedirectState.state !== dynamicOauthState) return false;
2087
- return true;
2088
- };
2163
+ const detectOAuthRedirect = (params, client = getDefaultClient()) => __detectSocialRedirectUrl_wrapped(params, client);
2089
2164
  const __detectOAuthRedirect_impl = detectOAuthRedirect;
2090
2165
  const __detectOAuthRedirect_wrapped = instrumentFunction({
2091
2166
  fn: __detectOAuthRedirect_impl,
@@ -4238,24 +4313,6 @@ const isPendingRecoveryCodesAcknowledgment = (client = getDefaultClient()) => {
4238
4313
  return user.mfaBackupCodeAcknowledgement === MfaBackupCodeAcknowledgement.Pending;
4239
4314
  };
4240
4315
 
4241
- //#endregion
4242
- //#region src/modules/mfa/isUserMissingMfaAuth/isUserMissingMfaAuth.ts
4243
- /**
4244
- * Checks if the user requires additional MFA authentication.
4245
- *
4246
- * This function determines if the current user session requires
4247
- * additional multi-factor authentication to access certain features.
4248
- *
4249
- * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4250
- * @returns True if the user needs additional MFA authentication, false otherwise.
4251
- * @not-instrumented
4252
- */
4253
- const isUserMissingMfaAuth = (client = getDefaultClient()) => {
4254
- const user = client.user;
4255
- assertDefined(user, "User not logged in");
4256
- return Boolean(user.scope?.includes("requiresAdditionalAuth"));
4257
- };
4258
-
4259
4316
  //#endregion
4260
4317
  //#region src/modules/mfa/registerTotpMfaDevice/registerTotpMfaDevice.ts
4261
4318
  /**
@@ -6759,5 +6816,5 @@ const parseUserAgent = ({ userAgent }) => {
6759
6816
  assertPackageVersion(name, version);
6760
6817
 
6761
6818
  //#endregion
6762
- export { BaseError, CheckoutSessionTokenMissingError, ClientAlreadyInitializedError, DeeplinkConnectAndVerifyUnsupportedError, FeeEstimationFailedError, InvalidDeviceRegistrationRedirectError, InvalidExternalAuthError, InvalidParamError, InvalidRedirectStorageStateError, LinkCredentialError, MFAAction, MfaInvalidOtpError, MfaRateLimitedError, MissingRedirectStorageStateError, MissingSocialUrlParamError, MissingUserVerificationError, NetworkAddingUnavailableError, NetworkNotAddedError, NetworkSwitchingUnavailableError, NoAddressFoundError, NoNetworkProvidersError, NoPasskeyCredentialsFoundError, NoSmartWalletAccountSignerFoundError, NoWebAuthNSupportError, NotWaasWalletAccountError, SandboxMaximumThresholdReachedError, SimulationFailedError, TokenSwapError, UnauthorizedError, UnavailableInServerSideError, UnrecognizedNetworkError, UserNotAuthenticatedError, UserRejectedError, WalletAccountAlreadyVerifiedError, WalletAccountNotSelectedError, WalletAlreadyLinkedToAnotherUserError, WalletProviderMethodUnavailableError, __acknowledgeRecoveryCodes_wrapped as acknowledgeRecoveryCodes, __addCoinbaseOnrampOrderEventListener_wrapped as addCoinbaseOnrampOrderEventListener, __addNetwork_wrapped as addNetwork, assertWalletAccountSigningAvailability, assertWalletProviderMethodDefined, __attachCheckoutTransactionSource_wrapped as attachCheckoutTransactionSource, authenticateMfaRecoveryCode, authenticatePasskeyMFA, authenticateTotpMfaDevice, __authenticateWithSocial_wrapped as authenticateWithSocial, __broadcastCheckoutTransaction_wrapped as broadcastCheckoutTransaction, canConnectWithHardwareWallet, __cancelCheckoutTransaction_wrapped as cancelCheckoutTransaction, __checkStepUpAuth_wrapped as checkStepUpAuth, __completeDeviceRegistration_wrapped as completeDeviceRegistration, __completeSocialAuthentication_wrapped as completeSocialAuthentication, __confirmTransaction_wrapped as confirmTransaction, __connectAndVerifyWithWalletProvider_wrapped as connectAndVerifyWithWalletProvider, __connectWithWalletProvider_wrapped as connectWithWalletProvider, __consumeMfaToken_wrapped as consumeMfaToken, __createCheckoutTransaction_wrapped as createCheckoutTransaction, __createCoinbaseOnrampOrder_wrapped as createCoinbaseOnrampOrder, __createCryptoDotComPayment_wrapped as createCryptoDotComPayment, __createDynamicClient_wrapped as createDynamicClient, __createKrakenExchangeTransfer_wrapped as createKrakenExchangeTransfer, __createNewMfaRecoveryCodes_wrapped as createNewMfaRecoveryCodes, __deleteMfaDevice_wrapped as deleteMfaDevice, __deletePasskey_wrapped as deletePasskey, __deleteUser_wrapped as deleteUser, __detectDeviceRegistrationRedirect_wrapped as detectDeviceRegistrationRedirect, __detectOAuthRedirect_wrapped as detectOAuthRedirect, __executeSwapTransaction_wrapped as executeSwapTransaction, __fetchProjectSettings_wrapped as fetchProjectSettings, __getActiveNetworkData_wrapped as getActiveNetworkData, __getActiveNetworkId_wrapped as getActiveNetworkId, __getAvailableWalletProvidersData_wrapped as getAvailableWalletProvidersData, __getBalance_wrapped as getBalance, __getBalanceForAddress_wrapped as getBalanceForAddress, __getBalances_wrapped as getBalances, __getCheckoutTransaction_wrapped as getCheckoutTransaction, __getCheckoutTransactionQuote_wrapped as getCheckoutTransactionQuote, __getCoinbaseBuyUrl_wrapped as getCoinbaseBuyUrl, __getConnectedAddresses_wrapped as getConnectedAddresses, getDefaultClient, __getDeviceRegistrationTokenFromUrl_wrapped as getDeviceRegistrationTokenFromUrl, __getElevatedAccessToken_wrapped as getElevatedAccessToken, __getKrakenAccounts_wrapped as getKrakenAccounts, __getKrakenWhitelistedAddresses_wrapped as getKrakenWhitelistedAddresses, __getMfaDevices_wrapped as getMfaDevices, __getMfaMethods_wrapped as getMfaMethods, __getMfaRecoveryCodes_wrapped as getMfaRecoveryCodes, __getMissingVerificationForCoinbaseOnrampOrder_wrapped as getMissingVerificationForCoinbaseOnrampOrder, __getMultichainBalances_wrapped as getMultichainBalances, __getNetworksData_wrapped as getNetworksData, __getOwnerWalletAccountForSmartWalletAccount_wrapped as getOwnerWalletAccountForSmartWalletAccount, __getPasskeys_wrapped as getPasskeys, __getPrimaryWalletAccount_wrapped as getPrimaryWalletAccount, __getRegisteredDevices_wrapped as getRegisteredDevices, __getSwapQuote_wrapped as getSwapQuote, __getSwapStatus_wrapped as getSwapStatus, __getTransactionHistory_wrapped as getTransactionHistory, __getUserSocialAccounts_wrapped as getUserSocialAccounts, getWalletAccountAddressByType, getWalletAccountFromAddress, __getWalletAccounts_wrapped as getWalletAccounts, __getWalletConnectCatalog_wrapped as getWalletConnectCatalog, __getWalletConnectCatalogWalletByWalletProviderKey_wrapped as getWalletConnectCatalogWalletByWalletProviderKey, getWalletProviderDataByKey, hasExtension, __initializeClient_wrapped as initializeClient, isCaptchaRequired, isDeeplinkWalletProvider, isDeviceRegistrationRequired, isHardwareWalletAccount, isMfaRequiredForAction, isMobile, isPendingRecoveryCodesAcknowledgment, isProgrammaticNetworkSwitchAvailable, isSignedIn, isUserMissingMfaAuth, isUserOnboardingComplete, isWalletAccountVerified, logout, __offEvent_wrapped as offEvent, __offWalletProviderEvent_wrapped as offWalletProviderEvent, __onEvent_wrapped as onEvent, __onWalletProviderEvent_wrapped as onWalletProviderEvent, __onceEvent_wrapped as onceEvent, parseUserAgent, __prepareCheckoutTransaction_wrapped as prepareCheckoutTransaction, __proveWalletAccountOwnership_wrapped as proveWalletAccountOwnership, __refreshAuth_wrapped as refreshAuth, __refreshUser_wrapped as refreshUser, __registerPasskey_wrapped as registerPasskey, __registerTotpMfaDevice_wrapped as registerTotpMfaDevice, __removeWalletAccount_wrapped as removeWalletAccount, __requestExternalAuthElevatedToken_wrapped as requestExternalAuthElevatedToken, __requiresConversion_wrapped as requiresConversion, __revokeAllRegisteredDevices_wrapped as revokeAllRegisteredDevices, __revokeRegisteredDevice_wrapped as revokeRegisteredDevice, __selectPrimaryWalletAccount_wrapped as selectPrimaryWalletAccount, __sendEmailOTP_wrapped as sendEmailOTP, __sendSmsOTP_wrapped as sendSmsOTP, __setCaptchaToken_wrapped as setCaptchaToken, __setDefaultMfaDevice_wrapped as setDefaultMfaDevice, __setInstrumentationEnabled_wrapped as setInstrumentationEnabled, __signInWithExternalJwt_wrapped as signInWithExternalJwt, __signInWithPasskey_wrapped as signInWithPasskey, __signMessage_wrapped as signMessage, __submitCheckoutTransaction_wrapped as submitCheckoutTransaction, supportedCountries, __switchActiveNetwork_wrapped as switchActiveNetwork, __trackCheckoutTransaction_wrapped as trackCheckoutTransaction, __transferAmount_wrapped as transferAmount, __transferWalletAccount_wrapped as transferWalletAccount, __unlinkSocialAccount_wrapped as unlinkSocialAccount, __updateUser_wrapped as updateUser, __verifyOTP_wrapped as verifyOTP, __verifyWalletAccount_wrapped as verifyWalletAccount, __waitForClientInitialized_wrapped as waitForClientInitialized };
6819
+ export { BaseError, CheckoutSessionTokenMissingError, ClientAlreadyInitializedError, DeeplinkConnectAndVerifyUnsupportedError, FeeEstimationFailedError, InvalidDeviceRegistrationRedirectError, InvalidExternalAuthError, InvalidParamError, InvalidRedirectStorageStateError, LinkCredentialError, MFAAction, MfaInvalidOtpError, MfaRateLimitedError, MissingRedirectStorageStateError, MissingSocialUrlParamError, MissingUserVerificationError, NetworkAddingUnavailableError, NetworkNotAddedError, NetworkSwitchingUnavailableError, NoAddressFoundError, NoNetworkProvidersError, NoPasskeyCredentialsFoundError, NoSmartWalletAccountSignerFoundError, NoWebAuthNSupportError, NotWaasWalletAccountError, SandboxMaximumThresholdReachedError, SimulationFailedError, TokenSwapError, UnauthorizedError, UnavailableInServerSideError, UnrecognizedNetworkError, UserNotAuthenticatedError, UserRejectedError, WalletAccountAlreadyVerifiedError, WalletAccountNotSelectedError, WalletAlreadyLinkedToAnotherUserError, WalletProviderMethodUnavailableError, __acknowledgeRecoveryCodes_wrapped as acknowledgeRecoveryCodes, __addCoinbaseOnrampOrderEventListener_wrapped as addCoinbaseOnrampOrderEventListener, __addNetwork_wrapped as addNetwork, assertWalletAccountSigningAvailability, assertWalletProviderMethodDefined, __attachCheckoutTransactionSource_wrapped as attachCheckoutTransactionSource, authenticateMfaRecoveryCode, authenticatePasskeyMFA, authenticateTotpMfaDevice, __authenticateWithSocial_wrapped as authenticateWithSocial, __broadcastCheckoutTransaction_wrapped as broadcastCheckoutTransaction, canConnectWithHardwareWallet, __cancelCheckoutTransaction_wrapped as cancelCheckoutTransaction, __checkStepUpAuth_wrapped as checkStepUpAuth, __completeDeviceRegistration_wrapped as completeDeviceRegistration, __completeSocialAuthentication_wrapped as completeSocialAuthentication, __completeSocialRedirect_wrapped as completeSocialRedirect, __confirmTransaction_wrapped as confirmTransaction, __connectAndVerifyWithWalletProvider_wrapped as connectAndVerifyWithWalletProvider, __connectWithWalletProvider_wrapped as connectWithWalletProvider, __consumeMfaToken_wrapped as consumeMfaToken, __createCheckoutTransaction_wrapped as createCheckoutTransaction, __createCoinbaseOnrampOrder_wrapped as createCoinbaseOnrampOrder, __createCryptoDotComPayment_wrapped as createCryptoDotComPayment, __createDynamicClient_wrapped as createDynamicClient, __createKrakenExchangeTransfer_wrapped as createKrakenExchangeTransfer, __createNewMfaRecoveryCodes_wrapped as createNewMfaRecoveryCodes, __deleteMfaDevice_wrapped as deleteMfaDevice, __deletePasskey_wrapped as deletePasskey, __deleteUser_wrapped as deleteUser, __detectDeviceRegistrationRedirect_wrapped as detectDeviceRegistrationRedirect, __detectOAuthRedirect_wrapped as detectOAuthRedirect, __detectSocialRedirectUrl_wrapped as detectSocialRedirectUrl, __executeSwapTransaction_wrapped as executeSwapTransaction, __fetchProjectSettings_wrapped as fetchProjectSettings, __getActiveNetworkData_wrapped as getActiveNetworkData, __getActiveNetworkId_wrapped as getActiveNetworkId, __getAvailableWalletProvidersData_wrapped as getAvailableWalletProvidersData, __getBalance_wrapped as getBalance, __getBalanceForAddress_wrapped as getBalanceForAddress, __getBalances_wrapped as getBalances, __getCheckoutTransaction_wrapped as getCheckoutTransaction, __getCheckoutTransactionQuote_wrapped as getCheckoutTransactionQuote, __getCoinbaseBuyUrl_wrapped as getCoinbaseBuyUrl, __getConnectedAddresses_wrapped as getConnectedAddresses, getDefaultClient, __getDeviceRegistrationTokenFromUrl_wrapped as getDeviceRegistrationTokenFromUrl, __getElevatedAccessToken_wrapped as getElevatedAccessToken, __getKrakenAccounts_wrapped as getKrakenAccounts, __getKrakenWhitelistedAddresses_wrapped as getKrakenWhitelistedAddresses, __getMfaDevices_wrapped as getMfaDevices, __getMfaMethods_wrapped as getMfaMethods, __getMfaRecoveryCodes_wrapped as getMfaRecoveryCodes, __getMissingVerificationForCoinbaseOnrampOrder_wrapped as getMissingVerificationForCoinbaseOnrampOrder, __getMultichainBalances_wrapped as getMultichainBalances, __getNetworksData_wrapped as getNetworksData, __getOwnerWalletAccountForSmartWalletAccount_wrapped as getOwnerWalletAccountForSmartWalletAccount, __getPasskeys_wrapped as getPasskeys, __getPrimaryWalletAccount_wrapped as getPrimaryWalletAccount, __getRegisteredDevices_wrapped as getRegisteredDevices, __getSwapQuote_wrapped as getSwapQuote, __getSwapStatus_wrapped as getSwapStatus, __getTransactionHistory_wrapped as getTransactionHistory, __getUserSocialAccounts_wrapped as getUserSocialAccounts, getWalletAccountAddressByType, getWalletAccountFromAddress, __getWalletAccounts_wrapped as getWalletAccounts, __getWalletConnectCatalog_wrapped as getWalletConnectCatalog, __getWalletConnectCatalogWalletByWalletProviderKey_wrapped as getWalletConnectCatalogWalletByWalletProviderKey, getWalletProviderDataByKey, hasExtension, __initializeClient_wrapped as initializeClient, isCaptchaRequired, isDeeplinkWalletProvider, isDeviceRegistrationRequired, isHardwareWalletAccount, isMfaRequiredForAction, isMobile, isPendingRecoveryCodesAcknowledgment, isProgrammaticNetworkSwitchAvailable, isSignedIn, isUserMissingMfaAuth, isUserOnboardingComplete, isWalletAccountVerified, logout, __offEvent_wrapped as offEvent, __offWalletProviderEvent_wrapped as offWalletProviderEvent, __onEvent_wrapped as onEvent, __onWalletProviderEvent_wrapped as onWalletProviderEvent, __onceEvent_wrapped as onceEvent, parseUserAgent, __prepareCheckoutTransaction_wrapped as prepareCheckoutTransaction, __proveWalletAccountOwnership_wrapped as proveWalletAccountOwnership, __refreshAuth_wrapped as refreshAuth, __refreshUser_wrapped as refreshUser, __registerPasskey_wrapped as registerPasskey, __registerTotpMfaDevice_wrapped as registerTotpMfaDevice, __removeWalletAccount_wrapped as removeWalletAccount, __requestExternalAuthElevatedToken_wrapped as requestExternalAuthElevatedToken, __requiresConversion_wrapped as requiresConversion, __revokeAllRegisteredDevices_wrapped as revokeAllRegisteredDevices, __revokeRegisteredDevice_wrapped as revokeRegisteredDevice, __selectPrimaryWalletAccount_wrapped as selectPrimaryWalletAccount, __sendEmailOTP_wrapped as sendEmailOTP, __sendSmsOTP_wrapped as sendSmsOTP, __setCaptchaToken_wrapped as setCaptchaToken, __setDefaultMfaDevice_wrapped as setDefaultMfaDevice, __setInstrumentationEnabled_wrapped as setInstrumentationEnabled, __signInWithExternalJwt_wrapped as signInWithExternalJwt, __signInWithPasskey_wrapped as signInWithPasskey, __signInWithSocialRedirect_wrapped as signInWithSocialRedirect, __signMessage_wrapped as signMessage, __submitCheckoutTransaction_wrapped as submitCheckoutTransaction, supportedCountries, __switchActiveNetwork_wrapped as switchActiveNetwork, __trackCheckoutTransaction_wrapped as trackCheckoutTransaction, __transferAmount_wrapped as transferAmount, __transferWalletAccount_wrapped as transferWalletAccount, __unlinkSocialAccount_wrapped as unlinkSocialAccount, __updateUser_wrapped as updateUser, __verifyOTP_wrapped as verifyOTP, __verifyWalletAccount_wrapped as verifyWalletAccount, __waitForClientInitialized_wrapped as waitForClientInitialized };
6763
6820
  //# sourceMappingURL=index.esm.js.map