@dynamic-labs-sdk/client 0.17.4 → 0.18.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (667) hide show
  1. package/dist/{InvalidParamError-CApg0dxd.cjs.js → InvalidParamError-0w8-q2f3.cjs.js} +21 -4
  2. package/dist/InvalidParamError-0w8-q2f3.cjs.js.map +1 -0
  3. package/dist/{InvalidParamError-BgvcmQ36.esm.js → InvalidParamError-CGBIFNgP.esm.js} +20 -3
  4. package/dist/InvalidParamError-CGBIFNgP.esm.js.map +1 -0
  5. package/dist/{NotWaasWalletAccountError-CfH6ZpRB.esm.js → NotWaasWalletAccountError-CT_IUD-3.esm.js} +4 -3
  6. package/dist/NotWaasWalletAccountError-CT_IUD-3.esm.js.map +1 -0
  7. package/dist/{NotWaasWalletAccountError-C8iogcNm.cjs.js → NotWaasWalletAccountError-CyvI1KtC.cjs.js} +4 -3
  8. package/dist/NotWaasWalletAccountError-CyvI1KtC.cjs.js.map +1 -0
  9. package/dist/client/core/createCore/createCore.d.ts +1 -0
  10. package/dist/client/core/createCore/createCore.d.ts.map +1 -1
  11. package/dist/client/core/createCore/getInitialState.d.ts +1 -0
  12. package/dist/client/core/createCore/getInitialState.d.ts.map +1 -1
  13. package/dist/client/core/getCore/getCore.d.ts +1 -0
  14. package/dist/client/core/getCore/getCore.d.ts.map +1 -1
  15. package/dist/client/createDynamicClient/createDynamicClient.d.ts +1 -0
  16. package/dist/client/createDynamicClient/createDynamicClient.d.ts.map +1 -1
  17. package/dist/client/defaultClient/defaultClient.d.ts +2 -0
  18. package/dist/client/defaultClient/defaultClient.d.ts.map +1 -1
  19. package/dist/core.cjs.js +20 -5
  20. package/dist/core.cjs.js.map +1 -1
  21. package/dist/core.esm.js +20 -5
  22. package/dist/core.esm.js.map +1 -1
  23. package/dist/exports/index.d.ts +7 -4
  24. package/dist/exports/index.d.ts.map +1 -1
  25. package/dist/{getNetworkProviderFromNetworkId-DoLT1yjR.esm.js → getNetworkProviderFromNetworkId-C9PJejYH.esm.js} +44 -3
  26. package/dist/getNetworkProviderFromNetworkId-C9PJejYH.esm.js.map +1 -0
  27. package/dist/{getNetworkProviderFromNetworkId-BP2AzuLE.cjs.js → getNetworkProviderFromNetworkId-KrwFxKlq.cjs.js} +44 -3
  28. package/dist/getNetworkProviderFromNetworkId-KrwFxKlq.cjs.js.map +1 -0
  29. package/dist/{getSignedSessionId-CbNoTJxx.cjs.js → getSignedSessionId-Cqp6g3pY.cjs.js} +7 -3
  30. package/dist/getSignedSessionId-Cqp6g3pY.cjs.js.map +1 -0
  31. package/dist/{getSignedSessionId-np5XdQ1A.esm.js → getSignedSessionId-DhCbpycv.esm.js} +7 -3
  32. package/dist/getSignedSessionId-DhCbpycv.esm.js.map +1 -0
  33. package/dist/{getVerifiedCredentialForWalletAccount-CyyHc2ec.esm.js → getVerifiedCredentialForWalletAccount-BdoPoNic.esm.js} +35 -3
  34. package/dist/getVerifiedCredentialForWalletAccount-BdoPoNic.esm.js.map +1 -0
  35. package/dist/{getVerifiedCredentialForWalletAccount-BDXePo9t.cjs.js → getVerifiedCredentialForWalletAccount-Bffr91SM.cjs.js} +47 -3
  36. package/dist/getVerifiedCredentialForWalletAccount-Bffr91SM.cjs.js.map +1 -0
  37. package/dist/index.cjs.js +418 -9
  38. package/dist/index.cjs.js.map +1 -1
  39. package/dist/index.esm.js +416 -10
  40. package/dist/index.esm.js.map +1 -1
  41. package/dist/{isMfaRequiredForAction-BtO6Xkeu.esm.js → isMfaRequiredForAction-Vo0fCwzo.esm.js} +5 -2
  42. package/dist/isMfaRequiredForAction-Vo0fCwzo.esm.js.map +1 -0
  43. package/dist/{isMfaRequiredForAction-C84laGI8.cjs.js → isMfaRequiredForAction-cPUOtGku.cjs.js} +5 -2
  44. package/dist/isMfaRequiredForAction-cPUOtGku.cjs.js.map +1 -0
  45. package/dist/modules/apiClient/createApiClient.d.ts +1 -0
  46. package/dist/modules/apiClient/createApiClient.d.ts.map +1 -1
  47. package/dist/modules/apiClient/utils/clientErrorMapper/clientErrorMapper.d.ts +1 -0
  48. package/dist/modules/apiClient/utils/clientErrorMapper/clientErrorMapper.d.ts.map +1 -1
  49. package/dist/modules/apiClient/utils/convertToApiErrorMiddleware/convertToApiErrorMiddleware.d.ts +1 -0
  50. package/dist/modules/apiClient/utils/convertToApiErrorMiddleware/convertToApiErrorMiddleware.d.ts.map +1 -1
  51. package/dist/modules/apiClient/utils/deviceSignatureHeadersMiddleware/createDeviceSignatureHeadersMiddleware.d.ts +1 -0
  52. package/dist/modules/apiClient/utils/deviceSignatureHeadersMiddleware/createDeviceSignatureHeadersMiddleware.d.ts.map +1 -1
  53. package/dist/modules/apiClient/utils/unauthorizedMiddleware/createUnauthorizedMiddleware.d.ts +1 -0
  54. package/dist/modules/apiClient/utils/unauthorizedMiddleware/createUnauthorizedMiddleware.d.ts.map +1 -1
  55. package/dist/modules/auth/checkStepUpAuth/checkStepUpAuth.d.ts +35 -0
  56. package/dist/modules/auth/checkStepUpAuth/checkStepUpAuth.d.ts.map +1 -0
  57. package/dist/modules/auth/checkStepUpAuth/index.d.ts +2 -0
  58. package/dist/modules/auth/checkStepUpAuth/index.d.ts.map +1 -0
  59. package/dist/modules/auth/createVisit/createVisit.d.ts +1 -0
  60. package/dist/modules/auth/createVisit/createVisit.d.ts.map +1 -1
  61. package/dist/modules/auth/decodeJwt/decodeJwt.d.ts +1 -0
  62. package/dist/modules/auth/decodeJwt/decodeJwt.d.ts.map +1 -1
  63. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/index.d.ts +2 -0
  64. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/index.d.ts.map +1 -0
  65. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts +21 -0
  66. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts.map +1 -0
  67. package/dist/modules/auth/externalAuth/signInWithExternalJwt/signInWithExternalJwt.d.ts +3 -0
  68. package/dist/modules/auth/externalAuth/signInWithExternalJwt/signInWithExternalJwt.d.ts.map +1 -1
  69. package/dist/{services/instrumentation → modules/auth}/extractSessionId/extractSessionId.d.ts +1 -0
  70. package/dist/modules/auth/extractSessionId/extractSessionId.d.ts.map +1 -0
  71. package/dist/modules/auth/getElevatedAccessToken/getElevatedAccessToken.d.ts +3 -1
  72. package/dist/modules/auth/getElevatedAccessToken/getElevatedAccessToken.d.ts.map +1 -1
  73. package/dist/modules/auth/initializeAuth/initializeAuth.d.ts +1 -0
  74. package/dist/modules/auth/initializeAuth/initializeAuth.d.ts.map +1 -1
  75. package/dist/modules/auth/initializeAuth/setLongTimeout/setLongTimeout.d.ts +1 -0
  76. package/dist/modules/auth/initializeAuth/setLongTimeout/setLongTimeout.d.ts.map +1 -1
  77. package/dist/modules/auth/isSignedIn/isSignedIn.d.ts +1 -0
  78. package/dist/modules/auth/isSignedIn/isSignedIn.d.ts.map +1 -1
  79. package/dist/modules/auth/logout/logout.d.ts +1 -0
  80. package/dist/modules/auth/logout/logout.d.ts.map +1 -1
  81. package/dist/modules/auth/passkeys/deletePasskey/deletePasskey.d.ts +1 -0
  82. package/dist/modules/auth/passkeys/deletePasskey/deletePasskey.d.ts.map +1 -1
  83. package/dist/modules/auth/passkeys/getPasskeyAuthenticationOptions/getPasskeyAuthenticationOptions.d.ts +1 -0
  84. package/dist/modules/auth/passkeys/getPasskeyAuthenticationOptions/getPasskeyAuthenticationOptions.d.ts.map +1 -1
  85. package/dist/modules/auth/passkeys/getPasskeyAuthenticationSignInOptions/getPasskeyAuthenticationSignInOptions.d.ts +1 -0
  86. package/dist/modules/auth/passkeys/getPasskeyAuthenticationSignInOptions/getPasskeyAuthenticationSignInOptions.d.ts.map +1 -1
  87. package/dist/modules/auth/passkeys/getPasskeyRegistrationOptions/getPasskeyRegistrationOptions.d.ts +1 -0
  88. package/dist/modules/auth/passkeys/getPasskeyRegistrationOptions/getPasskeyRegistrationOptions.d.ts.map +1 -1
  89. package/dist/modules/auth/passkeys/getPasskeys/getPasskeys.d.ts +1 -0
  90. package/dist/modules/auth/passkeys/getPasskeys/getPasskeys.d.ts.map +1 -1
  91. package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts +1 -0
  92. package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts.map +1 -1
  93. package/dist/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.d.ts +1 -0
  94. package/dist/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.d.ts.map +1 -1
  95. package/dist/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts +1 -0
  96. package/dist/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts.map +1 -1
  97. package/dist/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.d.ts +1 -0
  98. package/dist/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.d.ts.map +1 -1
  99. package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts +1 -0
  100. package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts.map +1 -1
  101. package/dist/modules/auth/social/getUserSocialAccounts/getUserSocialAccounts.d.ts +1 -0
  102. package/dist/modules/auth/social/getUserSocialAccounts/getUserSocialAccounts.d.ts.map +1 -1
  103. package/dist/modules/auth/social/oauth/authenticateWithSocial/authenticateWithSocial.d.ts +1 -0
  104. package/dist/modules/auth/social/oauth/authenticateWithSocial/authenticateWithSocial.d.ts.map +1 -1
  105. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.d.ts +4 -2
  106. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.d.ts.map +1 -1
  107. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/buildOAuthUrl.d.ts +4 -2
  108. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/buildOAuthUrl.d.ts.map +1 -1
  109. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.d.ts +2 -1
  110. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.d.ts.map +1 -1
  111. package/dist/modules/auth/social/oauth/completeSocialAuthentication/completeSocialAuthentication.d.ts +1 -0
  112. package/dist/modules/auth/social/oauth/completeSocialAuthentication/completeSocialAuthentication.d.ts.map +1 -1
  113. package/dist/modules/auth/social/oauth/detectOAuthRedirect/detectOAuthRedirect.d.ts +1 -0
  114. package/dist/modules/auth/social/oauth/detectOAuthRedirect/detectOAuthRedirect.d.ts.map +1 -1
  115. package/dist/modules/auth/social/oauth/unlinkSocialAccount/unlinkSocialAccount.d.ts +1 -0
  116. package/dist/modules/auth/social/oauth/unlinkSocialAccount/unlinkSocialAccount.d.ts.map +1 -1
  117. package/dist/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.d.ts +1 -0
  118. package/dist/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.d.ts.map +1 -1
  119. package/dist/modules/auth/updateAuthFromVerifyResponse/checkAndRaiseWalletAccountsChangedEvent/checkAndRaiseWalletAccountsChangedEvent.d.ts +1 -0
  120. package/dist/modules/auth/updateAuthFromVerifyResponse/checkAndRaiseWalletAccountsChangedEvent/checkAndRaiseWalletAccountsChangedEvent.d.ts.map +1 -1
  121. package/dist/modules/auth/updateAuthFromVerifyResponse/elevatedAccessTokens/normalizeScopes/normalizeScopes.d.ts +1 -0
  122. package/dist/modules/auth/updateAuthFromVerifyResponse/elevatedAccessTokens/normalizeScopes/normalizeScopes.d.ts.map +1 -1
  123. package/dist/modules/auth/updateAuthFromVerifyResponse/elevatedAccessTokens/parseElevatedAccessToken/parseElevatedAccessToken.d.ts +1 -0
  124. package/dist/modules/auth/updateAuthFromVerifyResponse/elevatedAccessTokens/parseElevatedAccessToken/parseElevatedAccessToken.d.ts.map +1 -1
  125. package/dist/modules/auth/updateAuthFromVerifyResponse/elevatedAccessTokens/upsertElevatedAccessToken/upsertElevatedAccessToken.d.ts +1 -0
  126. package/dist/modules/auth/updateAuthFromVerifyResponse/elevatedAccessTokens/upsertElevatedAccessToken/upsertElevatedAccessToken.d.ts.map +1 -1
  127. package/dist/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts +1 -0
  128. package/dist/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts.map +1 -1
  129. package/dist/modules/balances/getBalances/getBalances.d.ts +3 -1
  130. package/dist/modules/balances/getBalances/getBalances.d.ts.map +1 -1
  131. package/dist/modules/balances/getMultichainBalances/getMultichainBalances.d.ts +1 -0
  132. package/dist/modules/balances/getMultichainBalances/getMultichainBalances.d.ts.map +1 -1
  133. package/dist/modules/captcha/consumeCaptchaToken/consumeCaptchaToken.d.ts +1 -0
  134. package/dist/modules/captcha/consumeCaptchaToken/consumeCaptchaToken.d.ts.map +1 -1
  135. package/dist/modules/captcha/isCaptchaRequired/isCaptchaRequired.d.ts +1 -0
  136. package/dist/modules/captcha/isCaptchaRequired/isCaptchaRequired.d.ts.map +1 -1
  137. package/dist/modules/captcha/setCaptchaToken/setCaptchaToken.d.ts +1 -0
  138. package/dist/modules/captcha/setCaptchaToken/setCaptchaToken.d.ts.map +1 -1
  139. package/dist/modules/checkout/attachCheckoutTransactionSource/attachCheckoutTransactionSource.d.ts +1 -0
  140. package/dist/modules/checkout/attachCheckoutTransactionSource/attachCheckoutTransactionSource.d.ts.map +1 -1
  141. package/dist/modules/checkout/broadcastCheckoutTransaction/broadcastCheckoutTransaction.d.ts +1 -0
  142. package/dist/modules/checkout/broadcastCheckoutTransaction/broadcastCheckoutTransaction.d.ts.map +1 -1
  143. package/dist/modules/checkout/cancelCheckoutTransaction/cancelCheckoutTransaction.d.ts +1 -0
  144. package/dist/modules/checkout/cancelCheckoutTransaction/cancelCheckoutTransaction.d.ts.map +1 -1
  145. package/dist/modules/checkout/createCheckoutTransaction/createCheckoutTransaction.d.ts +2 -1
  146. package/dist/modules/checkout/createCheckoutTransaction/createCheckoutTransaction.d.ts.map +1 -1
  147. package/dist/modules/checkout/getCheckoutTransaction/getCheckoutTransaction.d.ts +1 -0
  148. package/dist/modules/checkout/getCheckoutTransaction/getCheckoutTransaction.d.ts.map +1 -1
  149. package/dist/modules/checkout/getCheckoutTransactionQuote/getCheckoutTransactionQuote.d.ts +1 -0
  150. package/dist/modules/checkout/getCheckoutTransactionQuote/getCheckoutTransactionQuote.d.ts.map +1 -1
  151. package/dist/modules/checkout/getCheckouts/getCheckouts.d.ts +1 -0
  152. package/dist/modules/checkout/getCheckouts/getCheckouts.d.ts.map +1 -1
  153. package/dist/modules/checkout/prepareCheckoutTransaction/prepareCheckoutTransaction.d.ts +1 -0
  154. package/dist/modules/checkout/prepareCheckoutTransaction/prepareCheckoutTransaction.d.ts.map +1 -1
  155. package/dist/modules/checkout/submitCheckoutTransaction/submitCheckoutTransaction.d.ts +1 -0
  156. package/dist/modules/checkout/submitCheckoutTransaction/submitCheckoutTransaction.d.ts.map +1 -1
  157. package/dist/modules/checkout/utils/createCheckoutApiClient/createCheckoutApiClient.d.ts +1 -0
  158. package/dist/modules/checkout/utils/createCheckoutApiClient/createCheckoutApiClient.d.ts.map +1 -1
  159. package/dist/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.d.ts +1 -0
  160. package/dist/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.d.ts.map +1 -1
  161. package/dist/modules/clientEvents/clientEvents.d.ts +4 -0
  162. package/dist/modules/clientEvents/clientEvents.d.ts.map +1 -1
  163. package/dist/modules/crossTabEventSync/setupCrossTabEventSync/setupCrossTabEventSync.d.ts +1 -0
  164. package/dist/modules/crossTabEventSync/setupCrossTabEventSync/setupCrossTabEventSync.d.ts.map +1 -1
  165. package/dist/modules/deviceRegistration/completeDeviceRegistration/completeDeviceRegistration.d.ts +1 -0
  166. package/dist/modules/deviceRegistration/completeDeviceRegistration/completeDeviceRegistration.d.ts.map +1 -1
  167. package/dist/modules/deviceRegistration/detectDeviceRegistrationRedirect/detectDeviceRegistrationRedirect.d.ts +1 -0
  168. package/dist/modules/deviceRegistration/detectDeviceRegistrationRedirect/detectDeviceRegistrationRedirect.d.ts.map +1 -1
  169. package/dist/modules/deviceRegistration/getDeviceRegistrationTokenFromUrl/getDeviceRegistrationTokenFromUrl.d.ts +1 -0
  170. package/dist/modules/deviceRegistration/getDeviceRegistrationTokenFromUrl/getDeviceRegistrationTokenFromUrl.d.ts.map +1 -1
  171. package/dist/modules/deviceRegistration/getDeviceSigner/getDeviceSigner.d.ts +1 -0
  172. package/dist/modules/deviceRegistration/getDeviceSigner/getDeviceSigner.d.ts.map +1 -1
  173. package/dist/modules/deviceRegistration/getDeviceSigner/getOrCreateEnvironmentDeviceSigningKeys/getOrCreateEnvironmentDeviceSigningKeys.d.ts +1 -0
  174. package/dist/modules/deviceRegistration/getDeviceSigner/getOrCreateEnvironmentDeviceSigningKeys/getOrCreateEnvironmentDeviceSigningKeys.d.ts.map +1 -1
  175. package/dist/modules/deviceRegistration/getHeadersForNonceSignedByDeviceSigners/getHeadersForNonceSignedByDeviceSigners.d.ts +1 -0
  176. package/dist/modules/deviceRegistration/getHeadersForNonceSignedByDeviceSigners/getHeadersForNonceSignedByDeviceSigners.d.ts.map +1 -1
  177. package/dist/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.d.ts +1 -0
  178. package/dist/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.d.ts.map +1 -1
  179. package/dist/modules/deviceRegistration/isDeviceRegistrationRequired/isDeviceRegistrationRequired.d.ts +1 -0
  180. package/dist/modules/deviceRegistration/isDeviceRegistrationRequired/isDeviceRegistrationRequired.d.ts.map +1 -1
  181. package/dist/modules/deviceRegistration/revokeAllRegisteredDevices/revokeAllRegisteredDevices.d.ts +1 -0
  182. package/dist/modules/deviceRegistration/revokeAllRegisteredDevices/revokeAllRegisteredDevices.d.ts.map +1 -1
  183. package/dist/modules/deviceRegistration/revokeRegisteredDevice/revokeRegisteredDevice.d.ts +1 -0
  184. package/dist/modules/deviceRegistration/revokeRegisteredDevice/revokeRegisteredDevice.d.ts.map +1 -1
  185. package/dist/modules/extension/hasExtension/hasExtension.d.ts +1 -0
  186. package/dist/modules/extension/hasExtension/hasExtension.d.ts.map +1 -1
  187. package/dist/modules/extension/registerExtension/registerExtension.d.ts +1 -0
  188. package/dist/modules/extension/registerExtension/registerExtension.d.ts.map +1 -1
  189. package/dist/modules/funding/coinbase/addCoinbaseOnrampOrderEventListener/addCoinbaseOnrampOrderEventListener.d.ts +1 -0
  190. package/dist/modules/funding/coinbase/addCoinbaseOnrampOrderEventListener/addCoinbaseOnrampOrderEventListener.d.ts.map +1 -1
  191. package/dist/modules/funding/coinbase/createCoinbaseOnrampOrder/createCoinbaseOnrampOrder.d.ts +1 -0
  192. package/dist/modules/funding/coinbase/createCoinbaseOnrampOrder/createCoinbaseOnrampOrder.d.ts.map +1 -1
  193. package/dist/modules/funding/coinbase/getCoinbaseBuyUrl/getCoinbaseBuyUrl.d.ts +1 -0
  194. package/dist/modules/funding/coinbase/getCoinbaseBuyUrl/getCoinbaseBuyUrl.d.ts.map +1 -1
  195. package/dist/modules/funding/coinbase/getMissingVerificationForCoinbaseOnrampOrder/getMissingVerificationForCoinbaseOnrampOrder.d.ts +1 -0
  196. package/dist/modules/funding/coinbase/getMissingVerificationForCoinbaseOnrampOrder/getMissingVerificationForCoinbaseOnrampOrder.d.ts.map +1 -1
  197. package/dist/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/validateUserCredentialsForCoinbaseOnrampOrder.d.ts +1 -0
  198. package/dist/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/validateUserCredentialsForCoinbaseOnrampOrder.d.ts.map +1 -1
  199. package/dist/modules/funding/cryptoDotCom/createCryptoDotComPayment/createCryptoDotComPayment.d.ts +1 -0
  200. package/dist/modules/funding/cryptoDotCom/createCryptoDotComPayment/createCryptoDotComPayment.d.ts.map +1 -1
  201. package/dist/modules/funding/kraken/createKrakenExchangeTransfer/createKrakenExchangeTransfer.d.ts +3 -1
  202. package/dist/modules/funding/kraken/createKrakenExchangeTransfer/createKrakenExchangeTransfer.d.ts.map +1 -1
  203. package/dist/modules/funding/kraken/getKrakenAccounts/getKrakenAccounts.d.ts +3 -1
  204. package/dist/modules/funding/kraken/getKrakenAccounts/getKrakenAccounts.d.ts.map +1 -1
  205. package/dist/modules/funding/kraken/getKrakenWhitelistedAddresses/getKrakenWhitelistedAddresses.d.ts +1 -0
  206. package/dist/modules/funding/kraken/getKrakenWhitelistedAddresses/getKrakenWhitelistedAddresses.d.ts.map +1 -1
  207. package/dist/modules/initializeClient/initializeClient.d.ts +1 -0
  208. package/dist/modules/initializeClient/initializeClient.d.ts.map +1 -1
  209. package/dist/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.d.ts +1 -0
  210. package/dist/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.d.ts.map +1 -1
  211. package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts +1 -0
  212. package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts.map +1 -1
  213. package/dist/modules/instrumentation/setInstrumentationEnabled/setInstrumentationEnabled.d.ts +11 -0
  214. package/dist/modules/instrumentation/setInstrumentationEnabled/setInstrumentationEnabled.d.ts.map +1 -0
  215. package/dist/modules/keychainMigration/migrateSessionKeyToKeychain/migrateSessionKeyToKeychain.d.ts +1 -0
  216. package/dist/modules/keychainMigration/migrateSessionKeyToKeychain/migrateSessionKeyToKeychain.d.ts.map +1 -1
  217. package/dist/modules/legacyWalletBook/fetchLegacyWalletBook/fetchLegacyWalletBook.d.ts +1 -0
  218. package/dist/modules/legacyWalletBook/fetchLegacyWalletBook/fetchLegacyWalletBook.d.ts.map +1 -1
  219. package/dist/modules/legacyWalletBook/fetchLegacyWalletBook/fetchWithTimeout/fetchWithTimeout.d.ts +1 -0
  220. package/dist/modules/legacyWalletBook/fetchLegacyWalletBook/fetchWithTimeout/fetchWithTimeout.d.ts.map +1 -1
  221. package/dist/modules/legacyWalletBook/getSpriteUrl/getSpriteUrl.d.ts +1 -0
  222. package/dist/modules/legacyWalletBook/getSpriteUrl/getSpriteUrl.d.ts.map +1 -1
  223. package/dist/modules/legacyWalletBook/getWalletBookCdnUrl/getWalletBookCdnUrl.d.ts +1 -0
  224. package/dist/modules/legacyWalletBook/getWalletBookCdnUrl/getWalletBookCdnUrl.d.ts.map +1 -1
  225. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getChainFromWalletSchema/getChainFromWalletSchema.d.ts +1 -0
  226. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getChainFromWalletSchema/getChainFromWalletSchema.d.ts.map +1 -1
  227. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getWalletConnectCatalog.d.ts +1 -0
  228. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getWalletConnectCatalog.d.ts.map +1 -1
  229. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/shouldFilterWallet/shouldFilterWallet.d.ts +2 -0
  230. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/shouldFilterWallet/shouldFilterWallet.d.ts.map +1 -1
  231. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/transformGroup/transformGroup.d.ts +1 -0
  232. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/transformGroup/transformGroup.d.ts.map +1 -1
  233. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/transformWallet/transformWallet.d.ts +1 -0
  234. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/transformWallet/transformWallet.d.ts.map +1 -1
  235. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/transformWalletBook/transformWalletBook.d.ts +1 -0
  236. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/transformWalletBook/transformWalletBook.d.ts.map +1 -1
  237. package/dist/modules/legacyWalletBook/getWalletConnectCatalogWalletByWalletProviderKey/getWalletConnectCatalogWalletByWalletProviderKey.d.ts +1 -0
  238. package/dist/modules/legacyWalletBook/getWalletConnectCatalogWalletByWalletProviderKey/getWalletConnectCatalogWalletByWalletProviderKey.d.ts.map +1 -1
  239. package/dist/modules/mfa/acknowledgeRecoveryCodes/acknowledgeRecoveryCodes.d.ts +1 -0
  240. package/dist/modules/mfa/acknowledgeRecoveryCodes/acknowledgeRecoveryCodes.d.ts.map +1 -1
  241. package/dist/modules/mfa/authenticateMfaRecoveryCode/authenticateMfaRecoveryCode.d.ts +3 -1
  242. package/dist/modules/mfa/authenticateMfaRecoveryCode/authenticateMfaRecoveryCode.d.ts.map +1 -1
  243. package/dist/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.d.ts +3 -1
  244. package/dist/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.d.ts.map +1 -1
  245. package/dist/modules/mfa/authenticateTotpMfaDevice/authenticateTotpMfaDevice.d.ts +3 -1
  246. package/dist/modules/mfa/authenticateTotpMfaDevice/authenticateTotpMfaDevice.d.ts.map +1 -1
  247. package/dist/modules/mfa/consumeMfaToken/consumeMfaToken.d.ts +1 -0
  248. package/dist/modules/mfa/consumeMfaToken/consumeMfaToken.d.ts.map +1 -1
  249. package/dist/modules/mfa/consumeMfaTokenIfRequiredForAction/consumeMfaTokenIfRequiredForAction.d.ts +1 -0
  250. package/dist/modules/mfa/consumeMfaTokenIfRequiredForAction/consumeMfaTokenIfRequiredForAction.d.ts.map +1 -1
  251. package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts +1 -0
  252. package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts.map +1 -1
  253. package/dist/modules/mfa/deleteMfaDevice/deleteMfaDevice.d.ts +1 -0
  254. package/dist/modules/mfa/deleteMfaDevice/deleteMfaDevice.d.ts.map +1 -1
  255. package/dist/modules/mfa/getMfaDevices/getMfaDevices.d.ts +1 -0
  256. package/dist/modules/mfa/getMfaDevices/getMfaDevices.d.ts.map +1 -1
  257. package/dist/modules/mfa/getMfaMethods/getMfaMethods.d.ts +1 -0
  258. package/dist/modules/mfa/getMfaMethods/getMfaMethods.d.ts.map +1 -1
  259. package/dist/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.d.ts +1 -0
  260. package/dist/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.d.ts.map +1 -1
  261. package/dist/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.d.ts +1 -0
  262. package/dist/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.d.ts.map +1 -1
  263. package/dist/modules/mfa/isPendingRecoveryCodesAcknowledgment/isPendingRecoveryCodesAcknowledgment.d.ts +1 -0
  264. package/dist/modules/mfa/isPendingRecoveryCodesAcknowledgment/isPendingRecoveryCodesAcknowledgment.d.ts.map +1 -1
  265. package/dist/modules/mfa/isUserMissingMfaAuth/isUserMissingMfaAuth.d.ts +1 -0
  266. package/dist/modules/mfa/isUserMissingMfaAuth/isUserMissingMfaAuth.d.ts.map +1 -1
  267. package/dist/modules/mfa/registerTotpMfaDevice/registerTotpMfaDevice.d.ts +1 -0
  268. package/dist/modules/mfa/registerTotpMfaDevice/registerTotpMfaDevice.d.ts.map +1 -1
  269. package/dist/modules/mfa/setDefaultMfaDevice/setDefaultMfaDevice.d.ts +1 -0
  270. package/dist/modules/mfa/setDefaultMfaDevice/setDefaultMfaDevice.d.ts.map +1 -1
  271. package/dist/modules/otp/sendEmailOTP/sendEmailOTP.d.ts +3 -0
  272. package/dist/modules/otp/sendEmailOTP/sendEmailOTP.d.ts.map +1 -1
  273. package/dist/modules/otp/sendSmsOTP/sendSmsOTP.d.ts +3 -0
  274. package/dist/modules/otp/sendSmsOTP/sendSmsOTP.d.ts.map +1 -1
  275. package/dist/modules/otp/verifyOTP/verifyOTP.d.ts +1 -0
  276. package/dist/modules/otp/verifyOTP/verifyOTP.d.ts.map +1 -1
  277. package/dist/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.d.ts +1 -0
  278. package/dist/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.d.ts.map +1 -1
  279. package/dist/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.d.ts +1 -0
  280. package/dist/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.d.ts.map +1 -1
  281. package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts +2 -0
  282. package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts.map +1 -1
  283. package/dist/modules/projectSettings/isCookieEnabled/isCookieEnabled.d.ts +1 -0
  284. package/dist/modules/projectSettings/isCookieEnabled/isCookieEnabled.d.ts.map +1 -1
  285. package/dist/modules/sessionKeys/generateNonceSignature/generateNonceSignature.d.ts +1 -0
  286. package/dist/modules/sessionKeys/generateNonceSignature/generateNonceSignature.d.ts.map +1 -1
  287. package/dist/modules/sessionKeys/generateSessionKeys/generateSessionKeys.d.ts +1 -0
  288. package/dist/modules/sessionKeys/generateSessionKeys/generateSessionKeys.d.ts.map +1 -1
  289. package/dist/modules/sessionKeys/generateSessionSignature/generateSessionSignature.d.ts +1 -0
  290. package/dist/modules/sessionKeys/generateSessionSignature/generateSessionSignature.d.ts.map +1 -1
  291. package/dist/modules/sessionKeys/getSessionKeys/getSessionKeys.d.ts +1 -0
  292. package/dist/modules/sessionKeys/getSessionKeys/getSessionKeys.d.ts.map +1 -1
  293. package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts +1 -0
  294. package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts.map +1 -1
  295. package/dist/modules/state/raiseStateEvents/raiseStateEvents.d.ts +1 -0
  296. package/dist/modules/state/raiseStateEvents/raiseStateEvents.d.ts.map +1 -1
  297. package/dist/modules/storageSync/hydrateStateWithStorage/hydrateStateWithStorage.d.ts +1 -0
  298. package/dist/modules/storageSync/hydrateStateWithStorage/hydrateStateWithStorage.d.ts.map +1 -1
  299. package/dist/modules/storageSync/initializeStorageSync.d.ts +1 -0
  300. package/dist/modules/storageSync/initializeStorageSync.d.ts.map +1 -1
  301. package/dist/modules/storageSync/syncStateWithStorage/syncStateWithStorage.d.ts +1 -0
  302. package/dist/modules/storageSync/syncStateWithStorage/syncStateWithStorage.d.ts.map +1 -1
  303. package/dist/modules/user/deleteUser/deleteUser.d.ts +1 -0
  304. package/dist/modules/user/deleteUser/deleteUser.d.ts.map +1 -1
  305. package/dist/modules/user/isUserOnboardingComplete/isUserOnboardingComplete.d.ts +1 -0
  306. package/dist/modules/user/isUserOnboardingComplete/isUserOnboardingComplete.d.ts.map +1 -1
  307. package/dist/modules/user/refreshAuth/refreshAuth.d.ts +1 -0
  308. package/dist/modules/user/refreshAuth/refreshAuth.d.ts.map +1 -1
  309. package/dist/modules/user/refreshUser/refreshUser.d.ts +1 -0
  310. package/dist/modules/user/refreshUser/refreshUser.d.ts.map +1 -1
  311. package/dist/modules/user/updateUser/updateUser.d.ts +3 -0
  312. package/dist/modules/user/updateUser/updateUser.d.ts.map +1 -1
  313. package/dist/modules/waas/backupWaasKeySharesToGoogleDrive/backupWaasKeySharesToGoogleDrive.d.ts +1 -0
  314. package/dist/modules/waas/backupWaasKeySharesToGoogleDrive/backupWaasKeySharesToGoogleDrive.d.ts.map +1 -1
  315. package/dist/modules/waas/createWaasClient/createWaasClient.d.ts +1 -0
  316. package/dist/modules/waas/createWaasClient/createWaasClient.d.ts.map +1 -1
  317. package/dist/modules/waas/createWaasProvider/createWaasProvider.d.ts +1 -0
  318. package/dist/modules/waas/createWaasProvider/createWaasProvider.d.ts.map +1 -1
  319. package/dist/modules/waas/createWaasWalletAccounts/createWaasWalletAccounts.d.ts +3 -1
  320. package/dist/modules/waas/createWaasWalletAccounts/createWaasWalletAccounts.d.ts.map +1 -1
  321. package/dist/modules/waas/delegateWaasKeyShares/delegateWaasKeyShares.d.ts +1 -0
  322. package/dist/modules/waas/delegateWaasKeyShares/delegateWaasKeyShares.d.ts.map +1 -1
  323. package/dist/modules/waas/exportWaasClientKeyshares/exportWaasClientKeyshares.d.ts +1 -0
  324. package/dist/modules/waas/exportWaasClientKeyshares/exportWaasClientKeyshares.d.ts.map +1 -1
  325. package/dist/modules/waas/exportWaasPrivateKey/exportWaasPrivateKey.d.ts +1 -0
  326. package/dist/modules/waas/exportWaasPrivateKey/exportWaasPrivateKey.d.ts.map +1 -1
  327. package/dist/modules/waas/findWaasWalletProviderByChain/findWaasWalletProviderByChain.d.ts +1 -0
  328. package/dist/modules/waas/findWaasWalletProviderByChain/findWaasWalletProviderByChain.d.ts.map +1 -1
  329. package/dist/modules/waas/getAllUserWaasAddressesForChain/getAllUserWaasAddressesForChain.d.ts +1 -0
  330. package/dist/modules/waas/getAllUserWaasAddressesForChain/getAllUserWaasAddressesForChain.d.ts.map +1 -1
  331. package/dist/modules/waas/getChainsMissingWaasWalletAccounts/getChainsMissingWaasWalletAccounts.d.ts +1 -0
  332. package/dist/modules/waas/getChainsMissingWaasWalletAccounts/getChainsMissingWaasWalletAccounts.d.ts.map +1 -1
  333. package/dist/modules/waas/getWaasChainNameFromChain/getWaasChainNameFromChain.d.ts +1 -0
  334. package/dist/modules/waas/getWaasChainNameFromChain/getWaasChainNameFromChain.d.ts.map +1 -1
  335. package/dist/modules/waas/getWaasWalletProviderByChain/getWaasWalletProviderByChain.d.ts +1 -0
  336. package/dist/modules/waas/getWaasWalletProviderByChain/getWaasWalletProviderByChain.d.ts.map +1 -1
  337. package/dist/modules/waas/getWaasWalletProviderFromWalletAccount/getWaasWalletProviderFromWalletAccount.d.ts +1 -0
  338. package/dist/modules/waas/getWaasWalletProviderFromWalletAccount/getWaasWalletProviderFromWalletAccount.d.ts.map +1 -1
  339. package/dist/modules/waas/getWalletRecoveryState/getWalletRecoveryState.d.ts +1 -0
  340. package/dist/modules/waas/getWalletRecoveryState/getWalletRecoveryState.d.ts.map +1 -1
  341. package/dist/modules/waas/hasDelegatedAccess/hasDelegatedAccess.d.ts +1 -0
  342. package/dist/modules/waas/hasDelegatedAccess/hasDelegatedAccess.d.ts.map +1 -1
  343. package/dist/modules/waas/importWaasPrivateKey/importWaasPrivateKey.d.ts +1 -0
  344. package/dist/modules/waas/importWaasPrivateKey/importWaasPrivateKey.d.ts.map +1 -1
  345. package/dist/modules/waas/isDynamicWaasEnabled/isDynamicWaasEnabled.d.ts +1 -0
  346. package/dist/modules/waas/isDynamicWaasEnabled/isDynamicWaasEnabled.d.ts.map +1 -1
  347. package/dist/modules/waas/isPasswordRequiredForWaasWallets/isPasswordRequiredForWaasWallets.d.ts +1 -0
  348. package/dist/modules/waas/isPasswordRequiredForWaasWallets/isPasswordRequiredForWaasWallets.d.ts.map +1 -1
  349. package/dist/modules/waas/isWaasWalletAccount/isWaasWalletAccount.d.ts +1 -0
  350. package/dist/modules/waas/isWaasWalletAccount/isWaasWalletAccount.d.ts.map +1 -1
  351. package/dist/modules/waas/isWaasWalletProvider/isWaasWalletProvider.d.ts +1 -0
  352. package/dist/modules/waas/isWaasWalletProvider/isWaasWalletProvider.d.ts.map +1 -1
  353. package/dist/modules/waas/isWalletCreationRequirement/isWalletCreationRequirement.d.ts +1 -0
  354. package/dist/modules/waas/isWalletCreationRequirement/isWalletCreationRequirement.d.ts.map +1 -1
  355. package/dist/modules/waas/normalizeWalletRequirements/normalizeWalletRequirements.d.ts +1 -0
  356. package/dist/modules/waas/normalizeWalletRequirements/normalizeWalletRequirements.d.ts.map +1 -1
  357. package/dist/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.d.ts +1 -0
  358. package/dist/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.d.ts.map +1 -1
  359. package/dist/modules/waas/restoreUserSharesForAllWalletAccounts/restoreUserSharesForAllWalletAccounts.d.ts +1 -0
  360. package/dist/modules/waas/restoreUserSharesForAllWalletAccounts/restoreUserSharesForAllWalletAccounts.d.ts.map +1 -1
  361. package/dist/modules/waas/revokeWaasDelegation/revokeWaasDelegation.d.ts +1 -0
  362. package/dist/modules/waas/revokeWaasDelegation/revokeWaasDelegation.d.ts.map +1 -1
  363. package/dist/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.d.ts +1 -0
  364. package/dist/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.d.ts.map +1 -1
  365. package/dist/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.d.ts +1 -0
  366. package/dist/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.d.ts.map +1 -1
  367. package/dist/modules/waas/unlockWallet/unlockWallet.d.ts +1 -0
  368. package/dist/modules/waas/unlockWallet/unlockWallet.d.ts.map +1 -1
  369. package/dist/modules/waas/updateWaasPassword/updateWaasPassword.d.ts +1 -0
  370. package/dist/modules/waas/updateWaasPassword/updateWaasPassword.d.ts.map +1 -1
  371. package/dist/modules/wallets/assertWalletAccountSigningAvailability/assertWalletAccountSigningAvailability.d.ts +1 -0
  372. package/dist/modules/wallets/assertWalletAccountSigningAvailability/assertWalletAccountSigningAvailability.d.ts.map +1 -1
  373. package/dist/modules/wallets/connectAndVerifyWithWalletProvider/connectAndVerifyWithWalletProvider.d.ts +1 -0
  374. package/dist/modules/wallets/connectAndVerifyWithWalletProvider/connectAndVerifyWithWalletProvider.d.ts.map +1 -1
  375. package/dist/modules/wallets/connectWithWalletProvider/connectWithWalletProvider.d.ts +1 -0
  376. package/dist/modules/wallets/connectWithWalletProvider/connectWithWalletProvider.d.ts.map +1 -1
  377. package/dist/modules/wallets/disconnectAndTerminateWalletProviders/disconnectAndTerminateWalletProviders.d.ts +1 -0
  378. package/dist/modules/wallets/disconnectAndTerminateWalletProviders/disconnectAndTerminateWalletProviders.d.ts.map +1 -1
  379. package/dist/modules/wallets/disconnectWalletAccount/disconnectWalletAccount.d.ts +1 -0
  380. package/dist/modules/wallets/disconnectWalletAccount/disconnectWalletAccount.d.ts.map +1 -1
  381. package/dist/modules/wallets/emitWalletAccountsChangedEvent/emitWalletAccountsChangedEvent.d.ts +1 -0
  382. package/dist/modules/wallets/emitWalletAccountsChangedEvent/emitWalletAccountsChangedEvent.d.ts.map +1 -1
  383. package/dist/modules/wallets/getAvailableWalletProvidersData/getAvailableWalletProvidersData.d.ts +1 -0
  384. package/dist/modules/wallets/getAvailableWalletProvidersData/getAvailableWalletProvidersData.d.ts.map +1 -1
  385. package/dist/modules/wallets/getConnectedAddresses/getConnectedAddresses.d.ts +1 -0
  386. package/dist/modules/wallets/getConnectedAddresses/getConnectedAddresses.d.ts.map +1 -1
  387. package/dist/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.d.ts +1 -0
  388. package/dist/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.d.ts.map +1 -1
  389. package/dist/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.d.ts +1 -0
  390. package/dist/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.d.ts.map +1 -1
  391. package/dist/modules/wallets/getWalletAccounts/getWalletAccounts.d.ts +1 -0
  392. package/dist/modules/wallets/getWalletAccounts/getWalletAccounts.d.ts.map +1 -1
  393. package/dist/modules/wallets/getWalletAccounts/getWalletAccountsFromState/getWalletAccountsFromState.d.ts +1 -0
  394. package/dist/modules/wallets/getWalletAccounts/getWalletAccountsFromState/getWalletAccountsFromState.d.ts.map +1 -1
  395. package/dist/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.d.ts +1 -0
  396. package/dist/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.d.ts.map +1 -1
  397. package/dist/modules/wallets/getWalletProviderDataByKey/getWalletProviderDataByKey.d.ts +1 -0
  398. package/dist/modules/wallets/getWalletProviderDataByKey/getWalletProviderDataByKey.d.ts.map +1 -1
  399. package/dist/modules/wallets/getWalletProviders/getWalletProviders.d.ts +1 -0
  400. package/dist/modules/wallets/getWalletProviders/getWalletProviders.d.ts.map +1 -1
  401. package/dist/modules/wallets/hardwareWallet/canConnectWithHardwareWallet/canConnectWithHardwareWallet.d.ts +1 -0
  402. package/dist/modules/wallets/hardwareWallet/canConnectWithHardwareWallet/canConnectWithHardwareWallet.d.ts.map +1 -1
  403. package/dist/modules/wallets/hardwareWallet/formatSignatureForHardwareWallet/formatSignatureForHardwareWallet.d.ts +1 -0
  404. package/dist/modules/wallets/hardwareWallet/formatSignatureForHardwareWallet/formatSignatureForHardwareWallet.d.ts.map +1 -1
  405. package/dist/modules/wallets/hardwareWallet/isHardwareWalletAccount/isHardwareWalletAccount.d.ts +1 -0
  406. package/dist/modules/wallets/hardwareWallet/isHardwareWalletAccount/isHardwareWalletAccount.d.ts.map +1 -1
  407. package/dist/modules/wallets/isWalletAccountVerified/isWalletAccountVerified.d.ts +1 -0
  408. package/dist/modules/wallets/isWalletAccountVerified/isWalletAccountVerified.d.ts.map +1 -1
  409. package/dist/modules/wallets/networks/addNetwork/addNetwork.d.ts +1 -0
  410. package/dist/modules/wallets/networks/addNetwork/addNetwork.d.ts.map +1 -1
  411. package/dist/modules/wallets/networks/createBaseNetworkProvider/createBaseNetworkProvider.d.ts +1 -0
  412. package/dist/modules/wallets/networks/createBaseNetworkProvider/createBaseNetworkProvider.d.ts.map +1 -1
  413. package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts +1 -0
  414. package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts.map +1 -1
  415. package/dist/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.d.ts +1 -0
  416. package/dist/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.d.ts.map +1 -1
  417. package/dist/modules/wallets/networks/getBalance/getBalance.d.ts +1 -0
  418. package/dist/modules/wallets/networks/getBalance/getBalance.d.ts.map +1 -1
  419. package/dist/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.d.ts +1 -0
  420. package/dist/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.d.ts.map +1 -1
  421. package/dist/modules/wallets/networks/getNetworkDataForNetworkId/getNetworkDataForNetworkId.d.ts +1 -0
  422. package/dist/modules/wallets/networks/getNetworkDataForNetworkId/getNetworkDataForNetworkId.d.ts.map +1 -1
  423. package/dist/modules/wallets/networks/getNetworkProviderFromNetworkId/getNetworkProviderFromNetworkId.d.ts +1 -0
  424. package/dist/modules/wallets/networks/getNetworkProviderFromNetworkId/getNetworkProviderFromNetworkId.d.ts.map +1 -1
  425. package/dist/modules/wallets/networks/getNetworkProviders/getNetworkProviders.d.ts +1 -0
  426. package/dist/modules/wallets/networks/getNetworkProviders/getNetworkProviders.d.ts.map +1 -1
  427. package/dist/modules/wallets/networks/getNetworksData/getNetworksData.d.ts +1 -0
  428. package/dist/modules/wallets/networks/getNetworksData/getNetworksData.d.ts.map +1 -1
  429. package/dist/modules/wallets/networks/getSdkChainFromApiChainName/getSdkChainFromApiChainName.d.ts +1 -0
  430. package/dist/modules/wallets/networks/getSdkChainFromApiChainName/getSdkChainFromApiChainName.d.ts.map +1 -1
  431. package/dist/modules/wallets/networks/getTransactionHistory/getTransactionHistory.d.ts +1 -0
  432. package/dist/modules/wallets/networks/getTransactionHistory/getTransactionHistory.d.ts.map +1 -1
  433. package/dist/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.d.ts +1 -0
  434. package/dist/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.d.ts.map +1 -1
  435. package/dist/modules/wallets/networks/lastKnownNetworkRegistry/createLastKnownNetworkRegistry/createLastKnownNetworkRegistry.d.ts +1 -0
  436. package/dist/modules/wallets/networks/lastKnownNetworkRegistry/createLastKnownNetworkRegistry/createLastKnownNetworkRegistry.d.ts.map +1 -1
  437. package/dist/modules/wallets/networks/networkProviderBuilderRegistry/createNetworkProviderBuilderRegistry/createNetworkProviderBuilderRegistry.d.ts +1 -0
  438. package/dist/modules/wallets/networks/networkProviderBuilderRegistry/createNetworkProviderBuilderRegistry/createNetworkProviderBuilderRegistry.d.ts.map +1 -1
  439. package/dist/modules/wallets/networks/switchActiveNetwork/switchActiveNetwork.d.ts +1 -0
  440. package/dist/modules/wallets/networks/switchActiveNetwork/switchActiveNetwork.d.ts.map +1 -1
  441. package/dist/modules/wallets/primaryWalletAccount/getPrimaryWalletAccount/getPrimaryWalletAccount.d.ts +1 -0
  442. package/dist/modules/wallets/primaryWalletAccount/getPrimaryWalletAccount/getPrimaryWalletAccount.d.ts.map +1 -1
  443. package/dist/modules/wallets/primaryWalletAccount/selectPrimaryWalletAccount/selectPrimaryWalletAccount.d.ts +1 -0
  444. package/dist/modules/wallets/primaryWalletAccount/selectPrimaryWalletAccount/selectPrimaryWalletAccount.d.ts.map +1 -1
  445. package/dist/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.d.ts +1 -0
  446. package/dist/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.d.ts.map +1 -1
  447. package/dist/modules/wallets/removeWalletAccount/removeWalletAccount.d.ts +1 -0
  448. package/dist/modules/wallets/removeWalletAccount/removeWalletAccount.d.ts.map +1 -1
  449. package/dist/modules/wallets/signMessage/signMessage.d.ts +1 -0
  450. package/dist/modules/wallets/signMessage/signMessage.d.ts.map +1 -1
  451. package/dist/modules/wallets/transferAmount/transferAmount.d.ts +1 -0
  452. package/dist/modules/wallets/transferAmount/transferAmount.d.ts.map +1 -1
  453. package/dist/modules/wallets/transferWalletAccount/transferWalletAccount.d.ts +1 -0
  454. package/dist/modules/wallets/transferWalletAccount/transferWalletAccount.d.ts.map +1 -1
  455. package/dist/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts +1 -0
  456. package/dist/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts.map +1 -1
  457. package/dist/modules/wallets/unverifiedWalletAccounts/setUnverifiedWalletAccounts/setUnverifiedWalletAccounts.d.ts +1 -0
  458. package/dist/modules/wallets/unverifiedWalletAccounts/setUnverifiedWalletAccounts/setUnverifiedWalletAccounts.d.ts.map +1 -1
  459. package/dist/modules/wallets/userHasEmbeddedWalletForChain/userHasEmbeddedWalletForChain.d.ts +1 -0
  460. package/dist/modules/wallets/userHasEmbeddedWalletForChain/userHasEmbeddedWalletForChain.d.ts.map +1 -1
  461. package/dist/modules/wallets/userHasExternalWallet/userHasExternalWallet.d.ts +1 -0
  462. package/dist/modules/wallets/userHasExternalWallet/userHasExternalWallet.d.ts.map +1 -1
  463. package/dist/modules/wallets/utils/convertUnverifiedWalletAccountToWalletAccount/convertUnverifiedWalletAccountToWalletAccount.d.ts +1 -0
  464. package/dist/modules/wallets/utils/convertUnverifiedWalletAccountToWalletAccount/convertUnverifiedWalletAccountToWalletAccount.d.ts.map +1 -1
  465. package/dist/modules/wallets/utils/convertVerifiedCredentialToWalletAccount/convertVerifiedCredentialToWalletAccount.d.ts +1 -0
  466. package/dist/modules/wallets/utils/convertVerifiedCredentialToWalletAccount/convertVerifiedCredentialToWalletAccount.d.ts.map +1 -1
  467. package/dist/modules/wallets/utils/formatSignInMessage/formatSignInMessage.d.ts +1 -0
  468. package/dist/modules/wallets/utils/formatSignInMessage/formatSignInMessage.d.ts.map +1 -1
  469. package/dist/modules/wallets/utils/formatWalletAccountId/formatWalletAccountId.d.ts +1 -0
  470. package/dist/modules/wallets/utils/formatWalletAccountId/formatWalletAccountId.d.ts.map +1 -1
  471. package/dist/modules/wallets/utils/formatWalletProviderGroupKey/formatWalletProviderGroupKey.d.ts +1 -0
  472. package/dist/modules/wallets/utils/formatWalletProviderGroupKey/formatWalletProviderGroupKey.d.ts.map +1 -1
  473. package/dist/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.d.ts +1 -0
  474. package/dist/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.d.ts.map +1 -1
  475. package/dist/modules/wallets/utils/getAddressesWithTypesFromConnectionResult/getAddressesWithTypesFromConnectionResult.d.ts +1 -0
  476. package/dist/modules/wallets/utils/getAddressesWithTypesFromConnectionResult/getAddressesWithTypesFromConnectionResult.d.ts.map +1 -1
  477. package/dist/modules/wallets/utils/getAllProvidersFromWindow/getAllProvidersFromWindow.d.ts +1 -0
  478. package/dist/modules/wallets/utils/getAllProvidersFromWindow/getAllProvidersFromWindow.d.ts.map +1 -1
  479. package/dist/modules/wallets/utils/getAvailableWalletProvidersFromWalletAccounts/getAvailableWalletProvidersFromWalletAccounts.d.ts +1 -0
  480. package/dist/modules/wallets/utils/getAvailableWalletProvidersFromWalletAccounts/getAvailableWalletProvidersFromWalletAccounts.d.ts.map +1 -1
  481. package/dist/modules/wallets/utils/getChainIdForAccountVerification/getChainIdForAccountVerification.d.ts +1 -0
  482. package/dist/modules/wallets/utils/getChainIdForAccountVerification/getChainIdForAccountVerification.d.ts.map +1 -1
  483. package/dist/modules/wallets/utils/getInjectedProviderFromWindow/getInjectedProviderFromWindow.d.ts +1 -0
  484. package/dist/modules/wallets/utils/getInjectedProviderFromWindow/getInjectedProviderFromWindow.d.ts.map +1 -1
  485. package/dist/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts +1 -0
  486. package/dist/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts.map +1 -1
  487. package/dist/modules/wallets/utils/getSignInMessage/getSignInMessage.d.ts +1 -0
  488. package/dist/modules/wallets/utils/getSignInMessage/getSignInMessage.d.ts.map +1 -1
  489. package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts +1 -0
  490. package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts.map +1 -1
  491. package/dist/modules/wallets/utils/getWalletAccountFromAddress/getWalletAccountFromAddress.d.ts +1 -0
  492. package/dist/modules/wallets/utils/getWalletAccountFromAddress/getWalletAccountFromAddress.d.ts.map +1 -1
  493. package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts +1 -0
  494. package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts.map +1 -1
  495. package/dist/modules/wallets/utils/isSameAddress/isSameAddress.d.ts +1 -0
  496. package/dist/modules/wallets/utils/isSameAddress/isSameAddress.d.ts.map +1 -1
  497. package/dist/modules/wallets/utils/normalizeAddress/normalizeAddress.d.ts +1 -0
  498. package/dist/modules/wallets/utils/normalizeAddress/normalizeAddress.d.ts.map +1 -1
  499. package/dist/modules/wallets/utils/normalizeWalletNameWithChain/normalizeWalletNameWithChain.d.ts +1 -0
  500. package/dist/modules/wallets/utils/normalizeWalletNameWithChain/normalizeWalletNameWithChain.d.ts.map +1 -1
  501. package/dist/modules/wallets/verifyMessageSignatureOwnership/verifyMessageSignatureOwnership.d.ts +1 -0
  502. package/dist/modules/wallets/verifyMessageSignatureOwnership/verifyMessageSignatureOwnership.d.ts.map +1 -1
  503. package/dist/modules/wallets/verifyWalletAccount/verifyWalletAccount.d.ts +1 -0
  504. package/dist/modules/wallets/verifyWalletAccount/verifyWalletAccount.d.ts.map +1 -1
  505. package/dist/modules/wallets/verifyWalletAccountForSignInOrTransfer/verifyWalletAccountForSignInOrTransfer.d.ts +1 -0
  506. package/dist/modules/wallets/verifyWalletAccountForSignInOrTransfer/verifyWalletAccountForSignInOrTransfer.d.ts.map +1 -1
  507. package/dist/modules/wallets/walletProvider/defaultImplementations/getActiveNetworkIdFromLastKnownRegistry/getActiveNetworkIdFromLastKnownRegistry.d.ts +1 -0
  508. package/dist/modules/wallets/walletProvider/defaultImplementations/getActiveNetworkIdFromLastKnownRegistry/getActiveNetworkIdFromLastKnownRegistry.d.ts.map +1 -1
  509. package/dist/modules/wallets/walletProvider/defaultImplementations/switchActiveNetworkInLastKnownRegistry/switchActiveNetworkInLastKnownRegistry.d.ts +1 -0
  510. package/dist/modules/wallets/walletProvider/defaultImplementations/switchActiveNetworkInLastKnownRegistry/switchActiveNetworkInLastKnownRegistry.d.ts.map +1 -1
  511. package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/createWalletProviderEventEmitter.d.ts +3 -1
  512. package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/createWalletProviderEventEmitter.d.ts.map +1 -1
  513. package/dist/modules/wallets/walletProvider/events/offWalletProviderEvent/offWalletProviderEvent.d.ts +1 -0
  514. package/dist/modules/wallets/walletProvider/events/offWalletProviderEvent/offWalletProviderEvent.d.ts.map +1 -1
  515. package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts +1 -0
  516. package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts.map +1 -1
  517. package/dist/modules/wallets/walletProvider/extractChainFromNormalizedName/extractChainFromNormalizedName.d.ts +1 -0
  518. package/dist/modules/wallets/walletProvider/extractChainFromNormalizedName/extractChainFromNormalizedName.d.ts.map +1 -1
  519. package/dist/modules/wallets/walletProvider/isDeeplinkWalletProvider/isDeeplinkWalletProvider.d.ts +1 -0
  520. package/dist/modules/wallets/walletProvider/isDeeplinkWalletProvider/isDeeplinkWalletProvider.d.ts.map +1 -1
  521. package/dist/modules/wallets/walletProvider/splitWalletProviderKey/splitWalletProviderKey.d.ts +1 -0
  522. package/dist/modules/wallets/walletProvider/splitWalletProviderKey/splitWalletProviderKey.d.ts.map +1 -1
  523. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts +1 -0
  524. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts.map +1 -1
  525. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts +1 -0
  526. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts.map +1 -1
  527. package/dist/modules/wallets/walletProviderRegistry/createWalletProviderRegistry/createWalletProviderRegistry.d.ts +1 -0
  528. package/dist/modules/wallets/walletProviderRegistry/createWalletProviderRegistry/createWalletProviderRegistry.d.ts.map +1 -1
  529. package/dist/services/asyncTrack/createAsyncTrack.d.ts +1 -0
  530. package/dist/services/asyncTrack/createAsyncTrack.d.ts.map +1 -1
  531. package/dist/services/crossTabBroadcast/createCrossTabBroadcast/createCrossTabBroadcast.d.ts +1 -0
  532. package/dist/services/crossTabBroadcast/createCrossTabBroadcast/createCrossTabBroadcast.d.ts.map +1 -1
  533. package/dist/services/eventEmitter/createEventEmitter.d.ts +1 -0
  534. package/dist/services/eventEmitter/createEventEmitter.d.ts.map +1 -1
  535. package/dist/services/fetch/createWebFetch.d.ts +1 -0
  536. package/dist/services/fetch/createWebFetch.d.ts.map +1 -1
  537. package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts +23 -0
  538. package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts.map +1 -0
  539. package/dist/services/instrumentation/connectLoggerToInstrumentation/index.d.ts +2 -0
  540. package/dist/services/instrumentation/connectLoggerToInstrumentation/index.d.ts.map +1 -0
  541. package/dist/services/instrumentation/createInstrumentation/createInstrumentation.d.ts +1 -0
  542. package/dist/services/instrumentation/createInstrumentation/createInstrumentation.d.ts.map +1 -1
  543. package/dist/services/instrumentation/instrumentFunction/extractParams/extractParams.d.ts +1 -0
  544. package/dist/services/instrumentation/instrumentFunction/extractParams/extractParams.d.ts.map +1 -1
  545. package/dist/services/instrumentation/instrumentFunction/scrubResolvedValue/scrubResolvedValue.d.ts +1 -0
  546. package/dist/services/instrumentation/instrumentFunction/scrubResolvedValue/scrubResolvedValue.d.ts.map +1 -1
  547. package/dist/services/instrumentation/scrubParameters/scrubParameters.d.ts +1 -0
  548. package/dist/services/instrumentation/scrubParameters/scrubParameters.d.ts.map +1 -1
  549. package/dist/services/instrumentation/transports/createDynamicTransport/createDynamicTransport.d.ts +1 -0
  550. package/dist/services/instrumentation/transports/createDynamicTransport/createDynamicTransport.d.ts.map +1 -1
  551. package/dist/services/keychain/createIndexedDBKeychainService/createIndexedDBKeychainService.d.ts +1 -0
  552. package/dist/services/keychain/createIndexedDBKeychainService/createIndexedDBKeychainService.d.ts.map +1 -1
  553. package/dist/services/keychain/createIndexedDBKeychainService/utils/deleteIndexedDBItem.d.ts +1 -0
  554. package/dist/services/keychain/createIndexedDBKeychainService/utils/deleteIndexedDBItem.d.ts.map +1 -1
  555. package/dist/services/keychain/createIndexedDBKeychainService/utils/getIndexedDBItem.d.ts +1 -0
  556. package/dist/services/keychain/createIndexedDBKeychainService/utils/getIndexedDBItem.d.ts.map +1 -1
  557. package/dist/services/keychain/createIndexedDBKeychainService/utils/openDatabase.d.ts +1 -0
  558. package/dist/services/keychain/createIndexedDBKeychainService/utils/openDatabase.d.ts.map +1 -1
  559. package/dist/services/keychain/createIndexedDBKeychainService/utils/setIndexedDBItem.d.ts +1 -0
  560. package/dist/services/keychain/createIndexedDBKeychainService/utils/setIndexedDBItem.d.ts.map +1 -1
  561. package/dist/services/logger/createLogger/createLogger.d.ts +2 -0
  562. package/dist/services/logger/createLogger/createLogger.d.ts.map +1 -1
  563. package/dist/services/navigate/createNavigationHandler/createNavigationHandler.d.ts +1 -0
  564. package/dist/services/navigate/createNavigationHandler/createNavigationHandler.d.ts.map +1 -1
  565. package/dist/services/openDeeplink/createWebDeeplinkOpener/createWebDeeplinkOpener.d.ts +1 -0
  566. package/dist/services/openDeeplink/createWebDeeplinkOpener/createWebDeeplinkOpener.d.ts.map +1 -1
  567. package/dist/services/passkey/createWebPasskeyService/createWebPasskeyService.d.ts +1 -0
  568. package/dist/services/passkey/createWebPasskeyService/createWebPasskeyService.d.ts.map +1 -1
  569. package/dist/services/realtime/createRealtimeChannelSchema/createRealtimeChannelSchema.d.ts +1 -0
  570. package/dist/services/realtime/createRealtimeChannelSchema/createRealtimeChannelSchema.d.ts.map +1 -1
  571. package/dist/services/realtime/createRealtimeService/createRealtimeService.d.ts +1 -0
  572. package/dist/services/realtime/createRealtimeService/createRealtimeService.d.ts.map +1 -1
  573. package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts +1 -0
  574. package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts.map +1 -1
  575. package/dist/services/runtimeServices/createRuntimeServices/createRuntimeServices.d.ts +1 -0
  576. package/dist/services/runtimeServices/createRuntimeServices/createRuntimeServices.d.ts.map +1 -1
  577. package/dist/services/storage/createLocalStorageAdapter/createLocalStorageAdapter.d.ts +1 -0
  578. package/dist/services/storage/createLocalStorageAdapter/createLocalStorageAdapter.d.ts.map +1 -1
  579. package/dist/services/storage/createStorage/createStorage.d.ts +1 -0
  580. package/dist/services/storage/createStorage/createStorage.d.ts.map +1 -1
  581. package/dist/services/storage/createStorage/formatForStorage/isValidDateISOString/isValidDateISOString.d.ts +1 -0
  582. package/dist/services/storage/createStorage/formatForStorage/isValidDateISOString/isValidDateISOString.d.ts.map +1 -1
  583. package/dist/services/storage/createStorage/formatForStorage/storageFormat.d.ts +2 -0
  584. package/dist/services/storage/createStorage/formatForStorage/storageFormat.d.ts.map +1 -1
  585. package/dist/services/storage/createStorageKeySchema/createStorageKeySchema.d.ts +1 -0
  586. package/dist/services/storage/createStorageKeySchema/createStorageKeySchema.d.ts.map +1 -1
  587. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  588. package/dist/utils/base64UrlDecode/base64UrlDecode.d.ts +1 -0
  589. package/dist/utils/base64UrlDecode/base64UrlDecode.d.ts.map +1 -1
  590. package/dist/utils/bufferToBase64/bufferToBase64.d.ts +1 -0
  591. package/dist/utils/bufferToBase64/bufferToBase64.d.ts.map +1 -1
  592. package/dist/utils/bufferToHex/bufferToHex.d.ts +1 -0
  593. package/dist/utils/bufferToHex/bufferToHex.d.ts.map +1 -1
  594. package/dist/utils/compressRawPublicKey/compressRawPublicKey.d.ts +1 -0
  595. package/dist/utils/compressRawPublicKey/compressRawPublicKey.d.ts.map +1 -1
  596. package/dist/utils/debouncedMutex/createDebouncedMutex/createDebouncedMutex.d.ts +1 -0
  597. package/dist/utils/debouncedMutex/createDebouncedMutex/createDebouncedMutex.d.ts.map +1 -1
  598. package/dist/utils/deferredPromise/createDeferredPromise.d.ts +1 -0
  599. package/dist/utils/deferredPromise/createDeferredPromise.d.ts.map +1 -1
  600. package/dist/utils/digestSHA256/digestSHA256.d.ts +1 -0
  601. package/dist/utils/digestSHA256/digestSHA256.d.ts.map +1 -1
  602. package/dist/utils/encodeBase64Url/encodeBase64Url.d.ts +1 -0
  603. package/dist/utils/encodeBase64Url/encodeBase64Url.d.ts.map +1 -1
  604. package/dist/utils/filterDuplicates/filterDuplicates.d.ts +1 -0
  605. package/dist/utils/filterDuplicates/filterDuplicates.d.ts.map +1 -1
  606. package/dist/utils/getBuffer/getBuffer.d.ts +1 -0
  607. package/dist/utils/getBuffer/getBuffer.d.ts.map +1 -1
  608. package/dist/utils/getChainFromVerifiedCredentialChain/getChainFromVerifiedCredentialChain.d.ts +1 -0
  609. package/dist/utils/getChainFromVerifiedCredentialChain/getChainFromVerifiedCredentialChain.d.ts.map +1 -1
  610. package/dist/utils/getNonce/fetchAndStoreNonces/fetchAndStoreNonces.d.ts +1 -0
  611. package/dist/utils/getNonce/fetchAndStoreNonces/fetchAndStoreNonces.d.ts.map +1 -1
  612. package/dist/utils/getNonce/getNonce.d.ts +1 -0
  613. package/dist/utils/getNonce/getNonce.d.ts.map +1 -1
  614. package/dist/utils/getNonce/prefetchNoncesIfNeeded/prefetchNoncesIfNeeded.d.ts +1 -0
  615. package/dist/utils/getNonce/prefetchNoncesIfNeeded/prefetchNoncesIfNeeded.d.ts.map +1 -1
  616. package/dist/utils/getUserAgent/getUserAgent.d.ts +1 -0
  617. package/dist/utils/getUserAgent/getUserAgent.d.ts.map +1 -1
  618. package/dist/utils/isEqualShallow/isEqualShallow.d.ts +1 -0
  619. package/dist/utils/isEqualShallow/isEqualShallow.d.ts.map +1 -1
  620. package/dist/utils/isError/isError.d.ts +1 -0
  621. package/dist/utils/isError/isError.d.ts.map +1 -1
  622. package/dist/utils/isErrorWithCode/isErrorWithCode.d.ts +1 -0
  623. package/dist/utils/isErrorWithCode/isErrorWithCode.d.ts.map +1 -1
  624. package/dist/utils/isMobile/isMobile.d.ts +12 -0
  625. package/dist/utils/isMobile/isMobile.d.ts.map +1 -1
  626. package/dist/utils/isServerSideRendering/isServerSideRendering.d.ts +1 -0
  627. package/dist/utils/isServerSideRendering/isServerSideRendering.d.ts.map +1 -1
  628. package/dist/utils/observable/createObservableState/createObservableState.d.ts +1 -0
  629. package/dist/utils/observable/createObservableState/createObservableState.d.ts.map +1 -1
  630. package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts +1 -0
  631. package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts.map +1 -1
  632. package/dist/utils/p256Keygen/p256Keygen.d.ts +1 -0
  633. package/dist/utils/p256Keygen/p256Keygen.d.ts.map +1 -1
  634. package/dist/utils/p256Sign/p256Sign.d.ts +1 -0
  635. package/dist/utils/p256Sign/p256Sign.d.ts.map +1 -1
  636. package/dist/utils/parseAmountToSmallestUnit/parseAmountToSmallestUnit.d.ts +1 -0
  637. package/dist/utils/parseAmountToSmallestUnit/parseAmountToSmallestUnit.d.ts.map +1 -1
  638. package/dist/utils/parseUserAgent/parseUserAgent.d.ts +1 -0
  639. package/dist/utils/parseUserAgent/parseUserAgent.d.ts.map +1 -1
  640. package/dist/utils/randomString/randomString.d.ts +1 -0
  641. package/dist/utils/randomString/randomString.d.ts.map +1 -1
  642. package/dist/utils/retryOnFail/retryOnFail.d.ts +1 -0
  643. package/dist/utils/retryOnFail/retryOnFail.d.ts.map +1 -1
  644. package/dist/utils/setCookie/setCookie.d.ts +1 -0
  645. package/dist/utils/setCookie/setCookie.d.ts.map +1 -1
  646. package/dist/waas.cjs.js +27 -4
  647. package/dist/waas.cjs.js.map +1 -1
  648. package/dist/waas.esm.js +26 -3
  649. package/dist/waas.esm.js.map +1 -1
  650. package/dist/waasCore.cjs.js +8 -4
  651. package/dist/waasCore.cjs.js.map +1 -1
  652. package/dist/waasCore.esm.js +7 -3
  653. package/dist/waasCore.esm.js.map +1 -1
  654. package/package.json +3 -3
  655. package/dist/InvalidParamError-BgvcmQ36.esm.js.map +0 -1
  656. package/dist/InvalidParamError-CApg0dxd.cjs.js.map +0 -1
  657. package/dist/NotWaasWalletAccountError-C8iogcNm.cjs.js.map +0 -1
  658. package/dist/NotWaasWalletAccountError-CfH6ZpRB.esm.js.map +0 -1
  659. package/dist/getNetworkProviderFromNetworkId-BP2AzuLE.cjs.js.map +0 -1
  660. package/dist/getNetworkProviderFromNetworkId-DoLT1yjR.esm.js.map +0 -1
  661. package/dist/getSignedSessionId-CbNoTJxx.cjs.js.map +0 -1
  662. package/dist/getSignedSessionId-np5XdQ1A.esm.js.map +0 -1
  663. package/dist/getVerifiedCredentialForWalletAccount-BDXePo9t.cjs.js.map +0 -1
  664. package/dist/getVerifiedCredentialForWalletAccount-CyyHc2ec.esm.js.map +0 -1
  665. package/dist/isMfaRequiredForAction-BtO6Xkeu.esm.js.map +0 -1
  666. package/dist/isMfaRequiredForAction-C84laGI8.cjs.js.map +0 -1
  667. package/dist/services/instrumentation/extractSessionId/extractSessionId.d.ts.map +0 -1
