@dynamic-labs-sdk/client 1.12.1 → 1.13.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 (538) hide show
  1. package/dist/{InvalidParamError-I6NfUdQL.esm.js → InvalidParamError-BeCPhfVz.esm.js} +79 -49
  2. package/dist/InvalidParamError-BeCPhfVz.esm.js.map +1 -0
  3. package/dist/{InvalidParamError-d0WFn5Ai.cjs → InvalidParamError-C7c-OLz1.cjs} +85 -49
  4. package/dist/InvalidParamError-C7c-OLz1.cjs.map +1 -0
  5. package/dist/{InvalidParamError-CKUis748.native.esm.js → InvalidParamError-CGiSxym5.native.esm.js} +54 -36
  6. package/dist/InvalidParamError-CGiSxym5.native.esm.js.map +1 -0
  7. package/dist/client/core/createCore/createCore.d.ts +1 -1
  8. package/dist/client/core/createCore/getInitialState.d.ts +1 -1
  9. package/dist/client/core/getCore/getCore.d.ts +1 -1
  10. package/dist/client/core/getCore/getCore.d.ts.map +1 -1
  11. package/dist/client/defaultClient/defaultClient.d.ts +2 -2
  12. package/dist/client/defaultClient/defaultClient.d.ts.map +1 -1
  13. package/dist/core.cjs +23 -23
  14. package/dist/core.cjs.map +1 -1
  15. package/dist/core.esm.js +23 -23
  16. package/dist/core.esm.js.map +1 -1
  17. package/dist/core.native.esm.js +25 -25
  18. package/dist/core.native.esm.js.map +1 -1
  19. package/dist/errors/WaasOnboardingIncompleteError.d.ts +18 -0
  20. package/dist/errors/WaasOnboardingIncompleteError.d.ts.map +1 -0
  21. package/dist/exports/index.d.ts +1 -0
  22. package/dist/exports/index.d.ts.map +1 -1
  23. package/dist/{getNetworkProviderFromNetworkId-DpiVLfs_.native.esm.js → getNetworkProviderFromNetworkId-Be_UK4_7.native.esm.js} +54 -54
  24. package/dist/getNetworkProviderFromNetworkId-Be_UK4_7.native.esm.js.map +1 -0
  25. package/dist/{getNetworkProviderFromNetworkId-D6ABmeNQ.esm.js → getNetworkProviderFromNetworkId-CP9gl1B1.esm.js} +44 -44
  26. package/dist/getNetworkProviderFromNetworkId-CP9gl1B1.esm.js.map +1 -0
  27. package/dist/{getNetworkProviderFromNetworkId-CfW0tOnr.cjs → getNetworkProviderFromNetworkId-D8cpx0xz.cjs} +45 -45
  28. package/dist/getNetworkProviderFromNetworkId-D8cpx0xz.cjs.map +1 -0
  29. package/dist/{getSignedSessionId-Bc-sYE2A.cjs → getSignedSessionId-BeK0vWep.cjs} +7 -7
  30. package/dist/getSignedSessionId-BeK0vWep.cjs.map +1 -0
  31. package/dist/{getSignedSessionId-IEoo2Kv9.esm.js → getSignedSessionId-Bq7xBsA3.esm.js} +7 -7
  32. package/dist/getSignedSessionId-Bq7xBsA3.esm.js.map +1 -0
  33. package/dist/{getSignedSessionId-C6LJdiSK.native.esm.js → getSignedSessionId-D9w3Wbhk.native.esm.js} +7 -7
  34. package/dist/getSignedSessionId-D9w3Wbhk.native.esm.js.map +1 -0
  35. package/dist/{getWaasWalletProviderFromWalletAccount-D1wxsNEI.native.esm.js → getWaasWalletProviderFromWalletAccount-BKHO68FO.esm.js} +4 -4
  36. package/dist/getWaasWalletProviderFromWalletAccount-BKHO68FO.esm.js.map +1 -0
  37. package/dist/{getWaasWalletProviderFromWalletAccount-DojjjSIP.esm.js → getWaasWalletProviderFromWalletAccount-BzpLoZTm.native.esm.js} +4 -4
  38. package/dist/getWaasWalletProviderFromWalletAccount-BzpLoZTm.native.esm.js.map +1 -0
  39. package/dist/{getWaasWalletProviderFromWalletAccount-CSmVAhr2.cjs → getWaasWalletProviderFromWalletAccount-CfqTF_82.cjs} +4 -4
  40. package/dist/getWaasWalletProviderFromWalletAccount-CfqTF_82.cjs.map +1 -0
  41. package/dist/{getWalletProviderByKey-DsTEubkT.esm.js → getWalletProviderByKey-BMzoL_69.esm.js} +16 -34
  42. package/dist/getWalletProviderByKey-BMzoL_69.esm.js.map +1 -0
  43. package/dist/{getWalletProviderByKey-B821GpaI.cjs → getWalletProviderByKey-DCKYAida.cjs} +17 -41
  44. package/dist/getWalletProviderByKey-DCKYAida.cjs.map +1 -0
  45. package/dist/{getWalletProviderByKey-RTW-S68o.native.esm.js → getWalletProviderByKey-DDDxBsdv.native.esm.js} +41 -47
  46. package/dist/getWalletProviderByKey-DDDxBsdv.native.esm.js.map +1 -0
  47. package/dist/index.cjs +195 -248
  48. package/dist/index.cjs.map +1 -1
  49. package/dist/index.esm.js +187 -241
  50. package/dist/index.esm.js.map +1 -1
  51. package/dist/index.native.esm.js +188 -242
  52. package/dist/index.native.esm.js.map +1 -1
  53. package/dist/{isDynamicWaasEnabled-vRyWP-1l.esm.js → isDynamicWaasEnabled-BMQq5uNX.esm.js} +3 -3
  54. package/dist/{isDynamicWaasEnabled-vRyWP-1l.esm.js.map → isDynamicWaasEnabled-BMQq5uNX.esm.js.map} +1 -1
  55. package/dist/{isDynamicWaasEnabled-CBOG0ITH.cjs → isDynamicWaasEnabled-BtbzDbdz.cjs} +4 -4
  56. package/dist/{isDynamicWaasEnabled-CBOG0ITH.cjs.map → isDynamicWaasEnabled-BtbzDbdz.cjs.map} +1 -1
  57. package/dist/{isDynamicWaasEnabled-CBLpFRnd.native.esm.js → isDynamicWaasEnabled-ChdeBFbN.native.esm.js} +3 -3
  58. package/dist/{isDynamicWaasEnabled-CBLpFRnd.native.esm.js.map → isDynamicWaasEnabled-ChdeBFbN.native.esm.js.map} +1 -1
  59. package/dist/{isMfaRequiredForAction-DL013-fR.cjs → isMfaRequiredForAction-CgWBU6kM.cjs} +11 -11
  60. package/dist/isMfaRequiredForAction-CgWBU6kM.cjs.map +1 -0
  61. package/dist/{isMfaRequiredForAction-C1-1spV9.esm.js → isMfaRequiredForAction-Diwsf9GB.esm.js} +11 -11
  62. package/dist/isMfaRequiredForAction-Diwsf9GB.esm.js.map +1 -0
  63. package/dist/{isMfaRequiredForAction-D1AYL99a.native.esm.js → isMfaRequiredForAction-dAtK8Pl6.native.esm.js} +4 -4
  64. package/dist/{isMfaRequiredForAction-D1AYL99a.native.esm.js.map → isMfaRequiredForAction-dAtK8Pl6.native.esm.js.map} +1 -1
  65. package/dist/isUserOnboardingComplete-D4Y3sdr3.esm.js +121 -0
  66. package/dist/isUserOnboardingComplete-D4Y3sdr3.esm.js.map +1 -0
  67. package/dist/isUserOnboardingComplete-DO2_gSAp.native.esm.js +121 -0
  68. package/dist/isUserOnboardingComplete-DO2_gSAp.native.esm.js.map +1 -0
  69. package/dist/isUserOnboardingComplete-OP4uyUlE.cjs +151 -0
  70. package/dist/isUserOnboardingComplete-OP4uyUlE.cjs.map +1 -0
  71. package/dist/modules/apiClient/createApiClient.d.ts +1 -1
  72. package/dist/modules/apiClient/utils/clientErrorMapper/clientErrorMapper.d.ts +1 -1
  73. package/dist/modules/apiClient/utils/convertToApiErrorMiddleware/convertToApiErrorMiddleware.d.ts +1 -1
  74. package/dist/modules/apiClient/utils/deviceSignatureHeadersMiddleware/createDeviceSignatureHeadersMiddleware.d.ts +1 -1
  75. package/dist/modules/apiClient/utils/deviceSignatureHeadersMiddleware/createDeviceSignatureHeadersMiddleware.d.ts.map +1 -1
  76. package/dist/modules/apiClient/utils/unauthorizedMiddleware/createUnauthorizedMiddleware.d.ts +1 -1
  77. package/dist/modules/apiClient/utils/unauthorizedMiddleware/createUnauthorizedMiddleware.d.ts.map +1 -1
  78. package/dist/modules/auth/createVisit/createVisit.d.ts +1 -1
  79. package/dist/modules/auth/createVisit/createVisit.d.ts.map +1 -1
  80. package/dist/modules/auth/decodeJwt/decodeJwt.d.ts +1 -1
  81. package/dist/modules/auth/extractSessionId/extractSessionId.d.ts +1 -1
  82. package/dist/modules/auth/getElevatedAccessToken/getElevatedAccessToken.d.ts +1 -1
  83. package/dist/modules/auth/initializeAuth/initializeAuth.d.ts +1 -1
  84. package/dist/modules/auth/initializeAuth/setLongTimeout/setLongTimeout.d.ts +1 -1
  85. package/dist/modules/auth/isSignedIn/isSignedIn.d.ts +1 -1
  86. package/dist/modules/auth/logout/logout.d.ts +1 -1
  87. package/dist/modules/auth/passkeys/getPasskeyAuthenticationOptions/getPasskeyAuthenticationOptions.d.ts +1 -1
  88. package/dist/modules/auth/passkeys/getPasskeyAuthenticationOptions/getPasskeyAuthenticationOptions.d.ts.map +1 -1
  89. package/dist/modules/auth/passkeys/getPasskeyAuthenticationSignInOptions/getPasskeyAuthenticationSignInOptions.d.ts +1 -1
  90. package/dist/modules/auth/passkeys/getPasskeyAuthenticationSignInOptions/getPasskeyAuthenticationSignInOptions.d.ts.map +1 -1
  91. package/dist/modules/auth/passkeys/getPasskeyRegistrationOptions/getPasskeyRegistrationOptions.d.ts +1 -1
  92. package/dist/modules/auth/passkeys/getPasskeyRegistrationOptions/getPasskeyRegistrationOptions.d.ts.map +1 -1
  93. package/dist/modules/auth/passkeys/getPasskeys/getPasskeys.d.ts +1 -1
  94. package/dist/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.d.ts +1 -1
  95. package/dist/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.d.ts.map +1 -1
  96. package/dist/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts +1 -1
  97. package/dist/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts.map +1 -1
  98. package/dist/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.d.ts +1 -1
  99. package/dist/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.d.ts.map +1 -1
  100. package/dist/modules/auth/social/getUserSocialAccounts/getUserSocialAccounts.d.ts +1 -1
  101. package/dist/modules/auth/social/oauth/detectOAuthRedirect/detectOAuthRedirect.d.ts +1 -1
  102. package/dist/modules/auth/social/oauth/detectSocialRedirectUrl/detectSocialRedirectUrl.d.ts +1 -1
  103. package/dist/modules/auth/social/oauth/processSocialCallback/processSocialCallback.d.ts +1 -1
  104. package/dist/modules/auth/social/oauth/processSocialCallback/processSocialCallback.d.ts.map +1 -1
  105. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.d.ts +2 -2
  106. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/buildOAuthUrl.d.ts +2 -2
  107. package/dist/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.d.ts +1 -1
  108. package/dist/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.d.ts +1 -1
  109. package/dist/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.d.ts.map +1 -1
  110. package/dist/modules/auth/updateAuthFromVerifyResponse/checkAndRaiseWalletAccountsChangedEvent/checkAndRaiseWalletAccountsChangedEvent.d.ts +1 -1
  111. package/dist/modules/auth/updateAuthFromVerifyResponse/checkAndRaiseWalletAccountsChangedEvent/checkAndRaiseWalletAccountsChangedEvent.d.ts.map +1 -1
  112. package/dist/modules/auth/updateAuthFromVerifyResponse/elevatedAccessTokens/normalizeScopes/normalizeScopes.d.ts +1 -1
  113. package/dist/modules/auth/updateAuthFromVerifyResponse/elevatedAccessTokens/parseElevatedAccessToken/parseElevatedAccessToken.d.ts +1 -1
  114. package/dist/modules/auth/updateAuthFromVerifyResponse/elevatedAccessTokens/upsertElevatedAccessToken/upsertElevatedAccessToken.d.ts +1 -1
  115. package/dist/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts +1 -1
  116. package/dist/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts.map +1 -1
  117. package/dist/modules/balances/getBalances/getBalances.d.ts +1 -1
  118. package/dist/modules/balances/getMultichainBalances/getMultichainBalances.d.ts +1 -1
  119. package/dist/modules/balances/getMultichainTokenBalances/getMultichainTokenBalances.d.ts +1 -1
  120. package/dist/modules/balances/getTokenBalances/getTokenBalances.d.ts +2 -2
  121. package/dist/modules/captcha/consumeCaptchaToken/consumeCaptchaToken.d.ts +1 -1
  122. package/dist/modules/captcha/isCaptchaRequired/isCaptchaRequired.d.ts +1 -1
  123. package/dist/modules/captcha/isCaptchaRequired/isCaptchaRequired.d.ts.map +1 -1
  124. package/dist/modules/checkout/getCheckoutTransaction/getCheckoutTransaction.d.ts +1 -1
  125. package/dist/modules/checkout/getCheckoutTransactionQuote/getCheckoutTransactionQuote.d.ts +1 -1
  126. package/dist/modules/checkout/getCheckouts/getCheckouts.d.ts +1 -1
  127. package/dist/modules/checkout/getCheckouts/getCheckouts.d.ts.map +1 -1
  128. package/dist/modules/checkout/trackCheckoutTransaction/trackCheckoutTransaction.d.ts +1 -1
  129. package/dist/modules/checkout/utils/clearCheckoutSessionToken/clearCheckoutSessionToken.d.ts +1 -1
  130. package/dist/modules/checkout/utils/createCheckoutApiClient/createCheckoutApiClient.d.ts +1 -1
  131. package/dist/modules/checkout/utils/createCheckoutApiClient/createCheckoutApiClient.d.ts.map +1 -1
  132. package/dist/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.d.ts +1 -1
  133. package/dist/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.d.ts.map +1 -1
  134. package/dist/modules/checkout/utils/createCheckoutTransactionChannelSchema/createCheckoutTransactionChannelSchema.d.ts +1 -1
  135. package/dist/modules/checkout/utils/requiresConversion/requiresConversion.d.ts +1 -1
  136. package/dist/modules/checkout/utils/subscribeToCheckoutTransaction/subscribeToCheckoutTransaction.d.ts +1 -1
  137. package/dist/modules/checkout/utils/withCheckoutSessionTokenCleanupOn401/withCheckoutSessionTokenCleanupOn401.d.ts +1 -1
  138. package/dist/modules/clientEvents/clientEvents.d.ts +4 -4
  139. package/dist/modules/crossTabEventSync/setupCrossTabEventSync/setupCrossTabEventSync.d.ts +1 -1
  140. package/dist/modules/deviceRegistration/detectDeviceRegistrationRedirect/detectDeviceRegistrationRedirect.d.ts +1 -1
  141. package/dist/modules/deviceRegistration/getDeviceRegistrationTokenFromUrl/getDeviceRegistrationTokenFromUrl.d.ts +1 -1
  142. package/dist/modules/deviceRegistration/getDeviceSigner/getDeviceSigner.d.ts +1 -1
  143. package/dist/modules/deviceRegistration/getDeviceSigner/getDeviceSigner.d.ts.map +1 -1
  144. package/dist/modules/deviceRegistration/getDeviceSigner/getOrCreateEnvironmentDeviceSigningKeys/getOrCreateEnvironmentDeviceSigningKeys.d.ts +1 -1
  145. package/dist/modules/deviceRegistration/getHeadersForNonceSignedByDeviceSigners/getHeadersForNonceSignedByDeviceSigners.d.ts +1 -1
  146. package/dist/modules/deviceRegistration/getHeadersForNonceSignedByDeviceSigners/getHeadersForNonceSignedByDeviceSigners.d.ts.map +1 -1
  147. package/dist/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.d.ts +1 -1
  148. package/dist/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.d.ts.map +1 -1
  149. package/dist/modules/deviceRegistration/isDeviceRegistrationRequired/isDeviceRegistrationRequired.d.ts +1 -1
  150. package/dist/modules/extension/hasExtension/hasExtension.d.ts +1 -1
  151. package/dist/modules/extension/registerExtension/registerExtension.d.ts +1 -1
  152. package/dist/modules/flow/getFlow/getFlow.d.ts +1 -1
  153. package/dist/modules/flow/getFlowQuote/getFlowQuote.d.ts +1 -1
  154. package/dist/modules/flow/utils/clearFlowSessionToken/clearFlowSessionToken.d.ts +1 -1
  155. package/dist/modules/flow/utils/createFlowApiClient/createFlowApiClient.d.ts +1 -1
  156. package/dist/modules/flow/utils/createFlowApiClient/createFlowApiClient.d.ts.map +1 -1
  157. package/dist/modules/flow/utils/createFlowSessionTokenStorageKey/createFlowSessionTokenStorageKey.d.ts +1 -1
  158. package/dist/modules/flow/utils/createFlowSessionTokenStorageKey/createFlowSessionTokenStorageKey.d.ts.map +1 -1
  159. package/dist/modules/flow/utils/withFlowSessionTokenCleanupOn401/withFlowSessionTokenCleanupOn401.d.ts +1 -1
  160. package/dist/modules/funding/coinbase/addCoinbaseOnrampOrderEventListener/addCoinbaseOnrampOrderEventListener.d.ts +1 -1
  161. package/dist/modules/funding/coinbase/getCoinbaseBuyUrl/getCoinbaseBuyUrl.d.ts +1 -1
  162. package/dist/modules/funding/coinbase/getMissingVerificationForCoinbaseOnrampOrder/getMissingVerificationForCoinbaseOnrampOrder.d.ts +1 -1
  163. package/dist/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/validateUserCredentialsForCoinbaseOnrampOrder.d.ts +1 -1
  164. package/dist/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/validateUserCredentialsForCoinbaseOnrampOrder.d.ts.map +1 -1
  165. package/dist/modules/funding/kraken/createKrakenExchangeTransfer/createKrakenExchangeTransfer.d.ts +1 -1
  166. package/dist/modules/funding/kraken/getKrakenAccounts/getKrakenAccounts.d.ts +2 -2
  167. package/dist/modules/funding/kraken/getKrakenWhitelistedAddresses/getKrakenWhitelistedAddresses.d.ts +1 -1
  168. package/dist/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.d.ts +1 -1
  169. package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts +1 -1
  170. package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts.map +1 -1
  171. package/dist/modules/keychainMigration/migrateSessionKeyToKeychain/migrateSessionKeyToKeychain.d.ts +1 -1
  172. package/dist/modules/legacyWalletBook/excludeInstalledFromCatalog/collectInstalledGroupIds/collectInstalledGroupIds.d.ts +1 -1
  173. package/dist/modules/legacyWalletBook/excludeInstalledFromCatalog/excludeInstalledFromCatalog.d.ts +1 -1
  174. package/dist/modules/legacyWalletBook/fetchLegacyWalletBook/fetchLegacyWalletBook.d.ts +1 -1
  175. package/dist/modules/legacyWalletBook/fetchLegacyWalletBook/fetchWithTimeout/fetchWithTimeout.d.ts +1 -1
  176. package/dist/modules/legacyWalletBook/getSpriteUrl/getSpriteUrl.d.ts +1 -1
  177. package/dist/modules/legacyWalletBook/getWalletBookCdnUrl/getWalletBookCdnUrl.d.ts +1 -1
  178. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getChainFromWalletSchema/getChainFromWalletSchema.d.ts +2 -2
  179. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getChainsFromWalletSchema/getChainsFromWalletSchema.d.ts +1 -1
  180. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getWalletConnectCatalog.d.ts +1 -1
  181. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/shouldFilterWalletForWalletConnect/shouldFilterWalletForWalletConnect.d.ts +1 -1
  182. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/transformGroup/transformGroup.d.ts +1 -1
  183. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/transformWallet/transformWallet.d.ts +1 -1
  184. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/transformWalletBook/transformWalletBook.d.ts +1 -1
  185. package/dist/modules/legacyWalletBook/getWalletConnectCatalogWalletByWalletProviderKey/getWalletConnectCatalogWalletByWalletProviderKey.d.ts +1 -1
  186. package/dist/modules/legacyWalletBook/hasUsableDeeplink/hasUsableDeeplink.d.ts +1 -1
  187. package/dist/modules/legacyWalletBook/matchWalletProvidersToCatalogGroup/matchWalletProvidersToCatalogGroup.d.ts +1 -1
  188. package/dist/modules/legacyWalletBook/shouldFilterWallet/shouldFilterWallet.d.ts +2 -2
  189. package/dist/modules/mfa/authenticateMfaRecoveryCode/authenticateMfaRecoveryCode.d.ts +1 -1
  190. package/dist/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.d.ts +1 -1
  191. package/dist/modules/mfa/authenticateTotpMfaDevice/authenticateTotpMfaDevice.d.ts +1 -1
  192. package/dist/modules/mfa/consumeMfaTokenIfRequiredForAction/consumeMfaTokenIfRequiredForAction.d.ts +1 -1
  193. package/dist/modules/mfa/consumeMfaTokenIfRequiredForAction/consumeMfaTokenIfRequiredForAction.d.ts.map +1 -1
  194. package/dist/modules/mfa/getMfaDevices/getMfaDevices.d.ts +1 -1
  195. package/dist/modules/mfa/getMfaMethods/getMfaMethods.d.ts +1 -1
  196. package/dist/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.d.ts +1 -1
  197. package/dist/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.d.ts +1 -1
  198. package/dist/modules/mfa/isPendingRecoveryCodesAcknowledgment/isPendingRecoveryCodesAcknowledgment.d.ts +1 -1
  199. package/dist/modules/mfa/isUserMissingMfaAuth/isUserMissingMfaAuth.d.ts +1 -1
  200. package/dist/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.d.ts +1 -1
  201. package/dist/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.d.ts.map +1 -1
  202. package/dist/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.d.ts +1 -1
  203. package/dist/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.d.ts.map +1 -1
  204. package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts +1 -1
  205. package/dist/modules/projectSettings/isCookieEnabled/isCookieEnabled.d.ts +1 -1
  206. package/dist/modules/screenshotProtection/setScreenshotProtection/setScreenshotProtection.d.ts +1 -1
  207. package/dist/modules/sessionKeys/generateNonceSignature/generateNonceSignature.d.ts +1 -1
  208. package/dist/modules/sessionKeys/generateNonceSignature/generateNonceSignature.d.ts.map +1 -1
  209. package/dist/modules/sessionKeys/generateSessionKeys/generateSessionKeys.d.ts +1 -1
  210. package/dist/modules/sessionKeys/generateSessionKeys/generateSessionKeys.d.ts.map +1 -1
  211. package/dist/modules/sessionKeys/generateSessionSignature/generateSessionSignature.d.ts +1 -1
  212. package/dist/modules/sessionKeys/generateSessionSignature/generateSessionSignature.d.ts.map +1 -1
  213. package/dist/modules/sessionKeys/getSessionKeys/getSessionKeys.d.ts +1 -1
  214. package/dist/modules/sessionKeys/getSessionKeys/getSessionKeys.d.ts.map +1 -1
  215. package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts +1 -1
  216. package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts.map +1 -1
  217. package/dist/modules/state/raiseStateEvents/raiseStateEvents.d.ts +1 -1
  218. package/dist/modules/state/raiseStateEvents/raiseStateEvents.d.ts.map +1 -1
  219. package/dist/modules/storageSync/hydrateStateWithStorage/hydrateStateWithStorage.d.ts +1 -1
  220. package/dist/modules/storageSync/hydrateStateWithStorage/hydrateStateWithStorage.d.ts.map +1 -1
  221. package/dist/modules/storageSync/initializeStorageSync.d.ts +1 -1
  222. package/dist/modules/storageSync/initializeStorageSync.d.ts.map +1 -1
  223. package/dist/modules/storageSync/syncStateWithStorage/syncStateWithStorage.d.ts +1 -1
  224. package/dist/modules/storageSync/syncStateWithStorage/syncStateWithStorage.d.ts.map +1 -1
  225. package/dist/modules/swap/getSwapQuote/getSwapQuote.d.ts +1 -1
  226. package/dist/modules/swap/getSwapStatus/getSwapStatus.d.ts +1 -1
  227. package/dist/modules/swap/utils/ensureCorrectActiveNetwork/ensureCorrectActiveNetwork.d.ts +1 -1
  228. package/dist/modules/user/isUserOnboardingComplete/isUserOnboardingComplete.d.ts +10 -3
  229. package/dist/modules/user/isUserOnboardingComplete/isUserOnboardingComplete.d.ts.map +1 -1
  230. package/dist/modules/waas/backupWaasKeySharesToGoogleDrive/backupWaasKeySharesToGoogleDrive.d.ts +1 -1
  231. package/dist/modules/waas/createWaasClient/createNativeWaasSDKContainer.d.ts +1 -1
  232. package/dist/modules/waas/createWaasClient/createWaasClient.d.ts +1 -1
  233. package/dist/modules/waas/createWaasClient/createWaasClient.d.ts.map +1 -1
  234. package/dist/modules/waas/createWaasClient/createWaasSDKContainer.d.ts +1 -1
  235. package/dist/modules/waas/createWaasClient/translateNativeOpenError.d.ts +1 -1
  236. package/dist/modules/waas/createWaasProvider/createWaasProvider.d.ts +1 -1
  237. package/dist/modules/waas/createWaasProvider/createWaasProvider.d.ts.map +1 -1
  238. package/dist/modules/waas/createWaasWalletAccounts/createWaasWalletAccounts.d.ts +2 -2
  239. package/dist/modules/waas/delegateWaasKeyShares/delegateWaasKeyShares.d.ts +1 -1
  240. package/dist/modules/waas/exportWaasClientKeyshares/exportWaasClientKeyshares.d.ts +1 -1
  241. package/dist/modules/waas/exportWaasPrivateKey/exportWaasPrivateKey.d.ts +1 -1
  242. package/dist/modules/waas/exportWaasPrivateKeyToContainer/exportWaasPrivateKeyToContainer.d.ts +1 -1
  243. package/dist/modules/waas/findWaasWalletProviderByChain/findWaasWalletProviderByChain.d.ts +1 -1
  244. package/dist/modules/waas/findWaasWalletProviderByChain/findWaasWalletProviderByChain.d.ts.map +1 -1
  245. package/dist/modules/waas/getAllUserWaasAddressesForChain/getAllUserWaasAddressesForChain.d.ts +1 -1
  246. package/dist/modules/waas/getAllUserWaasAddressesForChain/getAllUserWaasAddressesForChain.d.ts.map +1 -1
  247. package/dist/modules/waas/getChainsMissingWaasWalletAccounts/getChainsMissingWaasWalletAccounts.d.ts +1 -1
  248. package/dist/modules/waas/getWaasChainNameFromChain/getWaasChainNameFromChain.d.ts +1 -1
  249. package/dist/modules/waas/getWaasChainNameFromChain/getWaasChainNameFromChain.d.ts.map +1 -1
  250. package/dist/modules/waas/getWaasWalletProviderByChain/getWaasWalletProviderByChain.d.ts +1 -1
  251. package/dist/modules/waas/getWaasWalletProviderByChain/getWaasWalletProviderByChain.d.ts.map +1 -1
  252. package/dist/modules/waas/getWaasWalletProviderFromWalletAccount/getWaasWalletProviderFromWalletAccount.d.ts +1 -1
  253. package/dist/modules/waas/getWaasWalletProviderFromWalletAccount/getWaasWalletProviderFromWalletAccount.d.ts.map +1 -1
  254. package/dist/modules/waas/getWalletRecoveryState/getWalletRecoveryState.d.ts +1 -1
  255. package/dist/modules/waas/hasDelegatedAccess/hasDelegatedAccess.d.ts +1 -1
  256. package/dist/modules/waas/importWaasPrivateKey/importWaasPrivateKey.d.ts +1 -1
  257. package/dist/modules/waas/initializeWaasClientsForEagerRecovery/initializeWaasClientsForEagerRecovery.d.ts +1 -1
  258. package/dist/modules/waas/isDynamicWaasEnabled/isDynamicWaasEnabled.d.ts +1 -1
  259. package/dist/modules/waas/isPasswordRequiredForWaasWallets/isPasswordRequiredForWaasWallets.d.ts +1 -1
  260. package/dist/modules/waas/isWaasWalletAccount/isWaasWalletAccount.d.ts +1 -1
  261. package/dist/modules/waas/isWaasWalletProvider/isWaasWalletProvider.d.ts +1 -1
  262. package/dist/modules/waas/isWaasWalletProvider/isWaasWalletProvider.d.ts.map +1 -1
  263. package/dist/modules/waas/isWalletCreationRequirement/isWalletCreationRequirement.d.ts +1 -1
  264. package/dist/modules/waas/normalizeWalletRequirements/normalizeWalletRequirements.d.ts +1 -1
  265. package/dist/modules/waas/preconnectWaasIframe/preconnectWaasIframe.d.ts +1 -1
  266. package/dist/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.d.ts +1 -1
  267. package/dist/modules/waas/revokeWaasDelegation/revokeWaasDelegation.d.ts +1 -1
  268. package/dist/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.d.ts +1 -1
  269. package/dist/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.d.ts +1 -1
  270. package/dist/modules/waas/unlockWallet/unlockWallet.d.ts +1 -1
  271. package/dist/modules/waas/updateWaasPassword/updateWaasPassword.d.ts +1 -1
  272. package/dist/modules/walletBackup/googleDrive/findMissingGoogleDriveBackupScopes/findMissingGoogleDriveBackupScopes.d.ts +1 -1
  273. package/dist/modules/walletBackup/googleDrive/hasAllGoogleDriveBackupScopes/hasAllGoogleDriveBackupScopes.d.ts +1 -1
  274. package/dist/modules/walletBackup/googleDrive/isInsufficientGoogleDriveScopesError/isInsufficientGoogleDriveScopesError.d.ts +1 -1
  275. package/dist/modules/walletBackup/googleDrive/utils/fetchGoogleDriveOauthAccess/fetchGoogleDriveOauthAccess.d.ts +1 -1
  276. package/dist/modules/walletBackup/googleDrive/utils/findGoogleOauthAccountId/findGoogleOauthAccountId.d.ts +1 -1
  277. package/dist/modules/walletOptionsCatalogue/buildInAppBrowserOptions/buildInAppBrowserOptions.d.ts +1 -1
  278. package/dist/modules/walletOptionsCatalogue/buildInAppBrowserOptions/getInAppBrowserUrl/getInAppBrowserUrl.d.ts +1 -1
  279. package/dist/modules/walletOptionsCatalogue/buildInstallationUrls/buildInstallationUrls.d.ts +1 -1
  280. package/dist/modules/walletOptionsCatalogue/buildInstallationUrlsByWalletOptionKey/buildInstallationUrlsByWalletOptionKey.d.ts +1 -1
  281. package/dist/modules/walletOptionsCatalogue/buildMetaMaskSdkUriOptions/buildMetaMaskSdkUriOptions.d.ts +1 -1
  282. package/dist/modules/walletOptionsCatalogue/buildWalletConnectOptions/buildWalletConnectOptions.d.ts +1 -1
  283. package/dist/modules/walletOptionsCatalogue/buildWalletOption/buildWalletOption.d.ts +1 -1
  284. package/dist/modules/walletOptionsCatalogue/buildWithWalletProviderOptions/buildWithWalletProviderOptions.d.ts +1 -1
  285. package/dist/modules/walletOptionsCatalogue/classifyWithWalletProviderSource/classifyWithWalletProviderSource.d.ts +1 -1
  286. package/dist/modules/walletOptionsCatalogue/compareByRelevance/compareByRelevance.d.ts +1 -1
  287. package/dist/modules/walletOptionsCatalogue/findWalletOptionKeyForProviderKey/findByNameMatch/findByNameMatch.d.ts +1 -1
  288. package/dist/modules/walletOptionsCatalogue/findWalletOptionKeyForProviderKey/findWalletOptionKeyForProviderKey.d.ts +1 -1
  289. package/dist/modules/walletOptionsCatalogue/findWalletOptionKeyForProviderKey/resolveWalletOptionKey/resolveWalletOptionKey.d.ts +1 -1
  290. package/dist/modules/walletOptionsCatalogue/getConnectionOptionPriority/getConnectionOptionPriority.d.ts +1 -1
  291. package/dist/modules/walletOptionsCatalogue/getInstallationLinkForCurrentPlatform/getInstallationLinkForCurrentPlatform.d.ts +1 -1
  292. package/dist/modules/walletOptionsCatalogue/getPriorityIndex/getPriorityIndex.d.ts +1 -1
  293. package/dist/modules/walletOptionsCatalogue/getWalletOptionsCatalogue/getWalletOptionsCatalogue.d.ts +1 -1
  294. package/dist/modules/walletOptionsCatalogue/groupOptionsByWalletOption/groupOptionsByWalletOption.d.ts +1 -1
  295. package/dist/modules/walletOptionsCatalogue/hasAnyConnectionOption/hasAnyConnectionOption.d.ts +1 -1
  296. package/dist/modules/walletOptionsCatalogue/hasInstalledProvider/hasInstalledProvider.d.ts +1 -1
  297. package/dist/modules/walletOptionsCatalogue/normalizeWalletDisplayName/normalizeWalletDisplayName.d.ts +1 -1
  298. package/dist/modules/walletOptionsCatalogue/resolveWalletBookWalletOptionKey/resolveWalletBookWalletOptionKey.d.ts +1 -1
  299. package/dist/modules/walletOptionsCatalogue/sortConnectionOptions/sortConnectionOptions.d.ts +1 -1
  300. package/dist/modules/walletOptionsCatalogue/sortWalletOptions/sortWalletOptions.d.ts +1 -1
  301. package/dist/modules/wallets/assertWalletAccountSigningAvailability/assertWalletAccountSigningAvailability.d.ts +1 -1
  302. package/dist/modules/wallets/destroyWalletProviders/destroyWalletProviders.d.ts +1 -1
  303. package/dist/modules/wallets/disconnectWalletAccount/disconnectWalletAccount.d.ts +1 -1
  304. package/dist/modules/wallets/emitWalletAccountsChangedEvent/emitWalletAccountsChangedEvent.d.ts +1 -1
  305. package/dist/modules/wallets/getAvailableWalletProvidersData/getAvailableWalletProvidersData.d.ts +1 -1
  306. package/dist/modules/wallets/getConnectedAddresses/getConnectedAddresses.d.ts +1 -1
  307. package/dist/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.d.ts +1 -1
  308. package/dist/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.d.ts.map +1 -1
  309. package/dist/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.d.ts +1 -1
  310. package/dist/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.d.ts.map +1 -1
  311. package/dist/modules/wallets/getWalletAccounts/getWalletAccounts.d.ts +1 -1
  312. package/dist/modules/wallets/getWalletAccounts/getWalletAccountsFromState/getWalletAccountsFromState.d.ts +1 -1
  313. package/dist/modules/wallets/getWalletAccounts/getWalletAccountsFromState/getWalletAccountsFromState.d.ts.map +1 -1
  314. package/dist/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.d.ts +1 -1
  315. package/dist/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.d.ts.map +1 -1
  316. package/dist/modules/wallets/getWalletProviderDataByKey/getWalletProviderDataByKey.d.ts +1 -1
  317. package/dist/modules/wallets/getWalletProviders/getWalletProviders.d.ts +1 -1
  318. package/dist/modules/wallets/hardwareWallet/canConnectWithHardwareWallet/canConnectWithHardwareWallet.d.ts +1 -1
  319. package/dist/modules/wallets/hardwareWallet/formatSignatureForHardwareWallet/formatSignatureForHardwareWallet.d.ts +1 -1
  320. package/dist/modules/wallets/hardwareWallet/isHardwareWalletAccount/isHardwareWalletAccount.d.ts +1 -1
  321. package/dist/modules/wallets/hasWalletProviderConnectMethod/hasWalletProviderConnectMethod.d.ts +1 -1
  322. package/dist/modules/wallets/isAnyWalletAccountConnected/isAnyWalletAccountConnected.d.ts +1 -1
  323. package/dist/modules/wallets/isWalletAccountVerified/isWalletAccountVerified.d.ts +1 -1
  324. package/dist/modules/wallets/networks/createBaseNetworkProvider/createBaseNetworkProvider.d.ts +1 -1
  325. package/dist/modules/wallets/networks/createBaseNetworkProvider/createBaseNetworkProvider.d.ts.map +1 -1
  326. package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts +1 -1
  327. package/dist/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.d.ts +1 -1
  328. package/dist/modules/wallets/networks/getBalance/getBalance.d.ts +1 -1
  329. package/dist/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.d.ts +1 -1
  330. package/dist/modules/wallets/networks/getNativeBalance/getNativeBalance.d.ts +1 -1
  331. package/dist/modules/wallets/networks/getNetworkDataForNetworkId/getNetworkDataForNetworkId.d.ts +1 -1
  332. package/dist/modules/wallets/networks/getNetworkDataForNetworkId/getNetworkDataForNetworkId.d.ts.map +1 -1
  333. package/dist/modules/wallets/networks/getNetworkProviderFromNetworkId/getNetworkProviderFromNetworkId.d.ts +1 -1
  334. package/dist/modules/wallets/networks/getNetworkProviderFromNetworkId/getNetworkProviderFromNetworkId.d.ts.map +1 -1
  335. package/dist/modules/wallets/networks/getNetworkProviders/getNetworkProviders.d.ts +1 -1
  336. package/dist/modules/wallets/networks/getNetworksData/getNetworksData.d.ts +1 -1
  337. package/dist/modules/wallets/networks/getSdkChainFromApiChainName/getSdkChainFromApiChainName.d.ts +1 -1
  338. package/dist/modules/wallets/networks/getTransactionHistory/getTransactionHistory.d.ts +1 -1
  339. package/dist/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.d.ts +1 -1
  340. package/dist/modules/wallets/networks/lastKnownNetworkRegistry/createLastKnownNetworkRegistry/createLastKnownNetworkRegistry.d.ts +1 -1
  341. package/dist/modules/wallets/networks/networkProviderBuilderRegistry/createNetworkProviderBuilderRegistry/createNetworkProviderBuilderRegistry.d.ts +1 -1
  342. package/dist/modules/wallets/networks/networkProviderBuilderRegistry/createNetworkProviderBuilderRegistry/createNetworkProviderBuilderRegistry.d.ts.map +1 -1
  343. package/dist/modules/wallets/primaryWalletAccount/getPrimaryWalletAccount/getPrimaryWalletAccount.d.ts +1 -1
  344. package/dist/modules/wallets/reconcileWalletAccountsAgainstClient/reconcileWalletAccountsAgainstClient.d.ts +1 -1
  345. package/dist/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts +1 -1
  346. package/dist/modules/wallets/unverifiedWalletAccounts/setUnverifiedWalletAccounts/setUnverifiedWalletAccounts.d.ts +1 -1
  347. package/dist/modules/wallets/userHasEmbeddedWalletForChain/userHasEmbeddedWalletForChain.d.ts +1 -1
  348. package/dist/modules/wallets/userHasEmbeddedWalletForChain/userHasEmbeddedWalletForChain.d.ts.map +1 -1
  349. package/dist/modules/wallets/userHasExternalWallet/userHasExternalWallet.d.ts +1 -1
  350. package/dist/modules/wallets/userHasExternalWallet/userHasExternalWallet.d.ts.map +1 -1
  351. package/dist/modules/wallets/utils/convertUnverifiedWalletAccountToWalletAccount/convertUnverifiedWalletAccountToWalletAccount.d.ts +1 -1
  352. package/dist/modules/wallets/utils/convertUnverifiedWalletAccountToWalletAccount/convertUnverifiedWalletAccountToWalletAccount.d.ts.map +1 -1
  353. package/dist/modules/wallets/utils/convertVerifiedCredentialToWalletAccount/convertVerifiedCredentialToWalletAccount.d.ts +1 -1
  354. package/dist/modules/wallets/utils/convertVerifiedCredentialToWalletAccount/convertVerifiedCredentialToWalletAccount.d.ts.map +1 -1
  355. package/dist/modules/wallets/utils/formatSignInMessage/formatSignInMessage.d.ts +1 -1
  356. package/dist/modules/wallets/utils/formatWalletAccountId/formatWalletAccountId.d.ts +1 -1
  357. package/dist/modules/wallets/utils/formatWalletAccountId/formatWalletAccountId.d.ts.map +1 -1
  358. package/dist/modules/wallets/utils/formatWalletProviderGroupKey/formatWalletProviderGroupKey.d.ts +1 -1
  359. package/dist/modules/wallets/utils/formatWalletProviderGroupKey/formatWalletProviderGroupKey.d.ts.map +1 -1
  360. package/dist/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.d.ts +1 -1
  361. package/dist/modules/wallets/utils/getAddressesWithTypesFromConnectionResult/getAddressesWithTypesFromConnectionResult.d.ts +1 -1
  362. package/dist/modules/wallets/utils/getAddressesWithTypesFromConnectionResult/getAddressesWithTypesFromConnectionResult.d.ts.map +1 -1
  363. package/dist/modules/wallets/utils/getAllProvidersFromWindow/getAllProvidersFromWindow.d.ts +1 -1
  364. package/dist/modules/wallets/utils/getAvailableWalletProvidersFromWalletAccounts/getAvailableWalletProvidersFromWalletAccounts.d.ts +1 -1
  365. package/dist/modules/wallets/utils/getAvailableWalletProvidersFromWalletAccounts/getAvailableWalletProvidersFromWalletAccounts.d.ts.map +1 -1
  366. package/dist/modules/wallets/utils/getChainIdForAccountVerification/getChainIdForAccountVerification.d.ts +1 -1
  367. package/dist/modules/wallets/utils/getChainIdForAccountVerification/getChainIdForAccountVerification.d.ts.map +1 -1
  368. package/dist/modules/wallets/utils/getInjectedProviderFromWindow/getInjectedProviderFromWindow.d.ts +1 -1
  369. package/dist/modules/wallets/utils/getInjectedProviderFromWindow/getInjectedProviderFromWindow.d.ts.map +1 -1
  370. package/dist/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts +1 -1
  371. package/dist/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts.map +1 -1
  372. package/dist/modules/wallets/utils/getSignInMessage/getSignInMessage.d.ts +1 -1
  373. package/dist/modules/wallets/utils/getSignInMessage/getSignInMessage.d.ts.map +1 -1
  374. package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts +1 -1
  375. package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts.map +1 -1
  376. package/dist/modules/wallets/utils/getWalletAccountFromAddress/getWalletAccountFromAddress.d.ts +1 -1
  377. package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts +1 -1
  378. package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts.map +1 -1
  379. package/dist/modules/wallets/utils/isSameAddress/isSameAddress.d.ts +1 -1
  380. package/dist/modules/wallets/utils/isSameAddress/isSameAddress.d.ts.map +1 -1
  381. package/dist/modules/wallets/utils/normalizeAddress/normalizeAddress.d.ts +1 -1
  382. package/dist/modules/wallets/utils/normalizeAddress/normalizeAddress.d.ts.map +1 -1
  383. package/dist/modules/wallets/utils/normalizeWalletNameWithChain/normalizeWalletNameWithChain.d.ts +1 -1
  384. package/dist/modules/wallets/utils/stripChainSuffix/stripChainSuffix.d.ts +1 -1
  385. package/dist/modules/wallets/verifyMessageSignatureOwnership/verifyMessageSignatureOwnership.d.ts +1 -1
  386. package/dist/modules/wallets/verifyWalletAccountForSignInOrTransfer/verifyWalletAccountForSignInOrTransfer.d.ts +1 -1
  387. package/dist/modules/wallets/verifyWalletAccountForSignInOrTransfer/verifyWalletAccountForSignInOrTransfer.d.ts.map +1 -1
  388. package/dist/modules/wallets/walletProvider/defaultImplementations/getActiveNetworkIdFromLastKnownRegistry/getActiveNetworkIdFromLastKnownRegistry.d.ts +1 -1
  389. package/dist/modules/wallets/walletProvider/defaultImplementations/getActiveNetworkIdFromLastKnownRegistry/getActiveNetworkIdFromLastKnownRegistry.d.ts.map +1 -1
  390. package/dist/modules/wallets/walletProvider/defaultImplementations/switchActiveNetworkInLastKnownRegistry/switchActiveNetworkInLastKnownRegistry.d.ts +1 -1
  391. package/dist/modules/wallets/walletProvider/defaultImplementations/switchActiveNetworkInLastKnownRegistry/switchActiveNetworkInLastKnownRegistry.d.ts.map +1 -1
  392. package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/createWalletProviderEventEmitter.d.ts +2 -2
  393. package/dist/modules/wallets/walletProvider/events/offWalletProviderEvent/offWalletProviderEvent.d.ts +1 -1
  394. package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts +1 -1
  395. package/dist/modules/wallets/walletProvider/extractChainFromNormalizedName/extractChainFromNormalizedName.d.ts +1 -1
  396. package/dist/modules/wallets/walletProvider/isDeeplinkWalletProvider/isDeeplinkWalletProvider.d.ts +1 -1
  397. package/dist/modules/wallets/walletProvider/splitWalletProviderKey/splitWalletProviderKey.d.ts +1 -1
  398. package/dist/modules/wallets/walletProvider/splitWalletProviderKey/splitWalletProviderKey.d.ts.map +1 -1
  399. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts +1 -1
  400. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts.map +1 -1
  401. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts +1 -1
  402. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts.map +1 -1
  403. package/dist/modules/wallets/walletProviderRegistry/createWalletProviderRegistry/createWalletProviderRegistry.d.ts +1 -1
  404. package/dist/{refreshAuth-BWQWl4uA.esm.js → refreshAuth-BTPctQtq.esm.js} +3 -3
  405. package/dist/{refreshAuth-BWQWl4uA.esm.js.map → refreshAuth-BTPctQtq.esm.js.map} +1 -1
  406. package/dist/{refreshAuth-tjEnkc58.cjs → refreshAuth-ByIVzawo.cjs} +3 -3
  407. package/dist/{refreshAuth-tjEnkc58.cjs.map → refreshAuth-ByIVzawo.cjs.map} +1 -1
  408. package/dist/{refreshAuth-D8UjWFLB.native.esm.js → refreshAuth-C3issn5b.native.esm.js} +3 -3
  409. package/dist/{refreshAuth-D8UjWFLB.native.esm.js.map → refreshAuth-C3issn5b.native.esm.js.map} +1 -1
  410. package/dist/services/asyncTrack/createAsyncTrack.d.ts +1 -1
  411. package/dist/services/crossTabBroadcast/createCrossTabBroadcast/createCrossTabBroadcast.d.ts +1 -1
  412. package/dist/services/eventEmitter/createEventEmitter.d.ts +1 -1
  413. package/dist/services/eventEmitter/createEventEmitter.d.ts.map +1 -1
  414. package/dist/services/fetch/createWebFetch.d.ts +1 -1
  415. package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts +1 -1
  416. package/dist/services/instrumentation/createInstrumentation/createInstrumentation.d.ts +1 -1
  417. package/dist/services/instrumentation/instrumentFunction/extractParams/extractParams.d.ts +1 -1
  418. package/dist/services/instrumentation/instrumentFunction/instrumentFunction.d.ts +1 -1
  419. package/dist/services/instrumentation/instrumentFunction/scrubResolvedValue/scrubResolvedValue.d.ts +1 -1
  420. package/dist/services/instrumentation/scrubParameters/scrubParameters.d.ts +1 -1
  421. package/dist/services/instrumentation/scrubParameters/scrubParameters.d.ts.map +1 -1
  422. package/dist/services/instrumentation/transports/createDynamicTransport/createDynamicTransport.d.ts +1 -1
  423. package/dist/services/keychain/createKeychainService/createKeychainService.d.ts +1 -1
  424. package/dist/services/keychain/createKeychainService/createKeychainService.d.ts.map +1 -1
  425. package/dist/services/keychain/createKeychainService/utils/deleteIndexedDBItem.d.ts +1 -1
  426. package/dist/services/keychain/createKeychainService/utils/deleteIndexedDBItem.d.ts.map +1 -1
  427. package/dist/services/keychain/createKeychainService/utils/getIndexedDBItem.d.ts +1 -1
  428. package/dist/services/keychain/createKeychainService/utils/getIndexedDBItem.d.ts.map +1 -1
  429. package/dist/services/keychain/createKeychainService/utils/openDatabase.d.ts +1 -1
  430. package/dist/services/keychain/createKeychainService/utils/openDatabase.d.ts.map +1 -1
  431. package/dist/services/keychain/createKeychainService/utils/setIndexedDBItem.d.ts +1 -1
  432. package/dist/services/keychain/createKeychainService/utils/setIndexedDBItem.d.ts.map +1 -1
  433. package/dist/services/keychain/createKeychainService/utils/withDatabase/withDatabase.d.ts +1 -1
  434. package/dist/services/logger/createLogger/createLogger.d.ts +2 -2
  435. package/dist/services/nativeManifest/getReactNativeManifest/getReactNativeManifest.d.ts +1 -1
  436. package/dist/services/navigate/createNavigationHandler/createNavigationHandler.d.ts +1 -1
  437. package/dist/services/openDeeplink/createWebDeeplinkOpener/createWebDeeplinkOpener.d.ts +1 -1
  438. package/dist/services/passkey/createPasskeyService/createPasskeyService.d.ts +1 -1
  439. package/dist/services/realtime/createRealtimeChannelSchema/createRealtimeChannelSchema.d.ts +1 -1
  440. package/dist/services/realtime/createRealtimeService/createRealtimeService.d.ts +1 -1
  441. package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts +1 -1
  442. package/dist/services/runtimeServices/createRuntimeServices/createRuntimeServices.d.ts +1 -1
  443. package/dist/services/storage/createLocalStorageAdapter/createLocalStorageAdapter.d.ts +1 -1
  444. package/dist/services/storage/createStorage/createStorage.d.ts +1 -1
  445. package/dist/services/storage/createStorage/formatForStorage/isValidDateISOString/isValidDateISOString.d.ts +1 -1
  446. package/dist/services/storage/createStorage/formatForStorage/storageFormat.d.ts +2 -2
  447. package/dist/services/storage/createStorage/formatForStorage/storageFormat.d.ts.map +1 -1
  448. package/dist/services/storage/createStorageKeySchema/createStorageKeySchema.d.ts +1 -1
  449. package/dist/services/storage/createStorageKeySchema/createStorageKeySchema.d.ts.map +1 -1
  450. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  451. package/dist/utils/appendConnectionUriToDeeplink/appendConnectionUriToDeeplink.d.ts +1 -1
  452. package/dist/utils/base64UrlDecode/base64UrlDecode.d.ts +1 -1
  453. package/dist/utils/base64urlFromBytes/base64urlFromBytes.d.ts +1 -1
  454. package/dist/utils/bufferToBase64/bufferToBase64.d.ts +1 -1
  455. package/dist/utils/bufferToBase64/bufferToBase64.d.ts.map +1 -1
  456. package/dist/utils/bufferToHex/bufferToHex.d.ts +1 -1
  457. package/dist/utils/bytesFromBase64url/bytesFromBase64url.d.ts +1 -1
  458. package/dist/utils/compressRawPublicKey/compressRawPublicKey.d.ts +1 -1
  459. package/dist/utils/debouncedMutex/createDebouncedMutex/createDebouncedMutex.d.ts +1 -1
  460. package/dist/utils/debouncedMutex/createDebouncedMutex/createDebouncedMutex.d.ts.map +1 -1
  461. package/dist/utils/deferredPromise/createDeferredPromise.d.ts +1 -1
  462. package/dist/utils/deferredPromise/createDeferredPromise.d.ts.map +1 -1
  463. package/dist/utils/derToP1363/derToP1363.d.ts +1 -1
  464. package/dist/utils/digestSHA256/digestSHA256.d.ts +1 -1
  465. package/dist/utils/digestSHA256/digestSHA256.d.ts.map +1 -1
  466. package/dist/utils/encodeBase64Url/encodeBase64Url.d.ts +1 -1
  467. package/dist/utils/filterDuplicates/filterDuplicates.d.ts +1 -1
  468. package/dist/utils/getAppMetadata/getAppMetadata.d.ts +1 -1
  469. package/dist/utils/getBuffer/getBuffer.d.ts +1 -1
  470. package/dist/utils/getBuffer/getBuffer.d.ts.map +1 -1
  471. package/dist/utils/getChainFromVerifiedCredentialChain/getChainFromVerifiedCredentialChain.d.ts +1 -1
  472. package/dist/utils/getChainFromVerifiedCredentialChain/getChainFromVerifiedCredentialChain.d.ts.map +1 -1
  473. package/dist/utils/getChainFromWalletBookIdentifier/getChainFromWalletBookIdentifier.d.ts +1 -1
  474. package/dist/utils/getKeychainIndexedDBName/getKeychainIndexedDBName.d.ts +1 -1
  475. package/dist/utils/getNativeLinkScheme/getNativeLinkScheme.d.ts +1 -1
  476. package/dist/utils/getNonce/fetchAndStoreNonces/fetchAndStoreNonces.d.ts +1 -1
  477. package/dist/utils/getNonce/getNonce.d.ts +1 -1
  478. package/dist/utils/getNonce/prefetchNoncesIfNeeded/prefetchNoncesIfNeeded.d.ts +1 -1
  479. package/dist/utils/getNonce/prefetchNoncesIfNeeded/prefetchNoncesIfNeeded.d.ts.map +1 -1
  480. package/dist/utils/getOperatingSystem/getOperatingSystem.d.ts +1 -1
  481. package/dist/utils/getPlatform/getPlatform.d.ts +1 -1
  482. package/dist/utils/getUserAgent/getUserAgent.d.ts +1 -1
  483. package/dist/utils/isEqualShallow/isEqualShallow.d.ts +1 -1
  484. package/dist/utils/isError/isError.d.ts +1 -1
  485. package/dist/utils/isErrorWithCode/isErrorWithCode.d.ts +1 -1
  486. package/dist/utils/isMobile/isMobile.d.ts +16 -16
  487. package/dist/utils/isMobile/isMobile.d.ts.map +1 -1
  488. package/dist/utils/isServerSideRendering/isServerSideRendering.d.ts +1 -1
  489. package/dist/utils/observable/createObservableState/createObservableState.d.ts +1 -1
  490. package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts +1 -1
  491. package/dist/utils/p256Keygen/p256Keygen.d.ts +1 -1
  492. package/dist/utils/p256Keygen/p256Keygen.d.ts.map +1 -1
  493. package/dist/utils/p256Sign/p256Sign.d.ts +1 -1
  494. package/dist/utils/p256Sign/p256Sign.d.ts.map +1 -1
  495. package/dist/utils/parseAmountToSmallestUnit/parseAmountToSmallestUnit.d.ts +1 -1
  496. package/dist/utils/parseUserAgent/parseUserAgent.d.ts +1 -1
  497. package/dist/utils/parseUserAgent/parseUserAgent.d.ts.map +1 -1
  498. package/dist/utils/randomString/randomString.d.ts +1 -1
  499. package/dist/utils/randomString/randomString.d.ts.map +1 -1
  500. package/dist/utils/retryOnFail/retryOnFail.d.ts +1 -1
  501. package/dist/utils/retryOnFail/retryOnFail.d.ts.map +1 -1
  502. package/dist/utils/setCookie/setCookie.d.ts +1 -1
  503. package/dist/waas.cjs +27 -27
  504. package/dist/waas.cjs.map +1 -1
  505. package/dist/waas.esm.js +26 -26
  506. package/dist/waas.esm.js.map +1 -1
  507. package/dist/waas.native.esm.js +26 -26
  508. package/dist/waas.native.esm.js.map +1 -1
  509. package/dist/waasCore.cjs +17 -12
  510. package/dist/waasCore.cjs.map +1 -1
  511. package/dist/waasCore.esm.js +16 -11
  512. package/dist/waasCore.esm.js.map +1 -1
  513. package/dist/waasCore.native.esm.js +19 -14
  514. package/dist/waasCore.native.esm.js.map +1 -1
  515. package/package.json +2 -2
  516. package/dist/InvalidParamError-CKUis748.native.esm.js.map +0 -1
  517. package/dist/InvalidParamError-I6NfUdQL.esm.js.map +0 -1
  518. package/dist/InvalidParamError-d0WFn5Ai.cjs.map +0 -1
  519. package/dist/getNetworkProviderFromNetworkId-CfW0tOnr.cjs.map +0 -1
  520. package/dist/getNetworkProviderFromNetworkId-D6ABmeNQ.esm.js.map +0 -1
  521. package/dist/getNetworkProviderFromNetworkId-DpiVLfs_.native.esm.js.map +0 -1
  522. package/dist/getSignedSessionId-Bc-sYE2A.cjs.map +0 -1
  523. package/dist/getSignedSessionId-C6LJdiSK.native.esm.js.map +0 -1
  524. package/dist/getSignedSessionId-IEoo2Kv9.esm.js.map +0 -1
  525. package/dist/getWaasWalletProviderFromWalletAccount-CSmVAhr2.cjs.map +0 -1
  526. package/dist/getWaasWalletProviderFromWalletAccount-D1wxsNEI.native.esm.js.map +0 -1
  527. package/dist/getWaasWalletProviderFromWalletAccount-DojjjSIP.esm.js.map +0 -1
  528. package/dist/getWalletProviderByKey-B821GpaI.cjs.map +0 -1
  529. package/dist/getWalletProviderByKey-DsTEubkT.esm.js.map +0 -1
  530. package/dist/getWalletProviderByKey-RTW-S68o.native.esm.js.map +0 -1
  531. package/dist/isMfaRequiredForAction-C1-1spV9.esm.js.map +0 -1
  532. package/dist/isMfaRequiredForAction-DL013-fR.cjs.map +0 -1
  533. package/dist/preconnectWaasIframe-BnyTG4Wy.native.esm.js +0 -31
  534. package/dist/preconnectWaasIframe-BnyTG4Wy.native.esm.js.map +0 -1
  535. package/dist/preconnectWaasIframe-DWYWeLor.cjs +0 -37
  536. package/dist/preconnectWaasIframe-DWYWeLor.cjs.map +0 -1
  537. package/dist/preconnectWaasIframe-Dn3RrrHd.esm.js +0 -31
  538. package/dist/preconnectWaasIframe-Dn3RrrHd.esm.js.map +0 -1