package/dist/index.cjs.js CHANGED
@@ -1,8 +1,8 @@
1
- const require_getNetworkProviderFromNetworkId = require('./getNetworkProviderFromNetworkId-BP2AzuLE.cjs.js');
2
- const require_InvalidParamError = require('./InvalidParamError-CApg0dxd.cjs.js');
3
- const require_getVerifiedCredentialForWalletAccount = require('./getVerifiedCredentialForWalletAccount-BDXePo9t.cjs.js');
4
- const require_NotWaasWalletAccountError = require('./NotWaasWalletAccountError-C8iogcNm.cjs.js');
5
- const require_isMfaRequiredForAction = require('./isMfaRequiredForAction-C84laGI8.cjs.js');
1
+ const require_getNetworkProviderFromNetworkId = require('./getNetworkProviderFromNetworkId-KrwFxKlq.cjs.js');
2
+ const require_InvalidParamError = require('./InvalidParamError-0w8-q2f3.cjs.js');
3
+ const require_getVerifiedCredentialForWalletAccount = require('./getVerifiedCredentialForWalletAccount-Bffr91SM.cjs.js');
4
+ const require_NotWaasWalletAccountError = require('./NotWaasWalletAccountError-CyvI1KtC.cjs.js');
5
+ const require_isMfaRequiredForAction = require('./isMfaRequiredForAction-cPUOtGku.cjs.js');
6
6
  let _dynamic_labs_sdk_assert_package_version = require("@dynamic-labs-sdk/assert-package-version");
7
7
  let _dynamic_labs_sdk_api_core = require("@dynamic-labs/sdk-api-core");
8
8
  let zod_mini = require("zod/mini");
@@ -29,6 +29,7 @@ const stateChangeEvents = {
29
29
 
30
30
  //#endregion
31
31
  //#region src/utils/getNonce/prefetchNoncesIfNeeded/prefetchNoncesIfNeeded.ts
32
+ /** @not-instrumented */
32
33
  const prefetchNoncesIfNeeded = async (client) => {
33
34
  if (require_InvalidParamError.getCore(client).state.get().prefetchedNonces.length >= require_InvalidParamError.NONCE_POOL_SIZE) return;
34
35
  await require_InvalidParamError.fetchAndStoreNonces(client);
@@ -54,6 +55,7 @@ var InvalidRetryOnFailCallError = class extends require_InvalidParamError.BaseEr
54
55
 
55
56
  //#endregion
56
57
  //#region src/utils/retryOnFail/retryOnFail.ts
58
+ /** @not-instrumented */
57
59
  const retryOnFail = async ({ delay = 0, fn, maxRetries }) => {
58
60
  for (let retry = 0; retry <= maxRetries; retry++) try {
59
61
  return await fn();
@@ -78,6 +80,7 @@ const retryOnFail = async ({ delay = 0, fn, maxRetries }) => {
78
80
  *
79
81
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
80
82
  * @returns True if the user is signed in, false otherwise.
83
+ * @not-instrumented
81
84
  */
82
85
  const isSignedIn = (client = require_InvalidParamError.getDefaultClient()) => Boolean(client.user || require_getVerifiedCredentialForWalletAccount.getWalletAccounts(client).length > 0);
83
86
 
@@ -95,6 +98,7 @@ const projectSettingsExpirationStorageKeySchema = require_getNetworkProviderFrom
95
98
  //#region src/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.ts
96
99
  /**
97
100
  * Expiration time of the project settings in milliseconds.
101
+ * @instrumented
98
102
  */
99
103
  const PROJECT_SETTINGS_EXPIRATION_TIME = 1e3 * 60 * 5;
100
104
  /**
@@ -106,6 +110,7 @@ const PROJECT_SETTINGS_EXPIRATION_TIME = 1e3 * 60 * 5;
106
110
  *
107
111
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
108
112
  * @returns A promise that resolves to the updated project settings.
113
+ * @not-instrumented
109
114
  */
110
115
  const fetchProjectSettings = async (client = require_InvalidParamError.getDefaultClient()) => {
111
116
  const core = require_InvalidParamError.getCore(client);
@@ -132,6 +137,7 @@ const fetchProjectSettings = async (client = require_InvalidParamError.getDefaul
132
137
  * Creates a new runtime services instance that manages service registration and retrieval.
133
138
  *
134
139
  * @returns A RuntimeServices object with methods to get, register, and unregister services
140
+ * @not-instrumented
135
141
  */
136
142
  const createRuntimeServices = () => {
137
143
  const registry = /* @__PURE__ */ new Map();
@@ -144,6 +150,7 @@ const createRuntimeServices = () => {
144
150
 
145
151
  //#endregion
146
152
  //#region src/modules/wallets/utils/getAvailableWalletProvidersFromWalletAccounts/getAvailableWalletProvidersFromWalletAccounts.ts
153
+ /** @not-instrumented */
147
154
  const getAvailableWalletProvidersFromWalletAccounts = (client) => {
148
155
  const core = require_InvalidParamError.getCore(client);
149
156
  const walletProvidersMap = /* @__PURE__ */ new Map();
@@ -166,6 +173,7 @@ const getAvailableWalletProvidersFromWalletAccounts = (client) => {
166
173
  //#region src/modules/wallets/disconnectAndTerminateWalletProviders/disconnectAndTerminateWalletProviders.ts
167
174
  /**
168
175
  * Disconnect and terminate each wallet provider, if available.
176
+ * @not-instrumented
169
177
  */
170
178
  const disconnectAndTerminateWalletProviders = async (client) => {
171
179
  const core = require_InvalidParamError.getCore(client);
@@ -187,6 +195,7 @@ const disconnectAndTerminateWalletProviders = async (client) => {
187
195
  *
188
196
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
189
197
  * @returns A promise that resolves when the logout process is complete.
198
+ * @instrumented
190
199
  */
191
200
  const logout = async (client = require_InvalidParamError.getDefaultClient()) => {
192
201
  const core = require_InvalidParamError.getCore(client);
@@ -226,6 +235,7 @@ const logout = async (client = require_InvalidParamError.getDefaultClient()) =>
226
235
  //#region src/modules/auth/initializeAuth/setLongTimeout/setLongTimeout.ts
227
236
  /**
228
237
  * A replacement for setTimeout that supports delays longer than 2147483647ms (~24.8 days).
238
+ * @not-instrumented
229
239
  */
230
240
  const setLongTimeout = (callback, delay) => {
231
241
  const MAX_DELAY = 2147483647;
@@ -248,6 +258,7 @@ const setLongTimeout = (callback, delay) => {
248
258
  //#region src/modules/auth/initializeAuth/initializeAuth.ts
249
259
  /**
250
260
  * Sets up a timeout to log out the user when their token expires.
261
+ * @not-instrumented
251
262
  */
252
263
  const initializeAuth = (client) => {
253
264
  const core = require_InvalidParamError.getCore(client);
@@ -286,6 +297,7 @@ const initializeAuth = (client) => {
286
297
  * - Emits corresponding "*InAnotherTab" events on core.eventEmitter
287
298
  *
288
299
  * @param client - The Dynamic client instance
300
+ * @not-instrumented
289
301
  */
290
302
  const setupCrossTabEventSync = (client) => {
291
303
  const core = require_InvalidParamError.getCore(client);
@@ -376,6 +388,7 @@ var KeyMigrationError = class extends require_InvalidParamError.BaseError {
376
388
  *
377
389
  * Idempotent: skips if the keychain already has a `session` key.
378
390
  * Throws on failure — callers should handle errors (e.g. .catch(() => logout(client))).
391
+ * @not-instrumented
379
392
  */
380
393
  const migrateSessionKeyToKeychain = async ({ keychain, logger, state, storage }) => {
381
394
  if (require_getNetworkProviderFromNetworkId.isServerSideRendering()) return;
@@ -420,6 +433,7 @@ const migrateSessionKeyToKeychain = async ({ keychain, logger, state, storage })
420
433
 
421
434
  //#endregion
422
435
  //#region src/modules/state/raiseStateEvents/raiseStateEvents.ts
436
+ /** @not-instrumented */
423
437
  const raiseStateEvents = (client) => {
424
438
  require_InvalidParamError.getCore(client).state.subscribe((value, previous) => {
425
439
  Object.entries(stateChangeEvents).forEach(([key, event]) => {
@@ -434,6 +448,7 @@ const raiseStateEvents = (client) => {
434
448
 
435
449
  //#endregion
436
450
  //#region src/modules/storageSync/hydrateStateWithStorage/hydrateStateWithStorage.ts
451
+ /** @not-instrumented */
437
452
  const hydrateStateWithStorage = async (client) => {
438
453
  const core = require_InvalidParamError.getCore(client);
439
454
  const previousState = core.state.get();
@@ -471,6 +486,7 @@ const hydrateStateWithStorage = async (client) => {
471
486
 
472
487
  //#endregion
473
488
  //#region src/modules/storageSync/syncStateWithStorage/syncStateWithStorage.ts
489
+ /** @not-instrumented */
474
490
  const syncStateWithStorage = (client) => {
475
491
  const core = require_InvalidParamError.getCore(client);
476
492
  core.state.subscribe((state) => {
@@ -503,6 +519,7 @@ const syncStateWithStorage = (client) => {
503
519
 
504
520
  //#endregion
505
521
  //#region src/modules/storageSync/initializeStorageSync.ts
522
+ /** @not-instrumented */
506
523
  const initializeStorageSync = async (client) => {
507
524
  await hydrateStateWithStorage(client);
508
525
  syncStateWithStorage(client);
@@ -536,6 +553,7 @@ var ClientAlreadyInitializedError = class extends require_InvalidParamError.Base
536
553
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
537
554
  * @returns A promise that resolves when initialization is complete.
538
555
  * @throws ClientAlreadyInitializedError If the client is already initialized.
556
+ * @instrumented
539
557
  */
540
558
  const initializeClient = async (client = require_InvalidParamError.getDefaultClient()) => {
541
559
  const core = require_InvalidParamError.getCore(client);
@@ -588,6 +606,7 @@ const initializeClient = async (client = require_InvalidParamError.getDefaultCli
588
606
  */
589
607
  if (require_InvalidParamError.isCookieEnabled(client)) await require_NotWaasWalletAccountError.refreshAuth(client).catch(async (error) => {
590
608
  if (error.status === 401) {
609
+ core.logger.error("Session expired during initialization", error);
591
610
  if (client.user) await logout(client);
592
611
  } else throw error;
593
612
  });
@@ -612,6 +631,7 @@ const initializeClient = async (client = require_InvalidParamError.getDefaultCli
612
631
  await core.initTrack.waitForAll();
613
632
  core.state.set({ initStatus: "finished" });
614
633
  } catch (error) {
634
+ core.logger.error("Client initialization failed", error);
615
635
  core.state.set({ initStatus: "failed" });
616
636
  throw error;
617
637
  }
@@ -622,6 +642,7 @@ const initializeClient = async (client = require_InvalidParamError.getDefaultCli
622
642
  //#region src/services/asyncTrack/createAsyncTrack.ts
623
643
  /**
624
644
  * Creates a tracker that associates names with promises and raises as promises resolve.
645
+ * @not-instrumented
625
646
  */
626
647
  const createAsyncTrack = () => {
627
648
  /**
@@ -677,6 +698,7 @@ const createAsyncTrack = () => {
677
698
 
678
699
  //#endregion
679
700
  //#region src/services/eventEmitter/createEventEmitter.ts
701
+ /** @not-instrumented */
680
702
  const createEventEmitter = () => new eventemitter3.default();
681
703
 
682
704
  //#endregion
@@ -697,12 +719,85 @@ var UnavailableInServerSideError = class extends require_InvalidParamError.BaseE
697
719
  //#region src/services/fetch/createWebFetch.ts
698
720
  /**
699
721
  * Creates a fetch instance that uses the native window.fetch API.
722
+ * @not-instrumented
700
723
  */
701
724
  const createWebFetch = () => {
702
725
  if (require_getNetworkProviderFromNetworkId.isServerSideRendering()) return () => Promise.reject(new UnavailableInServerSideError("createWebFetch"));
703
726
  return window.fetch.bind(window);
704
727
  };
705
728
 
729
+ //#endregion
730
+ //#region src/utils/getUserAgent/getUserAgent.ts
731
+ /**
732
+ * Returns the browser's `navigator.userAgent` string for inclusion in
733
+ * instrumentation events.
734
+ *
735
+ * Falls back to an empty string in environments where `navigator` is not
736
+ * available (e.g., Node.js SSR, service workers) so that callers never need
737
+ * to guard against undefined.
738
+ * @not-instrumented
739
+ */
740
+ const getUserAgent = () => {
741
+ try {
742
+ return navigator.userAgent;
743
+ } catch {
744
+ return "";
745
+ }
746
+ };
747
+
748
+ //#endregion
749
+ //#region src/modules/auth/extractSessionId/extractSessionId.ts
750
+ /**
751
+ * Extracts the session ID (`sid` claim) from a JWT token string.
752
+ *
753
+ * Decodes the base64url-encoded payload segment of the token and reads the
754
+ * `sid` field. This is used to correlate instrumentation events with the
755
+ * authenticated session, without ever forwarding the full token.
756
+ *
757
+ * Returns `null` when no token is present, when the token is malformed, or
758
+ * when the payload does not contain a `sid` claim.
759
+ * @not-instrumented
760
+ */
761
+ const extractSessionId = (token) => {
762
+ try {
763
+ const payload = token.split(".")[1];
764
+ return JSON.parse(atob(payload)).sid ?? null;
765
+ } catch {
766
+ return null;
767
+ }
768
+ };
769
+
770
+ //#endregion
771
+ //#region src/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.ts
772
+ /**
773
+ * Subscribes to the logger's 'log' event and forwards every entry to the
774
+ * instrumentation service as an InstrumentationEvent.
775
+ *
776
+ * Bridges the logger and instrumentation subsystems without coupling them
777
+ * at construction time — either can exist without the other.
778
+ * Only error-level log entries are forwarded.
779
+ * @not-instrumented
780
+ */
781
+ const connectLoggerToInstrumentation = ({ environmentId, instrumentation, logger, sdkSessionId, sdkVersion, state }) => {
782
+ logger.on("log", (level, message, ...args) => {
783
+ if (level !== "error") return;
784
+ const { token, user } = state.get();
785
+ instrumentation.log({
786
+ environmentId,
787
+ parameters: {
788
+ args,
789
+ message
790
+ },
791
+ sdkSessionId,
792
+ sdkVersion,
793
+ timestamp: (/* @__PURE__ */ new Date()).toISOString(),
794
+ tokenSessionId: token ? extractSessionId(token) : null,
795
+ userAgent: getUserAgent(),
796
+ userId: user?.id ?? null
797
+ });
798
+ });
799
+ };
800
+
706
801
  //#endregion
707
802
  //#region src/services/instrumentation/constants.ts
708
803
  const DEFAULT_PII_FIELDS = [
@@ -735,6 +830,7 @@ const buildPiiFields = (customFields = []) => {
735
830
  *
736
831
  * Custom piiFields are merged with and deduplicated against the defaults so
737
832
  * callers only need to list additional fields, not replicate the baseline.
833
+ * @not-instrumented
738
834
  */
739
835
  const createInstrumentation = ({ config: inputConfig } = {}) => {
740
836
  let transport;
@@ -758,10 +854,52 @@ const createInstrumentation = ({ config: inputConfig } = {}) => {
758
854
  };
759
855
  };
760
856
 
857
+ //#endregion
858
+ //#region src/services/instrumentation/transports/createDynamicTransport/createDynamicTransport.ts
859
+ const LOGS_BASE_URL = "https://logs.dynamicauth.com/api/v1";
860
+ /**
861
+ * Creates a batched transport that ships instrumentation events to Dynamic's
862
+ * log ingestion endpoint.
863
+ *
864
+ * Events are queued synchronously and flushed as a single HTTP batch in the
865
+ * next microtask (via queueMicrotask). Multiple log() calls within the same
866
+ * synchronous tick are coalesced into one request, avoiding a round-trip per
867
+ * event.
868
+ *
869
+ * Fetch errors are swallowed to prevent an instrumentation failure from
870
+ * triggering another instrumentation event and causing an infinite loop.
871
+ *
872
+ * Works in both browser and SSR environments — fetch is injected and
873
+ * queueMicrotask is available in Node.js >= 11.
874
+ * @not-instrumented
875
+ */
876
+ const createDynamicTransport = (params) => {
877
+ const queue = [];
878
+ let flushScheduled = false;
879
+ const flush = () => {
880
+ flushScheduled = false;
881
+ const events = queue.splice(0);
882
+ if (events.length === 0) return;
883
+ params.fetch(`${LOGS_BASE_URL}/${params.environmentId}`, {
884
+ body: JSON.stringify(events),
885
+ headers: { "Content-Type": "application/json" },
886
+ method: "POST"
887
+ }).catch(() => {});
888
+ };
889
+ return { log: (event) => {
890
+ queue.push(event);
891
+ if (!flushScheduled) {
892
+ flushScheduled = true;
893
+ queueMicrotask(flush);
894
+ }
895
+ } };
896
+ };
897
+
761
898
  //#endregion
762
899
  //#region src/services/navigate/createNavigationHandler/createNavigationHandler.ts
763
900
  /**
764
901
  * Creates a navigation handler that uses the native window.location API.
902
+ * @not-instrumented
765
903
  */
766
904
  const createNavigationHandler = () => {
767
905
  if (require_getNetworkProviderFromNetworkId.isServerSideRendering()) return () => Promise.reject(new UnavailableInServerSideError("createNavigationHandler"));
@@ -784,6 +922,7 @@ const createNavigationHandler = () => {
784
922
  * the browser focuses the lingering about:blank after the redirect tab closes.
785
923
  * `window.location.assign` reuses the current tab, avoiding the extra tab
786
924
  * entirely.
925
+ * @not-instrumented
787
926
  */
788
927
  const createWebDeeplinkOpener = () => {
789
928
  if (require_getNetworkProviderFromNetworkId.isServerSideRendering()) return () => Promise.reject(new UnavailableInServerSideError("createWebDeeplinkOpener"));
@@ -797,9 +936,11 @@ const createWebDeeplinkOpener = () => {
797
936
  /**
798
937
  * Because this is the web implementation of the passkey service, we need to
799
938
  * import the browser's WebAuthn API directly.
939
+ * @not-instrumented
800
940
  */
801
941
  /**
802
942
  * Create a passkey service that uses the browser's WebAuthn API.
943
+ * @not-instrumented
803
944
  */
804
945
  const createWebPasskeyService = () => ({
805
946
  authenticate: (options) => (0, _simplewebauthn_browser.startAuthentication)(options),
@@ -809,6 +950,7 @@ const createWebPasskeyService = () => ({
809
950
 
810
951
  //#endregion
811
952
  //#region src/utils/debouncedMutex/createDebouncedMutex/createDebouncedMutex.ts
953
+ /** @not-instrumented */
812
954
  const createDebouncedMutex = () => {
813
955
  const mutexState = /* @__PURE__ */ new Map();
814
956
  return async ({ lockKey, callback, debounceTime = 0 }) => {
@@ -893,6 +1035,7 @@ var InvalidStorageValue = class extends require_InvalidParamError.BaseError {
893
1035
  * // Unsubscribe when done
894
1036
  * unsubscribe();
895
1037
  * ```
1038
+ * @not-instrumented
896
1039
  */
897
1040
  const createObservableState = (getInitialState$1) => {
898
1041
  const subscribers = /* @__PURE__ */ new Set();
@@ -936,6 +1079,7 @@ const DEFAULT_API_BASE_URL = "https://app.dynamicauth.com/api/v0";
936
1079
  //#region src/client/core/createCore/getInitialState.ts
937
1080
  /**
938
1081
  * The initial values for the state of the client.
1082
+ * @not-instrumented
939
1083
  */
940
1084
  const getInitialState = () => ({
941
1085
  captchaToken: null,
@@ -958,6 +1102,7 @@ const getInitialState = () => ({
958
1102
  //#region src/client/core/createCore/createCore.ts
959
1103
  /**
960
1104
  * Creates a core instance that contains all the services and state of the Dynamic SDK client.
1105
+ * @not-instrumented
961
1106
  */
962
1107
  const createCore = (config) => {
963
1108
  const apiBaseUrl = config.coreConfig?.apiBaseUrl ?? DEFAULT_API_BASE_URL;
@@ -975,6 +1120,18 @@ const createCore = (config) => {
975
1120
  const initTrack = createAsyncTrack();
976
1121
  const sdkSessionId = require_InvalidParamError.randomString({ length: 32 });
977
1122
  const instrumentation = createInstrumentation({ config: config.instrumentation });
1123
+ connectLoggerToInstrumentation({
1124
+ environmentId: config.environmentId,
1125
+ instrumentation,
1126
+ logger,
1127
+ sdkSessionId,
1128
+ sdkVersion: require_InvalidParamError.version,
1129
+ state
1130
+ });
1131
+ if (!require_getNetworkProviderFromNetworkId.isServerSideRendering()) instrumentation.setTransport(createDynamicTransport({
1132
+ environmentId: config.environmentId,
1133
+ fetch
1134
+ }));
978
1135
  const runtimeServices = createRuntimeServices();
979
1136
  const passkey = config.coreConfig?.passkey ?? createWebPasskeyService();
980
1137
  const realtime = config.coreConfig?.realtime ?? require_getNetworkProviderFromNetworkId.createRealtimeService();
@@ -1026,6 +1183,7 @@ const createCore = (config) => {
1026
1183
  *
1027
1184
  * @param config - The configuration for the Dynamic client, like the environment ID, app url, etc.
1028
1185
  * @returns The Dynamic client instance.
1186
+ * @instrumented
1029
1187
  */
1030
1188
  const createDynamicClient = (config) => {
1031
1189
  const core = createCore(config);
@@ -1401,6 +1559,99 @@ var WalletProviderMethodUnavailableError = class extends require_InvalidParamErr
1401
1559
  }
1402
1560
  };
1403
1561
 
1562
+ //#endregion
1563
+ //#region src/modules/auth/checkStepUpAuth/checkStepUpAuth.ts
1564
+ const STEP_UP_REQUIRED_DEFAULT = {
1565
+ credentials: [],
1566
+ isRequired: true
1567
+ };
1568
+ /**
1569
+ * Checks whether step-up authentication is required for a given scope
1570
+ * and returns the available credentials to satisfy it.
1571
+ *
1572
+ * First performs a fast local check — if a valid elevated access token already
1573
+ * exists for the scope, returns `{ isRequired: false }` immediately without
1574
+ * an API call.
1575
+ *
1576
+ * Otherwise, calls the backend `stepUp/check` endpoint which evaluates
1577
+ * feature flags, SDK version, MFA settings, and action-based requirements
1578
+ * to determine if step-up is needed. The response includes the available
1579
+ * credentials and a recommended default credential.
1580
+ *
1581
+ * If the request fails for any reason, defaults to `{ isRequired: true }`
1582
+ * as a safety measure.
1583
+ *
1584
+ * @param params.scope - The scope to check (e.g., 'wallet:export').
1585
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1586
+ * @returns The step-up check result with `isRequired`, `credentials`, and `defaultCredentialId`.
1587
+ *
1588
+ * @example
1589
+ * ```typescript
1590
+ * const result = await checkStepUpAuth({ scope: TokenScope.Walletexport });
1591
+ * if (result.isRequired) {
1592
+ * // Show step-up auth UI using result.credentials
1593
+ * }
1594
+ * ```
1595
+ * @instrumented
1596
+ */
1597
+ const checkStepUpAuth = async ({ scope }, client = require_InvalidParamError.getDefaultClient()) => {
1598
+ if (require_InvalidParamError.getElevatedAccessToken({
1599
+ consume: false,
1600
+ scope
1601
+ }, client)) return {
1602
+ credentials: [],
1603
+ isRequired: false
1604
+ };
1605
+ try {
1606
+ const core = require_InvalidParamError.getCore(client);
1607
+ const response = await require_InvalidParamError.createApiClient({}, client).stepUpCheck({
1608
+ environmentId: core.environmentId,
1609
+ stepUpCheckRequest: { scope }
1610
+ });
1611
+ return {
1612
+ credentials: response.credentials ?? [],
1613
+ defaultCredentialId: response.defaultCredentialId,
1614
+ isRequired: response.isRequired
1615
+ };
1616
+ } catch {
1617
+ return STEP_UP_REQUIRED_DEFAULT;
1618
+ }
1619
+ };
1620
+
1621
+ //#endregion
1622
+ //#region src/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.ts
1623
+ /**
1624
+ * Requests an elevated access token using an external auth assertion JWT.
1625
+ *
1626
+ * The assertion JWT must be signed by the customer's backend using the same key
1627
+ * registered in the environment's external auth JWKS URL. It must include
1628
+ * `sub`, `scope`, `jti`, and `exp` claims.
1629
+ *
1630
+ * The returned elevated access token is automatically parsed and stored in state,
1631
+ * and can be retrieved via `getElevatedAccessToken`.
1632
+ *
1633
+ * @param params.externalJwt - The assertion JWT signed by the customer's backend.
1634
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1635
+ * @returns A promise that resolves to the assertion response containing the elevated access token.
1636
+ * @instrumented
1637
+ */
1638
+ const requestExternalAuthElevatedToken = async ({ externalJwt }, client = require_InvalidParamError.getDefaultClient()) => {
1639
+ const core = require_InvalidParamError.getCore(client);
1640
+ const response = await require_InvalidParamError.createApiClient({}, client).externalAuthVerify({
1641
+ environmentId: core.environmentId,
1642
+ externalAuthSigninRequest: { jwt: externalJwt }
1643
+ });
1644
+ const parsedToken = require_getVerifiedCredentialForWalletAccount.parseElevatedAccessToken(response.elevatedAccessToken);
1645
+ if (parsedToken) {
1646
+ const currentTokens = core.state.get().elevatedAccessTokens || [];
1647
+ core.state.set({ elevatedAccessTokens: require_getVerifiedCredentialForWalletAccount.upsertElevatedAccessToken({
1648
+ currentTokens,
1649
+ newToken: parsedToken
1650
+ }) });
1651
+ }
1652
+ return response;
1653
+ };
1654
+
1404
1655
  //#endregion
1405
1656
  //#region src/modules/auth/externalAuth/signInWithExternalJwt/signInWithExternalJwt.ts
1406
1657
  /**
@@ -1412,6 +1663,9 @@ var WalletProviderMethodUnavailableError = class extends require_InvalidParamErr
1412
1663
  * @param [params.externalJwt] - Optional external JWT token to authenticate with. Not required when using cookie based auth.
1413
1664
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1414
1665
  * @returns A promise that resolves to the authentication response from the server.
1666
+ * @instrumented
1667
+
1668
+ * @redact-params
1415
1669
  */
1416
1670
  const signInWithExternalJwt = async ({ externalJwt, sessionPublicKey } = {}, client = require_InvalidParamError.getDefaultClient()) => {
1417
1671
  const core = require_InvalidParamError.getCore(client);
@@ -1434,6 +1688,7 @@ const signInWithExternalJwt = async ({ externalJwt, sessionPublicKey } = {}, cli
1434
1688
  * @param params.passkeyId - The unique identifier of the passkey to delete.
1435
1689
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1436
1690
  * @returns A promise that resolves when the passkey is successfully deleted.
1691
+ * @instrumented
1437
1692
  */
1438
1693
  const deletePasskey = async ({ passkeyId }, client = require_InvalidParamError.getDefaultClient()) => {
1439
1694
  const core = require_InvalidParamError.getCore(client);
@@ -1456,6 +1711,7 @@ const deletePasskey = async ({ passkeyId }, client = require_InvalidParamError.g
1456
1711
  *
1457
1712
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1458
1713
  * @returns A promise that resolves to an array of the user's registered passkeys.
1714
+ * @instrumented
1459
1715
  */
1460
1716
  const getPasskeys = async (client = require_InvalidParamError.getDefaultClient()) => {
1461
1717
  const core = require_InvalidParamError.getCore(client);
@@ -1464,6 +1720,7 @@ const getPasskeys = async (client = require_InvalidParamError.getDefaultClient()
1464
1720
 
1465
1721
  //#endregion
1466
1722
  //#region src/modules/auth/passkeys/getPasskeyRegistrationOptions/getPasskeyRegistrationOptions.ts
1723
+ /** @not-instrumented */
1467
1724
  const getPasskeyRegistrationOptions = async (client) => {
1468
1725
  const core = require_InvalidParamError.getCore(client);
1469
1726
  return await require_InvalidParamError.createApiClient({}, client).getPasskeyRegistrationOptions({ environmentId: core.environmentId });
@@ -1471,6 +1728,7 @@ const getPasskeyRegistrationOptions = async (client) => {
1471
1728
 
1472
1729
  //#endregion
1473
1730
  //#region src/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.ts
1731
+ /** @not-instrumented */
1474
1732
  const serverRegisterPasskey = async ({ registration, createMfaToken }, client) => {
1475
1733
  const core = require_InvalidParamError.getCore(client);
1476
1734
  return await require_InvalidParamError.createApiClient({ elevatedAccessTokenScope: _dynamic_labs_sdk_api_core.TokenScope.Credentiallink }, client).registerPasskey({
@@ -1499,6 +1757,7 @@ const serverRegisterPasskey = async ({ registration, createMfaToken }, client) =
1499
1757
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1500
1758
  * @returns A promise that resolves to the registration response.
1501
1759
  * @throws NoWebAuthNSupportError If WebAuthn is not supported by the browser.
1760
+ * @instrumented
1502
1761
  */
1503
1762
  const registerPasskey = async ({ createMfaToken } = {}, client = require_InvalidParamError.getDefaultClient()) => {
1504
1763
  const core = require_InvalidParamError.getCore(client);
@@ -1514,6 +1773,7 @@ const registerPasskey = async ({ createMfaToken } = {}, client = require_Invalid
1514
1773
 
1515
1774
  //#endregion
1516
1775
  //#region src/modules/auth/passkeys/getPasskeyAuthenticationSignInOptions/getPasskeyAuthenticationSignInOptions.ts
1776
+ /** @not-instrumented */
1517
1777
  const getPasskeyAuthenticationSignInOptions = async ({ relatedOriginRpId } = {}, client) => {
1518
1778
  const core = require_InvalidParamError.getCore(client);
1519
1779
  return await require_InvalidParamError.createApiClient({}, client).getPasskeyAuthenticationSigninOptions({
@@ -1524,6 +1784,7 @@ const getPasskeyAuthenticationSignInOptions = async ({ relatedOriginRpId } = {},
1524
1784
 
1525
1785
  //#endregion
1526
1786
  //#region src/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.ts
1787
+ /** @not-instrumented */
1527
1788
  const serverSigninPasskey = async ({ authentication, createMfaToken }, client) => {
1528
1789
  const core = require_InvalidParamError.getCore(client);
1529
1790
  return await require_InvalidParamError.createApiClient({}, client).signinWithPasskey({
@@ -1551,6 +1812,7 @@ const serverSigninPasskey = async ({ authentication, createMfaToken }, client) =
1551
1812
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1552
1813
  * @returns A promise that resolves to the authentication response.
1553
1814
  * @throws NoWebAuthNSupportError If WebAuthn is not supported by the browser.
1815
+ * @instrumented
1554
1816
  */
1555
1817
  const signInWithPasskey = async ({ relatedOriginRpId } = {}, client = require_InvalidParamError.getDefaultClient()) => {
1556
1818
  const core = require_InvalidParamError.getCore(client);
@@ -1568,6 +1830,7 @@ const signInWithPasskey = async ({ relatedOriginRpId } = {}, client = require_In
1568
1830
  *
1569
1831
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1570
1832
  * @returns An array of `SocialAccount` objects associated with the user.
1833
+ * @instrumented
1571
1834
  */
1572
1835
  const getUserSocialAccounts = (client = require_InvalidParamError.getDefaultClient()) => {
1573
1836
  const { user } = client;
@@ -1585,6 +1848,7 @@ const getUserSocialAccounts = (client = require_InvalidParamError.getDefaultClie
1585
1848
 
1586
1849
  //#endregion
1587
1850
  //#region src/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.ts
1851
+ /** @not-instrumented */
1588
1852
  const removeDynamicOauthParamsFromUrl = (url) => {
1589
1853
  const urlObject = new URL(url);
1590
1854
  urlObject.searchParams.delete("dynamicOauthState");
@@ -1606,6 +1870,7 @@ const redirectStateStorageKeySchema = require_getNetworkProviderFromNetworkId.cr
1606
1870
 
1607
1871
  //#endregion
1608
1872
  //#region src/utils/digestSHA256/digestSHA256.ts
1873
+ /** @not-instrumented */
1609
1874
  const digestSHA256 = (str) => {
1610
1875
  const data = new TextEncoder().encode(str);
1611
1876
  return crypto.subtle.digest("SHA-256", data);
@@ -1618,6 +1883,7 @@ const digestSHA256 = (str) => {
1618
1883
  *
1619
1884
  * @param str - The string to encode as an ArrayBuffer.
1620
1885
  * @returns The base64url encoded string.
1886
+ * @not-instrumented
1621
1887
  */
1622
1888
  const encodeBase64Url = (str) => {
1623
1889
  const numberArray = [];
@@ -1629,7 +1895,8 @@ const encodeBase64Url = (str) => {
1629
1895
  //#region src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.ts
1630
1896
  const APPLE_RESPONSE_MODE = "form_post";
1631
1897
  const APPLE_RESPONSE_TYPE = "code id_token";
1632
- /** Helper function to add OAuth URL parameters to a given base URL. */
1898
+ /** Helper function to add OAuth URL parameters to a given base URL. * @not-instrumented
1899
+ */
1633
1900
  const addOAuthUrlParams = (provider, baseUrl, options = {}) => {
1634
1901
  require_InvalidParamError.assertDefined(provider.clientId, "Client ID not found");
1635
1902
  require_InvalidParamError.assertDefined(provider.provider, "Provider type not found");
@@ -1656,7 +1923,8 @@ const addOAuthUrlParams = (provider, baseUrl, options = {}) => {
1656
1923
 
1657
1924
  //#endregion
1658
1925
  //#region src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.ts
1659
- /** Helper function to build the OAuth base URL for a given provider. */
1926
+ /** Helper function to build the OAuth base URL for a given provider. * @not-instrumented
1927
+ */
1660
1928
  const getOAuthBaseUrl = (provider) => {
1661
1929
  require_InvalidParamError.assertDefined(provider.provider, "Provider type not found");
1662
1930
  const providerType = provider.provider;
@@ -1676,7 +1944,8 @@ const getOAuthBaseUrl = (provider) => {
1676
1944
  //#endregion
1677
1945
  //#region src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/buildOAuthUrl.ts
1678
1946
  const providersRequiringPkce = ["twitter", "github"];
1679
- /** Helper function to build the OAuth URL for a given provider. */
1947
+ /** Helper function to build the OAuth URL for a given provider. * @not-instrumented
1948
+ */
1680
1949
  const buildOAuthUrl = async (core, provider) => {
1681
1950
  const { projectSettings } = core.state.get();
1682
1951
  require_InvalidParamError.assertDefined(projectSettings, "Project settings not found");
@@ -1716,6 +1985,7 @@ const buildOAuthUrl = async (core, provider) => {
1716
1985
  * @param params.provider - The social provider to authenticate with (e.g., 'google', 'github').
1717
1986
  * @param params.redirectUrl - The URL to redirect back to after authentication.
1718
1987
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1988
+ * @instrumented
1719
1989
  */
1720
1990
  const authenticateWithSocial = async ({ provider, redirectUrl }, client = require_InvalidParamError.getDefaultClient()) => {
1721
1991
  const core = require_InvalidParamError.getCore(client);
@@ -1752,6 +2022,7 @@ const authenticateWithSocial = async ({ provider, redirectUrl }, client = requir
1752
2022
  * @returns A promise that resolves to the authenticated user or null.
1753
2023
  * @throws MissingSocialUrlParamError If required OAuth parameters are missing.
1754
2024
  * @throws InvalidRedirectStorageStateError If the stored state doesn't match.
2025
+ * @instrumented
1755
2026
  */
1756
2027
  const completeSocialAuthentication = async ({ url }, client = require_InvalidParamError.getDefaultClient()) => {
1757
2028
  const core = require_InvalidParamError.getCore(client);
@@ -1801,6 +2072,7 @@ const completeSocialAuthentication = async ({ url }, client = require_InvalidPar
1801
2072
  * @param params.url - The URL to check for OAuth redirect parameters.
1802
2073
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1803
2074
  * @returns A promise that resolves to true if the URL is an OAuth redirect, false otherwise.
2075
+ * @instrumented
1804
2076
  */
1805
2077
  const detectOAuthRedirect = async ({ url }, client = require_InvalidParamError.getDefaultClient()) => {
1806
2078
  const core = require_InvalidParamError.getCore(client);
@@ -1820,6 +2092,7 @@ const detectOAuthRedirect = async ({ url }, client = require_InvalidParamError.g
1820
2092
  * The primary wallet account is the one that was last selected by the user.
1821
2093
  * This information is stored in both unverified and verified wallet accounts.
1822
2094
  * This function consolidates this information to determine which wallet was most recently selected.
2095
+ * @instrumented
1823
2096
  */
1824
2097
  const getPrimaryWalletAccount = (client = require_InvalidParamError.getDefaultClient()) => {
1825
2098
  const sortedLastSelectedWalletAccounts = require_getVerifiedCredentialForWalletAccount.getWalletAccounts(client).filter((walletAccount) => Boolean(walletAccount.lastSelectedAt)).sort((a, b) => b.lastSelectedAt.getTime() - a.lastSelectedAt.getTime());
@@ -1836,6 +2109,7 @@ const getPrimaryWalletAccount = (client = require_InvalidParamError.getDefaultCl
1836
2109
  * @param params.verifiedCredentialId - The verified credential ID of the social account to unlink.
1837
2110
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1838
2111
  * @returns A promise that resolves to the verify response.
2112
+ * @instrumented
1839
2113
  */
1840
2114
  const unlinkSocialAccount = async ({ verifiedCredentialId }, client = require_InvalidParamError.getDefaultClient()) => {
1841
2115
  const core = require_InvalidParamError.getCore(client);
@@ -1862,6 +2136,7 @@ const unlinkSocialAccount = async ({ verifiedCredentialId }, client = require_In
1862
2136
  * @param params.walletAccount - The wallet account to get the balances for.
1863
2137
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1864
2138
  * @returns A promise that resolves to an array of token balances.
2139
+ * @not-instrumented
1865
2140
  */
1866
2141
  const getBalances = async ({ walletAccount, networkId, includePrices, includeNative, filterSpamTokens, whitelistedContracts, forceRefresh }, client = require_InvalidParamError.getDefaultClient()) => {
1867
2142
  const core = require_InvalidParamError.getCore(client);
@@ -1894,6 +2169,7 @@ const getBalances = async ({ walletAccount, networkId, includePrices, includeNat
1894
2169
  * @param params.balanceRequest - The balance request configuration specifying which chains, networks and addresses to query.
1895
2170
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1896
2171
  * @returns A promise that resolves to the chain balances across multiple networks.
2172
+ * @instrumented
1897
2173
  */
1898
2174
  const getMultichainBalances = async ({ balanceRequest }, client = require_InvalidParamError.getDefaultClient()) => {
1899
2175
  const core = require_InvalidParamError.getCore(client);
@@ -1905,6 +2181,7 @@ const getMultichainBalances = async ({ balanceRequest }, client = require_Invali
1905
2181
 
1906
2182
  //#endregion
1907
2183
  //#region src/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.ts
2184
+ /** @not-instrumented */
1908
2185
  const createCheckoutSessionTokenStorageKey = (transactionId) => {
1909
2186
  return require_getNetworkProviderFromNetworkId.createStorageKeySchema({
1910
2187
  key: `checkoutSessionToken:${transactionId}`,
@@ -1914,6 +2191,7 @@ const createCheckoutSessionTokenStorageKey = (transactionId) => {
1914
2191
 
1915
2192
  //#endregion
1916
2193
  //#region src/modules/checkout/utils/createCheckoutApiClient/createCheckoutApiClient.ts
2194
+ /** @not-instrumented */
1917
2195
  const createCheckoutApiClient = async ({ transactionId }, client) => {
1918
2196
  const core = require_InvalidParamError.getCore(client);
1919
2197
  const apiClient = require_InvalidParamError.createApiClient({}, client);
@@ -1934,6 +2212,7 @@ const createCheckoutApiClient = async ({ transactionId }, client) => {
1934
2212
  * @param params AttachCheckoutTransactionSourceParams - The source details to attach.
1935
2213
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1936
2214
  * @returns The updated checkout transaction
2215
+ * @instrumented
1937
2216
  */
1938
2217
  const attachCheckoutTransactionSource = async ({ fromAddress, fromChainId, fromChainName, transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
1939
2218
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -1958,6 +2237,7 @@ const attachCheckoutTransactionSource = async ({ fromAddress, fromChainId, fromC
1958
2237
  * @param params BroadcastCheckoutTransactionParams - The transaction ID and tx hash.
1959
2238
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1960
2239
  * @returns The updated checkout transaction
2240
+ * @instrumented
1961
2241
  */
1962
2242
  const broadcastCheckoutTransaction = async ({ transactionId, txHash }, client = require_InvalidParamError.getDefaultClient()) => {
1963
2243
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -1977,6 +2257,7 @@ const broadcastCheckoutTransaction = async ({ transactionId, txHash }, client =
1977
2257
  * @param params CancelCheckoutTransactionParams - The transaction to cancel.
1978
2258
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1979
2259
  * @returns The cancelled checkout transaction
2260
+ * @instrumented
1980
2261
  */
1981
2262
  const cancelCheckoutTransaction = async ({ transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
1982
2263
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -1991,6 +2272,7 @@ const cancelCheckoutTransaction = async ({ transactionId }, client = require_Inv
1991
2272
 
1992
2273
  //#endregion
1993
2274
  //#region src/modules/checkout/getCheckouts/getCheckouts.ts
2275
+ /** @not-instrumented */
1994
2276
  const getCheckouts = async (client) => {
1995
2277
  const projectSettings = client.projectSettings;
1996
2278
  require_InvalidParamError.assertDefined(projectSettings, "Project settings are not available");
@@ -2005,6 +2287,7 @@ const getCheckouts = async (client) => {
2005
2287
  * @param params CreateCheckoutTransactionParams - The parameters for the checkout transaction.
2006
2288
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2007
2289
  * @returns The created transaction with session token
2290
+ * @instrumented
2008
2291
  */
2009
2292
  const createCheckoutTransaction = async (params, client = require_InvalidParamError.getDefaultClient()) => {
2010
2293
  const core = require_InvalidParamError.getCore(client);
@@ -2018,7 +2301,7 @@ const createCheckoutTransaction = async (params, client = require_InvalidParamEr
2018
2301
  amount: params.amount,
2019
2302
  currency: params.currency,
2020
2303
  expiresIn: params.expiresIn,
2021
- externalId: params.externalId
2304
+ memo: params.memo
2022
2305
  },
2023
2306
  environmentId: core.environmentId
2024
2307
  });
@@ -2034,6 +2317,7 @@ const createCheckoutTransaction = async (params, client = require_InvalidParamEr
2034
2317
  * @param params GetCheckoutTransactionParams - The parameters for fetching the transaction.
2035
2318
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2036
2319
  * @returns The checkout transaction
2320
+ * @instrumented
2037
2321
  */
2038
2322
  const getCheckoutTransaction = async ({ transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
2039
2323
  const core = require_InvalidParamError.getCore(client);
@@ -2051,6 +2335,7 @@ const getCheckoutTransaction = async ({ transactionId }, client = require_Invali
2051
2335
  * @param params GetCheckoutTransactionQuoteParams - The quote parameters.
2052
2336
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2053
2337
  * @returns The updated checkout transaction with quote data
2338
+ * @instrumented
2054
2339
  */
2055
2340
  const getCheckoutTransactionQuote = async ({ fromTokenAddress, slippage, transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
2056
2341
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -2075,6 +2360,7 @@ const getCheckoutTransactionQuote = async ({ fromTokenAddress, slippage, transac
2075
2360
  * @param params PrepareCheckoutTransactionParams - The transaction to prepare.
2076
2361
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2077
2362
  * @returns The updated checkout transaction
2363
+ * @instrumented
2078
2364
  */
2079
2365
  const prepareCheckoutTransaction = async ({ transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
2080
2366
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -2124,6 +2410,7 @@ function assertWalletProviderMethodDefined(walletProvider, methodName) {
2124
2410
  * @param params SubmitCheckoutTransactionParams - The transaction ID, wallet account, and optional step callback.
2125
2411
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2126
2412
  * @returns The broadcasted checkout transaction
2413
+ * @instrumented
2127
2414
  */
2128
2415
  const submitCheckoutTransaction = async ({ onStepChange, transactionId, walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
2129
2416
  const prepared = await prepareCheckoutTransaction({ transactionId }, client);
@@ -2149,6 +2436,7 @@ const submitCheckoutTransaction = async ({ onStepChange, transactionId, walletAc
2149
2436
  //#endregion
2150
2437
  //#region src/modules/deviceRegistration/completeDeviceRegistration/completeDeviceRegistration.ts
2151
2438
  const DEVICE_REGISTRATION_TOKEN_HEADER = "x-dynamic-device-registration-token";
2439
+ /** @instrumented */
2152
2440
  const completeDeviceRegistration = async ({ deviceToken }, client = require_InvalidParamError.getDefaultClient()) => {
2153
2441
  require_InvalidParamError.assertDefined(deviceToken, "deviceToken is required");
2154
2442
  const core = require_InvalidParamError.getCore(client);
@@ -2168,6 +2456,7 @@ const completeDeviceRegistration = async ({ deviceToken }, client = require_Inva
2168
2456
  *
2169
2457
  * @returns The device token as a string if valid.
2170
2458
  * @throws InvalidDeviceRegistrationRedirectError If the URL is not a valid device registration redirect.
2459
+ * @instrumented
2171
2460
  */
2172
2461
  const getDeviceRegistrationTokenFromUrl = ({ url }) => {
2173
2462
  let urlObject;
@@ -2190,6 +2479,7 @@ const getDeviceRegistrationTokenFromUrl = ({ url }) => {
2190
2479
  * if it contains device registration redirect data from a device authentication flow.
2191
2480
  *
2192
2481
  * @returns True if the URL is a device registration redirect, false otherwise.
2482
+ * @instrumented
2193
2483
  */
2194
2484
  const detectDeviceRegistrationRedirect = ({ url }) => {
2195
2485
  try {
@@ -2202,6 +2492,7 @@ const detectDeviceRegistrationRedirect = ({ url }) => {
2202
2492
 
2203
2493
  //#endregion
2204
2494
  //#region src/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.ts
2495
+ /** @instrumented */
2205
2496
  const getRegisteredDevices = async (client = require_InvalidParamError.getDefaultClient()) => {
2206
2497
  const core = require_InvalidParamError.getCore(client);
2207
2498
  const apiClient = require_InvalidParamError.createApiClient({}, client);
@@ -2227,11 +2518,13 @@ const getRegisteredDevices = async (client = require_InvalidParamError.getDefaul
2227
2518
  *
2228
2519
  * @param user - The user to check.
2229
2520
  * @returns True if device registration is required, false otherwise.
2521
+ * @not-instrumented
2230
2522
  */
2231
2523
  const isDeviceRegistrationRequired = (user) => Boolean(user.scope?.includes("device:register"));
2232
2524
 
2233
2525
  //#endregion
2234
2526
  //#region src/modules/deviceRegistration/revokeAllRegisteredDevices/revokeAllRegisteredDevices.ts
2527
+ /** @instrumented */
2235
2528
  const revokeAllRegisteredDevices = async (client = require_InvalidParamError.getDefaultClient()) => {
2236
2529
  const core = require_InvalidParamError.getCore(client);
2237
2530
  await require_InvalidParamError.createApiClient({}, client).deleteAllDeviceRegistrations({ environmentId: core.environmentId });
@@ -2240,6 +2533,7 @@ const revokeAllRegisteredDevices = async (client = require_InvalidParamError.get
2240
2533
 
2241
2534
  //#endregion
2242
2535
  //#region src/modules/deviceRegistration/revokeRegisteredDevice/revokeRegisteredDevice.ts
2536
+ /** @instrumented */
2243
2537
  const revokeRegisteredDevice = async ({ deviceRegistrationId }, client = require_InvalidParamError.getDefaultClient()) => {
2244
2538
  require_InvalidParamError.assertDefined(deviceRegistrationId, "deviceRegistrationId is required");
2245
2539
  const core = require_InvalidParamError.getCore(client);
@@ -2259,6 +2553,7 @@ const revokeRegisteredDevice = async ({ deviceRegistrationId }, client = require
2259
2553
  * @returns A function to remove the listener.
2260
2554
  * @throws {ValueMustBeDefinedError} If the window is not available.
2261
2555
  * @docs https://docs.cdp.coinbase.com/onramp-&-offramp/onramp-apis/apple-pay-onramp-api#events-names
2556
+ * @instrumented
2262
2557
  */
2263
2558
  const addCoinbaseOnrampOrderEventListener = ({ listener }, client = require_InvalidParamError.getDefaultClient()) => {
2264
2559
  const core = require_InvalidParamError.getCore(client);
@@ -2299,6 +2594,7 @@ const addCoinbaseOnrampOrderEventListener = ({ listener }, client = require_Inva
2299
2594
  * @returns FieldMissingVerificationForCoinbaseOnramp[] - An array of fields that are missing verification for a Coinbase onramp order
2300
2595
  * @throws {InvalidParamError} - If the payment method is not valid
2301
2596
  * @throws {ValueMustBeDefinedError} - If the user is not authenticated
2597
+ * @instrumented
2302
2598
  */
2303
2599
  const getMissingVerificationForCoinbaseOnrampOrder = ({ paymentMethod }, client = require_InvalidParamError.getDefaultClient()) => {
2304
2600
  if (paymentMethod !== "GUEST_CHECKOUT_APPLE_PAY") throw new require_InvalidParamError.InvalidParamError(`Invalid payment method: ${paymentMethod}`);
@@ -2336,6 +2632,7 @@ const getMissingVerificationForCoinbaseOnrampOrder = ({ paymentMethod }, client
2336
2632
 
2337
2633
  //#endregion
2338
2634
  //#region src/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/validateUserCredentialsForCoinbaseOnrampOrder.ts
2635
+ /** @not-instrumented */
2339
2636
  const validateUserCredentialsForCoinbaseOnrampOrder = (client) => {
2340
2637
  const { user } = client;
2341
2638
  require_InvalidParamError.assertDefined(user, "User is not authenticated");
@@ -2365,6 +2662,7 @@ const validateUserCredentialsForCoinbaseOnrampOrder = (client) => {
2365
2662
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2366
2663
  * @returns The created order
2367
2664
  * @throws {MissingUserVerificationError} If the user is missing verification for email or phone
2665
+ * @instrumented
2368
2666
  */
2369
2667
  const createCoinbaseOnrampOrder = async (orderParams, client = require_InvalidParamError.getDefaultClient()) => {
2370
2668
  const user = validateUserCredentialsForCoinbaseOnrampOrder(client);
@@ -2397,6 +2695,7 @@ const createCoinbaseOnrampOrder = async (orderParams, client = require_InvalidPa
2397
2695
  * @param buyUrlParams CoinbaseOnrampGetBuyUrlRequest - The parameters for the buy URL.
2398
2696
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2399
2697
  * @returns an object containing the buy URL
2698
+ * @instrumented
2400
2699
  */
2401
2700
  const getCoinbaseBuyUrl = async (buyUrlParams, client = require_InvalidParamError.getDefaultClient()) => {
2402
2701
  const core = require_InvalidParamError.getCore(client);
@@ -2414,6 +2713,7 @@ const getCoinbaseBuyUrl = async (buyUrlParams, client = require_InvalidParamErro
2414
2713
  * @param paymentParams CryptoDotComPaymentCreateRequest - The parameters for the payment.
2415
2714
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2416
2715
  * @returns The created payment
2716
+ * @instrumented
2417
2717
  */
2418
2718
  const createCryptoDotComPayment = async (paymentParams, client = require_InvalidParamError.getDefaultClient()) => {
2419
2719
  const core = require_InvalidParamError.getCore(client);
@@ -2434,6 +2734,7 @@ const createCryptoDotComPayment = async (paymentParams, client = require_Invalid
2434
2734
  * @param transferParams - The parameters for the transfer including accountId
2435
2735
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2436
2736
  * @returns The created transfer
2737
+ * @not-instrumented
2437
2738
  */
2438
2739
  const createKrakenExchangeTransfer = async (transferParams, client = require_InvalidParamError.getDefaultClient()) => {
2439
2740
  const core = require_InvalidParamError.getCore(client);
@@ -2455,6 +2756,7 @@ const createKrakenExchangeTransfer = async (transferParams, client = require_Inv
2455
2756
  * @param [params] GetKrakenAccountsParams - Optional filters for the accounts.
2456
2757
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2457
2758
  * @returns Array of Kraken accounts with balances
2759
+ * @not-instrumented
2458
2760
  */
2459
2761
  const getKrakenAccounts = async (params, client = require_InvalidParamError.getDefaultClient()) => {
2460
2762
  const core = require_InvalidParamError.getCore(client);
@@ -2473,6 +2775,7 @@ const getKrakenAccounts = async (params, client = require_InvalidParamError.getD
2473
2775
  *
2474
2776
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2475
2777
  * @returns Transfer destinations response with whitelisted addresses
2778
+ * @instrumented
2476
2779
  */
2477
2780
  const getKrakenWhitelistedAddresses = async (client = require_InvalidParamError.getDefaultClient()) => {
2478
2781
  const core = require_InvalidParamError.getCore(client);
@@ -2489,15 +2792,31 @@ const getKrakenWhitelistedAddresses = async (client = require_InvalidParamError.
2489
2792
  * and are ready for use.
2490
2793
  *
2491
2794
  * @returns a promise that resolves once the client is fully initialized.
2795
+ * @instrumented
2492
2796
  */
2493
2797
  const waitForClientInitialized = async (client = require_InvalidParamError.getDefaultClient()) => {
2494
2798
  await require_InvalidParamError.getCore(client).initTrack.waitForAll();
2495
2799
  };
2496
2800
 
2801
+ //#endregion
2802
+ //#region src/modules/instrumentation/setInstrumentationEnabled/setInstrumentationEnabled.ts
2803
+ /**
2804
+ * Enables or disables event collection for the client's instrumentation service.
2805
+ *
2806
+ * When enabled, events are forwarded to the configured transport on every
2807
+ * instrumented function call. When disabled, instrumented functions run
2808
+ * normally but emit no telemetry.
2809
+ * @instrumented
2810
+ */
2811
+ const setInstrumentationEnabled = (enabled, client = require_InvalidParamError.getDefaultClient()) => {
2812
+ require_InvalidParamError.getCore(client).instrumentation.setEnabled(enabled);
2813
+ };
2814
+
2497
2815
  //#endregion
2498
2816
  //#region src/modules/legacyWalletBook/getWalletBookCdnUrl/getWalletBookCdnUrl.ts
2499
2817
  /**
2500
2818
  * Default CDN URL for the wallet book.
2819
+ * @not-instrumented
2501
2820
  */
2502
2821
  const DEFAULT_WALLET_BOOK_CDN_URL = "https://dynamic-static-assets.com/wallet-book/v1/stable/wallet-book.json";
2503
2822
  /**
@@ -2509,6 +2828,7 @@ const DEFAULT_WALLET_BOOK_CDN_URL = "https://dynamic-static-assets.com/wallet-bo
2509
2828
  * 4. Default CDN URL
2510
2829
  *
2511
2830
  * @returns The wallet book CDN URL to use.
2831
+ * @not-instrumented
2512
2832
  */
2513
2833
  const getWalletBookCdnUrl = () => {
2514
2834
  if (typeof process !== "undefined" && process.env) {
@@ -2522,6 +2842,7 @@ const getWalletBookCdnUrl = () => {
2522
2842
  //#region src/modules/legacyWalletBook/fetchLegacyWalletBook/fetchWithTimeout/fetchWithTimeout.ts
2523
2843
  /**
2524
2844
  * The timeout for each fetch attempt in milliseconds.
2845
+ * @not-instrumented
2525
2846
  */
2526
2847
  const FETCH_TIMEOUT_MS = 3e4;
2527
2848
  /**
@@ -2529,6 +2850,7 @@ const FETCH_TIMEOUT_MS = 3e4;
2529
2850
  *
2530
2851
  * @param client - The Dynamic client instance.
2531
2852
  * @returns A promise that resolves to the wallet book data.
2853
+ * @not-instrumented
2532
2854
  */
2533
2855
  const fetchWithTimeout = async (client) => {
2534
2856
  const controller = new AbortController();
@@ -2560,6 +2882,7 @@ const walletBookCacheStorageKeySchema = require_getNetworkProviderFromNetworkId.
2560
2882
  //#region src/modules/legacyWalletBook/fetchLegacyWalletBook/fetchLegacyWalletBook.ts
2561
2883
  /**
2562
2884
  * The maximum number of retry attempts.
2885
+ * @not-instrumented
2563
2886
  */
2564
2887
  const MAX_RETRIES = 3;
2565
2888
  /**
@@ -2576,6 +2899,7 @@ const RETRY_DELAY_MS = 100;
2576
2899
  * @param client - The Dynamic client instance.
2577
2900
  * @returns A promise that resolves to the wallet book data.
2578
2901
  * @throws If both CDN fetch and cache retrieval fail.
2902
+ * @not-instrumented
2579
2903
  */
2580
2904
  const fetchLegacyWalletBook = async (client) => {
2581
2905
  const core = require_InvalidParamError.getCore(client);
@@ -2606,6 +2930,7 @@ const fetchLegacyWalletBook = async (client) => {
2606
2930
  /**
2607
2931
  * Embedded wallet keys that should be filtered out from the WalletConnect catalog.
2608
2932
  * These wallets are not meant to be displayed in wallet selection lists.
2933
+ * @not-instrumented
2609
2934
  */
2610
2935
  const EMBEDDED_WALLET_KEYS = [
2611
2936
  "magicemailotp",
@@ -2625,6 +2950,7 @@ const EMBEDDED_WALLET_KEYS = [
2625
2950
  * @param walletKey - The wallet key identifier.
2626
2951
  * @param wallet - The wallet schema to check.
2627
2952
  * @returns True if the wallet should be filtered out, false otherwise.
2953
+ * @not-instrumented
2628
2954
  */
2629
2955
  const shouldFilterWallet = (walletKey, wallet) => {
2630
2956
  if (EMBEDDED_WALLET_KEYS.includes(walletKey)) return true;
@@ -2643,6 +2969,7 @@ const shouldFilterWallet = (walletKey, wallet) => {
2643
2969
  *
2644
2970
  * @param params.spriteId - The sprite identifier from the wallet book.
2645
2971
  * @returns The full URL to the sprite icon
2972
+ * @not-instrumented
2646
2973
  */
2647
2974
  const getSpriteUrl = ({ spriteId }) => `${require_InvalidParamError.DYNAMIC_ICONIC_SPRITE_URL}#${spriteId}`;
2648
2975
 
@@ -2650,6 +2977,7 @@ const getSpriteUrl = ({ spriteId }) => `${require_InvalidParamError.DYNAMIC_ICON
2650
2977
  //#region src/modules/legacyWalletBook/getWalletConnectCatalog/transformGroup/transformGroup.ts
2651
2978
  /**
2652
2979
  * Transforms a wallet group schema into a WalletConnect catalog group.
2980
+ * @not-instrumented
2653
2981
  */
2654
2982
  const transformGroup = ({ group }) => {
2655
2983
  const spriteId = group.brand?.spriteId ?? "";
@@ -2665,6 +2993,7 @@ const transformGroup = ({ group }) => {
2665
2993
  //#region src/modules/legacyWalletBook/getWalletConnectCatalog/getChainFromWalletSchema/getChainFromWalletSchema.ts
2666
2994
  /**
2667
2995
  * Maps wallet book injected config chain identifiers to Chain type.
2996
+ * @not-instrumented
2668
2997
  */
2669
2998
  const INJECTED_CHAIN_TO_CHAIN_MAP = {
2670
2999
  algo: "ALGO",
@@ -2775,6 +3104,7 @@ const getChainFromWalletKey = ({ walletKey }) => {
2775
3104
  * @param params.wallet - The wallet schema from the wallet book.
2776
3105
  * @param params.walletKey - The wallet key identifier (optional, used as last resort fallback).
2777
3106
  * @returns The chain type, defaults to EVM if no chain can be determined.
3107
+ * @not-instrumented
2778
3108
  */
2779
3109
  const getChainFromWalletSchema = ({ wallet, walletKey }) => {
2780
3110
  if (wallet.injectedConfig && wallet.injectedConfig.length > 0) {
@@ -2799,6 +3129,7 @@ const getChainFromWalletSchema = ({ wallet, walletKey }) => {
2799
3129
  //#region src/modules/legacyWalletBook/getWalletConnectCatalog/transformWallet/transformWallet.ts
2800
3130
  /**
2801
3131
  * Transforms a wallet schema into a WalletConnect catalog wallet entry.
3132
+ * @not-instrumented
2802
3133
  */
2803
3134
  const transformWallet = ({ wallet, walletKey }) => {
2804
3135
  const spriteId = wallet.brand?.spriteId ?? "";
@@ -2829,6 +3160,7 @@ const transformWallet = ({ wallet, walletKey }) => {
2829
3160
  /**
2830
3161
  * Transforms the legacy wallet book into a WalletConnect catalog structure.
2831
3162
  * Filters out embedded wallets and injected-only wallets.
3163
+ * @not-instrumented
2832
3164
  */
2833
3165
  const transformWalletBook = ({ walletBook }) => {
2834
3166
  const groups = {};
@@ -2858,6 +3190,7 @@ const transformWalletBook = ({ walletBook }) => {
2858
3190
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2859
3191
  * @returns A promise that resolves to the WalletConnect catalog containing groups and wallets.
2860
3192
  * @throws If unable to fetch the wallet book from the API (when both CDN fetch and cache retrieval fail).
3193
+ * @instrumented
2861
3194
  */
2862
3195
  const getWalletConnectCatalog = async (client = require_InvalidParamError.getDefaultClient()) => {
2863
3196
  return transformWalletBook({ walletBook: await fetchLegacyWalletBook(client) });
@@ -2871,6 +3204,7 @@ const getWalletConnectCatalog = async (client = require_InvalidParamError.getDef
2871
3204
  *
2872
3205
  * @param params.normalizedWalletNameWithChain - The normalized wallet name with chain suffix.
2873
3206
  * @returns The chain if found, undefined otherwise.
3207
+ * @not-instrumented
2874
3208
  */
2875
3209
  const extractChainFromNormalizedName = ({ normalizedWalletNameWithChain }) => {
2876
3210
  const lowerName = normalizedWalletNameWithChain.toLowerCase();
@@ -2890,6 +3224,7 @@ const extractChainFromNormalizedName = ({ normalizedWalletNameWithChain }) => {
2890
3224
  * @param params.walletProviderKey - The wallet provider key to get the catalog wallet entry for.
2891
3225
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2892
3226
  * @returns A promise that resolves to the WalletConnect catalog wallet entry, or undefined if not found.
3227
+ * @instrumented
2893
3228
  */
2894
3229
  const getWalletConnectCatalogWalletByWalletProviderKey = async ({ walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
2895
3230
  const { normalizedWalletNameWithChain } = require_getVerifiedCredentialForWalletAccount.splitWalletProviderKey(walletProviderKey);
@@ -2919,6 +3254,9 @@ const getWalletConnectCatalogWalletByWalletProviderKey = async ({ walletProvider
2919
3254
  * @param params.userFields - The user fields to update.
2920
3255
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2921
3256
  * @returns A promise that resolves to OTP verification details if verification is required, or undefined.
3257
+ * @instrumented
3258
+
3259
+ * @redact-params
2922
3260
  */
2923
3261
  const updateUser = async ({ userFields }, client = require_InvalidParamError.getDefaultClient()) => {
2924
3262
  const core = require_InvalidParamError.getCore(client);
@@ -2949,6 +3287,7 @@ const updateUser = async ({ userFields }, client = require_InvalidParamError.get
2949
3287
  *
2950
3288
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2951
3289
  * @returns A promise that resolves when the acknowledgment is complete.
3290
+ * @instrumented
2952
3291
  */
2953
3292
  const acknowledgeRecoveryCodes = async (client = require_InvalidParamError.getDefaultClient()) => {
2954
3293
  return updateUser({ userFields: { mfaBackupCodeAcknowledgement: _dynamic_labs_sdk_api_core.MfaBackupCodeAcknowledgement.Complete } }, client);
@@ -2967,6 +3306,7 @@ const acknowledgeRecoveryCodes = async (client = require_InvalidParamError.getDe
2967
3306
  * @param [params.requestedScopes] - Optional scopes to request an elevated access token instead of an MFA token.
2968
3307
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2969
3308
  * @returns A promise that resolves to the MFA authentication response.
3309
+ * @not-instrumented
2970
3310
  */
2971
3311
  const authenticateMfaRecoveryCode = async ({ code, createMfaTokenOptions, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
2972
3312
  const core = require_InvalidParamError.getCore(client);
@@ -2997,6 +3337,7 @@ const authenticateMfaRecoveryCode = async ({ code, createMfaTokenOptions, reques
2997
3337
 
2998
3338
  //#endregion
2999
3339
  //#region src/modules/auth/passkeys/getPasskeyAuthenticationOptions/getPasskeyAuthenticationOptions.ts
3340
+ /** @not-instrumented */
3000
3341
  const getPasskeyAuthenticationOptions = async ({ relatedOriginRpId } = {}, client) => {
3001
3342
  const core = require_InvalidParamError.getCore(client);
3002
3343
  return await require_InvalidParamError.createApiClient({}, client).getPasskeyAuthenticationOptions({
@@ -3007,6 +3348,7 @@ const getPasskeyAuthenticationOptions = async ({ relatedOriginRpId } = {}, clien
3007
3348
 
3008
3349
  //#endregion
3009
3350
  //#region src/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.ts
3351
+ /** @not-instrumented */
3010
3352
  const serverAuthenticatePasskey = async ({ authentication, createMfaToken, requestedScopes }, client) => {
3011
3353
  const core = require_InvalidParamError.getCore(client);
3012
3354
  return await require_InvalidParamError.createApiClient({}, client).authenticateMfaPasskeyDevice({
@@ -3037,6 +3379,7 @@ const serverAuthenticatePasskey = async ({ authentication, createMfaToken, reque
3037
3379
  * @returns A promise that resolves to the MFA authentication response.
3038
3380
  * @throws NoWebAuthNSupportError If WebAuthn is not supported by the browser.
3039
3381
  * @throws NoPasskeyCredentialsFoundError If no passkey credentials are found.
3382
+ * @not-instrumented
3040
3383
  */
3041
3384
  const authenticatePasskeyMFA = async ({ createMfaToken, relatedOriginRpId, requestedScopes } = {}, client = require_InvalidParamError.getDefaultClient()) => {
3042
3385
  const core = require_InvalidParamError.getCore(client);
@@ -3086,6 +3429,7 @@ const authenticatePasskeyMFA = async ({ createMfaToken, relatedOriginRpId, reque
3086
3429
  * @param [params.requestedScopes] - Optional scopes to request an elevated access token instead of an MFA token.
3087
3430
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3088
3431
  * @returns A promise that resolves to the MFA authentication response.
3432
+ * @not-instrumented
3089
3433
  */
3090
3434
  const authenticateTotpMfaDevice = async ({ deviceId, code, createMfaTokenOptions, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
3091
3435
  const core = require_InvalidParamError.getCore(client);
@@ -3131,6 +3475,7 @@ const authenticateTotpMfaDevice = async ({ deviceId, code, createMfaTokenOptions
3131
3475
  *
3132
3476
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3133
3477
  * @returns A promise that resolves to the newly generated recovery codes.
3478
+ * @instrumented
3134
3479
  */
3135
3480
  const createNewMfaRecoveryCodes = async (client = require_InvalidParamError.getDefaultClient()) => {
3136
3481
  const core = require_InvalidParamError.getCore(client);
@@ -3151,6 +3496,7 @@ const createNewMfaRecoveryCodes = async (client = require_InvalidParamError.getD
3151
3496
  * @param params.mfaAuthToken - The MFA authentication token. Optional when using elevated access tokens.
3152
3497
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3153
3498
  * @returns A promise that resolves when the MFA device is successfully deleted.
3499
+ * @instrumented
3154
3500
  */
3155
3501
  const deleteMfaDevice = async ({ deviceId, mfaAuthToken }, client = require_InvalidParamError.getDefaultClient()) => {
3156
3502
  const core = require_InvalidParamError.getCore(client);
@@ -3176,6 +3522,7 @@ const deleteMfaDevice = async ({ deviceId, mfaAuthToken }, client = require_Inva
3176
3522
  *
3177
3523
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3178
3524
  * @returns A promise that resolves to an array of the user's registered MFA devices.
3525
+ * @instrumented
3179
3526
  */
3180
3527
  const getMfaDevices = async (client = require_InvalidParamError.getDefaultClient()) => {
3181
3528
  const core = require_InvalidParamError.getCore(client);
@@ -3195,6 +3542,7 @@ const getMfaDevices = async (client = require_InvalidParamError.getDefaultClient
3195
3542
  *
3196
3543
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3197
3544
  * @returns A promise that resolves to the user's MFA recovery codes.
3545
+ * @instrumented
3198
3546
  */
3199
3547
  const getMfaRecoveryCodes = async (client = require_InvalidParamError.getDefaultClient()) => {
3200
3548
  const core = require_InvalidParamError.getCore(client);
@@ -3211,6 +3559,7 @@ const getMfaRecoveryCodes = async (client = require_InvalidParamError.getDefault
3211
3559
  *
3212
3560
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3213
3561
  * @returns True if recovery codes are pending acknowledgment, false otherwise.
3562
+ * @not-instrumented
3214
3563
  */
3215
3564
  const isPendingRecoveryCodesAcknowledgment = (client = require_InvalidParamError.getDefaultClient()) => {
3216
3565
  const user = client.user;
@@ -3228,6 +3577,7 @@ const isPendingRecoveryCodesAcknowledgment = (client = require_InvalidParamError
3228
3577
  *
3229
3578
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3230
3579
  * @returns True if the user needs additional MFA authentication, false otherwise.
3580
+ * @not-instrumented
3231
3581
  */
3232
3582
  const isUserMissingMfaAuth = (client = require_InvalidParamError.getDefaultClient()) => {
3233
3583
  const user = client.user;
@@ -3246,6 +3596,7 @@ const isUserMissingMfaAuth = (client = require_InvalidParamError.getDefaultClien
3246
3596
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3247
3597
  * @returns A promise that resolves to the TOTP registration response containing setup information,
3248
3598
  * like the secret key and the OTP Auth URI.
3599
+ * @instrumented
3249
3600
  */
3250
3601
  const registerTotpMfaDevice = async (client = require_InvalidParamError.getDefaultClient()) => {
3251
3602
  const core = require_InvalidParamError.getCore(client);
@@ -3263,6 +3614,7 @@ const registerTotpMfaDevice = async (client = require_InvalidParamError.getDefau
3263
3614
  * @param params.deviceId - The unique identifier of the MFA device to set as default.
3264
3615
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3265
3616
  * @returns A promise that resolves when the default MFA device is successfully set.
3617
+ * @instrumented
3266
3618
  */
3267
3619
  const setDefaultMfaDevice = async ({ deviceId }, client = require_InvalidParamError.getDefaultClient()) => {
3268
3620
  const core = require_InvalidParamError.getCore(client);
@@ -3284,6 +3636,9 @@ const setDefaultMfaDevice = async ({ deviceId }, client = require_InvalidParamEr
3284
3636
  * @param params.email - The email address to send the OTP to.
3285
3637
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3286
3638
  * @returns A promise that resolves to an OTPVerification object containing the email and verification UUID.
3639
+ * @instrumented
3640
+
3641
+ * @redact-params
3287
3642
  */
3288
3643
  const sendEmailOTP = async ({ email }, client = require_InvalidParamError.getDefaultClient()) => {
3289
3644
  const core = require_InvalidParamError.getCore(client);
@@ -4230,6 +4585,9 @@ const supportedCountries = {
4230
4585
  * @param params.phoneNumber - The phone number to send the OTP to.
4231
4586
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4232
4587
  * @returns A promise that resolves to an OTPVerification object containing the phone details and verification UUID.
4588
+ * @instrumented
4589
+
4590
+ * @redact-params
4233
4591
  */
4234
4592
  const sendSmsOTP = async ({ isoCountryCode, phoneNumber }, client = require_InvalidParamError.getDefaultClient()) => {
4235
4593
  const core = require_InvalidParamError.getCore(client);
@@ -4254,6 +4612,7 @@ const sendSmsOTP = async ({ isoCountryCode, phoneNumber }, client = require_Inva
4254
4612
 
4255
4613
  //#endregion
4256
4614
  //#region src/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.ts
4615
+ /** @not-instrumented */
4257
4616
  const verifyOTPForUserSignIn = async ({ otpVerification, verificationToken }, client) => {
4258
4617
  const core = require_InvalidParamError.getCore(client);
4259
4618
  const apiClient = require_InvalidParamError.createApiClient({}, client);
@@ -4273,6 +4632,7 @@ const verifyOTPForUserSignIn = async ({ otpVerification, verificationToken }, cl
4273
4632
 
4274
4633
  //#endregion
4275
4634
  //#region src/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.ts
4635
+ /** @not-instrumented */
4276
4636
  const verifyOTPForUserUpdate = async ({ otpVerification, verificationToken, requestedScopes }, client) => {
4277
4637
  const core = require_InvalidParamError.getCore(client);
4278
4638
  const apiClient = require_InvalidParamError.createApiClient({}, client);
@@ -4303,6 +4663,7 @@ const verifyOTPForUserUpdate = async ({ otpVerification, verificationToken, requ
4303
4663
  * @param params.verificationToken - The token received from the OTP verification process.
4304
4664
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4305
4665
  * @returns A promise that resolves to the verify response object upon successful verification.
4666
+ * @instrumented
4306
4667
  */
4307
4668
  const verifyOTP = async ({ otpVerification, verificationToken, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
4308
4669
  let response;
@@ -4329,6 +4690,7 @@ const verifyOTP = async ({ otpVerification, verificationToken, requestedScopes }
4329
4690
  *
4330
4691
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4331
4692
  * @returns A promise that resolves when the user account is successfully deleted.
4693
+ * @instrumented
4332
4694
  */
4333
4695
  const deleteUser = async (client = require_InvalidParamError.getDefaultClient()) => {
4334
4696
  const core = require_InvalidParamError.getCore(client);
@@ -4347,6 +4709,7 @@ const deleteUser = async (client = require_InvalidParamError.getDefaultClient())
4347
4709
  *
4348
4710
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4349
4711
  * @returns True if onboarding is complete (no pending requirements), false if there are pending requirements.
4712
+ * @not-instrumented
4350
4713
  */
4351
4714
  const isUserOnboardingComplete = (client = require_InvalidParamError.getDefaultClient()) => {
4352
4715
  const user = client.user;
@@ -4367,6 +4730,7 @@ const isUserOnboardingComplete = (client = require_InvalidParamError.getDefaultC
4367
4730
  *
4368
4731
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4369
4732
  * @returns A promise that resolves to the authenticated user.
4733
+ * @instrumented
4370
4734
  */
4371
4735
  const refreshUser = async (client = require_InvalidParamError.getDefaultClient()) => {
4372
4736
  const core = require_InvalidParamError.getCore(client);
@@ -4393,6 +4757,7 @@ const refreshUser = async (client = require_InvalidParamError.getDefaultClient()
4393
4757
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4394
4758
  * @returns A promise that resolves if the wallet is available for signing.
4395
4759
  * @throws WalletAccountNotSelectedError If the wallet account is not currently selected.
4760
+ * @not-instrumented
4396
4761
  */
4397
4762
  const assertWalletAccountSigningAvailability = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4398
4763
  const { addresses } = await require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client).getConnectedAddresses();
@@ -4406,18 +4771,22 @@ const assertWalletAccountSigningAvailability = async ({ walletAccount }, client
4406
4771
  //#region src/utils/isMobile/isMobile.ts
4407
4772
  /**
4408
4773
  * Sourced from http://detectmobilebrowsers.com/
4774
+ * @not-instrumented
4409
4775
  */
4410
4776
  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;
4411
4777
  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;
4778
+ /** @not-instrumented */
4412
4779
  const isMobile = (maxTouchPointsOverride) => {
4413
4780
  if (typeof window === "undefined" || typeof navigator === "undefined") return false;
4414
4781
  return userAgentRegex1.test(navigator.userAgent) || userAgentRegex2.test(navigator.userAgent.substring(0, 4)) || isIPad(maxTouchPointsOverride) || isIPhone();
4415
4782
  };
4783
+ /** @not-instrumented */
4416
4784
  const isIPhone = () => typeof window === "undefined" || typeof navigator === "undefined" ? false : /iPhone|ios/.test(navigator.userAgent);
4417
4785
  /**
4418
4786
  * @param [optional] maxTouchPointsOverride - this is used for testing since
4419
4787
  * it seems that JSDOM doesn't support maxTouchPoints, so it was impossible
4420
4788
  * to mock it
4789
+ * @not-instrumented
4421
4790
  */
4422
4791
  const isIPad = (maxTouchPointsOverride) => {
4423
4792
  if (typeof window === "undefined" || typeof navigator === "undefined") return false;
@@ -4427,6 +4796,7 @@ const isIPad = (maxTouchPointsOverride) => {
4427
4796
 
4428
4797
  //#endregion
4429
4798
  //#region src/modules/wallets/utils/getAddressesWithTypesFromConnectionResult/getAddressesWithTypesFromConnectionResult.ts
4799
+ /** @not-instrumented */
4430
4800
  const getAddressesWithTypesFromConnectionResult = (connectionResult) => {
4431
4801
  return connectionResult.addresses.filter((address) => !!address.address && !!address.type);
4432
4802
  };
@@ -4447,6 +4817,7 @@ const getAddressesWithTypesFromConnectionResult = (connectionResult) => {
4447
4817
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4448
4818
  * @returns A promise that resolves to the connected wallet account.
4449
4819
  * @throws NoAddressFoundError If the request to connect was successful but no address is connected to your app.
4820
+ * @instrumented
4450
4821
  */
4451
4822
  const connectWithWalletProvider = async ({ walletProviderKey, addToDynamicWalletAccounts = true, hardwareWalletVendor }, client = require_InvalidParamError.getDefaultClient()) => {
4452
4823
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -4491,11 +4862,13 @@ const connectWithWalletProvider = async ({ walletProviderKey, addToDynamicWallet
4491
4862
  * @param params.hardwareWalletVendor - The hardware wallet vendor that produced the signature.
4492
4863
  * @param params.signature - The raw signature string to wrap.
4493
4864
  * @returns The signature wrapped in `{ signedTransaction: { data } }` JSON format.
4865
+ * @not-instrumented
4494
4866
  */
4495
4867
  const formatSignatureForHardwareWallet = ({ signature, hardwareWalletVendor: _ }) => JSON.stringify({ signedTransaction: { data: signature } });
4496
4868
 
4497
4869
  //#endregion
4498
4870
  //#region src/modules/wallets/utils/getChainIdForAccountVerification/getChainIdForAccountVerification.ts
4871
+ /** @not-instrumented */
4499
4872
  const getChainIdForAccountVerification = async ({ walletProvider }) => {
4500
4873
  if ([
4501
4874
  "BTC",
@@ -4509,6 +4882,7 @@ const getChainIdForAccountVerification = async ({ walletProvider }) => {
4509
4882
 
4510
4883
  //#endregion
4511
4884
  //#region src/modules/wallets/utils/getSignInMessage/getSignInMessage.ts
4885
+ /** @not-instrumented */
4512
4886
  const getSignInMessage = async ({ walletAccount }, client) => {
4513
4887
  const core = require_InvalidParamError.getCore(client);
4514
4888
  const universalLink = core.metadata?.universalLink;
@@ -4552,6 +4926,7 @@ const getSignInMessage = async ({ walletAccount }, client) => {
4552
4926
  * @param params.walletAccount - The wallet account to prove ownership of.
4553
4927
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4554
4928
  * @returns A promise that resolves to an object containing the message and signature.
4929
+ * @instrumented
4555
4930
  */
4556
4931
  const proveWalletAccountOwnership = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4557
4932
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -4569,10 +4944,12 @@ const proveWalletAccountOwnership = async ({ walletAccount }, client = require_I
4569
4944
 
4570
4945
  //#endregion
4571
4946
  //#region src/modules/wallets/utils/isSameAddress/isSameAddress.ts
4947
+ /** @not-instrumented */
4572
4948
  const isSameAddress = (left, right, chain) => require_getVerifiedCredentialForWalletAccount.normalizeAddress(left, chain) === require_getVerifiedCredentialForWalletAccount.normalizeAddress(right, chain);
4573
4949
 
4574
4950
  //#endregion
4575
4951
  //#region src/modules/wallets/verifyWalletAccountForSignInOrTransfer/verifyWalletAccountForSignInOrTransfer.ts
4952
+ /** @not-instrumented */
4576
4953
  const verifyWalletAccountForSignInOrTransfer = async ({ walletAccount, isTransfer, requestedScopes }, client) => {
4577
4954
  if (walletAccount.verifiedCredentialId) throw new WalletAccountAlreadyVerifiedError(walletAccount.address);
4578
4955
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -4624,6 +5001,7 @@ const verifyWalletAccountForSignInOrTransfer = async ({ walletAccount, isTransfe
4624
5001
  * @returns A promise that resolves to the verified wallet account.
4625
5002
  * @throws WalletAccountAlreadyVerifiedError If the wallet is already verified.
4626
5003
  * @throws WalletAlreadyLinkedToAnotherUserError If the wallet is linked to another user.
5004
+ * @instrumented
4627
5005
  */
4628
5006
  const verifyWalletAccount = async ({ walletAccount, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
4629
5007
  return verifyWalletAccountForSignInOrTransfer({
@@ -4637,6 +5015,7 @@ const verifyWalletAccount = async ({ walletAccount, requestedScopes }, client =
4637
5015
  //#region src/modules/wallets/walletProvider/isDeeplinkWalletProvider/isDeeplinkWalletProvider.ts
4638
5016
  /**
4639
5017
  * Returns true if the wallet provider uses the deep link protocol (e.g. Phantom redirect on mobile).
5018
+ * @not-instrumented
4640
5019
  */
4641
5020
  const isDeeplinkWalletProvider = ({ walletProvider }) => walletProvider.walletProviderType === _dynamic_labs_sdk_api_core.WalletProviderEnum.DeepLink;
4642
5021
 
@@ -4663,6 +5042,7 @@ const isDeeplinkWalletProvider = ({ walletProvider }) => walletProvider.walletPr
4663
5042
  * @param [params.hardwareWalletVendor] - The hardware wallet vendor, if connecting via a hardware wallet (e.g. 'ledger').
4664
5043
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4665
5044
  * @returns A promise that resolves to the connected and verified wallet account.
5045
+ * @instrumented
4666
5046
  */
4667
5047
  const connectAndVerifyWithWalletProvider = async ({ walletProviderKey, hardwareWalletVendor }, client = require_InvalidParamError.getDefaultClient()) => {
4668
5048
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -4690,6 +5070,7 @@ const connectAndVerifyWithWalletProvider = async ({ walletProviderKey, hardwareW
4690
5070
  *
4691
5071
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4692
5072
  * @returns An array of wallet provider data including chain, keys, and metadata.
5073
+ * @instrumented
4693
5074
  */
4694
5075
  const getAvailableWalletProvidersData = (client = require_InvalidParamError.getDefaultClient()) => {
4695
5076
  return require_getVerifiedCredentialForWalletAccount.getWalletProviders(client).filter((walletProvider) => Boolean(walletProvider.connect)).map((walletProvider) => ({
@@ -4712,6 +5093,7 @@ const getAvailableWalletProvidersData = (client = require_InvalidParamError.getD
4712
5093
  * @param params.walletProviderKey - The unique key of the wallet provider to query.
4713
5094
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4714
5095
  * @returns An array of connected wallet addresses.
5096
+ * @instrumented
4715
5097
  */
4716
5098
  const getConnectedAddresses = ({ walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
4717
5099
  return require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client).getConnectedAddresses();
@@ -4719,6 +5101,7 @@ const getConnectedAddresses = ({ walletProviderKey }, client = require_InvalidPa
4719
5101
 
4720
5102
  //#endregion
4721
5103
  //#region src/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.ts
5104
+ /** @instrumented */
4722
5105
  const getOwnerWalletAccountForSmartWalletAccount = ({ smartWalletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4723
5106
  const smartWalletVerifiedCredential = require_getVerifiedCredentialForWalletAccount.getVerifiedCredentialForWalletAccount({ walletAccount: smartWalletAccount }, client);
4724
5107
  require_InvalidParamError.assertDefined(smartWalletVerifiedCredential?.signerRefId, "Invalid smart wallet account");
@@ -4727,6 +5110,7 @@ const getOwnerWalletAccountForSmartWalletAccount = ({ smartWalletAccount }, clie
4727
5110
 
4728
5111
  //#endregion
4729
5112
  //#region src/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.ts
5113
+ /** @not-instrumented */
4730
5114
  const getWalletAccountAddressByType = ({ type, walletAccount }) => {
4731
5115
  return walletAccount.addressesWithTypes?.find((address) => address.type === type)?.address;
4732
5116
  };
@@ -4739,6 +5123,7 @@ const getWalletAccountAddressByType = ({ type, walletAccount }) => {
4739
5123
  * @param params.walletProviderKey - The key of the wallet provider to retrieve data for.
4740
5124
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4741
5125
  * @returns The data for the wallet provider.
5126
+ * @not-instrumented
4742
5127
  */
4743
5128
  const getWalletProviderDataByKey = ({ walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
4744
5129
  const { chain, groupKey, key, metadata, walletProviderType } = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -4760,6 +5145,7 @@ const getWalletProviderDataByKey = ({ walletProviderKey }, client = require_Inva
4760
5145
  * @param params.hardwareWalletVendor - The hardware wallet vendor to check for.
4761
5146
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4762
5147
  * @returns Whether the wallet provider supports the specified hardware wallet vendor.
5148
+ * @not-instrumented
4763
5149
  */
4764
5150
  const canConnectWithHardwareWallet = ({ walletProviderKey, hardwareWalletVendor }, client = require_InvalidParamError.getDefaultClient()) => {
4765
5151
  return require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client).metadata.supportedHardwareWalletVendors?.includes(hardwareWalletVendor) ?? false;
@@ -4772,6 +5158,7 @@ const canConnectWithHardwareWallet = ({ walletProviderKey, hardwareWalletVendor
4772
5158
  *
4773
5159
  * @param params.walletAccount - The wallet account to check.
4774
5160
  * @returns Whether the wallet account has a hardware wallet vendor set.
5161
+ * @not-instrumented
4775
5162
  */
4776
5163
  const isHardwareWalletAccount = ({ walletAccount }) => walletAccount.hardwareWalletVendor !== void 0;
4777
5164
 
@@ -4782,6 +5169,7 @@ const isHardwareWalletAccount = ({ walletAccount }) => walletAccount.hardwareWal
4782
5169
  *
4783
5170
  * @param walletAccount - The wallet account to check.
4784
5171
  * @returns True if the wallet account has been verified, false otherwise.
5172
+ * @not-instrumented
4785
5173
  */
4786
5174
  const isWalletAccountVerified = ({ walletAccount }) => {
4787
5175
  return walletAccount.verifiedCredentialId !== null;
@@ -4800,6 +5188,7 @@ const isWalletAccountVerified = ({ walletAccount }) => {
4800
5188
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4801
5189
  * @returns A promise that resolves when the network addition is complete.
4802
5190
  * @throws NetworkAddingUnavailableError If the wallet provider doesn't support adding networks.
5191
+ * @instrumented
4803
5192
  */
4804
5193
  const addNetwork = async ({ networkData, walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4805
5194
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey: walletAccount.walletProviderKey }, client);
@@ -4823,6 +5212,7 @@ const addNetwork = async ({ networkData, walletAccount }, client = require_Inval
4823
5212
  * @param params.walletAccount - The wallet account to get network data for.
4824
5213
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4825
5214
  * @returns A promise that resolves to the network data, or undefined if not found.
5215
+ * @instrumented
4826
5216
  */
4827
5217
  const getActiveNetworkData = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4828
5218
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -4838,6 +5228,7 @@ const getActiveNetworkData = async ({ walletAccount }, client = require_InvalidP
4838
5228
  * @param params.walletAccount - The wallet account to get the network ID for.
4839
5229
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4840
5230
  * @returns A promise that resolves to the active network ID for the wallet account.
5231
+ * @instrumented
4841
5232
  */
4842
5233
  const getActiveNetworkId = ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4843
5234
  return require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client).getActiveNetworkId();
@@ -4854,6 +5245,7 @@ const getActiveNetworkId = ({ walletAccount }, client = require_InvalidParamErro
4854
5245
  * @param params.walletAccount - The wallet account to get the balance for.
4855
5246
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4856
5247
  * @returns A promise that resolves to an object containing the balance as a string or null.
5248
+ * @instrumented
4857
5249
  */
4858
5250
  const getBalance = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4859
5251
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -4877,6 +5269,7 @@ const getBalance = async ({ walletAccount }, client = require_InvalidParamError.
4877
5269
  * @param params.networkId - The specific network ID within the chain.
4878
5270
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4879
5271
  * @returns A promise that resolves to an object containing the balance as a string or null.
5272
+ * @instrumented
4880
5273
  */
4881
5274
  const getBalanceForAddress = async ({ address, chain, networkId }, client = require_InvalidParamError.getDefaultClient()) => {
4882
5275
  const networkProvider = require_getNetworkProviderFromNetworkId.getNetworkProviderFromNetworkId({
@@ -4902,6 +5295,7 @@ const getBalanceForAddress = async ({ address, chain, networkId }, client = requ
4902
5295
  * @param [params.offset] - The offset to use for pagination.
4903
5296
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4904
5297
  * @returns A promise that resolves to the transaction history along with nextOffset for the given wallet address and chain.
5298
+ * @instrumented
4905
5299
  */
4906
5300
  const getTransactionHistory = async (params, client = require_InvalidParamError.getDefaultClient()) => {
4907
5301
  const core = require_InvalidParamError.getCore(client);
@@ -4924,6 +5318,7 @@ const getTransactionHistory = async (params, client = require_InvalidParamError.
4924
5318
  * @param params.walletAccount - The wallet account to check network switching support for.
4925
5319
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4926
5320
  * @returns True if programmatic network switching is available, false otherwise.
5321
+ * @not-instrumented
4927
5322
  */
4928
5323
  const isProgrammaticNetworkSwitchAvailable = ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4929
5324
  return require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey: walletAccount.walletProviderKey }, client).switchActiveNetwork !== void 0;
@@ -4942,6 +5337,7 @@ const isProgrammaticNetworkSwitchAvailable = ({ walletAccount }, client = requir
4942
5337
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4943
5338
  * @returns A promise that resolves when the network switch is complete.
4944
5339
  * @throws NetworkSwitchingUnavailableError If the wallet provider doesn't support network switching.
5340
+ * @instrumented
4945
5341
  */
4946
5342
  const switchActiveNetwork = async ({ networkId, walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4947
5343
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey: walletAccount.walletProviderKey }, client);
@@ -4957,6 +5353,7 @@ const switchActiveNetwork = async ({ networkId, walletAccount }, client = requir
4957
5353
  //#region src/modules/wallets/primaryWalletAccount/selectPrimaryWalletAccount/selectPrimaryWalletAccount.ts
4958
5354
  /**
4959
5355
  * Make the wallet account provided as the primary wallet account.
5356
+ * @instrumented
4960
5357
  */
4961
5358
  const selectPrimaryWalletAccount = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4962
5359
  const core = require_InvalidParamError.getCore(client);
@@ -4978,6 +5375,7 @@ const selectPrimaryWalletAccount = async ({ walletAccount }, client = require_In
4978
5375
  *
4979
5376
  * The wallet account is not removed from the user's profile or from dynamic's state,
4980
5377
  * it is only responsible for terminating the connection with the wallet provider.
5378
+ * @not-instrumented
4981
5379
  */
4982
5380
  const disconnectWalletAccount = async ({ walletAccount }, client) => {
4983
5381
  try {
@@ -5000,6 +5398,7 @@ const disconnectWalletAccount = async ({ walletAccount }, client) => {
5000
5398
  * @param params.walletAccount - The wallet account to remove.
5001
5399
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5002
5400
  * @returns A promise that resolves when the wallet account is successfully removed.
5401
+ * @instrumented
5003
5402
  */
5004
5403
  const removeWalletAccount = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
5005
5404
  const core = require_InvalidParamError.getCore(client);
@@ -5027,6 +5426,7 @@ const removeWalletAccount = async ({ walletAccount }, client = require_InvalidPa
5027
5426
  * @param params.message - The message to sign.
5028
5427
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5029
5428
  * @returns A promise that resolves to an object containing the signature.
5429
+ * @instrumented
5030
5430
  */
5031
5431
  const signMessage = async ({ walletAccount, message }, client = require_InvalidParamError.getDefaultClient()) => {
5032
5432
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -5053,6 +5453,7 @@ const signMessage = async ({ walletAccount, message }, client = require_InvalidP
5053
5453
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5054
5454
  * @returns A promise that resolves to an object containing the transaction hash.
5055
5455
  * @throws If the wallet provider does not support the transfer amount method.
5456
+ * @instrumented
5056
5457
  */
5057
5458
  const transferAmount = async ({ walletAccount, amount, recipient, token }, client = require_InvalidParamError.getDefaultClient()) => {
5058
5459
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -5077,6 +5478,7 @@ const transferAmount = async ({ walletAccount, amount, recipient, token }, clien
5077
5478
  * @param params.walletProviderKey - The key of the wallet provider of the wallet account to transfer.
5078
5479
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5079
5480
  * @returns A promise that resolves to the transferred wallet account.
5481
+ * @instrumented
5080
5482
  */
5081
5483
  const transferWalletAccount = async ({ walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
5082
5484
  return verifyWalletAccountForSignInOrTransfer({
@@ -5100,6 +5502,7 @@ const transferWalletAccount = async ({ walletProviderKey }, client = require_Inv
5100
5502
  * @param params.chain - The blockchain the wallet belongs to.
5101
5503
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5102
5504
  * @returns The matching wallet account, or undefined if not found.
5505
+ * @not-instrumented
5103
5506
  */
5104
5507
  const getWalletAccountFromAddress = ({ address, chain }, client = require_InvalidParamError.getDefaultClient()) => {
5105
5508
  return require_getVerifiedCredentialForWalletAccount.getWalletAccounts(client).find((walletAccount) => walletAccount.address === address && walletAccount.chain === chain);
@@ -5116,6 +5519,7 @@ const getWalletAccountFromAddress = ({ address, chain }, client = require_Invali
5116
5519
  * @param params.event - The event name to remove the listener from.
5117
5520
  * @param params.walletProviderKey - The unique key identifying the wallet provider to remove the listener from.
5118
5521
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5522
+ * @instrumented
5119
5523
  */
5120
5524
  const offWalletProviderEvent = ({ callback, event, walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
5121
5525
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -5133,6 +5537,7 @@ const offWalletProviderEvent = ({ callback, event, walletProviderKey }, client =
5133
5537
  * @param params.walletProviderKey - The unique key identifying the wallet provider to listen to.
5134
5538
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5135
5539
  * @returns A function that can be called to remove the listener.
5540
+ * @instrumented
5136
5541
  */
5137
5542
  const onWalletProviderEvent = ({ callback, event, walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
5138
5543
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -5206,6 +5611,7 @@ const osMatchers = [
5206
5611
  pattern: /CrOS/
5207
5612
  }
5208
5613
  ];
5614
+ /** @not-instrumented */
5209
5615
  const parseUserAgent = ({ userAgent }) => {
5210
5616
  if (!userAgent?.trim()) return null;
5211
5617
  const browser = browserMatchers.find(({ pattern }) => pattern.test(userAgent))?.name;
@@ -5277,6 +5683,7 @@ exports.authenticateWithSocial = authenticateWithSocial;
5277
5683
  exports.broadcastCheckoutTransaction = broadcastCheckoutTransaction;
5278
5684
  exports.canConnectWithHardwareWallet = canConnectWithHardwareWallet;
5279
5685
  exports.cancelCheckoutTransaction = cancelCheckoutTransaction;
5686
+ exports.checkStepUpAuth = checkStepUpAuth;
5280
5687
  exports.completeDeviceRegistration = completeDeviceRegistration;
5281
5688
  exports.completeSocialAuthentication = completeSocialAuthentication;
5282
5689
  exports.connectAndVerifyWithWalletProvider = connectAndVerifyWithWalletProvider;
@@ -5355,6 +5762,7 @@ exports.refreshUser = refreshUser;
5355
5762
  exports.registerPasskey = registerPasskey;
5356
5763
  exports.registerTotpMfaDevice = registerTotpMfaDevice;
5357
5764
  exports.removeWalletAccount = removeWalletAccount;
5765
+ exports.requestExternalAuthElevatedToken = requestExternalAuthElevatedToken;
5358
5766
  exports.revokeAllRegisteredDevices = revokeAllRegisteredDevices;
5359
5767
  exports.revokeRegisteredDevice = revokeRegisteredDevice;
5360
5768
  exports.selectPrimaryWalletAccount = selectPrimaryWalletAccount;
@@ -5362,6 +5770,7 @@ exports.sendEmailOTP = sendEmailOTP;
5362
5770
  exports.sendSmsOTP = sendSmsOTP;
5363
5771
  exports.setCaptchaToken = require_getNetworkProviderFromNetworkId.setCaptchaToken;
5364
5772
  exports.setDefaultMfaDevice = setDefaultMfaDevice;
5773
+ exports.setInstrumentationEnabled = setInstrumentationEnabled;
5365
5774
  exports.signInWithExternalJwt = signInWithExternalJwt;
5366
5775
  exports.signInWithPasskey = signInWithPasskey;
5367
5776
  exports.signMessage = signMessage;