package/dist/index.esm.js CHANGED
@@ -1,10 +1,10 @@
1
- import { $ as extractSessionId, A as createApiClient, B as InvalidExternalAuthError, D as onceEvent, E as onEvent, F as getNonce, G as ValueMustBeDefinedError, I as SandboxMaximumThresholdReachedError, J as scrubParameters, K as __getElevatedAccessToken_wrapped, L as MfaRateLimitedError, Q as getOperatingSystem, R as MfaInvalidOtpError, S as splitWalletProviderKey, T as offEvent, U as isCookieEnabled, V as APIError, W as assertDefined, X as getUserAgent, Y as DEFAULT_PII_FIELDS, Z as getPlatform, at as setDefaultClient, b as formatWalletAccountId, ct as getCore, d as getWalletProviderRegistry, et as randomString, it as getDefaultClient, j as UnauthorizedError, k as fetchAndStoreNonces, l as getWalletProviderFromWalletAccount, lt as name, m as getWalletAccounts, o as DYNAMIC_ICONIC_SPRITE_URL, p as NoWalletProviderFoundError, q as instrumentFunction, rt as NONCE_POOL_SIZE, s as SDK_API_CORE_VERSION, st as BaseError, t as InvalidParamError, u as WalletProviderPriority, ut as version, v as getChainFromVerifiedCredentialChain, w as emitEvent, x as normalizeAddress, y as CHAINS_INFO_MAP, z as LinkCredentialError } from "./InvalidParamError-I6NfUdQL.esm.js";
2
- import { A as GENERATE_SESSION_KEYS_TRACKER_KEY, B as isEqualShallow, C as createKeychainService, D as CannotTrackError, F as getBuffer, I as createStorage, M as REFRESH_USER_STATE_FROM_COOKIE_TRACKER_KEY, N as REFRESH_USER_STATE_FROM_VALID_TOKEN_TRACKER_KEY, O as createDeferredPromise, P as isServerSideRendering, R as createLocalStorageAdapter, S as createRealtimeService, T as createCrossTabBroadcast, _ as consumeCaptchaToken, a as verifyMessageSignatureOwnership, b as NoNetworkProvidersError, c as formatSignInMessage, d as updateWalletProviderKeysForVerifiedCredentials, f as setUnverifiedWalletAccounts, g as MethodNotImplementedError, h as __setCaptchaToken_wrapped, i as getNetworksData, j as INITIALIZE_STORAGE_SYNC_TRACKER_KEY, k as FETCH_PROJECT_SETTINGS_TRACKER_KEY, l as getAppMetadata, m as hasExtension, o as removeUnverifiedWalletAccount, p as createVisit, s as createSignInMessageStatement, t as getNetworkProviderFromNetworkId, u as reconcileWalletAccountsAgainstClient, v as isCaptchaRequired, w as createLogger, x as getKeychainIndexedDBName, y as WalletAlreadyLinkedToAnotherUserError, z as subscribeWithSelector } from "./getNetworkProviderFromNetworkId-D6ABmeNQ.esm.js";
3
- import { a as generateSessionKeys, c as isSignedIn, i as __logoutWithReason_wrapped, l as retryOnFail, n as getMfaMethods, o as fetchProjectSettings, r as __consumeMfaToken_wrapped, s as createStorageKeySchema, t as isMfaRequiredForAction } from "./isMfaRequiredForAction-C1-1spV9.esm.js";
4
- import { a as parseElevatedAccessToken, d as checkAndRaiseWalletAccountsChangedEvent, i as upsertElevatedAccessToken, l as getWalletProviders, n as getVerifiedCredentialForWalletAccount, o as initializeWaasClientsForEagerRecovery, r as updateAuthFromVerifyResponse, t as getWalletProviderByKey, u as isUserMissingMfaAuth } from "./getWalletProviderByKey-DsTEubkT.esm.js";
5
- import { t as __refreshAuth_wrapped } from "./refreshAuth-BWQWl4uA.esm.js";
6
- import { n as NotWaasWalletAccountError } from "./isDynamicWaasEnabled-vRyWP-1l.esm.js";
7
- import { t as preconnectWaasIframe } from "./preconnectWaasIframe-Dn3RrrHd.esm.js";
1
+ import { $ as getOperatingSystem, A as fetchAndStoreNonces, B as LinkCredentialError, C as splitWalletProviderKey, D as onEvent, E as offEvent, G as assertDefined, H as APIError, I as getNonce, J as instrumentFunction, K as ValueMustBeDefinedError, L as SandboxMaximumThresholdReachedError, M as UnauthorizedError, O as onceEvent, Q as getPlatform, R as MfaRateLimitedError, S as normalizeAddress, T as emitEvent, V as InvalidExternalAuthError, W as isCookieEnabled, X as DEFAULT_PII_FIELDS, Y as scrubParameters, Z as getUserAgent, at as getDefaultClient, b as CHAINS_INFO_MAP, c as SDK_API_CORE_VERSION, ct as BaseError, d as WalletProviderPriority, dt as version, et as extractSessionId, f as getWalletProviderRegistry, h as getWalletAccounts, it as NONCE_POOL_SIZE, j as createApiClient, lt as getCore, m as NoWalletProviderFoundError, o as isUserMissingMfaAuth, ot as setDefaultClient, q as __getElevatedAccessToken_wrapped, s as DYNAMIC_ICONIC_SPRITE_URL, t as InvalidParamError, tt as randomString, u as getWalletProviderFromWalletAccount, ut as name, x as formatWalletAccountId, y as getChainFromVerifiedCredentialChain, z as MfaInvalidOtpError } from "./InvalidParamError-BeCPhfVz.esm.js";
2
+ import { A as GENERATE_SESSION_KEYS_TRACKER_KEY, B as isEqualShallow, C as createKeychainService, D as CannotTrackError, F as getBuffer, I as createStorage, M as REFRESH_USER_STATE_FROM_COOKIE_TRACKER_KEY, N as REFRESH_USER_STATE_FROM_VALID_TOKEN_TRACKER_KEY, O as createDeferredPromise, P as isServerSideRendering, R as createLocalStorageAdapter, S as createRealtimeService, T as createCrossTabBroadcast, _ as consumeCaptchaToken, a as verifyMessageSignatureOwnership, b as NoNetworkProvidersError, c as formatSignInMessage, d as updateWalletProviderKeysForVerifiedCredentials, f as setUnverifiedWalletAccounts, g as MethodNotImplementedError, h as __setCaptchaToken_wrapped, i as getNetworksData, j as INITIALIZE_STORAGE_SYNC_TRACKER_KEY, k as FETCH_PROJECT_SETTINGS_TRACKER_KEY, l as getAppMetadata, m as hasExtension, o as removeUnverifiedWalletAccount, p as createVisit, s as createSignInMessageStatement, t as getNetworkProviderFromNetworkId, u as reconcileWalletAccountsAgainstClient, v as isCaptchaRequired, w as createLogger, x as getKeychainIndexedDBName, y as WalletAlreadyLinkedToAnotherUserError, z as subscribeWithSelector } from "./getNetworkProviderFromNetworkId-CP9gl1B1.esm.js";
3
+ import { a as generateSessionKeys, c as isSignedIn, i as __logoutWithReason_wrapped, l as retryOnFail, n as getMfaMethods, o as fetchProjectSettings, r as __consumeMfaToken_wrapped, s as createStorageKeySchema, t as isMfaRequiredForAction } from "./isMfaRequiredForAction-Diwsf9GB.esm.js";
4
+ import { a as parseElevatedAccessToken, i as upsertElevatedAccessToken, l as getWalletProviders, n as getVerifiedCredentialForWalletAccount, o as initializeWaasClientsForEagerRecovery, r as updateAuthFromVerifyResponse, t as getWalletProviderByKey, u as checkAndRaiseWalletAccountsChangedEvent } from "./getWalletProviderByKey-BMzoL_69.esm.js";
5
+ import { t as __refreshAuth_wrapped } from "./refreshAuth-BTPctQtq.esm.js";
6
+ import { n as NotWaasWalletAccountError } from "./isDynamicWaasEnabled-BMQq5uNX.esm.js";
7
+ import { a as WaasOnboardingIncompleteError, i as preconnectWaasIframe, n as isPendingRecoveryCodesAcknowledgment, r as isDeviceRegistrationRequired, t as isUserOnboardingComplete } from "./isUserOnboardingComplete-D4Y3sdr3.esm.js";
8
8
  import { assertPackageVersion } from "@dynamic-labs-sdk/assert-package-version";
9
9
  import { AuthModeEnum, ExchangeKeyEnum, JwtVerifiedCredentialFormatEnum, MFAAction, MfaBackupCodeAcknowledgement, ProviderEnum, TokenScope, WaasBackupOptionsEnum, WalletProviderEnum } from "@dynamic-labs/sdk-api-core";
10
10
  import * as z from "zod/mini";
@@ -30,7 +30,7 @@ const stateChangeEvents = {
30
30
 
31
31
  //#endregion
32
32
  //#region src/utils/getNonce/prefetchNoncesIfNeeded/prefetchNoncesIfNeeded.ts
33
- /** @not-instrumented */
33
+ /** @notInstrumented */
34
34
  const prefetchNoncesIfNeeded = async (client) => {
35
35
  if (getCore(client).state.get().prefetchedNonces.length >= NONCE_POOL_SIZE) return;
36
36
  await fetchAndStoreNonces(client);
@@ -42,7 +42,7 @@ const prefetchNoncesIfNeeded = async (client) => {
42
42
  * Creates a new runtime services instance that manages service registration and retrieval.
43
43
  *
44
44
  * @returns A RuntimeServices object with methods to get, register, and unregister services
45
- * @not-instrumented
45
+ * @notInstrumented
46
46
  */
47
47
  const createRuntimeServices = () => {
48
48
  const registry = /* @__PURE__ */ new Map();
@@ -57,7 +57,7 @@ const createRuntimeServices = () => {
57
57
  //#region src/modules/auth/initializeAuth/setLongTimeout/setLongTimeout.ts
58
58
  /**
59
59
  * A replacement for setTimeout that supports delays longer than 2147483647ms (~24.8 days).
60
- * @not-instrumented
60
+ * @notInstrumented
61
61
  */
62
62
  const setLongTimeout = ({ callback, delay }) => {
63
63
  const MAX_DELAY = 2147483647;
@@ -80,7 +80,7 @@ const setLongTimeout = ({ callback, delay }) => {
80
80
  //#region src/modules/auth/initializeAuth/initializeAuth.ts
81
81
  /**
82
82
  * Sets up a timeout to log out the user when their token expires.
83
- * @not-instrumented
83
+ * @notInstrumented
84
84
  */
85
85
  const initializeAuth = (client) => {
86
86
  const core = getCore(client);
@@ -122,7 +122,7 @@ const initializeAuth = (client) => {
122
122
  * - Emits corresponding "*InAnotherTab" events on core.eventEmitter
123
123
  *
124
124
  * @param client - The Dynamic client instance
125
- * @not-instrumented
125
+ * @notInstrumented
126
126
  */
127
127
  const setupCrossTabEventSync = (client) => {
128
128
  const core = getCore(client);
@@ -214,7 +214,7 @@ var KeyMigrationError = class extends BaseError {
214
214
  *
215
215
  * Idempotent: skips if the keychain already has a `session` key.
216
216
  * Throws on failure — callers should handle errors (e.g. .catch(() => logout(client))).
217
- * @not-instrumented
217
+ * @notInstrumented
218
218
  */
219
219
  const migrateSessionKeyToKeychain = async ({ keychain, logger, state, storage }) => {
220
220
  if (isServerSideRendering()) return;
@@ -259,7 +259,7 @@ const migrateSessionKeyToKeychain = async ({ keychain, logger, state, storage })
259
259
 
260
260
  //#endregion
261
261
  //#region src/modules/state/raiseStateEvents/raiseStateEvents.ts
262
- /** @not-instrumented */
262
+ /** @notInstrumented */
263
263
  const raiseStateEvents = (client) => {
264
264
  getCore(client).state.subscribe((value, previous) => {
265
265
  Object.entries(stateChangeEvents).forEach(([key, event]) => {
@@ -274,7 +274,7 @@ const raiseStateEvents = (client) => {
274
274
 
275
275
  //#endregion
276
276
  //#region src/modules/storageSync/hydrateStateWithStorage/hydrateStateWithStorage.ts
277
- /** @not-instrumented */
277
+ /** @notInstrumented */
278
278
  const hydrateStateWithStorage = async (client) => {
279
279
  const core = getCore(client);
280
280
  const previousState = core.state.get();
@@ -312,7 +312,7 @@ const hydrateStateWithStorage = async (client) => {
312
312
 
313
313
  //#endregion
314
314
  //#region src/modules/storageSync/syncStateWithStorage/syncStateWithStorage.ts
315
- /** @not-instrumented */
315
+ /** @notInstrumented */
316
316
  const syncStateWithStorage = (client) => {
317
317
  const core = getCore(client);
318
318
  core.state.subscribe((state) => {
@@ -345,7 +345,7 @@ const syncStateWithStorage = (client) => {
345
345
 
346
346
  //#endregion
347
347
  //#region src/modules/storageSync/initializeStorageSync.ts
348
- /** @not-instrumented */
348
+ /** @notInstrumented */
349
349
  const initializeStorageSync = async (client) => {
350
350
  await hydrateStateWithStorage(client);
351
351
  syncStateWithStorage(client);
@@ -536,7 +536,7 @@ const __initializeClient_wrapped = instrumentFunction({
536
536
  //#region src/services/asyncTrack/createAsyncTrack.ts
537
537
  /**
538
538
  * Creates a tracker that associates names with promises and raises as promises resolve.
539
- * @not-instrumented
539
+ * @notInstrumented
540
540
  */
541
541
  const createAsyncTrack = () => {
542
542
  /**
@@ -592,7 +592,7 @@ const createAsyncTrack = () => {
592
592
 
593
593
  //#endregion
594
594
  //#region src/services/eventEmitter/createEventEmitter.ts
595
- /** @not-instrumented */
595
+ /** @notInstrumented */
596
596
  const createEventEmitter = () => new EventEmitter();
597
597
 
598
598
  //#endregion
@@ -613,7 +613,7 @@ var UnavailableInServerSideError = class extends BaseError {
613
613
  //#region src/services/fetch/createWebFetch.ts
614
614
  /**
615
615
  * Creates a fetch instance that uses the native window.fetch API.
616
- * @not-instrumented
616
+ * @notInstrumented
617
617
  */
618
618
  const createWebFetch = () => {
619
619
  if (isServerSideRendering()) return () => Promise.reject(new UnavailableInServerSideError("createWebFetch"));
@@ -629,7 +629,7 @@ const createWebFetch = () => {
629
629
  * Bridges the logger and instrumentation subsystems without coupling them
630
630
  * at construction time — either can exist without the other.
631
631
  * Only error-level log entries are forwarded.
632
- * @not-instrumented
632
+ * @notInstrumented
633
633
  */
634
634
  const connectLoggerToInstrumentation = ({ environmentId, extensions, instrumentation, logger, sdkSessionId, sdkVersion, state }) => {
635
635
  logger.on("log", (level, message, ...args) => {
@@ -674,7 +674,7 @@ const buildPiiFields = (customFields = []) => {
674
674
  *
675
675
  * Custom piiFields are merged with and deduplicated against the defaults so
676
676
  * callers only need to list additional fields, not replicate the baseline.
677
- * @not-instrumented
677
+ * @notInstrumented
678
678
  */
679
679
  const createInstrumentation = ({ config: inputConfig } = {}) => {
680
680
  let transport;
@@ -716,7 +716,7 @@ const LOGS_BASE_URL = "https://logs.dynamicauth.com/api/v1";
716
716
  *
717
717
  * Works in both browser and SSR environments — fetch is injected and
718
718
  * queueMicrotask is available in Node.js >= 11.
719
- * @not-instrumented
719
+ * @notInstrumented
720
720
  */
721
721
  const createDynamicTransport = (params) => {
722
722
  const queue = [];
@@ -745,7 +745,7 @@ const createDynamicTransport = (params) => {
745
745
  //#region src/services/navigate/createNavigationHandler/createNavigationHandler.ts
746
746
  /**
747
747
  * Creates a navigation handler that uses the native window.location API.
748
- * @not-instrumented
748
+ * @notInstrumented
749
749
  */
750
750
  const createNavigationHandler = () => {
751
751
  if (isServerSideRendering()) return () => Promise.reject(new UnavailableInServerSideError("createNavigationHandler"));
@@ -768,7 +768,7 @@ const createNavigationHandler = () => {
768
768
  * the browser focuses the lingering about:blank after the redirect tab closes.
769
769
  * `window.location.assign` reuses the current tab, avoiding the extra tab
770
770
  * entirely.
771
- * @not-instrumented
771
+ * @notInstrumented
772
772
  */
773
773
  const createWebDeeplinkOpener = () => {
774
774
  if (isServerSideRendering()) return () => Promise.reject(new UnavailableInServerSideError("createWebDeeplinkOpener"));
@@ -782,7 +782,7 @@ const createWebDeeplinkOpener = () => {
782
782
  /**
783
783
  * Because this is the web implementation of the passkey service, we need to
784
784
  * import the browser's WebAuthn API directly.
785
- * @not-instrumented
785
+ * @notInstrumented
786
786
  */
787
787
  /**
788
788
  * Create a passkey service that uses the browser's WebAuthn API.
@@ -790,7 +790,7 @@ const createWebDeeplinkOpener = () => {
790
790
  * Metadata is accepted for parity with the native implementation (which uses
791
791
  * `universalLink` to validate the associated domain) but is unused on web —
792
792
  * the browser derives the relying party from `window.location.origin`.
793
- * @not-instrumented
793
+ * @notInstrumented
794
794
  */
795
795
  const createPasskeyService = (_params) => ({
796
796
  authenticate: (options) => startAuthentication(options),
@@ -800,7 +800,7 @@ const createPasskeyService = (_params) => ({
800
800
 
801
801
  //#endregion
802
802
  //#region src/utils/debouncedMutex/createDebouncedMutex/createDebouncedMutex.ts
803
- /** @not-instrumented */
803
+ /** @notInstrumented */
804
804
  const createDebouncedMutex = () => {
805
805
  const mutexState = /* @__PURE__ */ new Map();
806
806
  return async ({ lockKey, callback, debounceTime = 0 }) => {
@@ -885,7 +885,7 @@ var InvalidStorageValue = class extends BaseError {
885
885
  * // Unsubscribe when done
886
886
  * unsubscribe();
887
887
  * ```
888
- * @not-instrumented
888
+ * @notInstrumented
889
889
  */
890
890
  const createObservableState = (getInitialState$1) => {
891
891
  const subscribers = /* @__PURE__ */ new Set();
@@ -929,7 +929,7 @@ const DEFAULT_API_BASE_URL = "https://app.dynamicauth.com/api/v0";
929
929
  //#region src/client/core/createCore/getInitialState.ts
930
930
  /**
931
931
  * The initial values for the state of the client.
932
- * @not-instrumented
932
+ * @notInstrumented
933
933
  */
934
934
  const getInitialState = () => ({
935
935
  captchaToken: null,
@@ -954,7 +954,7 @@ const getInitialState = () => ({
954
954
  //#region src/client/core/createCore/createCore.ts
955
955
  /**
956
956
  * Creates a core instance that contains all the services and state of the Dynamic SDK client.
957
- * @not-instrumented
957
+ * @notInstrumented
958
958
  */
959
959
  const createCore = (config) => {
960
960
  const apiBaseUrl = config.coreConfig?.apiBaseUrl ?? DEFAULT_API_BASE_URL;
@@ -1655,7 +1655,7 @@ const __signInWithExternalJwt_wrapped = instrumentFunction({
1655
1655
  *
1656
1656
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1657
1657
  * @returns A promise that resolves when the logout process is complete.
1658
- * @not-instrumented
1658
+ * @notInstrumented
1659
1659
  */
1660
1660
  const logout = async (client = getDefaultClient()) => {
1661
1661
  /**
@@ -1710,7 +1710,7 @@ const __deletePasskey_wrapped = instrumentFunction({
1710
1710
  *
1711
1711
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1712
1712
  * @returns A promise that resolves to an array of the user's registered passkeys.
1713
- * @not-instrumented
1713
+ * @notInstrumented
1714
1714
  */
1715
1715
  const getPasskeys = async (client = getDefaultClient()) => {
1716
1716
  const core = getCore(client);
@@ -1719,7 +1719,7 @@ const getPasskeys = async (client = getDefaultClient()) => {
1719
1719
 
1720
1720
  //#endregion
1721
1721
  //#region src/modules/auth/passkeys/getPasskeyRegistrationOptions/getPasskeyRegistrationOptions.ts
1722
- /** @not-instrumented */
1722
+ /** @notInstrumented */
1723
1723
  const getPasskeyRegistrationOptions = async (client) => {
1724
1724
  const core = getCore(client);
1725
1725
  return await createApiClient({}, client).getPasskeyRegistrationOptions({ environmentId: core.environmentId });
@@ -1727,7 +1727,7 @@ const getPasskeyRegistrationOptions = async (client) => {
1727
1727
 
1728
1728
  //#endregion
1729
1729
  //#region src/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.ts
1730
- /** @not-instrumented */
1730
+ /** @notInstrumented */
1731
1731
  const serverRegisterPasskey = async ({ registration, createMfaToken }, client) => {
1732
1732
  const core = getCore(client);
1733
1733
  return await createApiClient({ elevatedAccessTokenScope: TokenScope.Credentiallink }, client).registerPasskey({
@@ -1786,7 +1786,7 @@ const __registerPasskey_wrapped = instrumentFunction({
1786
1786
 
1787
1787
  //#endregion
1788
1788
  //#region src/modules/auth/passkeys/getPasskeyAuthenticationSignInOptions/getPasskeyAuthenticationSignInOptions.ts
1789
- /** @not-instrumented */
1789
+ /** @notInstrumented */
1790
1790
  const getPasskeyAuthenticationSignInOptions = async ({ relatedOriginRpId } = {}, client) => {
1791
1791
  const core = getCore(client);
1792
1792
  return await createApiClient({}, client).getPasskeyAuthenticationSigninOptions({
@@ -1797,7 +1797,7 @@ const getPasskeyAuthenticationSignInOptions = async ({ relatedOriginRpId } = {},
1797
1797
 
1798
1798
  //#endregion
1799
1799
  //#region src/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.ts
1800
- /** @not-instrumented */
1800
+ /** @notInstrumented */
1801
1801
  const serverSigninPasskey = async ({ authentication, createMfaToken }, client) => {
1802
1802
  const core = getCore(client);
1803
1803
  return await createApiClient({}, client).signinWithPasskey({
@@ -1857,7 +1857,7 @@ const __signInWithPasskey_wrapped = instrumentFunction({
1857
1857
  *
1858
1858
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1859
1859
  * @returns An array of `SocialAccount` objects associated with the user.
1860
- * @not-instrumented
1860
+ * @notInstrumented
1861
1861
  * @hook Exposed as a hook so consumers get the reactive list of social accounts, updated when the user changes.
1862
1862
  */
1863
1863
  const getUserSocialAccounts = (client = getDefaultClient()) => {
@@ -1876,7 +1876,7 @@ const getUserSocialAccounts = (client = getDefaultClient()) => {
1876
1876
 
1877
1877
  //#endregion
1878
1878
  //#region src/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.ts
1879
- /** @not-instrumented */
1879
+ /** @notInstrumented */
1880
1880
  const removeDynamicOauthParamsFromUrl = (url) => {
1881
1881
  const urlObject = new URL(url);
1882
1882
  urlObject.searchParams.delete("dynamicOauthState");
@@ -1898,7 +1898,7 @@ const redirectStateStorageKeySchema = createStorageKeySchema({
1898
1898
 
1899
1899
  //#endregion
1900
1900
  //#region src/utils/digestSHA256/digestSHA256.ts
1901
- /** @not-instrumented */
1901
+ /** @notInstrumented */
1902
1902
  const digestSHA256 = (str) => {
1903
1903
  const data = new TextEncoder().encode(str);
1904
1904
  return crypto.subtle.digest("SHA-256", data);
@@ -1911,7 +1911,7 @@ const digestSHA256 = (str) => {
1911
1911
  *
1912
1912
  * @param str - The string to encode as an ArrayBuffer.
1913
1913
  * @returns The base64url encoded string.
1914
- * @not-instrumented
1914
+ * @notInstrumented
1915
1915
  */
1916
1916
  const encodeBase64Url = (str) => {
1917
1917
  const numberArray = [];
@@ -1923,7 +1923,7 @@ const encodeBase64Url = (str) => {
1923
1923
  //#region src/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.ts
1924
1924
  const APPLE_RESPONSE_MODE = "form_post";
1925
1925
  const APPLE_RESPONSE_TYPE = "code id_token";
1926
- /** Helper function to add OAuth URL parameters to a given base URL. * @not-instrumented
1926
+ /** Helper function to add OAuth URL parameters to a given base URL. * @notInstrumented
1927
1927
  */
1928
1928
  const addOAuthUrlParams = ({ baseUrl, isGoogleDriveBackupEnabled, provider }) => {
1929
1929
  assertDefined(provider.clientId, "Client ID not found");
@@ -1951,7 +1951,7 @@ const addOAuthUrlParams = ({ baseUrl, isGoogleDriveBackupEnabled, provider }) =>
1951
1951
 
1952
1952
  //#endregion
1953
1953
  //#region src/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.ts
1954
- /** Helper function to build the OAuth base URL for a given provider. * @not-instrumented
1954
+ /** Helper function to build the OAuth base URL for a given provider. * @notInstrumented
1955
1955
  */
1956
1956
  const getOAuthBaseUrl = (provider) => {
1957
1957
  assertDefined(provider.provider, "Provider type not found");
@@ -1972,7 +1972,7 @@ const getOAuthBaseUrl = (provider) => {
1972
1972
  //#endregion
1973
1973
  //#region src/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/buildOAuthUrl.ts
1974
1974
  const providersRequiringPkce = ["twitter", "github"];
1975
- /** Helper function to build the OAuth URL for a given provider. * @not-instrumented
1975
+ /** Helper function to build the OAuth URL for a given provider. * @notInstrumented
1976
1976
  */
1977
1977
  const buildOAuthUrl = async (core, provider) => {
1978
1978
  const { projectSettings } = core.state.get();
@@ -2100,7 +2100,7 @@ const __authenticateWithSocial_wrapped = instrumentFunction({
2100
2100
  */
2101
2101
  const processSocialCallback = async ({ url, requestedScopes }, client) => {
2102
2102
  const core = getCore(client);
2103
- const apiClient = createApiClient({}, client);
2103
+ const apiClient = createApiClient(client.user ? { elevatedAccessTokenScope: TokenScope.Credentiallink } : {}, client);
2104
2104
  await core.initTrack.waitForAll();
2105
2105
  const dynamicOauthState = url.searchParams.get("dynamicOauthState");
2106
2106
  const dynamicOauthCode = url.searchParams.get("dynamicOauthCode");
@@ -2218,7 +2218,7 @@ const __completeSocialAuthentication_wrapped = instrumentFunction({
2218
2218
  * @param params.url - The URL to check for OAuth redirect parameters.
2219
2219
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2220
2220
  * @returns A promise that resolves to true if the URL is an OAuth redirect, false otherwise.
2221
- * @not-instrumented
2221
+ * @notInstrumented
2222
2222
  * @noHook Low-level redirect-detection primitive that is not exposed as a React hook.
2223
2223
  */
2224
2224
  const detectSocialRedirectUrl = async ({ url }, client = getDefaultClient()) => {
@@ -2236,7 +2236,7 @@ const detectSocialRedirectUrl = async ({ url }, client = getDefaultClient()) =>
2236
2236
  * @deprecated Renamed to {@link detectSocialRedirectUrl}. This alias will be
2237
2237
  * removed in a future major version.
2238
2238
  *
2239
- * @not-instrumented
2239
+ * @notInstrumented
2240
2240
  * @noHook Deprecated alias; the replacement is exposed via its own hook.
2241
2241
  */
2242
2242
  const detectOAuthRedirect = (params, client = getDefaultClient()) => detectSocialRedirectUrl(params, client);
@@ -2277,7 +2277,7 @@ const __signInWithSocialPopUp_wrapped = instrumentFunction({
2277
2277
  * The primary wallet account is the one that was last selected by the user.
2278
2278
  * This information is stored in both unverified and verified wallet accounts.
2279
2279
  * This function consolidates this information to determine which wallet was most recently selected.
2280
- * @not-instrumented
2280
+ * @notInstrumented
2281
2281
  */
2282
2282
  const getPrimaryWalletAccount = (client = getDefaultClient()) => {
2283
2283
  const sortedLastSelectedWalletAccounts = getWalletAccounts(client).filter((walletAccount) => Boolean(walletAccount.lastSelectedAt)).sort((a, b) => b.lastSelectedAt.getTime() - a.lastSelectedAt.getTime());
@@ -2350,7 +2350,7 @@ const __unlinkSocialAccount_wrapped = instrumentFunction({
2350
2350
  * @param params.walletAccount - The wallet account to get the balances for.
2351
2351
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2352
2352
  * @returns A promise that resolves to an array of token balances.
2353
- * @not-instrumented
2353
+ * @notInstrumented
2354
2354
  */
2355
2355
  const getTokenBalances = async ({ walletAccount, networkId, networkIds, includePrices, includeNative, filterSpamTokens, whitelistedContracts, forceRefresh }, client = getDefaultClient()) => {
2356
2356
  const core = getCore(client);
@@ -2381,7 +2381,7 @@ const getTokenBalances = async ({ walletAccount, networkId, networkIds, includeP
2381
2381
  * longer confusable with the native-only `getBalance` or the
2382
2382
  * multi-chain `getMultichainTokenBalances`.
2383
2383
  *
2384
- * @not-instrumented
2384
+ * @notInstrumented
2385
2385
  * @noHook Deprecated; the replacement is exposed via its own hook.
2386
2386
  */
2387
2387
  const getBalances = (params, client = getDefaultClient()) => getTokenBalances(params, client);
@@ -2400,7 +2400,7 @@ const getBalances = (params, client = getDefaultClient()) => getTokenBalances(pa
2400
2400
  * @param params.balanceRequest - The balance request configuration specifying which chains, networks and addresses to query.
2401
2401
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2402
2402
  * @returns A promise that resolves to the chain balances across multiple networks.
2403
- * @not-instrumented
2403
+ * @notInstrumented
2404
2404
  */
2405
2405
  const getMultichainTokenBalances = async ({ balanceRequest }, client = getDefaultClient()) => {
2406
2406
  const core = getCore(client);
@@ -2417,14 +2417,14 @@ const getMultichainTokenBalances = async ({ balanceRequest }, client = getDefaul
2417
2417
  * the name aligns with `getTokenBalances` and signals that this fetches
2418
2418
  * token balances (not native-only) across multiple chains.
2419
2419
  *
2420
- * @not-instrumented
2420
+ * @notInstrumented
2421
2421
  * @noHook Deprecated; the replacement is exposed via its own hook.
2422
2422
  */
2423
2423
  const getMultichainBalances = (params, client = getDefaultClient()) => getMultichainTokenBalances(params, client);
2424
2424
 
2425
2425
  //#endregion
2426
2426
  //#region src/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.ts
2427
- /** @not-instrumented */
2427
+ /** @notInstrumented */
2428
2428
  const createCheckoutSessionTokenStorageKey = (transactionId) => {
2429
2429
  return createStorageKeySchema({
2430
2430
  key: `checkoutSessionToken:${transactionId}`,
@@ -2434,7 +2434,7 @@ const createCheckoutSessionTokenStorageKey = (transactionId) => {
2434
2434
 
2435
2435
  //#endregion
2436
2436
  //#region src/modules/checkout/utils/createCheckoutApiClient/createCheckoutApiClient.ts
2437
- /** @not-instrumented */
2437
+ /** @notInstrumented */
2438
2438
  const createCheckoutApiClient = async ({ transactionId }, client) => {
2439
2439
  const core = getCore(client);
2440
2440
  const apiClient = createApiClient({}, client);
@@ -2463,7 +2463,7 @@ const createCheckoutApiClient = async ({ transactionId }, client) => {
2463
2463
  * The server-side revocation lives in dashboard-api; this is the SDK-side
2464
2464
  * defense-in-depth.
2465
2465
  *
2466
- * @not-instrumented
2466
+ * @notInstrumented
2467
2467
  */
2468
2468
  const clearCheckoutSessionToken = async ({ transactionId }, client) => {
2469
2469
  await getCore(client).storage.removeItem(createCheckoutSessionTokenStorageKey(transactionId));
@@ -2478,7 +2478,7 @@ const clearCheckoutSessionToken = async ({ transactionId }, client) => {
2478
2478
  * exfiltration surface for no benefit and makes the next SDK load attempt
2479
2479
  * requests that are guaranteed to fail.
2480
2480
  *
2481
- * @not-instrumented
2481
+ * @notInstrumented
2482
2482
  */
2483
2483
  const withCheckoutSessionTokenCleanupOn401 = async ({ call, transactionId }, client) => {
2484
2484
  try {
@@ -2626,7 +2626,7 @@ const __cancelCheckoutTransaction_wrapped = instrumentFunction({
2626
2626
 
2627
2627
  //#endregion
2628
2628
  //#region src/modules/checkout/getCheckouts/getCheckouts.ts
2629
- /** @not-instrumented */
2629
+ /** @notInstrumented */
2630
2630
  const getCheckouts = async (client) => {
2631
2631
  const projectSettings = client.projectSettings;
2632
2632
  assertDefined(projectSettings, "Project settings are not available");
@@ -2692,7 +2692,7 @@ const __createCheckoutTransaction_wrapped = instrumentFunction({
2692
2692
  * @param params GetCheckoutTransactionParams - The parameters for fetching the transaction.
2693
2693
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2694
2694
  * @returns The checkout transaction
2695
- * @not-instrumented
2695
+ * @notInstrumented
2696
2696
  * @noHook Legacy checkout function not exposed as a React hook; the checkout product is being renamed to flow.
2697
2697
  */
2698
2698
  const getCheckoutTransaction = async ({ transactionId }, client = getDefaultClient()) => {
@@ -2713,7 +2713,7 @@ const getCheckoutTransaction = async ({ transactionId }, client = getDefaultClie
2713
2713
  * @param params GetCheckoutTransactionQuoteParams - The quote parameters.
2714
2714
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2715
2715
  * @returns The updated checkout transaction with quote data
2716
- * @not-instrumented
2716
+ * @notInstrumented
2717
2717
  * @noHook Legacy checkout function not exposed as a React hook; the checkout product is being renamed to flow.
2718
2718
  */
2719
2719
  const getCheckoutTransactionQuote = async ({ fromChainId, fromTokenAddress, slippage, transactionId }, client = getDefaultClient()) => {
@@ -2818,7 +2818,7 @@ const SWAP_SUPPORTED_CHAINS = [
2818
2818
  * If the wallet provider is not on the correct active network, it will try to switch to the correct active network.
2819
2819
  * It's not a blocker, so it will just log the error and skip the step if it fails.
2820
2820
  *
2821
- * @not-instrumented
2821
+ * @notInstrumented
2822
2822
  */
2823
2823
  const ensureCorrectActiveNetwork = async ({ requiredNetworkId, walletProvider }, client) => {
2824
2824
  const { logger } = getCore(client);
@@ -2948,7 +2948,7 @@ const __submitCheckoutTransaction_wrapped = instrumentFunction({
2948
2948
  *
2949
2949
  * @param params.transactionId - The ID of the checkout transaction to track.
2950
2950
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2951
- * @not-instrumented
2951
+ * @notInstrumented
2952
2952
  * @noHook Legacy checkout function not exposed as a React hook; the checkout product is being renamed to flow.
2953
2953
  */
2954
2954
  const trackCheckoutTransaction = (_params, client = getDefaultClient()) => {
@@ -2971,7 +2971,7 @@ const trackCheckoutTransaction = (_params, client = getDefaultClient()) => {
2971
2971
  * @param params - The from token details and the checkout's settlement config.
2972
2972
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2973
2973
  * @returns Whether a token conversion is required
2974
- * @not-instrumented
2974
+ * @notInstrumented
2975
2975
  * @noHook Legacy checkout function not exposed as a React hook; the checkout product is being renamed to flow.
2976
2976
  */
2977
2977
  const requiresConversion = async ({ transaction }, client = getDefaultClient()) => {
@@ -3016,7 +3016,7 @@ const __completeDeviceRegistration_wrapped = instrumentFunction({
3016
3016
  *
3017
3017
  * @returns The device token as a string if valid.
3018
3018
  * @throws InvalidDeviceRegistrationRedirectError If the URL is not a valid device registration redirect.
3019
- * @not-instrumented
3019
+ * @notInstrumented
3020
3020
  */
3021
3021
  const getDeviceRegistrationTokenFromUrl = ({ url }) => {
3022
3022
  let urlObject;
@@ -3039,7 +3039,7 @@ const getDeviceRegistrationTokenFromUrl = ({ url }) => {
3039
3039
  * if it contains device registration redirect data from a device authentication flow.
3040
3040
  *
3041
3041
  * @returns True if the URL is a device registration redirect, false otherwise.
3042
- * @not-instrumented
3042
+ * @notInstrumented
3043
3043
  */
3044
3044
  const detectDeviceRegistrationRedirect = ({ url }) => {
3045
3045
  try {
@@ -3052,7 +3052,7 @@ const detectDeviceRegistrationRedirect = ({ url }) => {
3052
3052
 
3053
3053
  //#endregion
3054
3054
  //#region src/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.ts
3055
- /** @not-instrumented */
3055
+ /** @notInstrumented */
3056
3056
  const getRegisteredDevices = async (client = getDefaultClient()) => {
3057
3057
  const core = getCore(client);
3058
3058
  const apiClient = createApiClient({}, client);
@@ -3068,20 +3068,6 @@ const getRegisteredDevices = async (client = getDefaultClient()) => {
3068
3068
  }
3069
3069
  };
3070
3070
 
3071
- //#endregion
3072
- //#region src/modules/deviceRegistration/isDeviceRegistrationRequired/isDeviceRegistrationRequired.ts
3073
- /**
3074
- * Checks if device registration is required for the given user.
3075
- *
3076
- * This function determines if the user has the deviceRegistration
3077
- * scope, indicating that device registration is required.
3078
- *
3079
- * @param user - The user to check.
3080
- * @returns True if device registration is required, false otherwise.
3081
- * @not-instrumented
3082
- */
3083
- const isDeviceRegistrationRequired = (user) => Boolean(user.scope?.includes("device:register"));
3084
-
3085
3071
  //#endregion
3086
3072
  //#region src/modules/deviceRegistration/revokeAllRegisteredDevices/revokeAllRegisteredDevices.ts
3087
3073
  /** @instrumented */
@@ -3129,7 +3115,7 @@ const __revokeRegisteredDevice_wrapped = instrumentFunction({
3129
3115
 
3130
3116
  //#endregion
3131
3117
  //#region src/modules/flow/utils/createFlowSessionTokenStorageKey/createFlowSessionTokenStorageKey.ts
3132
- /** @not-instrumented */
3118
+ /** @notInstrumented */
3133
3119
  const createFlowSessionTokenStorageKey = (flowId) => {
3134
3120
  return createStorageKeySchema({
3135
3121
  key: `flowSessionToken:${flowId}`,
@@ -3153,7 +3139,7 @@ const createFlowSessionTokenStorageKey = (flowId) => {
3153
3139
  * The server-side revocation lives in dashboard-api; this is the SDK-side
3154
3140
  * defense-in-depth.
3155
3141
  *
3156
- * @not-instrumented
3142
+ * @notInstrumented
3157
3143
  */
3158
3144
  const clearFlowSessionToken = async ({ flowId }, client) => {
3159
3145
  await getCore(client).storage.removeItem(createFlowSessionTokenStorageKey(flowId));
@@ -3168,7 +3154,7 @@ const clearFlowSessionToken = async ({ flowId }, client) => {
3168
3154
  * exfiltration surface for no benefit and makes the next SDK load attempt
3169
3155
  * requests that are guaranteed to fail.
3170
3156
  *
3171
- * @not-instrumented
3157
+ * @notInstrumented
3172
3158
  */
3173
3159
  const withFlowSessionTokenCleanupOn401 = async ({ call, flowId }, client) => {
3174
3160
  try {
@@ -3234,7 +3220,7 @@ const __attachFlowSource_wrapped = instrumentFunction({
3234
3220
 
3235
3221
  //#endregion
3236
3222
  //#region src/modules/flow/utils/createFlowApiClient/createFlowApiClient.ts
3237
- /** @not-instrumented */
3223
+ /** @notInstrumented */
3238
3224
  const createFlowApiClient = async ({ flowId }, client) => {
3239
3225
  const core = getCore(client);
3240
3226
  const apiClient = createApiClient({}, client);
@@ -3330,7 +3316,7 @@ const __cancelFlow_wrapped = instrumentFunction({
3330
3316
  * @param params GetFlowParams - The parameters for fetching the flow.
3331
3317
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3332
3318
  * @returns The flow
3333
- * @not-instrumented
3319
+ * @notInstrumented
3334
3320
  */
3335
3321
  const getFlow = async ({ flowId }, client = getDefaultClient()) => {
3336
3322
  const core = getCore(client);
@@ -3348,7 +3334,7 @@ const getFlow = async ({ flowId }, client = getDefaultClient()) => {
3348
3334
  * @param params GetFlowQuoteParams - The quote parameters.
3349
3335
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3350
3336
  * @returns The updated flow with quote data
3351
- * @not-instrumented
3337
+ * @notInstrumented
3352
3338
  */
3353
3339
  const getFlowQuote = async ({ flowId, fromChainId, fromTokenAddress, slippage }, client = getDefaultClient()) => {
3354
3340
  const { apiClient, environmentId, sessionToken } = await createFlowApiClient({ flowId }, client);
@@ -3463,7 +3449,7 @@ const __submitFlowTransaction_wrapped = instrumentFunction({
3463
3449
  * @returns A function to remove the listener.
3464
3450
  * @throws {ValueMustBeDefinedError} If the window is not available.
3465
3451
  * @docs https://docs.cdp.coinbase.com/onramp-&-offramp/onramp-apis/apple-pay-onramp-api#events-names
3466
- * @not-instrumented
3452
+ * @notInstrumented
3467
3453
  * @hook Event listeners are error-prone to wire up by hand with useEffect.
3468
3454
  */
3469
3455
  const addCoinbaseOnrampOrderEventListener = ({ listener }, client = getDefaultClient()) => {
@@ -3505,7 +3491,7 @@ const addCoinbaseOnrampOrderEventListener = ({ listener }, client = getDefaultCl
3505
3491
  * @returns FieldMissingVerificationForCoinbaseOnramp[] - An array of fields that are missing verification for a Coinbase onramp order
3506
3492
  * @throws {InvalidParamError} - If the payment method is not valid
3507
3493
  * @throws {ValueMustBeDefinedError} - If the user is not authenticated
3508
- * @not-instrumented
3494
+ * @notInstrumented
3509
3495
  */
3510
3496
  const getMissingVerificationForCoinbaseOnrampOrder = ({ paymentMethod }, client = getDefaultClient()) => {
3511
3497
  if (paymentMethod !== "GUEST_CHECKOUT_APPLE_PAY") throw new InvalidParamError(`Invalid payment method: ${paymentMethod}`);
@@ -3543,7 +3529,7 @@ const getMissingVerificationForCoinbaseOnrampOrder = ({ paymentMethod }, client
3543
3529
 
3544
3530
  //#endregion
3545
3531
  //#region src/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/validateUserCredentialsForCoinbaseOnrampOrder.ts
3546
- /** @not-instrumented */
3532
+ /** @notInstrumented */
3547
3533
  const validateUserCredentialsForCoinbaseOnrampOrder = (client) => {
3548
3534
  const { user } = client;
3549
3535
  assertDefined(user, "User is not authenticated");
@@ -3618,7 +3604,7 @@ const __createCoinbaseOnrampOrder_wrapped = instrumentFunction({
3618
3604
  * @param buyUrlParams CoinbaseOnrampGetBuyUrlRequest - The parameters for the buy URL.
3619
3605
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3620
3606
  * @returns an object containing the buy URL
3621
- * @not-instrumented
3607
+ * @notInstrumented
3622
3608
  */
3623
3609
  const getCoinbaseBuyUrl = async (buyUrlParams, client = getDefaultClient()) => {
3624
3610
  const core = getCore(client);
@@ -3669,7 +3655,7 @@ const __createCryptoDotComPayment_wrapped = instrumentFunction({
3669
3655
  * @param transferParams - The parameters for the transfer including accountId
3670
3656
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3671
3657
  * @returns The created transfer
3672
- * @not-instrumented
3658
+ * @notInstrumented
3673
3659
  */
3674
3660
  const createKrakenExchangeTransfer = async (transferParams, client = getDefaultClient()) => {
3675
3661
  const core = getCore(client);
@@ -3703,7 +3689,7 @@ const __createKrakenExchangeTransfer_wrapped = instrumentFunction({
3703
3689
  * @param [params] GetKrakenAccountsParams - Optional filters for the accounts.
3704
3690
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3705
3691
  * @returns Array of Kraken accounts with balances
3706
- * @not-instrumented
3692
+ * @notInstrumented
3707
3693
  */
3708
3694
  const getKrakenAccounts = async (params, client = getDefaultClient()) => {
3709
3695
  const core = getCore(client);
@@ -3722,7 +3708,7 @@ const getKrakenAccounts = async (params, client = getDefaultClient()) => {
3722
3708
  *
3723
3709
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3724
3710
  * @returns Transfer destinations response with whitelisted addresses
3725
- * @not-instrumented
3711
+ * @notInstrumented
3726
3712
  */
3727
3713
  const getKrakenWhitelistedAddresses = async (client = getDefaultClient()) => {
3728
3714
  const core = getCore(client);
@@ -3848,7 +3834,7 @@ const __getMoonPayUrl_wrapped = instrumentFunction({
3848
3834
  * and are ready for use.
3849
3835
  *
3850
3836
  * @returns a promise that resolves once the client is fully initialized.
3851
- * @not-instrumented
3837
+ * @notInstrumented
3852
3838
  * @noHook Client lifecycle management is not exposed as a hook; use useInitStatus.
3853
3839
  */
3854
3840
  const waitForClientInitialized = async (client = getDefaultClient()) => {
@@ -3899,7 +3885,7 @@ const normalize$1 = (value) => value.toLowerCase().replace(/\s+/g, "").replace(/
3899
3885
  * @param [params.catalogGroupName] - Optional display name (e.g. `"Trust Wallet"`); matched as a fallback when the key is opaque.
3900
3886
  * @param params.walletProviders - Currently available wallet providers (from `getAvailableWalletProvidersData`).
3901
3887
  * @returns The subset of `walletProviders` that match the catalog group.
3902
- * @not-instrumented
3888
+ * @notInstrumented
3903
3889
  */
3904
3890
  const matchWalletProvidersToCatalogGroup = ({ catalogGroupKey, catalogGroupName, walletProviders }) => {
3905
3891
  const targets = new Set([normalize$1(catalogGroupKey)]);
@@ -3926,7 +3912,7 @@ const matchWalletProvidersToCatalogGroup = ({ catalogGroupKey, catalogGroupName,
3926
3912
  * multi-chain wallet (same `groupId` across EVM + SOL entries) only runs
3927
3913
  * the match once.
3928
3914
  *
3929
- * @not-instrumented
3915
+ * @notInstrumented
3930
3916
  */
3931
3917
  const collectInstalledGroupIds = ({ catalog, walletProviders }) => {
3932
3918
  const installedGroupIds = /* @__PURE__ */ new Set();
@@ -3969,7 +3955,7 @@ const collectInstalledGroupIds = ({ catalog, walletProviders }) => {
3969
3955
  * @param params.catalog - The full WalletConnect catalog (typically from `getWalletConnectCatalog`).
3970
3956
  * @param params.walletProviders - Currently available wallet providers.
3971
3957
  * @returns A new catalog with only the wallets and groups the user does not have installed.
3972
- * @not-instrumented
3958
+ * @notInstrumented
3973
3959
  */
3974
3960
  const excludeInstalledFromCatalog = ({ catalog, walletProviders }) => {
3975
3961
  const installedGroupIds = collectInstalledGroupIds({
@@ -3997,7 +3983,7 @@ const excludeInstalledFromCatalog = ({ catalog, walletProviders }) => {
3997
3983
  //#region src/modules/legacyWalletBook/getWalletBookCdnUrl/getWalletBookCdnUrl.ts
3998
3984
  /**
3999
3985
  * Default CDN URL for the wallet book.
4000
- * @not-instrumented
3986
+ * @notInstrumented
4001
3987
  */
4002
3988
  const DEFAULT_WALLET_BOOK_CDN_URL = "https://dynamic-static-assets.com/wallet-book/v1/stable/wallet-book.json";
4003
3989
  /**
@@ -4009,7 +3995,7 @@ const DEFAULT_WALLET_BOOK_CDN_URL = "https://dynamic-static-assets.com/wallet-bo
4009
3995
  * 4. Default CDN URL
4010
3996
  *
4011
3997
  * @returns The wallet book CDN URL to use.
4012
- * @not-instrumented
3998
+ * @notInstrumented
4013
3999
  */
4014
4000
  const getWalletBookCdnUrl = () => {
4015
4001
  if (typeof process !== "undefined" && process.env) {
@@ -4023,7 +4009,7 @@ const getWalletBookCdnUrl = () => {
4023
4009
  //#region src/modules/legacyWalletBook/fetchLegacyWalletBook/fetchWithTimeout/fetchWithTimeout.ts
4024
4010
  /**
4025
4011
  * The timeout for each fetch attempt in milliseconds.
4026
- * @not-instrumented
4012
+ * @notInstrumented
4027
4013
  */
4028
4014
  const FETCH_TIMEOUT_MS = 3e4;
4029
4015
  /**
@@ -4031,7 +4017,7 @@ const FETCH_TIMEOUT_MS = 3e4;
4031
4017
  *
4032
4018
  * @param client - The Dynamic client instance.
4033
4019
  * @returns A promise that resolves to the wallet book data.
4034
- * @not-instrumented
4020
+ * @notInstrumented
4035
4021
  */
4036
4022
  const fetchWithTimeout = async (client) => {
4037
4023
  const controller = new AbortController();
@@ -4063,7 +4049,7 @@ const walletBookCacheStorageKeySchema = createStorageKeySchema({
4063
4049
  //#region src/modules/legacyWalletBook/fetchLegacyWalletBook/fetchLegacyWalletBook.ts
4064
4050
  /**
4065
4051
  * The maximum number of retry attempts.
4066
- * @not-instrumented
4052
+ * @notInstrumented
4067
4053
  */
4068
4054
  const MAX_RETRIES = 3;
4069
4055
  /**
@@ -4080,7 +4066,7 @@ const RETRY_DELAY_MS = 100;
4080
4066
  * @param client - The Dynamic client instance.
4081
4067
  * @returns A promise that resolves to the wallet book data.
4082
4068
  * @throws If both CDN fetch and cache retrieval fail.
4083
- * @not-instrumented
4069
+ * @notInstrumented
4084
4070
  */
4085
4071
  const fetchLegacyWalletBook = async (client) => {
4086
4072
  const core = getCore(client);
@@ -4113,7 +4099,7 @@ const fetchLegacyWalletBook = async (client) => {
4113
4099
  * catalogue. These wallets are not products the user "connects" to from the
4114
4100
  * wallet selection list — they are embedded sign-in methods that live behind
4115
4101
  * different SDK entry points.
4116
- * @not-instrumented
4102
+ * @notInstrumented
4117
4103
  */
4118
4104
  const EMBEDDED_WALLET_KEYS = [
4119
4105
  "magicemailotp",
@@ -4142,7 +4128,7 @@ const EMBEDDED_WALLET_KEYS = [
4142
4128
  * {@link shouldFilterWalletForWalletConnect}.
4143
4129
  *
4144
4130
  * @returns True if the wallet should be filtered out, false otherwise.
4145
- * @not-instrumented
4131
+ * @notInstrumented
4146
4132
  */
4147
4133
  const shouldFilterWallet = ({ wallet, walletKey }) => {
4148
4134
  if (EMBEDDED_WALLET_KEYS.includes(walletKey)) return true;
@@ -4162,7 +4148,7 @@ const shouldFilterWallet = ({ wallet, walletKey }) => {
4162
4148
  *
4163
4149
  * @returns True if the wallet should be excluded from the WalletConnect
4164
4150
  * catalog, false otherwise.
4165
- * @not-instrumented
4151
+ * @notInstrumented
4166
4152
  */
4167
4153
  const shouldFilterWalletForWalletConnect = ({ wallet, walletKey }) => {
4168
4154
  if (shouldFilterWallet({
@@ -4179,7 +4165,7 @@ const shouldFilterWalletForWalletConnect = ({ wallet, walletKey }) => {
4179
4165
  *
4180
4166
  * @param params.spriteId - The sprite identifier from the wallet book.
4181
4167
  * @returns The full URL to the sprite icon
4182
- * @not-instrumented
4168
+ * @notInstrumented
4183
4169
  */
4184
4170
  const getSpriteUrl = ({ spriteId }) => `${DYNAMIC_ICONIC_SPRITE_URL}#${spriteId}`;
4185
4171
 
@@ -4187,7 +4173,7 @@ const getSpriteUrl = ({ spriteId }) => `${DYNAMIC_ICONIC_SPRITE_URL}#${spriteId}
4187
4173
  //#region src/modules/legacyWalletBook/getWalletConnectCatalog/transformGroup/transformGroup.ts
4188
4174
  /**
4189
4175
  * Transforms a wallet group schema into a WalletConnect catalog group.
4190
- * @not-instrumented
4176
+ * @notInstrumented
4191
4177
  */
4192
4178
  const transformGroup = ({ group }) => {
4193
4179
  const spriteId = group.brand?.spriteId ?? "";
@@ -4214,7 +4200,7 @@ const transformGroup = ({ group }) => {
4214
4200
  *
4215
4201
  * Centralised here rather than in `legacyWalletBook` so all chain naming
4216
4202
  * knowledge stays alongside `CHAINS_INFO_MAP`.
4217
- * @not-instrumented
4203
+ * @notInstrumented
4218
4204
  */
4219
4205
  const getChainFromWalletBookIdentifier = ({ identifier }) => {
4220
4206
  const normalised = identifier.toLowerCase();
@@ -4232,7 +4218,7 @@ const getChainFromWalletBookIdentifier = ({ identifier }) => {
4232
4218
  *
4233
4219
  * Exported so {@link getChainsFromWalletSchema} can apply the same
4234
4220
  * parsing to its multi-chain pass without duplicating the logic.
4235
- * @not-instrumented
4221
+ * @notInstrumented
4236
4222
  */
4237
4223
  const extractChainPrefix = ({ chainIdentifier }) => {
4238
4224
  const colonIndex = chainIdentifier.indexOf(":");
@@ -4265,7 +4251,7 @@ const getChainFromWalletKey = ({ walletKey }) => {
4265
4251
  * @param params.wallet - The wallet schema from the wallet book.
4266
4252
  * @param params.walletKey - The wallet key identifier (optional, used as last resort fallback).
4267
4253
  * @returns The chain type, defaults to EVM if no chain can be determined.
4268
- * @not-instrumented
4254
+ * @notInstrumented
4269
4255
  */
4270
4256
  const getChainFromWalletSchema = ({ wallet, walletKey }) => {
4271
4257
  if (wallet.injectedConfig && wallet.injectedConfig.length > 0) {
@@ -4293,7 +4279,7 @@ const getChainFromWalletSchema = ({ wallet, walletKey }) => {
4293
4279
  //#region src/modules/legacyWalletBook/getWalletConnectCatalog/transformWallet/transformWallet.ts
4294
4280
  /**
4295
4281
  * Transforms a wallet schema into a WalletConnect catalog wallet entry.
4296
- * @not-instrumented
4282
+ * @notInstrumented
4297
4283
  */
4298
4284
  const transformWallet = ({ wallet, walletKey }) => {
4299
4285
  const spriteId = wallet.brand?.spriteId ?? "";
@@ -4324,7 +4310,7 @@ const transformWallet = ({ wallet, walletKey }) => {
4324
4310
  /**
4325
4311
  * Transforms the legacy wallet book into a WalletConnect catalog structure.
4326
4312
  * Filters out embedded wallets and injected-only wallets.
4327
- * @not-instrumented
4313
+ * @notInstrumented
4328
4314
  */
4329
4315
  const transformWalletBook = ({ walletBook }) => {
4330
4316
  const groups = {};
@@ -4357,7 +4343,7 @@ const transformWalletBook = ({ walletBook }) => {
4357
4343
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4358
4344
  * @returns A promise that resolves to the WalletConnect catalog containing groups and wallets.
4359
4345
  * @throws If unable to fetch the wallet book from the API (when both CDN fetch and cache retrieval fail).
4360
- * @not-instrumented
4346
+ * @notInstrumented
4361
4347
  */
4362
4348
  const getWalletConnectCatalog = async (client = getDefaultClient()) => {
4363
4349
  return transformWalletBook({ walletBook: await fetchLegacyWalletBook(client) });
@@ -4371,7 +4357,7 @@ const getWalletConnectCatalog = async (client = getDefaultClient()) => {
4371
4357
  *
4372
4358
  * @param params.normalizedWalletNameWithChain - The normalized wallet name with chain suffix.
4373
4359
  * @returns The chain if found, undefined otherwise.
4374
- * @not-instrumented
4360
+ * @notInstrumented
4375
4361
  */
4376
4362
  const extractChainFromNormalizedName = ({ normalizedWalletNameWithChain }) => {
4377
4363
  const lowerName = normalizedWalletNameWithChain.toLowerCase();
@@ -4391,7 +4377,7 @@ const extractChainFromNormalizedName = ({ normalizedWalletNameWithChain }) => {
4391
4377
  * @param params.walletProviderKey - The wallet provider key to get the catalog wallet entry for.
4392
4378
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4393
4379
  * @returns A promise that resolves to the WalletConnect catalog wallet entry, or undefined if not found.
4394
- * @not-instrumented
4380
+ * @notInstrumented
4395
4381
  */
4396
4382
  const getWalletConnectCatalogWalletByWalletProviderKey = async ({ walletProviderKey }, client = getDefaultClient()) => {
4397
4383
  const { normalizedWalletNameWithChain } = splitWalletProviderKey(walletProviderKey);
@@ -4497,7 +4483,7 @@ const __acknowledgeRecoveryCodes_wrapped = instrumentFunction({
4497
4483
  * @param [params.requestedScopes] - Optional scopes to request an elevated access token instead of an MFA token.
4498
4484
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4499
4485
  * @returns A promise that resolves to the MFA authentication response.
4500
- * @not-instrumented
4486
+ * @notInstrumented
4501
4487
  */
4502
4488
  const authenticateMfaRecoveryCode = async ({ code, createMfaTokenOptions, requestedScopes }, client = getDefaultClient()) => {
4503
4489
  const core = getCore(client);
@@ -4528,7 +4514,7 @@ const authenticateMfaRecoveryCode = async ({ code, createMfaTokenOptions, reques
4528
4514
 
4529
4515
  //#endregion
4530
4516
  //#region src/modules/auth/passkeys/getPasskeyAuthenticationOptions/getPasskeyAuthenticationOptions.ts
4531
- /** @not-instrumented */
4517
+ /** @notInstrumented */
4532
4518
  const getPasskeyAuthenticationOptions = async ({ relatedOriginRpId } = {}, client) => {
4533
4519
  const core = getCore(client);
4534
4520
  return await createApiClient({}, client).getPasskeyAuthenticationOptions({
@@ -4539,7 +4525,7 @@ const getPasskeyAuthenticationOptions = async ({ relatedOriginRpId } = {}, clien
4539
4525
 
4540
4526
  //#endregion
4541
4527
  //#region src/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.ts
4542
- /** @not-instrumented */
4528
+ /** @notInstrumented */
4543
4529
  const serverAuthenticatePasskey = async ({ authentication, createMfaToken, requestedScopes }, client) => {
4544
4530
  const core = getCore(client);
4545
4531
  return await createApiClient({}, client).authenticateMfaPasskeyDevice({
@@ -4570,7 +4556,7 @@ const serverAuthenticatePasskey = async ({ authentication, createMfaToken, reque
4570
4556
  * @returns A promise that resolves to the MFA authentication response.
4571
4557
  * @throws NoWebAuthNSupportError If WebAuthn is not supported by the browser.
4572
4558
  * @throws NoPasskeyCredentialsFoundError If no passkey credentials are found.
4573
- * @not-instrumented
4559
+ * @notInstrumented
4574
4560
  */
4575
4561
  const authenticatePasskeyMFA = async ({ createMfaToken, relatedOriginRpId, requestedScopes } = {}, client = getDefaultClient()) => {
4576
4562
  const core = getCore(client);
@@ -4620,7 +4606,7 @@ const authenticatePasskeyMFA = async ({ createMfaToken, relatedOriginRpId, reque
4620
4606
  * @param [params.requestedScopes] - Optional scopes to request an elevated access token instead of an MFA token.
4621
4607
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4622
4608
  * @returns A promise that resolves to the MFA authentication response.
4623
- * @not-instrumented
4609
+ * @notInstrumented
4624
4610
  */
4625
4611
  const authenticateTotpMfaDevice = async ({ deviceId, code, createMfaTokenOptions, requestedScopes }, client = getDefaultClient()) => {
4626
4612
  const core = getCore(client);
@@ -4739,7 +4725,7 @@ const __deleteMfaDevice_wrapped = instrumentFunction({
4739
4725
  *
4740
4726
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4741
4727
  * @returns A promise that resolves to an array of the user's registered MFA devices.
4742
- * @not-instrumented
4728
+ * @notInstrumented
4743
4729
  */
4744
4730
  const getMfaDevices = async (client = getDefaultClient()) => {
4745
4731
  const core = getCore(client);
@@ -4759,31 +4745,13 @@ const getMfaDevices = async (client = getDefaultClient()) => {
4759
4745
  *
4760
4746
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4761
4747
  * @returns A promise that resolves to the user's MFA recovery codes.
4762
- * @not-instrumented
4748
+ * @notInstrumented
4763
4749
  */
4764
4750
  const getMfaRecoveryCodes = async (client = getDefaultClient()) => {
4765
4751
  const core = getCore(client);
4766
4752
  return createApiClient({}, client).getRecoveryCodes({ environmentId: core.environmentId });
4767
4753
  };
4768
4754
 
4769
- //#endregion
4770
- //#region src/modules/mfa/isPendingRecoveryCodesAcknowledgment/isPendingRecoveryCodesAcknowledgment.ts
4771
- /**
4772
- * Checks if the user is still pending acknowledgment of their MFA recovery codes.
4773
- *
4774
- * This function determines whether the user has been presented with recovery
4775
- * codes that they have not yet acknowledged as saved or backed up.
4776
- *
4777
- * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4778
- * @returns True if recovery codes are pending acknowledgment, false otherwise.
4779
- * @not-instrumented
4780
- */
4781
- const isPendingRecoveryCodesAcknowledgment = (client = getDefaultClient()) => {
4782
- const user = client.user;
4783
- assertDefined(user, "User not logged in");
4784
- return user.mfaBackupCodeAcknowledgement === MfaBackupCodeAcknowledgement.Pending;
4785
- };
4786
-
4787
4755
  //#endregion
4788
4756
  //#region src/modules/mfa/registerTotpMfaDevice/registerTotpMfaDevice.ts
4789
4757
  /**
@@ -5862,7 +5830,7 @@ const __sendSmsOTP_wrapped = instrumentFunction({
5862
5830
 
5863
5831
  //#endregion
5864
5832
  //#region src/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.ts
5865
- /** @not-instrumented */
5833
+ /** @notInstrumented */
5866
5834
  const verifyOTPForUserSignIn = async ({ otpVerification, verificationToken }, client) => {
5867
5835
  const core = getCore(client);
5868
5836
  const apiClient = createApiClient({}, client);
@@ -5882,7 +5850,7 @@ const verifyOTPForUserSignIn = async ({ otpVerification, verificationToken }, cl
5882
5850
 
5883
5851
  //#endregion
5884
5852
  //#region src/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.ts
5885
- /** @not-instrumented */
5853
+ /** @notInstrumented */
5886
5854
  const verifyOTPForUserUpdate = async ({ otpVerification, verificationToken, requestedScopes }, client) => {
5887
5855
  const core = getCore(client);
5888
5856
  const apiClient = createApiClient({}, client);
@@ -5953,7 +5921,7 @@ const __verifyOTP_wrapped = instrumentFunction({
5953
5921
  * @param params GetSwapQuoteParams - The parameters for the swap quote.
5954
5922
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5955
5923
  * @returns The swap quote details. Use the `signingPayload` field to get the transaction data for the wallet to sign.
5956
- * @not-instrumented
5924
+ * @notInstrumented
5957
5925
  */
5958
5926
  const getSwapQuote = async (params, client = getDefaultClient()) => {
5959
5927
  const core = getCore(client);
@@ -5988,7 +5956,7 @@ const getSwapQuote = async (params, client = getDefaultClient()) => {
5988
5956
  * @param params GetSwapStatusParams - The parameters for the swap status.
5989
5957
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5990
5958
  * @returns The swap status.
5991
- * @not-instrumented
5959
+ * @notInstrumented
5992
5960
  */
5993
5961
  const getSwapStatus = async (params, client = getDefaultClient()) => {
5994
5962
  const core = getCore(client);
@@ -6054,28 +6022,6 @@ const __deleteUser_wrapped = instrumentFunction({
6054
6022
  }
6055
6023
  });
6056
6024
 
6057
- //#endregion
6058
- //#region src/modules/user/isUserOnboardingComplete/isUserOnboardingComplete.ts
6059
- /**
6060
- * Checks if the user has completed all onboarding requirements.
6061
- *
6062
- * This function verifies whether a user has fulfilled all necessary requirements
6063
- * including KYC fields (Know Your Customer information) and MFA setup
6064
- * (Multi-Factor Authentication including recovery codes acknowledgment).
6065
- *
6066
- * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
6067
- * @returns True if onboarding is complete (no pending requirements), false if there are pending requirements.
6068
- * @not-instrumented
6069
- */
6070
- const isUserOnboardingComplete = (client = getDefaultClient()) => {
6071
- const user = client.user;
6072
- assertDefined(user, "User not logged in");
6073
- const hasMissingKycFields = Boolean(user.missingFields?.length);
6074
- const hasPendingMfaAuth = isUserMissingMfaAuth(client);
6075
- const hasPendingRecoveryCodes = isPendingRecoveryCodesAcknowledgment(client);
6076
- return !hasMissingKycFields && !hasPendingMfaAuth && !hasPendingRecoveryCodes;
6077
- };
6078
-
6079
6025
  //#endregion
6080
6026
  //#region src/modules/walletBackup/googleDrive/constants.ts
6081
6027
  /**
@@ -6106,7 +6052,7 @@ const ACCESS_DENIED_PHRASE = "Google Drive access denied";
6106
6052
  *
6107
6053
  * @param grantedScopes - Scopes the user has granted to their Google account.
6108
6054
  * @returns The subset of required scopes that are still missing.
6109
- * @not-instrumented
6055
+ * @notInstrumented
6110
6056
  */
6111
6057
  const findMissingGoogleDriveBackupScopes = (grantedScopes) => GOOGLE_DRIVE_BACKUP_REQUIRED_SCOPES.filter((required) => !grantedScopes.includes(required));
6112
6058
 
@@ -6124,7 +6070,7 @@ const findMissingGoogleDriveBackupScopes = (grantedScopes) => GOOGLE_DRIVE_BACKU
6124
6070
  * Google account (see `findGoogleOauthAccountId`).
6125
6071
  * @param client - The Dynamic client instance.
6126
6072
  * @returns The OAuth access token and granted scopes.
6127
- * @not-instrumented
6073
+ * @notInstrumented
6128
6074
  */
6129
6075
  const fetchGoogleDriveOauthAccess = async ({ oauthAccountId }, client) => {
6130
6076
  const core = getCore(client);
@@ -6149,7 +6095,7 @@ const fetchGoogleDriveOauthAccess = async ({ oauthAccountId }, client) => {
6149
6095
  * `client.user?.verifiedCredentials`.
6150
6096
  * @returns The credential id of the linked Google oauth account, or
6151
6097
  * `undefined`.
6152
- * @not-instrumented
6098
+ * @notInstrumented
6153
6099
  */
6154
6100
  const findGoogleOauthAccountId = (credentials) => credentials?.find((cred) => cred.format === JwtVerifiedCredentialFormatEnum.Oauth && cred.oauthProvider === ProviderEnum.Google)?.id;
6155
6101
 
@@ -6233,7 +6179,7 @@ const __getGoogleDriveBackupReadiness_wrapped = instrumentFunction({
6233
6179
  *
6234
6180
  * @param grantedScopes - Scopes the user has granted to their Google account.
6235
6181
  * @returns `true` when every required scope is granted, otherwise `false`.
6236
- * @not-instrumented
6182
+ * @notInstrumented
6237
6183
  */
6238
6184
  const hasAllGoogleDriveBackupScopes = (grantedScopes) => findMissingGoogleDriveBackupScopes(grantedScopes).length === 0;
6239
6185
 
@@ -6250,7 +6196,7 @@ const hasAllGoogleDriveBackupScopes = (grantedScopes) => findMissingGoogleDriveB
6250
6196
  * @param err - The unknown value to check.
6251
6197
  * @returns `true` when `err` is an `Error` whose message indicates Google
6252
6198
  * Drive access was denied.
6253
- * @not-instrumented
6199
+ * @notInstrumented
6254
6200
  */
6255
6201
  const isInsufficientGoogleDriveScopesError = (err) => err instanceof Error && err.message.includes(ACCESS_DENIED_PHRASE);
6256
6202
 
@@ -6258,57 +6204,57 @@ const isInsufficientGoogleDriveScopesError = (err) => err instanceof Error && er
6258
6204
  //#region src/utils/isMobile/isMobile.ts
6259
6205
  /**
6260
6206
  * Sourced from http://detectmobilebrowsers.com/
6261
- * @not-instrumented
6207
+ * @notInstrumented
6262
6208
  */
6263
6209
  const userAgentRegex1 = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ios|ipad|playbook|silk/i;
6264
6210
  const userAgentRegex2 = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;
6265
- /** @not-instrumented */
6211
+ /** @notInstrumented */
6266
6212
  const isMobile = (maxTouchPointsOverride) => {
6267
6213
  if (typeof window === "undefined" || typeof navigator === "undefined") return false;
6268
6214
  return userAgentRegex1.test(navigator.userAgent) || userAgentRegex2.test(navigator.userAgent.substring(0, 4)) || isIPad(maxTouchPointsOverride) || isIPhone();
6269
6215
  };
6270
- /** @not-instrumented */
6216
+ /** @notInstrumented */
6271
6217
  const isIPhone = () => typeof window === "undefined" || typeof navigator === "undefined" ? false : /iPhone|ios/.test(navigator.userAgent);
6272
6218
  /**
6273
6219
  * @param [optional] maxTouchPointsOverride - this is used for testing since
6274
6220
  * it seems that JSDOM doesn't support maxTouchPoints, so it was impossible
6275
6221
  * to mock it
6276
- * @not-instrumented
6222
+ * @notInstrumented
6277
6223
  */
6278
6224
  const isIPad = (maxTouchPointsOverride) => {
6279
6225
  if (typeof window === "undefined" || typeof navigator === "undefined") return false;
6280
6226
  const maxTouchPoints = maxTouchPointsOverride || navigator.maxTouchPoints;
6281
6227
  return /iPad/.test(navigator.userAgent) || /Mac/.test(navigator.userAgent) && maxTouchPoints === 5;
6282
6228
  };
6283
- /** @not-instrumented */
6229
+ /** @notInstrumented */
6284
6230
  const isIOS = (maxTouchPointsOverride) => {
6285
6231
  if (typeof window === "undefined" || typeof navigator === "undefined") return false;
6286
6232
  return isIPhone() || isIPad(maxTouchPointsOverride);
6287
6233
  };
6288
- /** @not-instrumented */
6234
+ /** @notInstrumented */
6289
6235
  const isAndroid = () => isMobile() && !isIOS();
6290
- /** @not-instrumented */
6236
+ /** @notInstrumented */
6291
6237
  const isSafariBrowser = () => {
6292
6238
  if (typeof window === "undefined" || typeof navigator === "undefined") return false;
6293
6239
  const { userAgent } = navigator;
6294
6240
  return userAgent.includes("Safari") && !userAgent.includes("Chrome") && !userAgent.includes("Chromium");
6295
6241
  };
6296
- /** @not-instrumented */
6242
+ /** @notInstrumented */
6297
6243
  const isEdgeBrowser = () => {
6298
6244
  if (globalThis.window === void 0 || globalThis.navigator === void 0) return false;
6299
6245
  return /\bEdg\//.test(navigator.userAgent);
6300
6246
  };
6301
- /** @not-instrumented */
6247
+ /** @notInstrumented */
6302
6248
  const isOperaBrowser = () => {
6303
6249
  if (globalThis.window === void 0 || globalThis.navigator === void 0) return false;
6304
6250
  return /\b(OPR|Opera)\//.test(navigator.userAgent);
6305
6251
  };
6306
- /** @not-instrumented */
6252
+ /** @notInstrumented */
6307
6253
  const isFirefoxBrowser = () => {
6308
6254
  if (globalThis.window === void 0 || globalThis.navigator === void 0) return false;
6309
6255
  return /\bFirefox\//.test(navigator.userAgent);
6310
6256
  };
6311
- /** @not-instrumented */
6257
+ /** @notInstrumented */
6312
6258
  const isChromeBrowser = () => {
6313
6259
  if (globalThis.window === void 0 || globalThis.navigator === void 0) return false;
6314
6260
  return /\bChrome\//.test(navigator.userAgent) && !isEdgeBrowser() && !isOperaBrowser();
@@ -6342,7 +6288,7 @@ const isChromeBrowser = () => {
6342
6288
  * @param params.installationUrls - The wallet option's `installationUrls`
6343
6289
  * record (from `getWalletOptionsCatalogue`).
6344
6290
  * @returns The install URL for the detected platform, or `undefined`.
6345
- * @not-instrumented
6291
+ * @notInstrumented
6346
6292
  */
6347
6293
  const getInstallationLinkForCurrentPlatform = ({ installationUrls }) => {
6348
6294
  if (isIOS()) return installationUrls.ios;
@@ -6368,7 +6314,7 @@ const getInstallationLinkForCurrentPlatform = ({ installationUrls }) => {
6368
6314
  * @param params.wallet - The wallet entry.
6369
6315
  * @param params.walletKey - The wallet's key in `walletBook.wallets`.
6370
6316
  * @returns The wallet option key.
6371
- * @not-instrumented
6317
+ * @notInstrumented
6372
6318
  */
6373
6319
  const resolveWalletBookWalletOptionKey = ({ wallet, walletKey }) => wallet.group ?? wallet.chainGroup ?? wallet.walletGroup ?? walletKey;
6374
6320
 
@@ -6383,7 +6329,7 @@ const resolveWalletBookWalletOptionKey = ({ wallet, walletKey }) => wallet.group
6383
6329
  *
6384
6330
  * @param params.wallet - The wallet book wallet entry.
6385
6331
  * @returns The in-app browser URL, or `undefined` if neither field is set.
6386
- * @not-instrumented
6332
+ * @notInstrumented
6387
6333
  */
6388
6334
  const getInAppBrowserUrl = ({ wallet }) => wallet.mobile?.inAppBrowserV2 ?? wallet.mobile?.inAppBrowser ?? void 0;
6389
6335
 
@@ -6401,7 +6347,7 @@ const getInAppBrowserUrl = ({ wallet }) => wallet.mobile?.inAppBrowserV2 ?? wall
6401
6347
  *
6402
6348
  * @param params.walletBook - The fetched wallet book.
6403
6349
  * @returns Tagged `inAppBrowser` options paired with their wallet option keys.
6404
- * @not-instrumented
6350
+ * @notInstrumented
6405
6351
  */
6406
6352
  const buildInAppBrowserOptions = ({ walletBook }) => {
6407
6353
  const result = [];
@@ -6448,7 +6394,7 @@ const EDGE_ADDONS_URL_TEMPLATE = "https://microsoftedge.microsoft.com/addons/det
6448
6394
  *
6449
6395
  * @param params.wallet - The wallet book entry.
6450
6396
  * @returns The URL bag, omitting fields the wallet does not provide.
6451
- * @not-instrumented
6397
+ * @notInstrumented
6452
6398
  */
6453
6399
  const buildInstallationUrls = ({ wallet }) => {
6454
6400
  const androidId = wallet.mobile?.androidId;
@@ -6492,7 +6438,7 @@ const hasAnyInstallationUrl = ({ urls }) => Object.values(urls).some(Boolean);
6492
6438
  *
6493
6439
  * @param params.walletBook - The fetched wallet book.
6494
6440
  * @returns A map from wallet option key to its install URL bag.
6495
- * @not-instrumented
6441
+ * @notInstrumented
6496
6442
  */
6497
6443
  const buildInstallationUrlsByWalletOptionKey = ({ walletBook }) => {
6498
6444
  const map = /* @__PURE__ */ new Map();
@@ -6523,7 +6469,7 @@ const buildInstallationUrlsByWalletOptionKey = ({ walletBook }) => {
6523
6469
  *
6524
6470
  * @param params.wallet - The wallet schema from the wallet book.
6525
6471
  * @returns True when the wallet has a native or universal mobile link.
6526
- * @not-instrumented
6472
+ * @notInstrumented
6527
6473
  */
6528
6474
  const hasUsableDeeplink = ({ wallet }) => Boolean(wallet.mobile?.native || wallet.mobile?.universal);
6529
6475
 
@@ -6562,7 +6508,7 @@ const METAMASK_SDK_URI_SUPPORTED_CHAINS = ["EVM", "SOL"];
6562
6508
  *
6563
6509
  * @param params.walletBook - The fetched wallet book.
6564
6510
  * @returns Tagged `metamaskSdkUri` options for MetaMask if eligible, otherwise an empty array.
6565
- * @not-instrumented
6511
+ * @notInstrumented
6566
6512
  */
6567
6513
  const buildMetaMaskSdkUriOptions = ({ walletBook }) => {
6568
6514
  for (const [walletKey, wallet] of Object.entries(walletBook.wallets)) {
@@ -6609,7 +6555,7 @@ const buildMetaMaskSdkUriOptions = ({ walletBook }) => {
6609
6555
  * @param params.wallet - The wallet schema from the wallet book.
6610
6556
  * @param [params.walletKey] - The wallet key identifier (used as last-resort fallback).
6611
6557
  * @returns Ordered, deduped array of Chains.
6612
- * @not-instrumented
6558
+ * @notInstrumented
6613
6559
  */
6614
6560
  const getChainsFromWalletSchema = ({ wallet, walletKey }) => {
6615
6561
  const chains = /* @__PURE__ */ new Set();
@@ -6660,7 +6606,7 @@ const WALLETCONNECT_SUPPORTED_CHAINS = new Set(["EVM", "SOL"]);
6660
6606
  *
6661
6607
  * @param params.walletBook - The fetched wallet book.
6662
6608
  * @returns Tagged `walletConnect` options paired with their wallet option keys.
6663
- * @not-instrumented
6609
+ * @notInstrumented
6664
6610
  */
6665
6611
  const buildWalletConnectOptions = ({ walletBook }) => {
6666
6612
  const result = [];
@@ -6727,7 +6673,7 @@ const buildWalletConnectOptions = ({ walletBook }) => {
6727
6673
  * @param params.walletBook - The fetched wallet book.
6728
6674
  * @param params.walletOptionKey - The wallet option key.
6729
6675
  * @returns The constructed wallet option.
6730
- * @not-instrumented
6676
+ * @notInstrumented
6731
6677
  */
6732
6678
  const buildWalletOption = ({ connectionOptions, displayOverride, installationUrls, walletBook, walletOptionKey }) => {
6733
6679
  const group = walletBook.groups[walletOptionKey];
@@ -6765,7 +6711,7 @@ const buildWalletOption = ({ connectionOptions, displayOverride, installationUrl
6765
6711
  *
6766
6712
  * @param params.walletProvider - The wallet provider to test.
6767
6713
  * @returns True when the provider exposes a `connect` method.
6768
- * @not-instrumented
6714
+ * @notInstrumented
6769
6715
  */
6770
6716
  const hasWalletProviderConnectMethod = ({ walletProvider }) => Boolean(walletProvider.connect);
6771
6717
 
@@ -6792,7 +6738,7 @@ const hasWalletProviderConnectMethod = ({ walletProvider }) => Boolean(walletPro
6792
6738
  * @param params.entry - The registry entry to classify.
6793
6739
  * @returns The matching source, or `undefined` if this entry should not
6794
6740
  * surface a `withWalletProvider` option.
6795
- * @not-instrumented
6741
+ * @notInstrumented
6796
6742
  */
6797
6743
  const classifyWithWalletProviderSource = ({ entry }) => {
6798
6744
  const { priority } = entry;
@@ -6813,7 +6759,7 @@ const classifyWithWalletProviderSource = ({ entry }) => {
6813
6759
  * @param params.chain - The chain whose suffix should be stripped.
6814
6760
  * @param params.normalizedName - The normalized wallet-name-with-chain string.
6815
6761
  * @returns The name with the chain suffix removed, or the input unchanged.
6816
- * @not-instrumented
6762
+ * @notInstrumented
6817
6763
  */
6818
6764
  const stripChainSuffix = ({ chain, normalizedName }) => {
6819
6765
  const suffix = chain.toLowerCase();
@@ -6842,7 +6788,7 @@ const stripChainSuffix = ({ chain, normalizedName }) => {
6842
6788
  *
6843
6789
  * @param displayName - The provider's `metadata.displayName`.
6844
6790
  * @returns The normalized wallet option key (lowercased, no whitespace).
6845
- * @not-instrumented
6791
+ * @notInstrumented
6846
6792
  */
6847
6793
  const normalizeWalletDisplayName = (displayName) => displayName.toLowerCase().replace(/\s+/g, "");
6848
6794
 
@@ -6860,7 +6806,7 @@ const normalize = (value) => value === void 0 ? void 0 : value.toLowerCase().rep
6860
6806
  * @param params.candidate - The lowercased, chain-suffix-stripped candidate.
6861
6807
  * @param params.walletBook - The fetched wallet book.
6862
6808
  * @returns The matching wallet book wallet key, or `undefined`.
6863
- * @not-instrumented
6809
+ * @notInstrumented
6864
6810
  */
6865
6811
  const findByNameMatch = ({ candidate, walletBook }) => {
6866
6812
  for (const [walletKey, wallet] of Object.entries(walletBook.wallets)) if (normalize(wallet.name) === candidate || normalize(wallet.shortName) === candidate) return walletKey;
@@ -6878,7 +6824,7 @@ const findByNameMatch = ({ candidate, walletBook }) => {
6878
6824
  * @param params.fallback - Wallet key to return if no group field is set.
6879
6825
  * @param params.wallet - The wallet book wallet entry.
6880
6826
  * @returns The resolved wallet option key.
6881
- * @not-instrumented
6827
+ * @notInstrumented
6882
6828
  */
6883
6829
  const resolveWalletOptionKey = ({ fallback, wallet }) => wallet.group ?? wallet.chainGroup ?? wallet.walletGroup ?? fallback;
6884
6830
 
@@ -6915,7 +6861,7 @@ const resolveWalletOptionKey = ({ fallback, wallet }) => wallet.group ?? wallet.
6915
6861
  * @param params.walletBook - The fetched wallet book.
6916
6862
  * @param params.walletProvider - The registered wallet provider.
6917
6863
  * @returns The wallet option key for this provider.
6918
- * @not-instrumented
6864
+ * @notInstrumented
6919
6865
  */
6920
6866
  const findWalletOptionKeyForProviderKey = ({ chain, walletBook, walletProvider }) => {
6921
6867
  const { normalizedWalletNameWithChain } = splitWalletProviderKey(walletProvider.key);
@@ -6963,7 +6909,7 @@ const findWalletOptionKeyForProviderKey = ({ chain, walletBook, walletProvider }
6963
6909
  * @param params.walletBook - The fetched wallet book.
6964
6910
  * @param client - The Dynamic client (used for logging unclassifiable entries).
6965
6911
  * @returns An array of tagged options, in input order.
6966
- * @not-instrumented
6912
+ * @notInstrumented
6967
6913
  */
6968
6914
  const buildWithWalletProviderOptions = ({ entries, walletBook }, client) => {
6969
6915
  const result = [];
@@ -7035,7 +6981,7 @@ const EXCLUDED_WALLET_OPTION_KEYS = new Set(["coinbase", "coinbasewallet"]);
7035
6981
  * @param params.options - The tagged options to group.
7036
6982
  * @returns A map from wallet option key to its grouped option bucket,
7037
6983
  * iterable in first-seen order.
7038
- * @not-instrumented
6984
+ * @notInstrumented
7039
6985
  */
7040
6986
  const groupOptionsByWalletOption = ({ options }) => {
7041
6987
  const map = /* @__PURE__ */ new Map();
@@ -7075,7 +7021,7 @@ const CONNECTION_OPTION_PRIORITY = {
7075
7021
  *
7076
7022
  * @param params.option - The connection option to inspect.
7077
7023
  * @returns The numeric priority — lower is better.
7078
- * @not-instrumented
7024
+ * @notInstrumented
7079
7025
  */
7080
7026
  const getConnectionOptionPriority = ({ option }) => CONNECTION_OPTION_PRIORITY[option.type];
7081
7027
 
@@ -7092,7 +7038,7 @@ const getConnectionOptionPriority = ({ option }) => CONNECTION_OPTION_PRIORITY[o
7092
7038
  *
7093
7039
  * @param params.options - The options to sort.
7094
7040
  * @returns A new array in priority order.
7095
- * @not-instrumented
7041
+ * @notInstrumented
7096
7042
  */
7097
7043
  const sortConnectionOptions = ({ options }) => [...options].sort((a, b) => {
7098
7044
  const priorityDelta = getConnectionOptionPriority({ option: a }) - getConnectionOptionPriority({ option: b });
@@ -7140,7 +7086,7 @@ const PRIORITY_WALLET_KEYS = [
7140
7086
  *
7141
7087
  * @param params.walletOption - The wallet option to inspect.
7142
7088
  * @returns Numeric priority index — lower is better.
7143
- * @not-instrumented
7089
+ * @notInstrumented
7144
7090
  */
7145
7091
  const getPriorityIndex = ({ walletOption }) => {
7146
7092
  const index = PRIORITY_WALLET_KEYS.indexOf(walletOption.key);
@@ -7157,7 +7103,7 @@ const getPriorityIndex = ({ walletOption }) => {
7157
7103
  * @param params.a - First wallet option.
7158
7104
  * @param params.b - Second wallet option.
7159
7105
  * @returns Negative when `a` ranks first, positive when `b` ranks first.
7160
- * @not-instrumented
7106
+ * @notInstrumented
7161
7107
  */
7162
7108
  const compareByRelevance = ({ a, b }) => {
7163
7109
  const aIndex = getPriorityIndex({ walletOption: a });
@@ -7177,7 +7123,7 @@ const compareByRelevance = ({ a, b }) => {
7177
7123
  *
7178
7124
  * @param params.walletOption - The wallet option to inspect.
7179
7125
  * @returns True when `connectionOptions` is non-empty.
7180
- * @not-instrumented
7126
+ * @notInstrumented
7181
7127
  */
7182
7128
  const hasAnyConnectionOption = ({ walletOption }) => walletOption.connectionOptions.length > 0;
7183
7129
 
@@ -7192,7 +7138,7 @@ const hasAnyConnectionOption = ({ walletOption }) => walletOption.connectionOpti
7192
7138
  *
7193
7139
  * @param params.walletOption - The wallet option to inspect.
7194
7140
  * @returns True when an installed provider is available.
7195
- * @not-instrumented
7141
+ * @notInstrumented
7196
7142
  */
7197
7143
  const hasInstalledProvider = ({ walletOption }) => walletOption.connectionOptions[0]?.type === "withWalletProvider";
7198
7144
 
@@ -7222,7 +7168,7 @@ const hasInstalledProvider = ({ walletOption }) => walletOption.connectionOption
7222
7168
  * @param params.walletOptions - The wallet options to sort.
7223
7169
  * @param params.ordering - The requested ordering.
7224
7170
  * @returns A new array in the requested order.
7225
- * @not-instrumented
7171
+ * @notInstrumented
7226
7172
  */
7227
7173
  const sortWalletOptions = ({ walletOptions, ordering }) => {
7228
7174
  if (ordering === "alphabetical") return [...walletOptions].sort((a, b) => a.name.localeCompare(b.name, void 0, { sensitivity: "base" }));
@@ -7271,7 +7217,7 @@ const EMPTY_WALLET_BOOK = {
7271
7217
  * @param [params] - Inclusion flag + ordering preference + exclusions.
7272
7218
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
7273
7219
  * @returns A promise that resolves to the wallet options catalogue.
7274
- * @not-instrumented
7220
+ * @notInstrumented
7275
7221
  */
7276
7222
  const getWalletOptionsCatalogue = async (params = {}, client = getDefaultClient()) => {
7277
7223
  const includeMobileOptions = params.includeMobileOptions ?? false;
@@ -7328,7 +7274,7 @@ const getWalletOptionsCatalogue = async (params = {}, client = getDefaultClient(
7328
7274
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
7329
7275
  * @returns A promise that resolves if the wallet is available for signing.
7330
7276
  * @throws WalletAccountNotSelectedError If the wallet account is not currently selected.
7331
- * @not-instrumented
7277
+ * @notInstrumented
7332
7278
  */
7333
7279
  const assertWalletAccountSigningAvailability = async ({ walletAccount }, client = getDefaultClient()) => {
7334
7280
  const { addresses } = await getWalletProviderFromWalletAccount({ walletAccount }, client).getConnectedAddresses();
@@ -7377,7 +7323,7 @@ const __confirmTransaction_wrapped = instrumentFunction({
7377
7323
 
7378
7324
  //#endregion
7379
7325
  //#region src/modules/wallets/utils/getAddressesWithTypesFromConnectionResult/getAddressesWithTypesFromConnectionResult.ts
7380
- /** @not-instrumented */
7326
+ /** @notInstrumented */
7381
7327
  const getAddressesWithTypesFromConnectionResult = (connectionResult) => {
7382
7328
  return connectionResult.addresses.filter((address) => !!address.address && !!address.type);
7383
7329
  };
@@ -7452,13 +7398,13 @@ const __connectWithWalletProvider_wrapped = instrumentFunction({
7452
7398
  * @param params.hardwareWalletVendor - The hardware wallet vendor that produced the signature.
7453
7399
  * @param params.signature - The raw signature string to wrap.
7454
7400
  * @returns The signature wrapped in `{ signedTransaction: { data } }` JSON format.
7455
- * @not-instrumented
7401
+ * @notInstrumented
7456
7402
  */
7457
7403
  const formatSignatureForHardwareWallet = ({ signature, hardwareWalletVendor: _ }) => JSON.stringify({ signedTransaction: { data: signature } });
7458
7404
 
7459
7405
  //#endregion
7460
7406
  //#region src/modules/wallets/utils/getChainIdForAccountVerification/getChainIdForAccountVerification.ts
7461
- /** @not-instrumented */
7407
+ /** @notInstrumented */
7462
7408
  const getChainIdForAccountVerification = async ({ walletProvider }) => {
7463
7409
  if ([
7464
7410
  "BTC",
@@ -7472,7 +7418,7 @@ const getChainIdForAccountVerification = async ({ walletProvider }) => {
7472
7418
 
7473
7419
  //#endregion
7474
7420
  //#region src/modules/wallets/utils/getSignInMessage/getSignInMessage.ts
7475
- /** @not-instrumented */
7421
+ /** @notInstrumented */
7476
7422
  const getSignInMessage = async ({ nonce: nonceOverride, walletAccount }, client) => {
7477
7423
  const core = getCore(client);
7478
7424
  const { appUniversalLink } = getAppMetadata(client);
@@ -7549,7 +7495,7 @@ const __proveWalletAccountOwnership_wrapped = instrumentFunction({
7549
7495
 
7550
7496
  //#endregion
7551
7497
  //#region src/modules/wallets/utils/isSameAddress/isSameAddress.ts
7552
- /** @not-instrumented */
7498
+ /** @notInstrumented */
7553
7499
  const isSameAddress = ({ chain, left, right }) => normalizeAddress({
7554
7500
  address: left,
7555
7501
  chain
@@ -7560,7 +7506,7 @@ const isSameAddress = ({ chain, left, right }) => normalizeAddress({
7560
7506
 
7561
7507
  //#endregion
7562
7508
  //#region src/modules/wallets/verifyWalletAccountForSignInOrTransfer/verifyWalletAccountForSignInOrTransfer.ts
7563
- /** @not-instrumented */
7509
+ /** @notInstrumented */
7564
7510
  const verifyWalletAccountForSignInOrTransfer = async ({ walletAccount, isTransfer, requestedScopes }, client) => {
7565
7511
  if (walletAccount.verifiedCredentialId) throw new WalletAccountAlreadyVerifiedError(walletAccount.address);
7566
7512
  const walletProvider = getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -7646,7 +7592,7 @@ const __verifyWalletAccount_wrapped = instrumentFunction({
7646
7592
  //#region src/modules/wallets/walletProvider/isDeeplinkWalletProvider/isDeeplinkWalletProvider.ts
7647
7593
  /**
7648
7594
  * Returns true if the wallet provider uses the deep link protocol (e.g. Phantom redirect on mobile).
7649
- * @not-instrumented
7595
+ * @notInstrumented
7650
7596
  */
7651
7597
  const isDeeplinkWalletProvider = ({ walletProvider }) => walletProvider.walletProviderType === WalletProviderEnum.DeepLink;
7652
7598
 
@@ -7713,7 +7659,7 @@ const __connectAndVerifyWithWalletProvider_wrapped = instrumentFunction({
7713
7659
  *
7714
7660
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
7715
7661
  * @returns An array of wallet provider data including chain, keys, and metadata.
7716
- * @not-instrumented
7662
+ * @notInstrumented
7717
7663
  * @hook Exposed as a hook so consumers get the reactive list of available wallet providers, updated when wallet providers change.
7718
7664
  */
7719
7665
  const getAvailableWalletProvidersData = (client = getDefaultClient()) => {
@@ -7737,7 +7683,7 @@ const getAvailableWalletProvidersData = (client = getDefaultClient()) => {
7737
7683
  * @param params.walletProviderKey - The unique key of the wallet provider to query.
7738
7684
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
7739
7685
  * @returns An array of connected wallet addresses.
7740
- * @not-instrumented
7686
+ * @notInstrumented
7741
7687
  */
7742
7688
  const getConnectedAddresses = ({ walletProviderKey }, client = getDefaultClient()) => {
7743
7689
  return getWalletProviderByKey({ walletProviderKey }, client).getConnectedAddresses();
@@ -7745,7 +7691,7 @@ const getConnectedAddresses = ({ walletProviderKey }, client = getDefaultClient(
7745
7691
 
7746
7692
  //#endregion
7747
7693
  //#region src/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.ts
7748
- /** @not-instrumented */
7694
+ /** @notInstrumented */
7749
7695
  const getOwnerWalletAccountForSmartWalletAccount = ({ smartWalletAccount }, client = getDefaultClient()) => {
7750
7696
  const smartWalletVerifiedCredential = getVerifiedCredentialForWalletAccount({ walletAccount: smartWalletAccount }, client);
7751
7697
  assertDefined(smartWalletVerifiedCredential?.signerRefId, "Invalid smart wallet account");
@@ -7754,7 +7700,7 @@ const getOwnerWalletAccountForSmartWalletAccount = ({ smartWalletAccount }, clie
7754
7700
 
7755
7701
  //#endregion
7756
7702
  //#region src/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.ts
7757
- /** @not-instrumented */
7703
+ /** @notInstrumented */
7758
7704
  const getWalletAccountAddressByType = ({ type, walletAccount }) => {
7759
7705
  return walletAccount.addressesWithTypes?.find((address) => address.type === type)?.address;
7760
7706
  };
@@ -7767,7 +7713,7 @@ const getWalletAccountAddressByType = ({ type, walletAccount }) => {
7767
7713
  * @param params.walletProviderKey - The key of the wallet provider to retrieve data for.
7768
7714
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
7769
7715
  * @returns The data for the wallet provider.
7770
- * @not-instrumented
7716
+ * @notInstrumented
7771
7717
  */
7772
7718
  const getWalletProviderDataByKey = ({ walletProviderKey }, client = getDefaultClient()) => {
7773
7719
  const { chain, groupKey, key, metadata, walletProviderType } = getWalletProviderByKey({ walletProviderKey }, client);
@@ -7789,7 +7735,7 @@ const getWalletProviderDataByKey = ({ walletProviderKey }, client = getDefaultCl
7789
7735
  * @param params.hardwareWalletVendor - The hardware wallet vendor to check for.
7790
7736
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
7791
7737
  * @returns Whether the wallet provider supports the specified hardware wallet vendor.
7792
- * @not-instrumented
7738
+ * @notInstrumented
7793
7739
  */
7794
7740
  const canConnectWithHardwareWallet = ({ walletProviderKey, hardwareWalletVendor }, client = getDefaultClient()) => {
7795
7741
  return getWalletProviderByKey({ walletProviderKey }, client).metadata.supportedHardwareWalletVendors?.includes(hardwareWalletVendor) ?? false;
@@ -7802,7 +7748,7 @@ const canConnectWithHardwareWallet = ({ walletProviderKey, hardwareWalletVendor
7802
7748
  *
7803
7749
  * @param params.walletAccount - The wallet account to check.
7804
7750
  * @returns Whether the wallet account has a hardware wallet vendor set.
7805
- * @not-instrumented
7751
+ * @notInstrumented
7806
7752
  */
7807
7753
  const isHardwareWalletAccount = ({ walletAccount }) => walletAccount.hardwareWalletVendor !== void 0;
7808
7754
 
@@ -7818,7 +7764,7 @@ const isHardwareWalletAccount = ({ walletAccount }) => walletAccount.hardwareWal
7818
7764
  *
7819
7765
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
7820
7766
  * @returns True if the session has at least one wallet account, false otherwise.
7821
- * @not-instrumented
7767
+ * @notInstrumented
7822
7768
  */
7823
7769
  const isAnyWalletAccountConnected = (client = getDefaultClient()) => getWalletAccounts(client).length > 0;
7824
7770
 
@@ -7829,7 +7775,7 @@ const isAnyWalletAccountConnected = (client = getDefaultClient()) => getWalletAc
7829
7775
  *
7830
7776
  * @param walletAccount - The wallet account to check.
7831
7777
  * @returns True if the wallet account has been verified, false otherwise.
7832
- * @not-instrumented
7778
+ * @notInstrumented
7833
7779
  */
7834
7780
  const isWalletAccountVerified = ({ walletAccount }) => {
7835
7781
  return walletAccount.verifiedCredentialId !== null;
@@ -7884,7 +7830,7 @@ const __addNetwork_wrapped = instrumentFunction({
7884
7830
  * @param params.walletAccount - The wallet account to get network data for.
7885
7831
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
7886
7832
  * @returns A promise that resolves to the network data, or undefined if not found.
7887
- * @not-instrumented
7833
+ * @notInstrumented
7888
7834
  */
7889
7835
  const getActiveNetworkData = async ({ walletAccount }, client = getDefaultClient()) => {
7890
7836
  const walletProvider = getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -7900,7 +7846,7 @@ const getActiveNetworkData = async ({ walletAccount }, client = getDefaultClient
7900
7846
  * @param params.walletAccount - The wallet account to get the network ID for.
7901
7847
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
7902
7848
  * @returns A promise that resolves to the active network ID for the wallet account.
7903
- * @not-instrumented
7849
+ * @notInstrumented
7904
7850
  */
7905
7851
  const getActiveNetworkId = ({ walletAccount }, client = getDefaultClient()) => {
7906
7852
  return getWalletProviderFromWalletAccount({ walletAccount }, client).getActiveNetworkId();
@@ -7921,7 +7867,7 @@ const getActiveNetworkId = ({ walletAccount }, client = getDefaultClient()) => {
7921
7867
  * @param params.walletAccount - The wallet account to get the balance for.
7922
7868
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
7923
7869
  * @returns A promise that resolves to an object containing the balance as a string or null.
7924
- * @not-instrumented
7870
+ * @notInstrumented
7925
7871
  */
7926
7872
  const getNativeBalance = async ({ walletAccount }, client = getDefaultClient()) => {
7927
7873
  const walletProvider = getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -7940,7 +7886,7 @@ const getNativeBalance = async ({ walletAccount }, client = getDefaultClient())
7940
7886
  * with the token-balance fetchers (`getTokenBalances` /
7941
7887
  * `getMultichainTokenBalances`).
7942
7888
  *
7943
- * @not-instrumented
7889
+ * @notInstrumented
7944
7890
  * @noHook Deprecated; the replacement is exposed via its own hook.
7945
7891
  */
7946
7892
  const getBalance = (params, client = getDefaultClient()) => getNativeBalance(params, client);
@@ -7958,7 +7904,7 @@ const getBalance = (params, client = getDefaultClient()) => getNativeBalance(par
7958
7904
  * @param params.networkId - The specific network ID within the chain.
7959
7905
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
7960
7906
  * @returns A promise that resolves to an object containing the balance as a string or null.
7961
- * @not-instrumented
7907
+ * @notInstrumented
7962
7908
  */
7963
7909
  const getBalanceForAddress = async ({ address, chain, networkId }, client = getDefaultClient()) => {
7964
7910
  const networkProvider = getNetworkProviderFromNetworkId({
@@ -7985,7 +7931,7 @@ const getBalanceForAddress = async ({ address, chain, networkId }, client = getD
7985
7931
  * @param [params.tokenAddress] - Optional token contract address (EVM) or SPL mint address (Solana) to filter transaction history by token.
7986
7932
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
7987
7933
  * @returns A promise that resolves to the transaction history along with nextOffset for the given wallet address and chain.
7988
- * @not-instrumented
7934
+ * @notInstrumented
7989
7935
  */
7990
7936
  const getTransactionHistory = async (params, client = getDefaultClient()) => {
7991
7937
  const core = getCore(client);
@@ -8011,7 +7957,7 @@ const getTransactionHistory = async (params, client = getDefaultClient()) => {
8011
7957
  * @param params.walletAccount - The wallet account to check network switching support for.
8012
7958
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
8013
7959
  * @returns True if programmatic network switching is available, false otherwise.
8014
- * @not-instrumented
7960
+ * @notInstrumented
8015
7961
  */
8016
7962
  const isProgrammaticNetworkSwitchAvailable = ({ walletAccount }, client = getDefaultClient()) => {
8017
7963
  return getWalletProviderByKey({ walletProviderKey: walletAccount.walletProviderKey }, client).switchActiveNetwork !== void 0;
@@ -8093,7 +8039,7 @@ const __selectPrimaryWalletAccount_wrapped = instrumentFunction({
8093
8039
  *
8094
8040
  * The wallet account is not removed from the user's profile or from dynamic's state,
8095
8041
  * it is only responsible for terminating the connection with the wallet provider.
8096
- * @not-instrumented
8042
+ * @notInstrumented
8097
8043
  */
8098
8044
  const disconnectWalletAccount = async ({ walletAccount }, client) => {
8099
8045
  try {
@@ -8268,7 +8214,7 @@ const __transferWalletAccount_wrapped = instrumentFunction({
8268
8214
  * @param params.chain - The blockchain the wallet belongs to.
8269
8215
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
8270
8216
  * @returns The matching wallet account, or undefined if not found.
8271
- * @not-instrumented
8217
+ * @notInstrumented
8272
8218
  */
8273
8219
  const getWalletAccountFromAddress = ({ address, chain }, client = getDefaultClient()) => {
8274
8220
  return getWalletAccounts(client).find((walletAccount) => walletAccount.address === address && walletAccount.chain === chain);
@@ -8285,7 +8231,7 @@ const getWalletAccountFromAddress = ({ address, chain }, client = getDefaultClie
8285
8231
  * @param params.event - The event name to remove the listener from.
8286
8232
  * @param params.walletProviderKey - The unique key identifying the wallet provider to remove the listener from.
8287
8233
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
8288
- * @not-instrumented
8234
+ * @notInstrumented
8289
8235
  */
8290
8236
  const offWalletProviderEvent = ({ callback, event, walletProviderKey }, client = getDefaultClient()) => {
8291
8237
  const walletProvider = getWalletProviderByKey({ walletProviderKey }, client);
@@ -8303,7 +8249,7 @@ const offWalletProviderEvent = ({ callback, event, walletProviderKey }, client =
8303
8249
  * @param params.walletProviderKey - The unique key identifying the wallet provider to listen to.
8304
8250
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
8305
8251
  * @returns A function that can be called to remove the listener.
8306
- * @not-instrumented
8252
+ * @notInstrumented
8307
8253
  * @hook Event listeners are error-prone to wire up by hand with useEffect.
8308
8254
  */
8309
8255
  const onWalletProviderEvent = ({ callback, event, walletProviderKey }, client = getDefaultClient()) => {
@@ -8337,7 +8283,7 @@ const onWalletProviderEvent = ({ callback, event, walletProviderKey }, client =
8337
8283
  * appendConnectionUriToDeeplink({ deeplinkUrl: 'walletapp://wc?param=value', connectionUri: 'wc:123-456' })
8338
8284
  * // Returns: 'walletapp://wc?param=value&uri=wc%3A123-456'
8339
8285
  * ```
8340
- * @not-instrumented
8286
+ * @notInstrumented
8341
8287
  */
8342
8288
  const appendConnectionUriToDeeplink = ({ connectionUri, deeplinkUrl }) => {
8343
8289
  const url = new URL(deeplinkUrl);
@@ -8408,7 +8354,7 @@ const osMatchers = [
8408
8354
  pattern: /CrOS/
8409
8355
  }
8410
8356
  ];
8411
- /** @not-instrumented */
8357
+ /** @notInstrumented */
8412
8358
  const parseUserAgent = ({ userAgent }) => {
8413
8359
  if (!userAgent?.trim()) return null;
8414
8360
  const browser = browserMatchers.find(({ pattern }) => pattern.test(userAgent))?.name;
@@ -8426,5 +8372,5 @@ const parseUserAgent = ({ userAgent }) => {
8426
8372
  assertPackageVersion(name, version);
8427
8373
 
8428
8374
  //#endregion
8429
- export { BaseError, CheckoutSessionTokenMissingError, ClientAlreadyInitializedError, DeeplinkConnectAndVerifyUnsupportedError, FeeEstimationFailedError, FlowSessionTokenMissingError, GOOGLE_DRIVE_BACKUP_REQUIRED_SCOPES, InvalidDeviceRegistrationRedirectError, InvalidExternalAuthError, InvalidParamError, InvalidRedirectStorageStateError, InvalidSocialCallbackOriginError, LinkCredentialError, MFAAction, MfaInvalidOtpError, MfaRateLimitedError, MissingRedirectStorageStateError, MissingSocialUrlParamError, MissingUserVerificationError, NetworkAddingUnavailableError, NetworkNotAddedError, NetworkSwitchingUnavailableError, NoAddressFoundError, NoNetworkProvidersError, NoPasskeyCredentialsFoundError, NoSmartWalletAccountSignerFoundError, NoWebAuthNSupportError, NotWaasWalletAccountError, SandboxMaximumThresholdReachedError, SimulationFailedError, TokenSwapError, UnauthorizedError, UnavailableInServerSideError, UnrecognizedNetworkError, UserCancelledSocialPopUpError, UserNotAuthenticatedError, UserRejectedError, WalletAccountAlreadyVerifiedError, WalletAccountNotSelectedError, WalletAlreadyLinkedToAnotherUserError, WalletProviderMethodUnavailableError, __acknowledgeRecoveryCodes_wrapped as acknowledgeRecoveryCodes, addCoinbaseOnrampOrderEventListener, __addNetwork_wrapped as addNetwork, appendConnectionUriToDeeplink, assertWalletAccountSigningAvailability, assertWalletProviderMethodDefined, __attachCheckoutTransactionSource_wrapped as attachCheckoutTransactionSource, __attachFlowSource_wrapped as attachFlowSource, authenticateMfaRecoveryCode, authenticatePasskeyMFA, authenticateTotpMfaDevice, __authenticateWithSocial_wrapped as authenticateWithSocial, __broadcastCheckoutTransaction_wrapped as broadcastCheckoutTransaction, __broadcastFlow_wrapped as broadcastFlow, canConnectWithHardwareWallet, __cancelCheckoutTransaction_wrapped as cancelCheckoutTransaction, __cancelFlow_wrapped as cancelFlow, __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, detectOAuthRedirect, detectSocialRedirectUrl, excludeInstalledFromCatalog, __executeSwapTransaction_wrapped as executeSwapTransaction, fetchProjectSettings, findMissingGoogleDriveBackupScopes, getActiveNetworkData, getActiveNetworkId, getAvailableWalletProvidersData, getBalance, getBalanceForAddress, getBalances, getCheckoutTransaction, getCheckoutTransactionQuote, getCoinbaseBuyUrl, getConnectedAddresses, getDefaultClient, getDeviceRegistrationTokenFromUrl, __getElevatedAccessToken_wrapped as getElevatedAccessToken, getFlow, getFlowQuote, __getGoogleDriveBackupReadiness_wrapped as getGoogleDriveBackupReadiness, getInstallationLinkForCurrentPlatform, getKrakenAccounts, getKrakenWhitelistedAddresses, getMfaDevices, getMfaMethods, getMfaRecoveryCodes, getMissingVerificationForCoinbaseOnrampOrder, __getMoonPayCurrencies_wrapped as getMoonPayCurrencies, __getMoonPayUrl_wrapped as getMoonPayUrl, getMultichainBalances, getMultichainTokenBalances, getNativeBalance, getNetworksData, getOwnerWalletAccountForSmartWalletAccount, getPasskeys, getPrimaryWalletAccount, getRegisteredDevices, getSwapQuote, getSwapStatus, getTokenBalances, getTransactionHistory, getUserSocialAccounts, getWalletAccountAddressByType, getWalletAccountFromAddress, getWalletAccounts, getWalletConnectCatalog, getWalletConnectCatalogWalletByWalletProviderKey, getWalletOptionsCatalogue, getWalletProviderDataByKey, hasAllGoogleDriveBackupScopes, hasExtension, __initializeClient_wrapped as initializeClient, isAnyWalletAccountConnected, isCaptchaRequired, isDeeplinkWalletProvider, isDeviceRegistrationRequired, isHardwareWalletAccount, isInsufficientGoogleDriveScopesError, isMfaRequiredForAction, isMobile, isPendingRecoveryCodesAcknowledgment, isProgrammaticNetworkSwitchAvailable, isSignedIn, isUserMissingMfaAuth, isUserOnboardingComplete, isWalletAccountVerified, logout, matchWalletProvidersToCatalogGroup, offEvent, offWalletProviderEvent, onEvent, onWalletProviderEvent, onceEvent, parseUserAgent, __prepareCheckoutTransaction_wrapped as prepareCheckoutTransaction, __prepareFlowSigning_wrapped as prepareFlowSigning, __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, __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, __signInWithSocialPopUp_wrapped as signInWithSocialPopUp, __signInWithSocialRedirect_wrapped as signInWithSocialRedirect, __signMessage_wrapped as signMessage, __submitCheckoutTransaction_wrapped as submitCheckoutTransaction, __submitFlowTransaction_wrapped as submitFlowTransaction, supportedCountries, __switchActiveNetwork_wrapped as switchActiveNetwork, 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 };
8375
+ export { BaseError, CheckoutSessionTokenMissingError, ClientAlreadyInitializedError, DeeplinkConnectAndVerifyUnsupportedError, FeeEstimationFailedError, FlowSessionTokenMissingError, GOOGLE_DRIVE_BACKUP_REQUIRED_SCOPES, InvalidDeviceRegistrationRedirectError, InvalidExternalAuthError, InvalidParamError, InvalidRedirectStorageStateError, InvalidSocialCallbackOriginError, LinkCredentialError, MFAAction, MfaInvalidOtpError, MfaRateLimitedError, MissingRedirectStorageStateError, MissingSocialUrlParamError, MissingUserVerificationError, NetworkAddingUnavailableError, NetworkNotAddedError, NetworkSwitchingUnavailableError, NoAddressFoundError, NoNetworkProvidersError, NoPasskeyCredentialsFoundError, NoSmartWalletAccountSignerFoundError, NoWebAuthNSupportError, NotWaasWalletAccountError, SandboxMaximumThresholdReachedError, SimulationFailedError, TokenSwapError, UnauthorizedError, UnavailableInServerSideError, UnrecognizedNetworkError, UserCancelledSocialPopUpError, UserNotAuthenticatedError, UserRejectedError, WaasOnboardingIncompleteError, WalletAccountAlreadyVerifiedError, WalletAccountNotSelectedError, WalletAlreadyLinkedToAnotherUserError, WalletProviderMethodUnavailableError, __acknowledgeRecoveryCodes_wrapped as acknowledgeRecoveryCodes, addCoinbaseOnrampOrderEventListener, __addNetwork_wrapped as addNetwork, appendConnectionUriToDeeplink, assertWalletAccountSigningAvailability, assertWalletProviderMethodDefined, __attachCheckoutTransactionSource_wrapped as attachCheckoutTransactionSource, __attachFlowSource_wrapped as attachFlowSource, authenticateMfaRecoveryCode, authenticatePasskeyMFA, authenticateTotpMfaDevice, __authenticateWithSocial_wrapped as authenticateWithSocial, __broadcastCheckoutTransaction_wrapped as broadcastCheckoutTransaction, __broadcastFlow_wrapped as broadcastFlow, canConnectWithHardwareWallet, __cancelCheckoutTransaction_wrapped as cancelCheckoutTransaction, __cancelFlow_wrapped as cancelFlow, __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, detectOAuthRedirect, detectSocialRedirectUrl, excludeInstalledFromCatalog, __executeSwapTransaction_wrapped as executeSwapTransaction, fetchProjectSettings, findMissingGoogleDriveBackupScopes, getActiveNetworkData, getActiveNetworkId, getAvailableWalletProvidersData, getBalance, getBalanceForAddress, getBalances, getCheckoutTransaction, getCheckoutTransactionQuote, getCoinbaseBuyUrl, getConnectedAddresses, getDefaultClient, getDeviceRegistrationTokenFromUrl, __getElevatedAccessToken_wrapped as getElevatedAccessToken, getFlow, getFlowQuote, __getGoogleDriveBackupReadiness_wrapped as getGoogleDriveBackupReadiness, getInstallationLinkForCurrentPlatform, getKrakenAccounts, getKrakenWhitelistedAddresses, getMfaDevices, getMfaMethods, getMfaRecoveryCodes, getMissingVerificationForCoinbaseOnrampOrder, __getMoonPayCurrencies_wrapped as getMoonPayCurrencies, __getMoonPayUrl_wrapped as getMoonPayUrl, getMultichainBalances, getMultichainTokenBalances, getNativeBalance, getNetworksData, getOwnerWalletAccountForSmartWalletAccount, getPasskeys, getPrimaryWalletAccount, getRegisteredDevices, getSwapQuote, getSwapStatus, getTokenBalances, getTransactionHistory, getUserSocialAccounts, getWalletAccountAddressByType, getWalletAccountFromAddress, getWalletAccounts, getWalletConnectCatalog, getWalletConnectCatalogWalletByWalletProviderKey, getWalletOptionsCatalogue, getWalletProviderDataByKey, hasAllGoogleDriveBackupScopes, hasExtension, __initializeClient_wrapped as initializeClient, isAnyWalletAccountConnected, isCaptchaRequired, isDeeplinkWalletProvider, isDeviceRegistrationRequired, isHardwareWalletAccount, isInsufficientGoogleDriveScopesError, isMfaRequiredForAction, isMobile, isPendingRecoveryCodesAcknowledgment, isProgrammaticNetworkSwitchAvailable, isSignedIn, isUserMissingMfaAuth, isUserOnboardingComplete, isWalletAccountVerified, logout, matchWalletProvidersToCatalogGroup, offEvent, offWalletProviderEvent, onEvent, onWalletProviderEvent, onceEvent, parseUserAgent, __prepareCheckoutTransaction_wrapped as prepareCheckoutTransaction, __prepareFlowSigning_wrapped as prepareFlowSigning, __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, __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, __signInWithSocialPopUp_wrapped as signInWithSocialPopUp, __signInWithSocialRedirect_wrapped as signInWithSocialRedirect, __signMessage_wrapped as signMessage, __submitCheckoutTransaction_wrapped as submitCheckoutTransaction, __submitFlowTransaction_wrapped as submitFlowTransaction, supportedCountries, __switchActiveNetwork_wrapped as switchActiveNetwork, 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 };
8430
8376
  //# sourceMappingURL=index.esm.js.map