@dynamic-labs-sdk/client 0.17.4 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (663) hide show
  1. package/dist/{InvalidParamError-CApg0dxd.cjs.js → InvalidParamError-Bxg4p9zQ.cjs.js} +21 -4
  2. package/dist/InvalidParamError-Bxg4p9zQ.cjs.js.map +1 -0
  3. package/dist/{InvalidParamError-BgvcmQ36.esm.js → InvalidParamError-ByAOflE2.esm.js} +20 -3
  4. package/dist/InvalidParamError-ByAOflE2.esm.js.map +1 -0
  5. package/dist/{NotWaasWalletAccountError-C8iogcNm.cjs.js → NotWaasWalletAccountError-2CU35ult.cjs.js} +4 -3
  6. package/dist/NotWaasWalletAccountError-2CU35ult.cjs.js.map +1 -0
  7. package/dist/{NotWaasWalletAccountError-CfH6ZpRB.esm.js → NotWaasWalletAccountError-DMFf5i7j.esm.js} +4 -3
  8. package/dist/NotWaasWalletAccountError-DMFf5i7j.esm.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 +2 -0
  24. package/dist/exports/index.d.ts.map +1 -1
  25. package/dist/{getNetworkProviderFromNetworkId-DoLT1yjR.esm.js → getNetworkProviderFromNetworkId-6QbuR0_i.esm.js} +44 -3
  26. package/dist/getNetworkProviderFromNetworkId-6QbuR0_i.esm.js.map +1 -0
  27. package/dist/{getNetworkProviderFromNetworkId-BP2AzuLE.cjs.js → getNetworkProviderFromNetworkId-BXH2tfrn.cjs.js} +44 -3
  28. package/dist/getNetworkProviderFromNetworkId-BXH2tfrn.cjs.js.map +1 -0
  29. package/dist/{getSignedSessionId-CbNoTJxx.cjs.js → getSignedSessionId-KSSnmfwN.cjs.js} +7 -3
  30. package/dist/getSignedSessionId-KSSnmfwN.cjs.js.map +1 -0
  31. package/dist/{getSignedSessionId-np5XdQ1A.esm.js → getSignedSessionId-yWd9_5u4.esm.js} +7 -3
  32. package/dist/getSignedSessionId-yWd9_5u4.esm.js.map +1 -0
  33. package/dist/{getVerifiedCredentialForWalletAccount-BDXePo9t.cjs.js → getVerifiedCredentialForWalletAccount-CJAgL4AJ.cjs.js} +47 -3
  34. package/dist/getVerifiedCredentialForWalletAccount-CJAgL4AJ.cjs.js.map +1 -0
  35. package/dist/{getVerifiedCredentialForWalletAccount-CyyHc2ec.esm.js → getVerifiedCredentialForWalletAccount-DbfbxLr9.esm.js} +35 -3
  36. package/dist/getVerifiedCredentialForWalletAccount-DbfbxLr9.esm.js.map +1 -0
  37. package/dist/index.cjs.js +358 -9
  38. package/dist/index.cjs.js.map +1 -1
  39. package/dist/index.esm.js +357 -10
  40. package/dist/index.esm.js.map +1 -1
  41. package/dist/{isMfaRequiredForAction-BtO6Xkeu.esm.js → isMfaRequiredForAction-CG5JbTh1.esm.js} +5 -2
  42. package/dist/isMfaRequiredForAction-CG5JbTh1.esm.js.map +1 -0
  43. package/dist/{isMfaRequiredForAction-C84laGI8.cjs.js → isMfaRequiredForAction-DnZ2ZWUB.cjs.js} +5 -2
  44. package/dist/isMfaRequiredForAction-DnZ2ZWUB.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/createVisit/createVisit.d.ts +1 -0
  56. package/dist/modules/auth/createVisit/createVisit.d.ts.map +1 -1
  57. package/dist/modules/auth/decodeJwt/decodeJwt.d.ts +1 -0
  58. package/dist/modules/auth/decodeJwt/decodeJwt.d.ts.map +1 -1
  59. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/index.d.ts +2 -0
  60. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/index.d.ts.map +1 -0
  61. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts +21 -0
  62. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts.map +1 -0
  63. package/dist/modules/auth/externalAuth/signInWithExternalJwt/signInWithExternalJwt.d.ts +3 -0
  64. package/dist/modules/auth/externalAuth/signInWithExternalJwt/signInWithExternalJwt.d.ts.map +1 -1
  65. package/dist/{services/instrumentation → modules/auth}/extractSessionId/extractSessionId.d.ts +1 -0
  66. package/dist/modules/auth/extractSessionId/extractSessionId.d.ts.map +1 -0
  67. package/dist/modules/auth/getElevatedAccessToken/getElevatedAccessToken.d.ts +3 -1
  68. package/dist/modules/auth/getElevatedAccessToken/getElevatedAccessToken.d.ts.map +1 -1
  69. package/dist/modules/auth/initializeAuth/initializeAuth.d.ts +1 -0
  70. package/dist/modules/auth/initializeAuth/initializeAuth.d.ts.map +1 -1
  71. package/dist/modules/auth/initializeAuth/setLongTimeout/setLongTimeout.d.ts +1 -0
  72. package/dist/modules/auth/initializeAuth/setLongTimeout/setLongTimeout.d.ts.map +1 -1
  73. package/dist/modules/auth/isSignedIn/isSignedIn.d.ts +1 -0
  74. package/dist/modules/auth/isSignedIn/isSignedIn.d.ts.map +1 -1
  75. package/dist/modules/auth/logout/logout.d.ts +1 -0
  76. package/dist/modules/auth/logout/logout.d.ts.map +1 -1
  77. package/dist/modules/auth/passkeys/deletePasskey/deletePasskey.d.ts +1 -0
  78. package/dist/modules/auth/passkeys/deletePasskey/deletePasskey.d.ts.map +1 -1
  79. package/dist/modules/auth/passkeys/getPasskeyAuthenticationOptions/getPasskeyAuthenticationOptions.d.ts +1 -0
  80. package/dist/modules/auth/passkeys/getPasskeyAuthenticationOptions/getPasskeyAuthenticationOptions.d.ts.map +1 -1
  81. package/dist/modules/auth/passkeys/getPasskeyAuthenticationSignInOptions/getPasskeyAuthenticationSignInOptions.d.ts +1 -0
  82. package/dist/modules/auth/passkeys/getPasskeyAuthenticationSignInOptions/getPasskeyAuthenticationSignInOptions.d.ts.map +1 -1
  83. package/dist/modules/auth/passkeys/getPasskeyRegistrationOptions/getPasskeyRegistrationOptions.d.ts +1 -0
  84. package/dist/modules/auth/passkeys/getPasskeyRegistrationOptions/getPasskeyRegistrationOptions.d.ts.map +1 -1
  85. package/dist/modules/auth/passkeys/getPasskeys/getPasskeys.d.ts +1 -0
  86. package/dist/modules/auth/passkeys/getPasskeys/getPasskeys.d.ts.map +1 -1
  87. package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts +1 -0
  88. package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts.map +1 -1
  89. package/dist/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.d.ts +1 -0
  90. package/dist/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.d.ts.map +1 -1
  91. package/dist/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts +1 -0
  92. package/dist/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts.map +1 -1
  93. package/dist/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.d.ts +1 -0
  94. package/dist/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.d.ts.map +1 -1
  95. package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts +1 -0
  96. package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts.map +1 -1
  97. package/dist/modules/auth/social/getUserSocialAccounts/getUserSocialAccounts.d.ts +1 -0
  98. package/dist/modules/auth/social/getUserSocialAccounts/getUserSocialAccounts.d.ts.map +1 -1
  99. package/dist/modules/auth/social/oauth/authenticateWithSocial/authenticateWithSocial.d.ts +1 -0
  100. package/dist/modules/auth/social/oauth/authenticateWithSocial/authenticateWithSocial.d.ts.map +1 -1
  101. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.d.ts +4 -2
  102. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.d.ts.map +1 -1
  103. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/buildOAuthUrl.d.ts +4 -2
  104. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/buildOAuthUrl.d.ts.map +1 -1
  105. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.d.ts +2 -1
  106. package/dist/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.d.ts.map +1 -1
  107. package/dist/modules/auth/social/oauth/completeSocialAuthentication/completeSocialAuthentication.d.ts +1 -0
  108. package/dist/modules/auth/social/oauth/completeSocialAuthentication/completeSocialAuthentication.d.ts.map +1 -1
  109. package/dist/modules/auth/social/oauth/detectOAuthRedirect/detectOAuthRedirect.d.ts +1 -0
  110. package/dist/modules/auth/social/oauth/detectOAuthRedirect/detectOAuthRedirect.d.ts.map +1 -1
  111. package/dist/modules/auth/social/oauth/unlinkSocialAccount/unlinkSocialAccount.d.ts +1 -0
  112. package/dist/modules/auth/social/oauth/unlinkSocialAccount/unlinkSocialAccount.d.ts.map +1 -1
  113. package/dist/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.d.ts +1 -0
  114. package/dist/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.d.ts.map +1 -1
  115. package/dist/modules/auth/updateAuthFromVerifyResponse/checkAndRaiseWalletAccountsChangedEvent/checkAndRaiseWalletAccountsChangedEvent.d.ts +1 -0
  116. package/dist/modules/auth/updateAuthFromVerifyResponse/checkAndRaiseWalletAccountsChangedEvent/checkAndRaiseWalletAccountsChangedEvent.d.ts.map +1 -1
  117. package/dist/modules/auth/updateAuthFromVerifyResponse/elevatedAccessTokens/normalizeScopes/normalizeScopes.d.ts +1 -0
  118. package/dist/modules/auth/updateAuthFromVerifyResponse/elevatedAccessTokens/normalizeScopes/normalizeScopes.d.ts.map +1 -1
  119. package/dist/modules/auth/updateAuthFromVerifyResponse/elevatedAccessTokens/parseElevatedAccessToken/parseElevatedAccessToken.d.ts +1 -0
  120. package/dist/modules/auth/updateAuthFromVerifyResponse/elevatedAccessTokens/parseElevatedAccessToken/parseElevatedAccessToken.d.ts.map +1 -1
  121. package/dist/modules/auth/updateAuthFromVerifyResponse/elevatedAccessTokens/upsertElevatedAccessToken/upsertElevatedAccessToken.d.ts +1 -0
  122. package/dist/modules/auth/updateAuthFromVerifyResponse/elevatedAccessTokens/upsertElevatedAccessToken/upsertElevatedAccessToken.d.ts.map +1 -1
  123. package/dist/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts +1 -0
  124. package/dist/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts.map +1 -1
  125. package/dist/modules/balances/getBalances/getBalances.d.ts +3 -1
  126. package/dist/modules/balances/getBalances/getBalances.d.ts.map +1 -1
  127. package/dist/modules/balances/getMultichainBalances/getMultichainBalances.d.ts +1 -0
  128. package/dist/modules/balances/getMultichainBalances/getMultichainBalances.d.ts.map +1 -1
  129. package/dist/modules/captcha/consumeCaptchaToken/consumeCaptchaToken.d.ts +1 -0
  130. package/dist/modules/captcha/consumeCaptchaToken/consumeCaptchaToken.d.ts.map +1 -1
  131. package/dist/modules/captcha/isCaptchaRequired/isCaptchaRequired.d.ts +1 -0
  132. package/dist/modules/captcha/isCaptchaRequired/isCaptchaRequired.d.ts.map +1 -1
  133. package/dist/modules/captcha/setCaptchaToken/setCaptchaToken.d.ts +1 -0
  134. package/dist/modules/captcha/setCaptchaToken/setCaptchaToken.d.ts.map +1 -1
  135. package/dist/modules/checkout/attachCheckoutTransactionSource/attachCheckoutTransactionSource.d.ts +1 -0
  136. package/dist/modules/checkout/attachCheckoutTransactionSource/attachCheckoutTransactionSource.d.ts.map +1 -1
  137. package/dist/modules/checkout/broadcastCheckoutTransaction/broadcastCheckoutTransaction.d.ts +1 -0
  138. package/dist/modules/checkout/broadcastCheckoutTransaction/broadcastCheckoutTransaction.d.ts.map +1 -1
  139. package/dist/modules/checkout/cancelCheckoutTransaction/cancelCheckoutTransaction.d.ts +1 -0
  140. package/dist/modules/checkout/cancelCheckoutTransaction/cancelCheckoutTransaction.d.ts.map +1 -1
  141. package/dist/modules/checkout/createCheckoutTransaction/createCheckoutTransaction.d.ts +2 -1
  142. package/dist/modules/checkout/createCheckoutTransaction/createCheckoutTransaction.d.ts.map +1 -1
  143. package/dist/modules/checkout/getCheckoutTransaction/getCheckoutTransaction.d.ts +1 -0
  144. package/dist/modules/checkout/getCheckoutTransaction/getCheckoutTransaction.d.ts.map +1 -1
  145. package/dist/modules/checkout/getCheckoutTransactionQuote/getCheckoutTransactionQuote.d.ts +1 -0
  146. package/dist/modules/checkout/getCheckoutTransactionQuote/getCheckoutTransactionQuote.d.ts.map +1 -1
  147. package/dist/modules/checkout/getCheckouts/getCheckouts.d.ts +1 -0
  148. package/dist/modules/checkout/getCheckouts/getCheckouts.d.ts.map +1 -1
  149. package/dist/modules/checkout/prepareCheckoutTransaction/prepareCheckoutTransaction.d.ts +1 -0
  150. package/dist/modules/checkout/prepareCheckoutTransaction/prepareCheckoutTransaction.d.ts.map +1 -1
  151. package/dist/modules/checkout/submitCheckoutTransaction/submitCheckoutTransaction.d.ts +1 -0
  152. package/dist/modules/checkout/submitCheckoutTransaction/submitCheckoutTransaction.d.ts.map +1 -1
  153. package/dist/modules/checkout/utils/createCheckoutApiClient/createCheckoutApiClient.d.ts +1 -0
  154. package/dist/modules/checkout/utils/createCheckoutApiClient/createCheckoutApiClient.d.ts.map +1 -1
  155. package/dist/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.d.ts +1 -0
  156. package/dist/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.d.ts.map +1 -1
  157. package/dist/modules/clientEvents/clientEvents.d.ts +4 -0
  158. package/dist/modules/clientEvents/clientEvents.d.ts.map +1 -1
  159. package/dist/modules/crossTabEventSync/setupCrossTabEventSync/setupCrossTabEventSync.d.ts +1 -0
  160. package/dist/modules/crossTabEventSync/setupCrossTabEventSync/setupCrossTabEventSync.d.ts.map +1 -1
  161. package/dist/modules/deviceRegistration/completeDeviceRegistration/completeDeviceRegistration.d.ts +1 -0
  162. package/dist/modules/deviceRegistration/completeDeviceRegistration/completeDeviceRegistration.d.ts.map +1 -1
  163. package/dist/modules/deviceRegistration/detectDeviceRegistrationRedirect/detectDeviceRegistrationRedirect.d.ts +1 -0
  164. package/dist/modules/deviceRegistration/detectDeviceRegistrationRedirect/detectDeviceRegistrationRedirect.d.ts.map +1 -1
  165. package/dist/modules/deviceRegistration/getDeviceRegistrationTokenFromUrl/getDeviceRegistrationTokenFromUrl.d.ts +1 -0
  166. package/dist/modules/deviceRegistration/getDeviceRegistrationTokenFromUrl/getDeviceRegistrationTokenFromUrl.d.ts.map +1 -1
  167. package/dist/modules/deviceRegistration/getDeviceSigner/getDeviceSigner.d.ts +1 -0
  168. package/dist/modules/deviceRegistration/getDeviceSigner/getDeviceSigner.d.ts.map +1 -1
  169. package/dist/modules/deviceRegistration/getDeviceSigner/getOrCreateEnvironmentDeviceSigningKeys/getOrCreateEnvironmentDeviceSigningKeys.d.ts +1 -0
  170. package/dist/modules/deviceRegistration/getDeviceSigner/getOrCreateEnvironmentDeviceSigningKeys/getOrCreateEnvironmentDeviceSigningKeys.d.ts.map +1 -1
  171. package/dist/modules/deviceRegistration/getHeadersForNonceSignedByDeviceSigners/getHeadersForNonceSignedByDeviceSigners.d.ts +1 -0
  172. package/dist/modules/deviceRegistration/getHeadersForNonceSignedByDeviceSigners/getHeadersForNonceSignedByDeviceSigners.d.ts.map +1 -1
  173. package/dist/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.d.ts +1 -0
  174. package/dist/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.d.ts.map +1 -1
  175. package/dist/modules/deviceRegistration/isDeviceRegistrationRequired/isDeviceRegistrationRequired.d.ts +1 -0
  176. package/dist/modules/deviceRegistration/isDeviceRegistrationRequired/isDeviceRegistrationRequired.d.ts.map +1 -1
  177. package/dist/modules/deviceRegistration/revokeAllRegisteredDevices/revokeAllRegisteredDevices.d.ts +1 -0
  178. package/dist/modules/deviceRegistration/revokeAllRegisteredDevices/revokeAllRegisteredDevices.d.ts.map +1 -1
  179. package/dist/modules/deviceRegistration/revokeRegisteredDevice/revokeRegisteredDevice.d.ts +1 -0
  180. package/dist/modules/deviceRegistration/revokeRegisteredDevice/revokeRegisteredDevice.d.ts.map +1 -1
  181. package/dist/modules/extension/hasExtension/hasExtension.d.ts +1 -0
  182. package/dist/modules/extension/hasExtension/hasExtension.d.ts.map +1 -1
  183. package/dist/modules/extension/registerExtension/registerExtension.d.ts +1 -0
  184. package/dist/modules/extension/registerExtension/registerExtension.d.ts.map +1 -1
  185. package/dist/modules/funding/coinbase/addCoinbaseOnrampOrderEventListener/addCoinbaseOnrampOrderEventListener.d.ts +1 -0
  186. package/dist/modules/funding/coinbase/addCoinbaseOnrampOrderEventListener/addCoinbaseOnrampOrderEventListener.d.ts.map +1 -1
  187. package/dist/modules/funding/coinbase/createCoinbaseOnrampOrder/createCoinbaseOnrampOrder.d.ts +1 -0
  188. package/dist/modules/funding/coinbase/createCoinbaseOnrampOrder/createCoinbaseOnrampOrder.d.ts.map +1 -1
  189. package/dist/modules/funding/coinbase/getCoinbaseBuyUrl/getCoinbaseBuyUrl.d.ts +1 -0
  190. package/dist/modules/funding/coinbase/getCoinbaseBuyUrl/getCoinbaseBuyUrl.d.ts.map +1 -1
  191. package/dist/modules/funding/coinbase/getMissingVerificationForCoinbaseOnrampOrder/getMissingVerificationForCoinbaseOnrampOrder.d.ts +1 -0
  192. package/dist/modules/funding/coinbase/getMissingVerificationForCoinbaseOnrampOrder/getMissingVerificationForCoinbaseOnrampOrder.d.ts.map +1 -1
  193. package/dist/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/validateUserCredentialsForCoinbaseOnrampOrder.d.ts +1 -0
  194. package/dist/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/validateUserCredentialsForCoinbaseOnrampOrder.d.ts.map +1 -1
  195. package/dist/modules/funding/cryptoDotCom/createCryptoDotComPayment/createCryptoDotComPayment.d.ts +1 -0
  196. package/dist/modules/funding/cryptoDotCom/createCryptoDotComPayment/createCryptoDotComPayment.d.ts.map +1 -1
  197. package/dist/modules/funding/kraken/createKrakenExchangeTransfer/createKrakenExchangeTransfer.d.ts +3 -1
  198. package/dist/modules/funding/kraken/createKrakenExchangeTransfer/createKrakenExchangeTransfer.d.ts.map +1 -1
  199. package/dist/modules/funding/kraken/getKrakenAccounts/getKrakenAccounts.d.ts +3 -1
  200. package/dist/modules/funding/kraken/getKrakenAccounts/getKrakenAccounts.d.ts.map +1 -1
  201. package/dist/modules/funding/kraken/getKrakenWhitelistedAddresses/getKrakenWhitelistedAddresses.d.ts +1 -0
  202. package/dist/modules/funding/kraken/getKrakenWhitelistedAddresses/getKrakenWhitelistedAddresses.d.ts.map +1 -1
  203. package/dist/modules/initializeClient/initializeClient.d.ts +1 -0
  204. package/dist/modules/initializeClient/initializeClient.d.ts.map +1 -1
  205. package/dist/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.d.ts +1 -0
  206. package/dist/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.d.ts.map +1 -1
  207. package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts +1 -0
  208. package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts.map +1 -1
  209. package/dist/modules/instrumentation/setInstrumentationEnabled/setInstrumentationEnabled.d.ts +11 -0
  210. package/dist/modules/instrumentation/setInstrumentationEnabled/setInstrumentationEnabled.d.ts.map +1 -0
  211. package/dist/modules/keychainMigration/migrateSessionKeyToKeychain/migrateSessionKeyToKeychain.d.ts +1 -0
  212. package/dist/modules/keychainMigration/migrateSessionKeyToKeychain/migrateSessionKeyToKeychain.d.ts.map +1 -1
  213. package/dist/modules/legacyWalletBook/fetchLegacyWalletBook/fetchLegacyWalletBook.d.ts +1 -0
  214. package/dist/modules/legacyWalletBook/fetchLegacyWalletBook/fetchLegacyWalletBook.d.ts.map +1 -1
  215. package/dist/modules/legacyWalletBook/fetchLegacyWalletBook/fetchWithTimeout/fetchWithTimeout.d.ts +1 -0
  216. package/dist/modules/legacyWalletBook/fetchLegacyWalletBook/fetchWithTimeout/fetchWithTimeout.d.ts.map +1 -1
  217. package/dist/modules/legacyWalletBook/getSpriteUrl/getSpriteUrl.d.ts +1 -0
  218. package/dist/modules/legacyWalletBook/getSpriteUrl/getSpriteUrl.d.ts.map +1 -1
  219. package/dist/modules/legacyWalletBook/getWalletBookCdnUrl/getWalletBookCdnUrl.d.ts +1 -0
  220. package/dist/modules/legacyWalletBook/getWalletBookCdnUrl/getWalletBookCdnUrl.d.ts.map +1 -1
  221. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getChainFromWalletSchema/getChainFromWalletSchema.d.ts +1 -0
  222. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getChainFromWalletSchema/getChainFromWalletSchema.d.ts.map +1 -1
  223. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getWalletConnectCatalog.d.ts +1 -0
  224. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getWalletConnectCatalog.d.ts.map +1 -1
  225. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/shouldFilterWallet/shouldFilterWallet.d.ts +2 -0
  226. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/shouldFilterWallet/shouldFilterWallet.d.ts.map +1 -1
  227. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/transformGroup/transformGroup.d.ts +1 -0
  228. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/transformGroup/transformGroup.d.ts.map +1 -1
  229. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/transformWallet/transformWallet.d.ts +1 -0
  230. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/transformWallet/transformWallet.d.ts.map +1 -1
  231. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/transformWalletBook/transformWalletBook.d.ts +1 -0
  232. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/transformWalletBook/transformWalletBook.d.ts.map +1 -1
  233. package/dist/modules/legacyWalletBook/getWalletConnectCatalogWalletByWalletProviderKey/getWalletConnectCatalogWalletByWalletProviderKey.d.ts +1 -0
  234. package/dist/modules/legacyWalletBook/getWalletConnectCatalogWalletByWalletProviderKey/getWalletConnectCatalogWalletByWalletProviderKey.d.ts.map +1 -1
  235. package/dist/modules/mfa/acknowledgeRecoveryCodes/acknowledgeRecoveryCodes.d.ts +1 -0
  236. package/dist/modules/mfa/acknowledgeRecoveryCodes/acknowledgeRecoveryCodes.d.ts.map +1 -1
  237. package/dist/modules/mfa/authenticateMfaRecoveryCode/authenticateMfaRecoveryCode.d.ts +3 -1
  238. package/dist/modules/mfa/authenticateMfaRecoveryCode/authenticateMfaRecoveryCode.d.ts.map +1 -1
  239. package/dist/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.d.ts +3 -1
  240. package/dist/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.d.ts.map +1 -1
  241. package/dist/modules/mfa/authenticateTotpMfaDevice/authenticateTotpMfaDevice.d.ts +3 -1
  242. package/dist/modules/mfa/authenticateTotpMfaDevice/authenticateTotpMfaDevice.d.ts.map +1 -1
  243. package/dist/modules/mfa/consumeMfaToken/consumeMfaToken.d.ts +1 -0
  244. package/dist/modules/mfa/consumeMfaToken/consumeMfaToken.d.ts.map +1 -1
  245. package/dist/modules/mfa/consumeMfaTokenIfRequiredForAction/consumeMfaTokenIfRequiredForAction.d.ts +1 -0
  246. package/dist/modules/mfa/consumeMfaTokenIfRequiredForAction/consumeMfaTokenIfRequiredForAction.d.ts.map +1 -1
  247. package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts +1 -0
  248. package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts.map +1 -1
  249. package/dist/modules/mfa/deleteMfaDevice/deleteMfaDevice.d.ts +1 -0
  250. package/dist/modules/mfa/deleteMfaDevice/deleteMfaDevice.d.ts.map +1 -1
  251. package/dist/modules/mfa/getMfaDevices/getMfaDevices.d.ts +1 -0
  252. package/dist/modules/mfa/getMfaDevices/getMfaDevices.d.ts.map +1 -1
  253. package/dist/modules/mfa/getMfaMethods/getMfaMethods.d.ts +1 -0
  254. package/dist/modules/mfa/getMfaMethods/getMfaMethods.d.ts.map +1 -1
  255. package/dist/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.d.ts +1 -0
  256. package/dist/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.d.ts.map +1 -1
  257. package/dist/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.d.ts +1 -0
  258. package/dist/modules/mfa/isMfaRequiredForAction/isMfaRequiredForAction.d.ts.map +1 -1
  259. package/dist/modules/mfa/isPendingRecoveryCodesAcknowledgment/isPendingRecoveryCodesAcknowledgment.d.ts +1 -0
  260. package/dist/modules/mfa/isPendingRecoveryCodesAcknowledgment/isPendingRecoveryCodesAcknowledgment.d.ts.map +1 -1
  261. package/dist/modules/mfa/isUserMissingMfaAuth/isUserMissingMfaAuth.d.ts +1 -0
  262. package/dist/modules/mfa/isUserMissingMfaAuth/isUserMissingMfaAuth.d.ts.map +1 -1
  263. package/dist/modules/mfa/registerTotpMfaDevice/registerTotpMfaDevice.d.ts +1 -0
  264. package/dist/modules/mfa/registerTotpMfaDevice/registerTotpMfaDevice.d.ts.map +1 -1
  265. package/dist/modules/mfa/setDefaultMfaDevice/setDefaultMfaDevice.d.ts +1 -0
  266. package/dist/modules/mfa/setDefaultMfaDevice/setDefaultMfaDevice.d.ts.map +1 -1
  267. package/dist/modules/otp/sendEmailOTP/sendEmailOTP.d.ts +3 -0
  268. package/dist/modules/otp/sendEmailOTP/sendEmailOTP.d.ts.map +1 -1
  269. package/dist/modules/otp/sendSmsOTP/sendSmsOTP.d.ts +3 -0
  270. package/dist/modules/otp/sendSmsOTP/sendSmsOTP.d.ts.map +1 -1
  271. package/dist/modules/otp/verifyOTP/verifyOTP.d.ts +1 -0
  272. package/dist/modules/otp/verifyOTP/verifyOTP.d.ts.map +1 -1
  273. package/dist/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.d.ts +1 -0
  274. package/dist/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.d.ts.map +1 -1
  275. package/dist/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.d.ts +1 -0
  276. package/dist/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.d.ts.map +1 -1
  277. package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts +2 -0
  278. package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts.map +1 -1
  279. package/dist/modules/projectSettings/isCookieEnabled/isCookieEnabled.d.ts +1 -0
  280. package/dist/modules/projectSettings/isCookieEnabled/isCookieEnabled.d.ts.map +1 -1
  281. package/dist/modules/sessionKeys/generateNonceSignature/generateNonceSignature.d.ts +1 -0
  282. package/dist/modules/sessionKeys/generateNonceSignature/generateNonceSignature.d.ts.map +1 -1
  283. package/dist/modules/sessionKeys/generateSessionKeys/generateSessionKeys.d.ts +1 -0
  284. package/dist/modules/sessionKeys/generateSessionKeys/generateSessionKeys.d.ts.map +1 -1
  285. package/dist/modules/sessionKeys/generateSessionSignature/generateSessionSignature.d.ts +1 -0
  286. package/dist/modules/sessionKeys/generateSessionSignature/generateSessionSignature.d.ts.map +1 -1
  287. package/dist/modules/sessionKeys/getSessionKeys/getSessionKeys.d.ts +1 -0
  288. package/dist/modules/sessionKeys/getSessionKeys/getSessionKeys.d.ts.map +1 -1
  289. package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts +1 -0
  290. package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts.map +1 -1
  291. package/dist/modules/state/raiseStateEvents/raiseStateEvents.d.ts +1 -0
  292. package/dist/modules/state/raiseStateEvents/raiseStateEvents.d.ts.map +1 -1
  293. package/dist/modules/storageSync/hydrateStateWithStorage/hydrateStateWithStorage.d.ts +1 -0
  294. package/dist/modules/storageSync/hydrateStateWithStorage/hydrateStateWithStorage.d.ts.map +1 -1
  295. package/dist/modules/storageSync/initializeStorageSync.d.ts +1 -0
  296. package/dist/modules/storageSync/initializeStorageSync.d.ts.map +1 -1
  297. package/dist/modules/storageSync/syncStateWithStorage/syncStateWithStorage.d.ts +1 -0
  298. package/dist/modules/storageSync/syncStateWithStorage/syncStateWithStorage.d.ts.map +1 -1
  299. package/dist/modules/user/deleteUser/deleteUser.d.ts +1 -0
  300. package/dist/modules/user/deleteUser/deleteUser.d.ts.map +1 -1
  301. package/dist/modules/user/isUserOnboardingComplete/isUserOnboardingComplete.d.ts +1 -0
  302. package/dist/modules/user/isUserOnboardingComplete/isUserOnboardingComplete.d.ts.map +1 -1
  303. package/dist/modules/user/refreshAuth/refreshAuth.d.ts +1 -0
  304. package/dist/modules/user/refreshAuth/refreshAuth.d.ts.map +1 -1
  305. package/dist/modules/user/refreshUser/refreshUser.d.ts +1 -0
  306. package/dist/modules/user/refreshUser/refreshUser.d.ts.map +1 -1
  307. package/dist/modules/user/updateUser/updateUser.d.ts +3 -0
  308. package/dist/modules/user/updateUser/updateUser.d.ts.map +1 -1
  309. package/dist/modules/waas/backupWaasKeySharesToGoogleDrive/backupWaasKeySharesToGoogleDrive.d.ts +1 -0
  310. package/dist/modules/waas/backupWaasKeySharesToGoogleDrive/backupWaasKeySharesToGoogleDrive.d.ts.map +1 -1
  311. package/dist/modules/waas/createWaasClient/createWaasClient.d.ts +1 -0
  312. package/dist/modules/waas/createWaasClient/createWaasClient.d.ts.map +1 -1
  313. package/dist/modules/waas/createWaasProvider/createWaasProvider.d.ts +1 -0
  314. package/dist/modules/waas/createWaasProvider/createWaasProvider.d.ts.map +1 -1
  315. package/dist/modules/waas/createWaasWalletAccounts/createWaasWalletAccounts.d.ts +3 -1
  316. package/dist/modules/waas/createWaasWalletAccounts/createWaasWalletAccounts.d.ts.map +1 -1
  317. package/dist/modules/waas/delegateWaasKeyShares/delegateWaasKeyShares.d.ts +1 -0
  318. package/dist/modules/waas/delegateWaasKeyShares/delegateWaasKeyShares.d.ts.map +1 -1
  319. package/dist/modules/waas/exportWaasClientKeyshares/exportWaasClientKeyshares.d.ts +1 -0
  320. package/dist/modules/waas/exportWaasClientKeyshares/exportWaasClientKeyshares.d.ts.map +1 -1
  321. package/dist/modules/waas/exportWaasPrivateKey/exportWaasPrivateKey.d.ts +1 -0
  322. package/dist/modules/waas/exportWaasPrivateKey/exportWaasPrivateKey.d.ts.map +1 -1
  323. package/dist/modules/waas/findWaasWalletProviderByChain/findWaasWalletProviderByChain.d.ts +1 -0
  324. package/dist/modules/waas/findWaasWalletProviderByChain/findWaasWalletProviderByChain.d.ts.map +1 -1
  325. package/dist/modules/waas/getAllUserWaasAddressesForChain/getAllUserWaasAddressesForChain.d.ts +1 -0
  326. package/dist/modules/waas/getAllUserWaasAddressesForChain/getAllUserWaasAddressesForChain.d.ts.map +1 -1
  327. package/dist/modules/waas/getChainsMissingWaasWalletAccounts/getChainsMissingWaasWalletAccounts.d.ts +1 -0
  328. package/dist/modules/waas/getChainsMissingWaasWalletAccounts/getChainsMissingWaasWalletAccounts.d.ts.map +1 -1
  329. package/dist/modules/waas/getWaasChainNameFromChain/getWaasChainNameFromChain.d.ts +1 -0
  330. package/dist/modules/waas/getWaasChainNameFromChain/getWaasChainNameFromChain.d.ts.map +1 -1
  331. package/dist/modules/waas/getWaasWalletProviderByChain/getWaasWalletProviderByChain.d.ts +1 -0
  332. package/dist/modules/waas/getWaasWalletProviderByChain/getWaasWalletProviderByChain.d.ts.map +1 -1
  333. package/dist/modules/waas/getWaasWalletProviderFromWalletAccount/getWaasWalletProviderFromWalletAccount.d.ts +1 -0
  334. package/dist/modules/waas/getWaasWalletProviderFromWalletAccount/getWaasWalletProviderFromWalletAccount.d.ts.map +1 -1
  335. package/dist/modules/waas/getWalletRecoveryState/getWalletRecoveryState.d.ts +1 -0
  336. package/dist/modules/waas/getWalletRecoveryState/getWalletRecoveryState.d.ts.map +1 -1
  337. package/dist/modules/waas/hasDelegatedAccess/hasDelegatedAccess.d.ts +1 -0
  338. package/dist/modules/waas/hasDelegatedAccess/hasDelegatedAccess.d.ts.map +1 -1
  339. package/dist/modules/waas/importWaasPrivateKey/importWaasPrivateKey.d.ts +1 -0
  340. package/dist/modules/waas/importWaasPrivateKey/importWaasPrivateKey.d.ts.map +1 -1
  341. package/dist/modules/waas/isDynamicWaasEnabled/isDynamicWaasEnabled.d.ts +1 -0
  342. package/dist/modules/waas/isDynamicWaasEnabled/isDynamicWaasEnabled.d.ts.map +1 -1
  343. package/dist/modules/waas/isPasswordRequiredForWaasWallets/isPasswordRequiredForWaasWallets.d.ts +1 -0
  344. package/dist/modules/waas/isPasswordRequiredForWaasWallets/isPasswordRequiredForWaasWallets.d.ts.map +1 -1
  345. package/dist/modules/waas/isWaasWalletAccount/isWaasWalletAccount.d.ts +1 -0
  346. package/dist/modules/waas/isWaasWalletAccount/isWaasWalletAccount.d.ts.map +1 -1
  347. package/dist/modules/waas/isWaasWalletProvider/isWaasWalletProvider.d.ts +1 -0
  348. package/dist/modules/waas/isWaasWalletProvider/isWaasWalletProvider.d.ts.map +1 -1
  349. package/dist/modules/waas/isWalletCreationRequirement/isWalletCreationRequirement.d.ts +1 -0
  350. package/dist/modules/waas/isWalletCreationRequirement/isWalletCreationRequirement.d.ts.map +1 -1
  351. package/dist/modules/waas/normalizeWalletRequirements/normalizeWalletRequirements.d.ts +1 -0
  352. package/dist/modules/waas/normalizeWalletRequirements/normalizeWalletRequirements.d.ts.map +1 -1
  353. package/dist/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.d.ts +1 -0
  354. package/dist/modules/waas/refreshWaasWalletAccountShares/refreshWaasWalletAccountShares.d.ts.map +1 -1
  355. package/dist/modules/waas/restoreUserSharesForAllWalletAccounts/restoreUserSharesForAllWalletAccounts.d.ts +1 -0
  356. package/dist/modules/waas/restoreUserSharesForAllWalletAccounts/restoreUserSharesForAllWalletAccounts.d.ts.map +1 -1
  357. package/dist/modules/waas/revokeWaasDelegation/revokeWaasDelegation.d.ts +1 -0
  358. package/dist/modules/waas/revokeWaasDelegation/revokeWaasDelegation.d.ts.map +1 -1
  359. package/dist/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.d.ts +1 -0
  360. package/dist/modules/waas/setWaasWalletAccountPassword/setWaasWalletAccountPassword.d.ts.map +1 -1
  361. package/dist/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.d.ts +1 -0
  362. package/dist/modules/waas/shouldAutoCreateWalletForChain/shouldAutoCreateWalletForChain.d.ts.map +1 -1
  363. package/dist/modules/waas/unlockWallet/unlockWallet.d.ts +1 -0
  364. package/dist/modules/waas/unlockWallet/unlockWallet.d.ts.map +1 -1
  365. package/dist/modules/waas/updateWaasPassword/updateWaasPassword.d.ts +1 -0
  366. package/dist/modules/waas/updateWaasPassword/updateWaasPassword.d.ts.map +1 -1
  367. package/dist/modules/wallets/assertWalletAccountSigningAvailability/assertWalletAccountSigningAvailability.d.ts +1 -0
  368. package/dist/modules/wallets/assertWalletAccountSigningAvailability/assertWalletAccountSigningAvailability.d.ts.map +1 -1
  369. package/dist/modules/wallets/connectAndVerifyWithWalletProvider/connectAndVerifyWithWalletProvider.d.ts +1 -0
  370. package/dist/modules/wallets/connectAndVerifyWithWalletProvider/connectAndVerifyWithWalletProvider.d.ts.map +1 -1
  371. package/dist/modules/wallets/connectWithWalletProvider/connectWithWalletProvider.d.ts +1 -0
  372. package/dist/modules/wallets/connectWithWalletProvider/connectWithWalletProvider.d.ts.map +1 -1
  373. package/dist/modules/wallets/disconnectAndTerminateWalletProviders/disconnectAndTerminateWalletProviders.d.ts +1 -0
  374. package/dist/modules/wallets/disconnectAndTerminateWalletProviders/disconnectAndTerminateWalletProviders.d.ts.map +1 -1
  375. package/dist/modules/wallets/disconnectWalletAccount/disconnectWalletAccount.d.ts +1 -0
  376. package/dist/modules/wallets/disconnectWalletAccount/disconnectWalletAccount.d.ts.map +1 -1
  377. package/dist/modules/wallets/emitWalletAccountsChangedEvent/emitWalletAccountsChangedEvent.d.ts +1 -0
  378. package/dist/modules/wallets/emitWalletAccountsChangedEvent/emitWalletAccountsChangedEvent.d.ts.map +1 -1
  379. package/dist/modules/wallets/getAvailableWalletProvidersData/getAvailableWalletProvidersData.d.ts +1 -0
  380. package/dist/modules/wallets/getAvailableWalletProvidersData/getAvailableWalletProvidersData.d.ts.map +1 -1
  381. package/dist/modules/wallets/getConnectedAddresses/getConnectedAddresses.d.ts +1 -0
  382. package/dist/modules/wallets/getConnectedAddresses/getConnectedAddresses.d.ts.map +1 -1
  383. package/dist/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.d.ts +1 -0
  384. package/dist/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.d.ts.map +1 -1
  385. package/dist/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.d.ts +1 -0
  386. package/dist/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.d.ts.map +1 -1
  387. package/dist/modules/wallets/getWalletAccounts/getWalletAccounts.d.ts +1 -0
  388. package/dist/modules/wallets/getWalletAccounts/getWalletAccounts.d.ts.map +1 -1
  389. package/dist/modules/wallets/getWalletAccounts/getWalletAccountsFromState/getWalletAccountsFromState.d.ts +1 -0
  390. package/dist/modules/wallets/getWalletAccounts/getWalletAccountsFromState/getWalletAccountsFromState.d.ts.map +1 -1
  391. package/dist/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.d.ts +1 -0
  392. package/dist/modules/wallets/getWalletProviderByKey/getWalletProviderByKey.d.ts.map +1 -1
  393. package/dist/modules/wallets/getWalletProviderDataByKey/getWalletProviderDataByKey.d.ts +1 -0
  394. package/dist/modules/wallets/getWalletProviderDataByKey/getWalletProviderDataByKey.d.ts.map +1 -1
  395. package/dist/modules/wallets/getWalletProviders/getWalletProviders.d.ts +1 -0
  396. package/dist/modules/wallets/getWalletProviders/getWalletProviders.d.ts.map +1 -1
  397. package/dist/modules/wallets/hardwareWallet/canConnectWithHardwareWallet/canConnectWithHardwareWallet.d.ts +1 -0
  398. package/dist/modules/wallets/hardwareWallet/canConnectWithHardwareWallet/canConnectWithHardwareWallet.d.ts.map +1 -1
  399. package/dist/modules/wallets/hardwareWallet/formatSignatureForHardwareWallet/formatSignatureForHardwareWallet.d.ts +1 -0
  400. package/dist/modules/wallets/hardwareWallet/formatSignatureForHardwareWallet/formatSignatureForHardwareWallet.d.ts.map +1 -1
  401. package/dist/modules/wallets/hardwareWallet/isHardwareWalletAccount/isHardwareWalletAccount.d.ts +1 -0
  402. package/dist/modules/wallets/hardwareWallet/isHardwareWalletAccount/isHardwareWalletAccount.d.ts.map +1 -1
  403. package/dist/modules/wallets/isWalletAccountVerified/isWalletAccountVerified.d.ts +1 -0
  404. package/dist/modules/wallets/isWalletAccountVerified/isWalletAccountVerified.d.ts.map +1 -1
  405. package/dist/modules/wallets/networks/addNetwork/addNetwork.d.ts +1 -0
  406. package/dist/modules/wallets/networks/addNetwork/addNetwork.d.ts.map +1 -1
  407. package/dist/modules/wallets/networks/createBaseNetworkProvider/createBaseNetworkProvider.d.ts +1 -0
  408. package/dist/modules/wallets/networks/createBaseNetworkProvider/createBaseNetworkProvider.d.ts.map +1 -1
  409. package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts +1 -0
  410. package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts.map +1 -1
  411. package/dist/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.d.ts +1 -0
  412. package/dist/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.d.ts.map +1 -1
  413. package/dist/modules/wallets/networks/getBalance/getBalance.d.ts +1 -0
  414. package/dist/modules/wallets/networks/getBalance/getBalance.d.ts.map +1 -1
  415. package/dist/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.d.ts +1 -0
  416. package/dist/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.d.ts.map +1 -1
  417. package/dist/modules/wallets/networks/getNetworkDataForNetworkId/getNetworkDataForNetworkId.d.ts +1 -0
  418. package/dist/modules/wallets/networks/getNetworkDataForNetworkId/getNetworkDataForNetworkId.d.ts.map +1 -1
  419. package/dist/modules/wallets/networks/getNetworkProviderFromNetworkId/getNetworkProviderFromNetworkId.d.ts +1 -0
  420. package/dist/modules/wallets/networks/getNetworkProviderFromNetworkId/getNetworkProviderFromNetworkId.d.ts.map +1 -1
  421. package/dist/modules/wallets/networks/getNetworkProviders/getNetworkProviders.d.ts +1 -0
  422. package/dist/modules/wallets/networks/getNetworkProviders/getNetworkProviders.d.ts.map +1 -1
  423. package/dist/modules/wallets/networks/getNetworksData/getNetworksData.d.ts +1 -0
  424. package/dist/modules/wallets/networks/getNetworksData/getNetworksData.d.ts.map +1 -1
  425. package/dist/modules/wallets/networks/getSdkChainFromApiChainName/getSdkChainFromApiChainName.d.ts +1 -0
  426. package/dist/modules/wallets/networks/getSdkChainFromApiChainName/getSdkChainFromApiChainName.d.ts.map +1 -1
  427. package/dist/modules/wallets/networks/getTransactionHistory/getTransactionHistory.d.ts +1 -0
  428. package/dist/modules/wallets/networks/getTransactionHistory/getTransactionHistory.d.ts.map +1 -1
  429. package/dist/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.d.ts +1 -0
  430. package/dist/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.d.ts.map +1 -1
  431. package/dist/modules/wallets/networks/lastKnownNetworkRegistry/createLastKnownNetworkRegistry/createLastKnownNetworkRegistry.d.ts +1 -0
  432. package/dist/modules/wallets/networks/lastKnownNetworkRegistry/createLastKnownNetworkRegistry/createLastKnownNetworkRegistry.d.ts.map +1 -1
  433. package/dist/modules/wallets/networks/networkProviderBuilderRegistry/createNetworkProviderBuilderRegistry/createNetworkProviderBuilderRegistry.d.ts +1 -0
  434. package/dist/modules/wallets/networks/networkProviderBuilderRegistry/createNetworkProviderBuilderRegistry/createNetworkProviderBuilderRegistry.d.ts.map +1 -1
  435. package/dist/modules/wallets/networks/switchActiveNetwork/switchActiveNetwork.d.ts +1 -0
  436. package/dist/modules/wallets/networks/switchActiveNetwork/switchActiveNetwork.d.ts.map +1 -1
  437. package/dist/modules/wallets/primaryWalletAccount/getPrimaryWalletAccount/getPrimaryWalletAccount.d.ts +1 -0
  438. package/dist/modules/wallets/primaryWalletAccount/getPrimaryWalletAccount/getPrimaryWalletAccount.d.ts.map +1 -1
  439. package/dist/modules/wallets/primaryWalletAccount/selectPrimaryWalletAccount/selectPrimaryWalletAccount.d.ts +1 -0
  440. package/dist/modules/wallets/primaryWalletAccount/selectPrimaryWalletAccount/selectPrimaryWalletAccount.d.ts.map +1 -1
  441. package/dist/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.d.ts +1 -0
  442. package/dist/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.d.ts.map +1 -1
  443. package/dist/modules/wallets/removeWalletAccount/removeWalletAccount.d.ts +1 -0
  444. package/dist/modules/wallets/removeWalletAccount/removeWalletAccount.d.ts.map +1 -1
  445. package/dist/modules/wallets/signMessage/signMessage.d.ts +1 -0
  446. package/dist/modules/wallets/signMessage/signMessage.d.ts.map +1 -1
  447. package/dist/modules/wallets/transferAmount/transferAmount.d.ts +1 -0
  448. package/dist/modules/wallets/transferAmount/transferAmount.d.ts.map +1 -1
  449. package/dist/modules/wallets/transferWalletAccount/transferWalletAccount.d.ts +1 -0
  450. package/dist/modules/wallets/transferWalletAccount/transferWalletAccount.d.ts.map +1 -1
  451. package/dist/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts +1 -0
  452. package/dist/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts.map +1 -1
  453. package/dist/modules/wallets/unverifiedWalletAccounts/setUnverifiedWalletAccounts/setUnverifiedWalletAccounts.d.ts +1 -0
  454. package/dist/modules/wallets/unverifiedWalletAccounts/setUnverifiedWalletAccounts/setUnverifiedWalletAccounts.d.ts.map +1 -1
  455. package/dist/modules/wallets/userHasEmbeddedWalletForChain/userHasEmbeddedWalletForChain.d.ts +1 -0
  456. package/dist/modules/wallets/userHasEmbeddedWalletForChain/userHasEmbeddedWalletForChain.d.ts.map +1 -1
  457. package/dist/modules/wallets/userHasExternalWallet/userHasExternalWallet.d.ts +1 -0
  458. package/dist/modules/wallets/userHasExternalWallet/userHasExternalWallet.d.ts.map +1 -1
  459. package/dist/modules/wallets/utils/convertUnverifiedWalletAccountToWalletAccount/convertUnverifiedWalletAccountToWalletAccount.d.ts +1 -0
  460. package/dist/modules/wallets/utils/convertUnverifiedWalletAccountToWalletAccount/convertUnverifiedWalletAccountToWalletAccount.d.ts.map +1 -1
  461. package/dist/modules/wallets/utils/convertVerifiedCredentialToWalletAccount/convertVerifiedCredentialToWalletAccount.d.ts +1 -0
  462. package/dist/modules/wallets/utils/convertVerifiedCredentialToWalletAccount/convertVerifiedCredentialToWalletAccount.d.ts.map +1 -1
  463. package/dist/modules/wallets/utils/formatSignInMessage/formatSignInMessage.d.ts +1 -0
  464. package/dist/modules/wallets/utils/formatSignInMessage/formatSignInMessage.d.ts.map +1 -1
  465. package/dist/modules/wallets/utils/formatWalletAccountId/formatWalletAccountId.d.ts +1 -0
  466. package/dist/modules/wallets/utils/formatWalletAccountId/formatWalletAccountId.d.ts.map +1 -1
  467. package/dist/modules/wallets/utils/formatWalletProviderGroupKey/formatWalletProviderGroupKey.d.ts +1 -0
  468. package/dist/modules/wallets/utils/formatWalletProviderGroupKey/formatWalletProviderGroupKey.d.ts.map +1 -1
  469. package/dist/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.d.ts +1 -0
  470. package/dist/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.d.ts.map +1 -1
  471. package/dist/modules/wallets/utils/getAddressesWithTypesFromConnectionResult/getAddressesWithTypesFromConnectionResult.d.ts +1 -0
  472. package/dist/modules/wallets/utils/getAddressesWithTypesFromConnectionResult/getAddressesWithTypesFromConnectionResult.d.ts.map +1 -1
  473. package/dist/modules/wallets/utils/getAllProvidersFromWindow/getAllProvidersFromWindow.d.ts +1 -0
  474. package/dist/modules/wallets/utils/getAllProvidersFromWindow/getAllProvidersFromWindow.d.ts.map +1 -1
  475. package/dist/modules/wallets/utils/getAvailableWalletProvidersFromWalletAccounts/getAvailableWalletProvidersFromWalletAccounts.d.ts +1 -0
  476. package/dist/modules/wallets/utils/getAvailableWalletProvidersFromWalletAccounts/getAvailableWalletProvidersFromWalletAccounts.d.ts.map +1 -1
  477. package/dist/modules/wallets/utils/getChainIdForAccountVerification/getChainIdForAccountVerification.d.ts +1 -0
  478. package/dist/modules/wallets/utils/getChainIdForAccountVerification/getChainIdForAccountVerification.d.ts.map +1 -1
  479. package/dist/modules/wallets/utils/getInjectedProviderFromWindow/getInjectedProviderFromWindow.d.ts +1 -0
  480. package/dist/modules/wallets/utils/getInjectedProviderFromWindow/getInjectedProviderFromWindow.d.ts.map +1 -1
  481. package/dist/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts +1 -0
  482. package/dist/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts.map +1 -1
  483. package/dist/modules/wallets/utils/getSignInMessage/getSignInMessage.d.ts +1 -0
  484. package/dist/modules/wallets/utils/getSignInMessage/getSignInMessage.d.ts.map +1 -1
  485. package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts +1 -0
  486. package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts.map +1 -1
  487. package/dist/modules/wallets/utils/getWalletAccountFromAddress/getWalletAccountFromAddress.d.ts +1 -0
  488. package/dist/modules/wallets/utils/getWalletAccountFromAddress/getWalletAccountFromAddress.d.ts.map +1 -1
  489. package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts +1 -0
  490. package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts.map +1 -1
  491. package/dist/modules/wallets/utils/isSameAddress/isSameAddress.d.ts +1 -0
  492. package/dist/modules/wallets/utils/isSameAddress/isSameAddress.d.ts.map +1 -1
  493. package/dist/modules/wallets/utils/normalizeAddress/normalizeAddress.d.ts +1 -0
  494. package/dist/modules/wallets/utils/normalizeAddress/normalizeAddress.d.ts.map +1 -1
  495. package/dist/modules/wallets/utils/normalizeWalletNameWithChain/normalizeWalletNameWithChain.d.ts +1 -0
  496. package/dist/modules/wallets/utils/normalizeWalletNameWithChain/normalizeWalletNameWithChain.d.ts.map +1 -1
  497. package/dist/modules/wallets/verifyMessageSignatureOwnership/verifyMessageSignatureOwnership.d.ts +1 -0
  498. package/dist/modules/wallets/verifyMessageSignatureOwnership/verifyMessageSignatureOwnership.d.ts.map +1 -1
  499. package/dist/modules/wallets/verifyWalletAccount/verifyWalletAccount.d.ts +1 -0
  500. package/dist/modules/wallets/verifyWalletAccount/verifyWalletAccount.d.ts.map +1 -1
  501. package/dist/modules/wallets/verifyWalletAccountForSignInOrTransfer/verifyWalletAccountForSignInOrTransfer.d.ts +1 -0
  502. package/dist/modules/wallets/verifyWalletAccountForSignInOrTransfer/verifyWalletAccountForSignInOrTransfer.d.ts.map +1 -1
  503. package/dist/modules/wallets/walletProvider/defaultImplementations/getActiveNetworkIdFromLastKnownRegistry/getActiveNetworkIdFromLastKnownRegistry.d.ts +1 -0
  504. package/dist/modules/wallets/walletProvider/defaultImplementations/getActiveNetworkIdFromLastKnownRegistry/getActiveNetworkIdFromLastKnownRegistry.d.ts.map +1 -1
  505. package/dist/modules/wallets/walletProvider/defaultImplementations/switchActiveNetworkInLastKnownRegistry/switchActiveNetworkInLastKnownRegistry.d.ts +1 -0
  506. package/dist/modules/wallets/walletProvider/defaultImplementations/switchActiveNetworkInLastKnownRegistry/switchActiveNetworkInLastKnownRegistry.d.ts.map +1 -1
  507. package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/createWalletProviderEventEmitter.d.ts +3 -1
  508. package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/createWalletProviderEventEmitter.d.ts.map +1 -1
  509. package/dist/modules/wallets/walletProvider/events/offWalletProviderEvent/offWalletProviderEvent.d.ts +1 -0
  510. package/dist/modules/wallets/walletProvider/events/offWalletProviderEvent/offWalletProviderEvent.d.ts.map +1 -1
  511. package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts +1 -0
  512. package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts.map +1 -1
  513. package/dist/modules/wallets/walletProvider/extractChainFromNormalizedName/extractChainFromNormalizedName.d.ts +1 -0
  514. package/dist/modules/wallets/walletProvider/extractChainFromNormalizedName/extractChainFromNormalizedName.d.ts.map +1 -1
  515. package/dist/modules/wallets/walletProvider/isDeeplinkWalletProvider/isDeeplinkWalletProvider.d.ts +1 -0
  516. package/dist/modules/wallets/walletProvider/isDeeplinkWalletProvider/isDeeplinkWalletProvider.d.ts.map +1 -1
  517. package/dist/modules/wallets/walletProvider/splitWalletProviderKey/splitWalletProviderKey.d.ts +1 -0
  518. package/dist/modules/wallets/walletProvider/splitWalletProviderKey/splitWalletProviderKey.d.ts.map +1 -1
  519. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts +1 -0
  520. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts.map +1 -1
  521. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts +1 -0
  522. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts.map +1 -1
  523. package/dist/modules/wallets/walletProviderRegistry/createWalletProviderRegistry/createWalletProviderRegistry.d.ts +1 -0
  524. package/dist/modules/wallets/walletProviderRegistry/createWalletProviderRegistry/createWalletProviderRegistry.d.ts.map +1 -1
  525. package/dist/services/asyncTrack/createAsyncTrack.d.ts +1 -0
  526. package/dist/services/asyncTrack/createAsyncTrack.d.ts.map +1 -1
  527. package/dist/services/crossTabBroadcast/createCrossTabBroadcast/createCrossTabBroadcast.d.ts +1 -0
  528. package/dist/services/crossTabBroadcast/createCrossTabBroadcast/createCrossTabBroadcast.d.ts.map +1 -1
  529. package/dist/services/eventEmitter/createEventEmitter.d.ts +1 -0
  530. package/dist/services/eventEmitter/createEventEmitter.d.ts.map +1 -1
  531. package/dist/services/fetch/createWebFetch.d.ts +1 -0
  532. package/dist/services/fetch/createWebFetch.d.ts.map +1 -1
  533. package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts +23 -0
  534. package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts.map +1 -0
  535. package/dist/services/instrumentation/connectLoggerToInstrumentation/index.d.ts +2 -0
  536. package/dist/services/instrumentation/connectLoggerToInstrumentation/index.d.ts.map +1 -0
  537. package/dist/services/instrumentation/createInstrumentation/createInstrumentation.d.ts +1 -0
  538. package/dist/services/instrumentation/createInstrumentation/createInstrumentation.d.ts.map +1 -1
  539. package/dist/services/instrumentation/instrumentFunction/extractParams/extractParams.d.ts +1 -0
  540. package/dist/services/instrumentation/instrumentFunction/extractParams/extractParams.d.ts.map +1 -1
  541. package/dist/services/instrumentation/instrumentFunction/scrubResolvedValue/scrubResolvedValue.d.ts +1 -0
  542. package/dist/services/instrumentation/instrumentFunction/scrubResolvedValue/scrubResolvedValue.d.ts.map +1 -1
  543. package/dist/services/instrumentation/scrubParameters/scrubParameters.d.ts +1 -0
  544. package/dist/services/instrumentation/scrubParameters/scrubParameters.d.ts.map +1 -1
  545. package/dist/services/instrumentation/transports/createDynamicTransport/createDynamicTransport.d.ts +1 -0
  546. package/dist/services/instrumentation/transports/createDynamicTransport/createDynamicTransport.d.ts.map +1 -1
  547. package/dist/services/keychain/createIndexedDBKeychainService/createIndexedDBKeychainService.d.ts +1 -0
  548. package/dist/services/keychain/createIndexedDBKeychainService/createIndexedDBKeychainService.d.ts.map +1 -1
  549. package/dist/services/keychain/createIndexedDBKeychainService/utils/deleteIndexedDBItem.d.ts +1 -0
  550. package/dist/services/keychain/createIndexedDBKeychainService/utils/deleteIndexedDBItem.d.ts.map +1 -1
  551. package/dist/services/keychain/createIndexedDBKeychainService/utils/getIndexedDBItem.d.ts +1 -0
  552. package/dist/services/keychain/createIndexedDBKeychainService/utils/getIndexedDBItem.d.ts.map +1 -1
  553. package/dist/services/keychain/createIndexedDBKeychainService/utils/openDatabase.d.ts +1 -0
  554. package/dist/services/keychain/createIndexedDBKeychainService/utils/openDatabase.d.ts.map +1 -1
  555. package/dist/services/keychain/createIndexedDBKeychainService/utils/setIndexedDBItem.d.ts +1 -0
  556. package/dist/services/keychain/createIndexedDBKeychainService/utils/setIndexedDBItem.d.ts.map +1 -1
  557. package/dist/services/logger/createLogger/createLogger.d.ts +2 -0
  558. package/dist/services/logger/createLogger/createLogger.d.ts.map +1 -1
  559. package/dist/services/navigate/createNavigationHandler/createNavigationHandler.d.ts +1 -0
  560. package/dist/services/navigate/createNavigationHandler/createNavigationHandler.d.ts.map +1 -1
  561. package/dist/services/openDeeplink/createWebDeeplinkOpener/createWebDeeplinkOpener.d.ts +1 -0
  562. package/dist/services/openDeeplink/createWebDeeplinkOpener/createWebDeeplinkOpener.d.ts.map +1 -1
  563. package/dist/services/passkey/createWebPasskeyService/createWebPasskeyService.d.ts +1 -0
  564. package/dist/services/passkey/createWebPasskeyService/createWebPasskeyService.d.ts.map +1 -1
  565. package/dist/services/realtime/createRealtimeChannelSchema/createRealtimeChannelSchema.d.ts +1 -0
  566. package/dist/services/realtime/createRealtimeChannelSchema/createRealtimeChannelSchema.d.ts.map +1 -1
  567. package/dist/services/realtime/createRealtimeService/createRealtimeService.d.ts +1 -0
  568. package/dist/services/realtime/createRealtimeService/createRealtimeService.d.ts.map +1 -1
  569. package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts +1 -0
  570. package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts.map +1 -1
  571. package/dist/services/runtimeServices/createRuntimeServices/createRuntimeServices.d.ts +1 -0
  572. package/dist/services/runtimeServices/createRuntimeServices/createRuntimeServices.d.ts.map +1 -1
  573. package/dist/services/storage/createLocalStorageAdapter/createLocalStorageAdapter.d.ts +1 -0
  574. package/dist/services/storage/createLocalStorageAdapter/createLocalStorageAdapter.d.ts.map +1 -1
  575. package/dist/services/storage/createStorage/createStorage.d.ts +1 -0
  576. package/dist/services/storage/createStorage/createStorage.d.ts.map +1 -1
  577. package/dist/services/storage/createStorage/formatForStorage/isValidDateISOString/isValidDateISOString.d.ts +1 -0
  578. package/dist/services/storage/createStorage/formatForStorage/isValidDateISOString/isValidDateISOString.d.ts.map +1 -1
  579. package/dist/services/storage/createStorage/formatForStorage/storageFormat.d.ts +2 -0
  580. package/dist/services/storage/createStorage/formatForStorage/storageFormat.d.ts.map +1 -1
  581. package/dist/services/storage/createStorageKeySchema/createStorageKeySchema.d.ts +1 -0
  582. package/dist/services/storage/createStorageKeySchema/createStorageKeySchema.d.ts.map +1 -1
  583. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  584. package/dist/utils/base64UrlDecode/base64UrlDecode.d.ts +1 -0
  585. package/dist/utils/base64UrlDecode/base64UrlDecode.d.ts.map +1 -1
  586. package/dist/utils/bufferToBase64/bufferToBase64.d.ts +1 -0
  587. package/dist/utils/bufferToBase64/bufferToBase64.d.ts.map +1 -1
  588. package/dist/utils/bufferToHex/bufferToHex.d.ts +1 -0
  589. package/dist/utils/bufferToHex/bufferToHex.d.ts.map +1 -1
  590. package/dist/utils/compressRawPublicKey/compressRawPublicKey.d.ts +1 -0
  591. package/dist/utils/compressRawPublicKey/compressRawPublicKey.d.ts.map +1 -1
  592. package/dist/utils/debouncedMutex/createDebouncedMutex/createDebouncedMutex.d.ts +1 -0
  593. package/dist/utils/debouncedMutex/createDebouncedMutex/createDebouncedMutex.d.ts.map +1 -1
  594. package/dist/utils/deferredPromise/createDeferredPromise.d.ts +1 -0
  595. package/dist/utils/deferredPromise/createDeferredPromise.d.ts.map +1 -1
  596. package/dist/utils/digestSHA256/digestSHA256.d.ts +1 -0
  597. package/dist/utils/digestSHA256/digestSHA256.d.ts.map +1 -1
  598. package/dist/utils/encodeBase64Url/encodeBase64Url.d.ts +1 -0
  599. package/dist/utils/encodeBase64Url/encodeBase64Url.d.ts.map +1 -1
  600. package/dist/utils/filterDuplicates/filterDuplicates.d.ts +1 -0
  601. package/dist/utils/filterDuplicates/filterDuplicates.d.ts.map +1 -1
  602. package/dist/utils/getBuffer/getBuffer.d.ts +1 -0
  603. package/dist/utils/getBuffer/getBuffer.d.ts.map +1 -1
  604. package/dist/utils/getChainFromVerifiedCredentialChain/getChainFromVerifiedCredentialChain.d.ts +1 -0
  605. package/dist/utils/getChainFromVerifiedCredentialChain/getChainFromVerifiedCredentialChain.d.ts.map +1 -1
  606. package/dist/utils/getNonce/fetchAndStoreNonces/fetchAndStoreNonces.d.ts +1 -0
  607. package/dist/utils/getNonce/fetchAndStoreNonces/fetchAndStoreNonces.d.ts.map +1 -1
  608. package/dist/utils/getNonce/getNonce.d.ts +1 -0
  609. package/dist/utils/getNonce/getNonce.d.ts.map +1 -1
  610. package/dist/utils/getNonce/prefetchNoncesIfNeeded/prefetchNoncesIfNeeded.d.ts +1 -0
  611. package/dist/utils/getNonce/prefetchNoncesIfNeeded/prefetchNoncesIfNeeded.d.ts.map +1 -1
  612. package/dist/utils/getUserAgent/getUserAgent.d.ts +1 -0
  613. package/dist/utils/getUserAgent/getUserAgent.d.ts.map +1 -1
  614. package/dist/utils/isEqualShallow/isEqualShallow.d.ts +1 -0
  615. package/dist/utils/isEqualShallow/isEqualShallow.d.ts.map +1 -1
  616. package/dist/utils/isError/isError.d.ts +1 -0
  617. package/dist/utils/isError/isError.d.ts.map +1 -1
  618. package/dist/utils/isErrorWithCode/isErrorWithCode.d.ts +1 -0
  619. package/dist/utils/isErrorWithCode/isErrorWithCode.d.ts.map +1 -1
  620. package/dist/utils/isMobile/isMobile.d.ts +12 -0
  621. package/dist/utils/isMobile/isMobile.d.ts.map +1 -1
  622. package/dist/utils/isServerSideRendering/isServerSideRendering.d.ts +1 -0
  623. package/dist/utils/isServerSideRendering/isServerSideRendering.d.ts.map +1 -1
  624. package/dist/utils/observable/createObservableState/createObservableState.d.ts +1 -0
  625. package/dist/utils/observable/createObservableState/createObservableState.d.ts.map +1 -1
  626. package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts +1 -0
  627. package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts.map +1 -1
  628. package/dist/utils/p256Keygen/p256Keygen.d.ts +1 -0
  629. package/dist/utils/p256Keygen/p256Keygen.d.ts.map +1 -1
  630. package/dist/utils/p256Sign/p256Sign.d.ts +1 -0
  631. package/dist/utils/p256Sign/p256Sign.d.ts.map +1 -1
  632. package/dist/utils/parseAmountToSmallestUnit/parseAmountToSmallestUnit.d.ts +1 -0
  633. package/dist/utils/parseAmountToSmallestUnit/parseAmountToSmallestUnit.d.ts.map +1 -1
  634. package/dist/utils/parseUserAgent/parseUserAgent.d.ts +1 -0
  635. package/dist/utils/parseUserAgent/parseUserAgent.d.ts.map +1 -1
  636. package/dist/utils/randomString/randomString.d.ts +1 -0
  637. package/dist/utils/randomString/randomString.d.ts.map +1 -1
  638. package/dist/utils/retryOnFail/retryOnFail.d.ts +1 -0
  639. package/dist/utils/retryOnFail/retryOnFail.d.ts.map +1 -1
  640. package/dist/utils/setCookie/setCookie.d.ts +1 -0
  641. package/dist/utils/setCookie/setCookie.d.ts.map +1 -1
  642. package/dist/waas.cjs.js +27 -4
  643. package/dist/waas.cjs.js.map +1 -1
  644. package/dist/waas.esm.js +26 -3
  645. package/dist/waas.esm.js.map +1 -1
  646. package/dist/waasCore.cjs.js +8 -4
  647. package/dist/waasCore.cjs.js.map +1 -1
  648. package/dist/waasCore.esm.js +7 -3
  649. package/dist/waasCore.esm.js.map +1 -1
  650. package/package.json +3 -3
  651. package/dist/InvalidParamError-BgvcmQ36.esm.js.map +0 -1
  652. package/dist/InvalidParamError-CApg0dxd.cjs.js.map +0 -1
  653. package/dist/NotWaasWalletAccountError-C8iogcNm.cjs.js.map +0 -1
  654. package/dist/NotWaasWalletAccountError-CfH6ZpRB.esm.js.map +0 -1
  655. package/dist/getNetworkProviderFromNetworkId-BP2AzuLE.cjs.js.map +0 -1
  656. package/dist/getNetworkProviderFromNetworkId-DoLT1yjR.esm.js.map +0 -1
  657. package/dist/getSignedSessionId-CbNoTJxx.cjs.js.map +0 -1
  658. package/dist/getSignedSessionId-np5XdQ1A.esm.js.map +0 -1
  659. package/dist/getVerifiedCredentialForWalletAccount-BDXePo9t.cjs.js.map +0 -1
  660. package/dist/getVerifiedCredentialForWalletAccount-CyyHc2ec.esm.js.map +0 -1
  661. package/dist/isMfaRequiredForAction-BtO6Xkeu.esm.js.map +0 -1
  662. package/dist/isMfaRequiredForAction-C84laGI8.cjs.js.map +0 -1
  663. 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-BXH2tfrn.cjs.js');
2
+ const require_InvalidParamError = require('./InvalidParamError-Bxg4p9zQ.cjs.js');
3
+ const require_getVerifiedCredentialForWalletAccount = require('./getVerifiedCredentialForWalletAccount-CJAgL4AJ.cjs.js');
4
+ const require_NotWaasWalletAccountError = require('./NotWaasWalletAccountError-2CU35ult.cjs.js');
5
+ const require_isMfaRequiredForAction = require('./isMfaRequiredForAction-DnZ2ZWUB.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,40 @@ var WalletProviderMethodUnavailableError = class extends require_InvalidParamErr
1401
1559
  }
1402
1560
  };
1403
1561
 
1562
+ //#endregion
1563
+ //#region src/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.ts
1564
+ /**
1565
+ * Requests an elevated access token using an external auth assertion JWT.
1566
+ *
1567
+ * The assertion JWT must be signed by the customer's backend using the same key
1568
+ * registered in the environment's external auth JWKS URL. It must include
1569
+ * `sub`, `scope`, `jti`, and `exp` claims.
1570
+ *
1571
+ * The returned elevated access token is automatically parsed and stored in state,
1572
+ * and can be retrieved via `getElevatedAccessToken`.
1573
+ *
1574
+ * @param params.externalJwt - The assertion JWT signed by the customer's backend.
1575
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1576
+ * @returns A promise that resolves to the assertion response containing the elevated access token.
1577
+ * @instrumented
1578
+ */
1579
+ const requestExternalAuthElevatedToken = async ({ externalJwt }, client = require_InvalidParamError.getDefaultClient()) => {
1580
+ const core = require_InvalidParamError.getCore(client);
1581
+ const response = await require_InvalidParamError.createApiClient({}, client).externalAuthVerify({
1582
+ environmentId: core.environmentId,
1583
+ externalAuthSigninRequest: { jwt: externalJwt }
1584
+ });
1585
+ const parsedToken = require_getVerifiedCredentialForWalletAccount.parseElevatedAccessToken(response.elevatedAccessToken);
1586
+ if (parsedToken) {
1587
+ const currentTokens = core.state.get().elevatedAccessTokens || [];
1588
+ core.state.set({ elevatedAccessTokens: require_getVerifiedCredentialForWalletAccount.upsertElevatedAccessToken({
1589
+ currentTokens,
1590
+ newToken: parsedToken
1591
+ }) });
1592
+ }
1593
+ return response;
1594
+ };
1595
+
1404
1596
  //#endregion
1405
1597
  //#region src/modules/auth/externalAuth/signInWithExternalJwt/signInWithExternalJwt.ts
1406
1598
  /**
@@ -1412,6 +1604,9 @@ var WalletProviderMethodUnavailableError = class extends require_InvalidParamErr
1412
1604
  * @param [params.externalJwt] - Optional external JWT token to authenticate with. Not required when using cookie based auth.
1413
1605
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1414
1606
  * @returns A promise that resolves to the authentication response from the server.
1607
+ * @instrumented
1608
+
1609
+ * @redact-params
1415
1610
  */
1416
1611
  const signInWithExternalJwt = async ({ externalJwt, sessionPublicKey } = {}, client = require_InvalidParamError.getDefaultClient()) => {
1417
1612
  const core = require_InvalidParamError.getCore(client);
@@ -1434,6 +1629,7 @@ const signInWithExternalJwt = async ({ externalJwt, sessionPublicKey } = {}, cli
1434
1629
  * @param params.passkeyId - The unique identifier of the passkey to delete.
1435
1630
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1436
1631
  * @returns A promise that resolves when the passkey is successfully deleted.
1632
+ * @instrumented
1437
1633
  */
1438
1634
  const deletePasskey = async ({ passkeyId }, client = require_InvalidParamError.getDefaultClient()) => {
1439
1635
  const core = require_InvalidParamError.getCore(client);
@@ -1456,6 +1652,7 @@ const deletePasskey = async ({ passkeyId }, client = require_InvalidParamError.g
1456
1652
  *
1457
1653
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1458
1654
  * @returns A promise that resolves to an array of the user's registered passkeys.
1655
+ * @instrumented
1459
1656
  */
1460
1657
  const getPasskeys = async (client = require_InvalidParamError.getDefaultClient()) => {
1461
1658
  const core = require_InvalidParamError.getCore(client);
@@ -1464,6 +1661,7 @@ const getPasskeys = async (client = require_InvalidParamError.getDefaultClient()
1464
1661
 
1465
1662
  //#endregion
1466
1663
  //#region src/modules/auth/passkeys/getPasskeyRegistrationOptions/getPasskeyRegistrationOptions.ts
1664
+ /** @not-instrumented */
1467
1665
  const getPasskeyRegistrationOptions = async (client) => {
1468
1666
  const core = require_InvalidParamError.getCore(client);
1469
1667
  return await require_InvalidParamError.createApiClient({}, client).getPasskeyRegistrationOptions({ environmentId: core.environmentId });
@@ -1471,6 +1669,7 @@ const getPasskeyRegistrationOptions = async (client) => {
1471
1669
 
1472
1670
  //#endregion
1473
1671
  //#region src/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.ts
1672
+ /** @not-instrumented */
1474
1673
  const serverRegisterPasskey = async ({ registration, createMfaToken }, client) => {
1475
1674
  const core = require_InvalidParamError.getCore(client);
1476
1675
  return await require_InvalidParamError.createApiClient({ elevatedAccessTokenScope: _dynamic_labs_sdk_api_core.TokenScope.Credentiallink }, client).registerPasskey({
@@ -1499,6 +1698,7 @@ const serverRegisterPasskey = async ({ registration, createMfaToken }, client) =
1499
1698
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1500
1699
  * @returns A promise that resolves to the registration response.
1501
1700
  * @throws NoWebAuthNSupportError If WebAuthn is not supported by the browser.
1701
+ * @instrumented
1502
1702
  */
1503
1703
  const registerPasskey = async ({ createMfaToken } = {}, client = require_InvalidParamError.getDefaultClient()) => {
1504
1704
  const core = require_InvalidParamError.getCore(client);
@@ -1514,6 +1714,7 @@ const registerPasskey = async ({ createMfaToken } = {}, client = require_Invalid
1514
1714
 
1515
1715
  //#endregion
1516
1716
  //#region src/modules/auth/passkeys/getPasskeyAuthenticationSignInOptions/getPasskeyAuthenticationSignInOptions.ts
1717
+ /** @not-instrumented */
1517
1718
  const getPasskeyAuthenticationSignInOptions = async ({ relatedOriginRpId } = {}, client) => {
1518
1719
  const core = require_InvalidParamError.getCore(client);
1519
1720
  return await require_InvalidParamError.createApiClient({}, client).getPasskeyAuthenticationSigninOptions({
@@ -1524,6 +1725,7 @@ const getPasskeyAuthenticationSignInOptions = async ({ relatedOriginRpId } = {},
1524
1725
 
1525
1726
  //#endregion
1526
1727
  //#region src/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.ts
1728
+ /** @not-instrumented */
1527
1729
  const serverSigninPasskey = async ({ authentication, createMfaToken }, client) => {
1528
1730
  const core = require_InvalidParamError.getCore(client);
1529
1731
  return await require_InvalidParamError.createApiClient({}, client).signinWithPasskey({
@@ -1551,6 +1753,7 @@ const serverSigninPasskey = async ({ authentication, createMfaToken }, client) =
1551
1753
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1552
1754
  * @returns A promise that resolves to the authentication response.
1553
1755
  * @throws NoWebAuthNSupportError If WebAuthn is not supported by the browser.
1756
+ * @instrumented
1554
1757
  */
1555
1758
  const signInWithPasskey = async ({ relatedOriginRpId } = {}, client = require_InvalidParamError.getDefaultClient()) => {
1556
1759
  const core = require_InvalidParamError.getCore(client);
@@ -1568,6 +1771,7 @@ const signInWithPasskey = async ({ relatedOriginRpId } = {}, client = require_In
1568
1771
  *
1569
1772
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1570
1773
  * @returns An array of `SocialAccount` objects associated with the user.
1774
+ * @instrumented
1571
1775
  */
1572
1776
  const getUserSocialAccounts = (client = require_InvalidParamError.getDefaultClient()) => {
1573
1777
  const { user } = client;
@@ -1585,6 +1789,7 @@ const getUserSocialAccounts = (client = require_InvalidParamError.getDefaultClie
1585
1789
 
1586
1790
  //#endregion
1587
1791
  //#region src/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.ts
1792
+ /** @not-instrumented */
1588
1793
  const removeDynamicOauthParamsFromUrl = (url) => {
1589
1794
  const urlObject = new URL(url);
1590
1795
  urlObject.searchParams.delete("dynamicOauthState");
@@ -1606,6 +1811,7 @@ const redirectStateStorageKeySchema = require_getNetworkProviderFromNetworkId.cr
1606
1811
 
1607
1812
  //#endregion
1608
1813
  //#region src/utils/digestSHA256/digestSHA256.ts
1814
+ /** @not-instrumented */
1609
1815
  const digestSHA256 = (str) => {
1610
1816
  const data = new TextEncoder().encode(str);
1611
1817
  return crypto.subtle.digest("SHA-256", data);
@@ -1618,6 +1824,7 @@ const digestSHA256 = (str) => {
1618
1824
  *
1619
1825
  * @param str - The string to encode as an ArrayBuffer.
1620
1826
  * @returns The base64url encoded string.
1827
+ * @not-instrumented
1621
1828
  */
1622
1829
  const encodeBase64Url = (str) => {
1623
1830
  const numberArray = [];
@@ -1629,7 +1836,8 @@ const encodeBase64Url = (str) => {
1629
1836
  //#region src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.ts
1630
1837
  const APPLE_RESPONSE_MODE = "form_post";
1631
1838
  const APPLE_RESPONSE_TYPE = "code id_token";
1632
- /** Helper function to add OAuth URL parameters to a given base URL. */
1839
+ /** Helper function to add OAuth URL parameters to a given base URL. * @not-instrumented
1840
+ */
1633
1841
  const addOAuthUrlParams = (provider, baseUrl, options = {}) => {
1634
1842
  require_InvalidParamError.assertDefined(provider.clientId, "Client ID not found");
1635
1843
  require_InvalidParamError.assertDefined(provider.provider, "Provider type not found");
@@ -1656,7 +1864,8 @@ const addOAuthUrlParams = (provider, baseUrl, options = {}) => {
1656
1864
 
1657
1865
  //#endregion
1658
1866
  //#region src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.ts
1659
- /** Helper function to build the OAuth base URL for a given provider. */
1867
+ /** Helper function to build the OAuth base URL for a given provider. * @not-instrumented
1868
+ */
1660
1869
  const getOAuthBaseUrl = (provider) => {
1661
1870
  require_InvalidParamError.assertDefined(provider.provider, "Provider type not found");
1662
1871
  const providerType = provider.provider;
@@ -1676,7 +1885,8 @@ const getOAuthBaseUrl = (provider) => {
1676
1885
  //#endregion
1677
1886
  //#region src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/buildOAuthUrl.ts
1678
1887
  const providersRequiringPkce = ["twitter", "github"];
1679
- /** Helper function to build the OAuth URL for a given provider. */
1888
+ /** Helper function to build the OAuth URL for a given provider. * @not-instrumented
1889
+ */
1680
1890
  const buildOAuthUrl = async (core, provider) => {
1681
1891
  const { projectSettings } = core.state.get();
1682
1892
  require_InvalidParamError.assertDefined(projectSettings, "Project settings not found");
@@ -1716,6 +1926,7 @@ const buildOAuthUrl = async (core, provider) => {
1716
1926
  * @param params.provider - The social provider to authenticate with (e.g., 'google', 'github').
1717
1927
  * @param params.redirectUrl - The URL to redirect back to after authentication.
1718
1928
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1929
+ * @instrumented
1719
1930
  */
1720
1931
  const authenticateWithSocial = async ({ provider, redirectUrl }, client = require_InvalidParamError.getDefaultClient()) => {
1721
1932
  const core = require_InvalidParamError.getCore(client);
@@ -1752,6 +1963,7 @@ const authenticateWithSocial = async ({ provider, redirectUrl }, client = requir
1752
1963
  * @returns A promise that resolves to the authenticated user or null.
1753
1964
  * @throws MissingSocialUrlParamError If required OAuth parameters are missing.
1754
1965
  * @throws InvalidRedirectStorageStateError If the stored state doesn't match.
1966
+ * @instrumented
1755
1967
  */
1756
1968
  const completeSocialAuthentication = async ({ url }, client = require_InvalidParamError.getDefaultClient()) => {
1757
1969
  const core = require_InvalidParamError.getCore(client);
@@ -1801,6 +2013,7 @@ const completeSocialAuthentication = async ({ url }, client = require_InvalidPar
1801
2013
  * @param params.url - The URL to check for OAuth redirect parameters.
1802
2014
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1803
2015
  * @returns A promise that resolves to true if the URL is an OAuth redirect, false otherwise.
2016
+ * @instrumented
1804
2017
  */
1805
2018
  const detectOAuthRedirect = async ({ url }, client = require_InvalidParamError.getDefaultClient()) => {
1806
2019
  const core = require_InvalidParamError.getCore(client);
@@ -1820,6 +2033,7 @@ const detectOAuthRedirect = async ({ url }, client = require_InvalidParamError.g
1820
2033
  * The primary wallet account is the one that was last selected by the user.
1821
2034
  * This information is stored in both unverified and verified wallet accounts.
1822
2035
  * This function consolidates this information to determine which wallet was most recently selected.
2036
+ * @instrumented
1823
2037
  */
1824
2038
  const getPrimaryWalletAccount = (client = require_InvalidParamError.getDefaultClient()) => {
1825
2039
  const sortedLastSelectedWalletAccounts = require_getVerifiedCredentialForWalletAccount.getWalletAccounts(client).filter((walletAccount) => Boolean(walletAccount.lastSelectedAt)).sort((a, b) => b.lastSelectedAt.getTime() - a.lastSelectedAt.getTime());
@@ -1836,6 +2050,7 @@ const getPrimaryWalletAccount = (client = require_InvalidParamError.getDefaultCl
1836
2050
  * @param params.verifiedCredentialId - The verified credential ID of the social account to unlink.
1837
2051
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1838
2052
  * @returns A promise that resolves to the verify response.
2053
+ * @instrumented
1839
2054
  */
1840
2055
  const unlinkSocialAccount = async ({ verifiedCredentialId }, client = require_InvalidParamError.getDefaultClient()) => {
1841
2056
  const core = require_InvalidParamError.getCore(client);
@@ -1862,6 +2077,7 @@ const unlinkSocialAccount = async ({ verifiedCredentialId }, client = require_In
1862
2077
  * @param params.walletAccount - The wallet account to get the balances for.
1863
2078
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1864
2079
  * @returns A promise that resolves to an array of token balances.
2080
+ * @not-instrumented
1865
2081
  */
1866
2082
  const getBalances = async ({ walletAccount, networkId, includePrices, includeNative, filterSpamTokens, whitelistedContracts, forceRefresh }, client = require_InvalidParamError.getDefaultClient()) => {
1867
2083
  const core = require_InvalidParamError.getCore(client);
@@ -1894,6 +2110,7 @@ const getBalances = async ({ walletAccount, networkId, includePrices, includeNat
1894
2110
  * @param params.balanceRequest - The balance request configuration specifying which chains, networks and addresses to query.
1895
2111
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1896
2112
  * @returns A promise that resolves to the chain balances across multiple networks.
2113
+ * @instrumented
1897
2114
  */
1898
2115
  const getMultichainBalances = async ({ balanceRequest }, client = require_InvalidParamError.getDefaultClient()) => {
1899
2116
  const core = require_InvalidParamError.getCore(client);
@@ -1905,6 +2122,7 @@ const getMultichainBalances = async ({ balanceRequest }, client = require_Invali
1905
2122
 
1906
2123
  //#endregion
1907
2124
  //#region src/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.ts
2125
+ /** @not-instrumented */
1908
2126
  const createCheckoutSessionTokenStorageKey = (transactionId) => {
1909
2127
  return require_getNetworkProviderFromNetworkId.createStorageKeySchema({
1910
2128
  key: `checkoutSessionToken:${transactionId}`,
@@ -1914,6 +2132,7 @@ const createCheckoutSessionTokenStorageKey = (transactionId) => {
1914
2132
 
1915
2133
  //#endregion
1916
2134
  //#region src/modules/checkout/utils/createCheckoutApiClient/createCheckoutApiClient.ts
2135
+ /** @not-instrumented */
1917
2136
  const createCheckoutApiClient = async ({ transactionId }, client) => {
1918
2137
  const core = require_InvalidParamError.getCore(client);
1919
2138
  const apiClient = require_InvalidParamError.createApiClient({}, client);
@@ -1934,6 +2153,7 @@ const createCheckoutApiClient = async ({ transactionId }, client) => {
1934
2153
  * @param params AttachCheckoutTransactionSourceParams - The source details to attach.
1935
2154
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1936
2155
  * @returns The updated checkout transaction
2156
+ * @instrumented
1937
2157
  */
1938
2158
  const attachCheckoutTransactionSource = async ({ fromAddress, fromChainId, fromChainName, transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
1939
2159
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -1958,6 +2178,7 @@ const attachCheckoutTransactionSource = async ({ fromAddress, fromChainId, fromC
1958
2178
  * @param params BroadcastCheckoutTransactionParams - The transaction ID and tx hash.
1959
2179
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1960
2180
  * @returns The updated checkout transaction
2181
+ * @instrumented
1961
2182
  */
1962
2183
  const broadcastCheckoutTransaction = async ({ transactionId, txHash }, client = require_InvalidParamError.getDefaultClient()) => {
1963
2184
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -1977,6 +2198,7 @@ const broadcastCheckoutTransaction = async ({ transactionId, txHash }, client =
1977
2198
  * @param params CancelCheckoutTransactionParams - The transaction to cancel.
1978
2199
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1979
2200
  * @returns The cancelled checkout transaction
2201
+ * @instrumented
1980
2202
  */
1981
2203
  const cancelCheckoutTransaction = async ({ transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
1982
2204
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -1991,6 +2213,7 @@ const cancelCheckoutTransaction = async ({ transactionId }, client = require_Inv
1991
2213
 
1992
2214
  //#endregion
1993
2215
  //#region src/modules/checkout/getCheckouts/getCheckouts.ts
2216
+ /** @not-instrumented */
1994
2217
  const getCheckouts = async (client) => {
1995
2218
  const projectSettings = client.projectSettings;
1996
2219
  require_InvalidParamError.assertDefined(projectSettings, "Project settings are not available");
@@ -2005,6 +2228,7 @@ const getCheckouts = async (client) => {
2005
2228
  * @param params CreateCheckoutTransactionParams - The parameters for the checkout transaction.
2006
2229
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2007
2230
  * @returns The created transaction with session token
2231
+ * @instrumented
2008
2232
  */
2009
2233
  const createCheckoutTransaction = async (params, client = require_InvalidParamError.getDefaultClient()) => {
2010
2234
  const core = require_InvalidParamError.getCore(client);
@@ -2018,7 +2242,7 @@ const createCheckoutTransaction = async (params, client = require_InvalidParamEr
2018
2242
  amount: params.amount,
2019
2243
  currency: params.currency,
2020
2244
  expiresIn: params.expiresIn,
2021
- externalId: params.externalId
2245
+ memo: params.memo
2022
2246
  },
2023
2247
  environmentId: core.environmentId
2024
2248
  });
@@ -2034,6 +2258,7 @@ const createCheckoutTransaction = async (params, client = require_InvalidParamEr
2034
2258
  * @param params GetCheckoutTransactionParams - The parameters for fetching the transaction.
2035
2259
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2036
2260
  * @returns The checkout transaction
2261
+ * @instrumented
2037
2262
  */
2038
2263
  const getCheckoutTransaction = async ({ transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
2039
2264
  const core = require_InvalidParamError.getCore(client);
@@ -2051,6 +2276,7 @@ const getCheckoutTransaction = async ({ transactionId }, client = require_Invali
2051
2276
  * @param params GetCheckoutTransactionQuoteParams - The quote parameters.
2052
2277
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2053
2278
  * @returns The updated checkout transaction with quote data
2279
+ * @instrumented
2054
2280
  */
2055
2281
  const getCheckoutTransactionQuote = async ({ fromTokenAddress, slippage, transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
2056
2282
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -2075,6 +2301,7 @@ const getCheckoutTransactionQuote = async ({ fromTokenAddress, slippage, transac
2075
2301
  * @param params PrepareCheckoutTransactionParams - The transaction to prepare.
2076
2302
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2077
2303
  * @returns The updated checkout transaction
2304
+ * @instrumented
2078
2305
  */
2079
2306
  const prepareCheckoutTransaction = async ({ transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
2080
2307
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -2124,6 +2351,7 @@ function assertWalletProviderMethodDefined(walletProvider, methodName) {
2124
2351
  * @param params SubmitCheckoutTransactionParams - The transaction ID, wallet account, and optional step callback.
2125
2352
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2126
2353
  * @returns The broadcasted checkout transaction
2354
+ * @instrumented
2127
2355
  */
2128
2356
  const submitCheckoutTransaction = async ({ onStepChange, transactionId, walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
2129
2357
  const prepared = await prepareCheckoutTransaction({ transactionId }, client);
@@ -2149,6 +2377,7 @@ const submitCheckoutTransaction = async ({ onStepChange, transactionId, walletAc
2149
2377
  //#endregion
2150
2378
  //#region src/modules/deviceRegistration/completeDeviceRegistration/completeDeviceRegistration.ts
2151
2379
  const DEVICE_REGISTRATION_TOKEN_HEADER = "x-dynamic-device-registration-token";
2380
+ /** @instrumented */
2152
2381
  const completeDeviceRegistration = async ({ deviceToken }, client = require_InvalidParamError.getDefaultClient()) => {
2153
2382
  require_InvalidParamError.assertDefined(deviceToken, "deviceToken is required");
2154
2383
  const core = require_InvalidParamError.getCore(client);
@@ -2168,6 +2397,7 @@ const completeDeviceRegistration = async ({ deviceToken }, client = require_Inva
2168
2397
  *
2169
2398
  * @returns The device token as a string if valid.
2170
2399
  * @throws InvalidDeviceRegistrationRedirectError If the URL is not a valid device registration redirect.
2400
+ * @instrumented
2171
2401
  */
2172
2402
  const getDeviceRegistrationTokenFromUrl = ({ url }) => {
2173
2403
  let urlObject;
@@ -2190,6 +2420,7 @@ const getDeviceRegistrationTokenFromUrl = ({ url }) => {
2190
2420
  * if it contains device registration redirect data from a device authentication flow.
2191
2421
  *
2192
2422
  * @returns True if the URL is a device registration redirect, false otherwise.
2423
+ * @instrumented
2193
2424
  */
2194
2425
  const detectDeviceRegistrationRedirect = ({ url }) => {
2195
2426
  try {
@@ -2202,6 +2433,7 @@ const detectDeviceRegistrationRedirect = ({ url }) => {
2202
2433
 
2203
2434
  //#endregion
2204
2435
  //#region src/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.ts
2436
+ /** @instrumented */
2205
2437
  const getRegisteredDevices = async (client = require_InvalidParamError.getDefaultClient()) => {
2206
2438
  const core = require_InvalidParamError.getCore(client);
2207
2439
  const apiClient = require_InvalidParamError.createApiClient({}, client);
@@ -2227,11 +2459,13 @@ const getRegisteredDevices = async (client = require_InvalidParamError.getDefaul
2227
2459
  *
2228
2460
  * @param user - The user to check.
2229
2461
  * @returns True if device registration is required, false otherwise.
2462
+ * @not-instrumented
2230
2463
  */
2231
2464
  const isDeviceRegistrationRequired = (user) => Boolean(user.scope?.includes("device:register"));
2232
2465
 
2233
2466
  //#endregion
2234
2467
  //#region src/modules/deviceRegistration/revokeAllRegisteredDevices/revokeAllRegisteredDevices.ts
2468
+ /** @instrumented */
2235
2469
  const revokeAllRegisteredDevices = async (client = require_InvalidParamError.getDefaultClient()) => {
2236
2470
  const core = require_InvalidParamError.getCore(client);
2237
2471
  await require_InvalidParamError.createApiClient({}, client).deleteAllDeviceRegistrations({ environmentId: core.environmentId });
@@ -2240,6 +2474,7 @@ const revokeAllRegisteredDevices = async (client = require_InvalidParamError.get
2240
2474
 
2241
2475
  //#endregion
2242
2476
  //#region src/modules/deviceRegistration/revokeRegisteredDevice/revokeRegisteredDevice.ts
2477
+ /** @instrumented */
2243
2478
  const revokeRegisteredDevice = async ({ deviceRegistrationId }, client = require_InvalidParamError.getDefaultClient()) => {
2244
2479
  require_InvalidParamError.assertDefined(deviceRegistrationId, "deviceRegistrationId is required");
2245
2480
  const core = require_InvalidParamError.getCore(client);
@@ -2259,6 +2494,7 @@ const revokeRegisteredDevice = async ({ deviceRegistrationId }, client = require
2259
2494
  * @returns A function to remove the listener.
2260
2495
  * @throws {ValueMustBeDefinedError} If the window is not available.
2261
2496
  * @docs https://docs.cdp.coinbase.com/onramp-&-offramp/onramp-apis/apple-pay-onramp-api#events-names
2497
+ * @instrumented
2262
2498
  */
2263
2499
  const addCoinbaseOnrampOrderEventListener = ({ listener }, client = require_InvalidParamError.getDefaultClient()) => {
2264
2500
  const core = require_InvalidParamError.getCore(client);
@@ -2299,6 +2535,7 @@ const addCoinbaseOnrampOrderEventListener = ({ listener }, client = require_Inva
2299
2535
  * @returns FieldMissingVerificationForCoinbaseOnramp[] - An array of fields that are missing verification for a Coinbase onramp order
2300
2536
  * @throws {InvalidParamError} - If the payment method is not valid
2301
2537
  * @throws {ValueMustBeDefinedError} - If the user is not authenticated
2538
+ * @instrumented
2302
2539
  */
2303
2540
  const getMissingVerificationForCoinbaseOnrampOrder = ({ paymentMethod }, client = require_InvalidParamError.getDefaultClient()) => {
2304
2541
  if (paymentMethod !== "GUEST_CHECKOUT_APPLE_PAY") throw new require_InvalidParamError.InvalidParamError(`Invalid payment method: ${paymentMethod}`);
@@ -2336,6 +2573,7 @@ const getMissingVerificationForCoinbaseOnrampOrder = ({ paymentMethod }, client
2336
2573
 
2337
2574
  //#endregion
2338
2575
  //#region src/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/validateUserCredentialsForCoinbaseOnrampOrder.ts
2576
+ /** @not-instrumented */
2339
2577
  const validateUserCredentialsForCoinbaseOnrampOrder = (client) => {
2340
2578
  const { user } = client;
2341
2579
  require_InvalidParamError.assertDefined(user, "User is not authenticated");
@@ -2365,6 +2603,7 @@ const validateUserCredentialsForCoinbaseOnrampOrder = (client) => {
2365
2603
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2366
2604
  * @returns The created order
2367
2605
  * @throws {MissingUserVerificationError} If the user is missing verification for email or phone
2606
+ * @instrumented
2368
2607
  */
2369
2608
  const createCoinbaseOnrampOrder = async (orderParams, client = require_InvalidParamError.getDefaultClient()) => {
2370
2609
  const user = validateUserCredentialsForCoinbaseOnrampOrder(client);
@@ -2397,6 +2636,7 @@ const createCoinbaseOnrampOrder = async (orderParams, client = require_InvalidPa
2397
2636
  * @param buyUrlParams CoinbaseOnrampGetBuyUrlRequest - The parameters for the buy URL.
2398
2637
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2399
2638
  * @returns an object containing the buy URL
2639
+ * @instrumented
2400
2640
  */
2401
2641
  const getCoinbaseBuyUrl = async (buyUrlParams, client = require_InvalidParamError.getDefaultClient()) => {
2402
2642
  const core = require_InvalidParamError.getCore(client);
@@ -2414,6 +2654,7 @@ const getCoinbaseBuyUrl = async (buyUrlParams, client = require_InvalidParamErro
2414
2654
  * @param paymentParams CryptoDotComPaymentCreateRequest - The parameters for the payment.
2415
2655
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2416
2656
  * @returns The created payment
2657
+ * @instrumented
2417
2658
  */
2418
2659
  const createCryptoDotComPayment = async (paymentParams, client = require_InvalidParamError.getDefaultClient()) => {
2419
2660
  const core = require_InvalidParamError.getCore(client);
@@ -2434,6 +2675,7 @@ const createCryptoDotComPayment = async (paymentParams, client = require_Invalid
2434
2675
  * @param transferParams - The parameters for the transfer including accountId
2435
2676
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2436
2677
  * @returns The created transfer
2678
+ * @not-instrumented
2437
2679
  */
2438
2680
  const createKrakenExchangeTransfer = async (transferParams, client = require_InvalidParamError.getDefaultClient()) => {
2439
2681
  const core = require_InvalidParamError.getCore(client);
@@ -2455,6 +2697,7 @@ const createKrakenExchangeTransfer = async (transferParams, client = require_Inv
2455
2697
  * @param [params] GetKrakenAccountsParams - Optional filters for the accounts.
2456
2698
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2457
2699
  * @returns Array of Kraken accounts with balances
2700
+ * @not-instrumented
2458
2701
  */
2459
2702
  const getKrakenAccounts = async (params, client = require_InvalidParamError.getDefaultClient()) => {
2460
2703
  const core = require_InvalidParamError.getCore(client);
@@ -2473,6 +2716,7 @@ const getKrakenAccounts = async (params, client = require_InvalidParamError.getD
2473
2716
  *
2474
2717
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2475
2718
  * @returns Transfer destinations response with whitelisted addresses
2719
+ * @instrumented
2476
2720
  */
2477
2721
  const getKrakenWhitelistedAddresses = async (client = require_InvalidParamError.getDefaultClient()) => {
2478
2722
  const core = require_InvalidParamError.getCore(client);
@@ -2482,6 +2726,20 @@ const getKrakenWhitelistedAddresses = async (client = require_InvalidParamError.
2482
2726
  });
2483
2727
  };
2484
2728
 
2729
+ //#endregion
2730
+ //#region src/modules/instrumentation/setInstrumentationEnabled/setInstrumentationEnabled.ts
2731
+ /**
2732
+ * Enables or disables event collection for the client's instrumentation service.
2733
+ *
2734
+ * When enabled, events are forwarded to the configured transport on every
2735
+ * instrumented function call. When disabled, instrumented functions run
2736
+ * normally but emit no telemetry.
2737
+ * @instrumented
2738
+ */
2739
+ const setInstrumentationEnabled = (enabled, client = require_InvalidParamError.getDefaultClient()) => {
2740
+ require_InvalidParamError.getCore(client).instrumentation.setEnabled(enabled);
2741
+ };
2742
+
2485
2743
  //#endregion
2486
2744
  //#region src/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.ts
2487
2745
  /**
@@ -2489,6 +2747,7 @@ const getKrakenWhitelistedAddresses = async (client = require_InvalidParamError.
2489
2747
  * and are ready for use.
2490
2748
  *
2491
2749
  * @returns a promise that resolves once the client is fully initialized.
2750
+ * @instrumented
2492
2751
  */
2493
2752
  const waitForClientInitialized = async (client = require_InvalidParamError.getDefaultClient()) => {
2494
2753
  await require_InvalidParamError.getCore(client).initTrack.waitForAll();
@@ -2498,6 +2757,7 @@ const waitForClientInitialized = async (client = require_InvalidParamError.getDe
2498
2757
  //#region src/modules/legacyWalletBook/getWalletBookCdnUrl/getWalletBookCdnUrl.ts
2499
2758
  /**
2500
2759
  * Default CDN URL for the wallet book.
2760
+ * @not-instrumented
2501
2761
  */
2502
2762
  const DEFAULT_WALLET_BOOK_CDN_URL = "https://dynamic-static-assets.com/wallet-book/v1/stable/wallet-book.json";
2503
2763
  /**
@@ -2509,6 +2769,7 @@ const DEFAULT_WALLET_BOOK_CDN_URL = "https://dynamic-static-assets.com/wallet-bo
2509
2769
  * 4. Default CDN URL
2510
2770
  *
2511
2771
  * @returns The wallet book CDN URL to use.
2772
+ * @not-instrumented
2512
2773
  */
2513
2774
  const getWalletBookCdnUrl = () => {
2514
2775
  if (typeof process !== "undefined" && process.env) {
@@ -2522,6 +2783,7 @@ const getWalletBookCdnUrl = () => {
2522
2783
  //#region src/modules/legacyWalletBook/fetchLegacyWalletBook/fetchWithTimeout/fetchWithTimeout.ts
2523
2784
  /**
2524
2785
  * The timeout for each fetch attempt in milliseconds.
2786
+ * @not-instrumented
2525
2787
  */
2526
2788
  const FETCH_TIMEOUT_MS = 3e4;
2527
2789
  /**
@@ -2529,6 +2791,7 @@ const FETCH_TIMEOUT_MS = 3e4;
2529
2791
  *
2530
2792
  * @param client - The Dynamic client instance.
2531
2793
  * @returns A promise that resolves to the wallet book data.
2794
+ * @not-instrumented
2532
2795
  */
2533
2796
  const fetchWithTimeout = async (client) => {
2534
2797
  const controller = new AbortController();
@@ -2560,6 +2823,7 @@ const walletBookCacheStorageKeySchema = require_getNetworkProviderFromNetworkId.
2560
2823
  //#region src/modules/legacyWalletBook/fetchLegacyWalletBook/fetchLegacyWalletBook.ts
2561
2824
  /**
2562
2825
  * The maximum number of retry attempts.
2826
+ * @not-instrumented
2563
2827
  */
2564
2828
  const MAX_RETRIES = 3;
2565
2829
  /**
@@ -2576,6 +2840,7 @@ const RETRY_DELAY_MS = 100;
2576
2840
  * @param client - The Dynamic client instance.
2577
2841
  * @returns A promise that resolves to the wallet book data.
2578
2842
  * @throws If both CDN fetch and cache retrieval fail.
2843
+ * @not-instrumented
2579
2844
  */
2580
2845
  const fetchLegacyWalletBook = async (client) => {
2581
2846
  const core = require_InvalidParamError.getCore(client);
@@ -2606,6 +2871,7 @@ const fetchLegacyWalletBook = async (client) => {
2606
2871
  /**
2607
2872
  * Embedded wallet keys that should be filtered out from the WalletConnect catalog.
2608
2873
  * These wallets are not meant to be displayed in wallet selection lists.
2874
+ * @not-instrumented
2609
2875
  */
2610
2876
  const EMBEDDED_WALLET_KEYS = [
2611
2877
  "magicemailotp",
@@ -2625,6 +2891,7 @@ const EMBEDDED_WALLET_KEYS = [
2625
2891
  * @param walletKey - The wallet key identifier.
2626
2892
  * @param wallet - The wallet schema to check.
2627
2893
  * @returns True if the wallet should be filtered out, false otherwise.
2894
+ * @not-instrumented
2628
2895
  */
2629
2896
  const shouldFilterWallet = (walletKey, wallet) => {
2630
2897
  if (EMBEDDED_WALLET_KEYS.includes(walletKey)) return true;
@@ -2643,6 +2910,7 @@ const shouldFilterWallet = (walletKey, wallet) => {
2643
2910
  *
2644
2911
  * @param params.spriteId - The sprite identifier from the wallet book.
2645
2912
  * @returns The full URL to the sprite icon
2913
+ * @not-instrumented
2646
2914
  */
2647
2915
  const getSpriteUrl = ({ spriteId }) => `${require_InvalidParamError.DYNAMIC_ICONIC_SPRITE_URL}#${spriteId}`;
2648
2916
 
@@ -2650,6 +2918,7 @@ const getSpriteUrl = ({ spriteId }) => `${require_InvalidParamError.DYNAMIC_ICON
2650
2918
  //#region src/modules/legacyWalletBook/getWalletConnectCatalog/transformGroup/transformGroup.ts
2651
2919
  /**
2652
2920
  * Transforms a wallet group schema into a WalletConnect catalog group.
2921
+ * @not-instrumented
2653
2922
  */
2654
2923
  const transformGroup = ({ group }) => {
2655
2924
  const spriteId = group.brand?.spriteId ?? "";
@@ -2665,6 +2934,7 @@ const transformGroup = ({ group }) => {
2665
2934
  //#region src/modules/legacyWalletBook/getWalletConnectCatalog/getChainFromWalletSchema/getChainFromWalletSchema.ts
2666
2935
  /**
2667
2936
  * Maps wallet book injected config chain identifiers to Chain type.
2937
+ * @not-instrumented
2668
2938
  */
2669
2939
  const INJECTED_CHAIN_TO_CHAIN_MAP = {
2670
2940
  algo: "ALGO",
@@ -2775,6 +3045,7 @@ const getChainFromWalletKey = ({ walletKey }) => {
2775
3045
  * @param params.wallet - The wallet schema from the wallet book.
2776
3046
  * @param params.walletKey - The wallet key identifier (optional, used as last resort fallback).
2777
3047
  * @returns The chain type, defaults to EVM if no chain can be determined.
3048
+ * @not-instrumented
2778
3049
  */
2779
3050
  const getChainFromWalletSchema = ({ wallet, walletKey }) => {
2780
3051
  if (wallet.injectedConfig && wallet.injectedConfig.length > 0) {
@@ -2799,6 +3070,7 @@ const getChainFromWalletSchema = ({ wallet, walletKey }) => {
2799
3070
  //#region src/modules/legacyWalletBook/getWalletConnectCatalog/transformWallet/transformWallet.ts
2800
3071
  /**
2801
3072
  * Transforms a wallet schema into a WalletConnect catalog wallet entry.
3073
+ * @not-instrumented
2802
3074
  */
2803
3075
  const transformWallet = ({ wallet, walletKey }) => {
2804
3076
  const spriteId = wallet.brand?.spriteId ?? "";
@@ -2829,6 +3101,7 @@ const transformWallet = ({ wallet, walletKey }) => {
2829
3101
  /**
2830
3102
  * Transforms the legacy wallet book into a WalletConnect catalog structure.
2831
3103
  * Filters out embedded wallets and injected-only wallets.
3104
+ * @not-instrumented
2832
3105
  */
2833
3106
  const transformWalletBook = ({ walletBook }) => {
2834
3107
  const groups = {};
@@ -2858,6 +3131,7 @@ const transformWalletBook = ({ walletBook }) => {
2858
3131
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2859
3132
  * @returns A promise that resolves to the WalletConnect catalog containing groups and wallets.
2860
3133
  * @throws If unable to fetch the wallet book from the API (when both CDN fetch and cache retrieval fail).
3134
+ * @instrumented
2861
3135
  */
2862
3136
  const getWalletConnectCatalog = async (client = require_InvalidParamError.getDefaultClient()) => {
2863
3137
  return transformWalletBook({ walletBook: await fetchLegacyWalletBook(client) });
@@ -2871,6 +3145,7 @@ const getWalletConnectCatalog = async (client = require_InvalidParamError.getDef
2871
3145
  *
2872
3146
  * @param params.normalizedWalletNameWithChain - The normalized wallet name with chain suffix.
2873
3147
  * @returns The chain if found, undefined otherwise.
3148
+ * @not-instrumented
2874
3149
  */
2875
3150
  const extractChainFromNormalizedName = ({ normalizedWalletNameWithChain }) => {
2876
3151
  const lowerName = normalizedWalletNameWithChain.toLowerCase();
@@ -2890,6 +3165,7 @@ const extractChainFromNormalizedName = ({ normalizedWalletNameWithChain }) => {
2890
3165
  * @param params.walletProviderKey - The wallet provider key to get the catalog wallet entry for.
2891
3166
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2892
3167
  * @returns A promise that resolves to the WalletConnect catalog wallet entry, or undefined if not found.
3168
+ * @instrumented
2893
3169
  */
2894
3170
  const getWalletConnectCatalogWalletByWalletProviderKey = async ({ walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
2895
3171
  const { normalizedWalletNameWithChain } = require_getVerifiedCredentialForWalletAccount.splitWalletProviderKey(walletProviderKey);
@@ -2919,6 +3195,9 @@ const getWalletConnectCatalogWalletByWalletProviderKey = async ({ walletProvider
2919
3195
  * @param params.userFields - The user fields to update.
2920
3196
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2921
3197
  * @returns A promise that resolves to OTP verification details if verification is required, or undefined.
3198
+ * @instrumented
3199
+
3200
+ * @redact-params
2922
3201
  */
2923
3202
  const updateUser = async ({ userFields }, client = require_InvalidParamError.getDefaultClient()) => {
2924
3203
  const core = require_InvalidParamError.getCore(client);
@@ -2949,6 +3228,7 @@ const updateUser = async ({ userFields }, client = require_InvalidParamError.get
2949
3228
  *
2950
3229
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2951
3230
  * @returns A promise that resolves when the acknowledgment is complete.
3231
+ * @instrumented
2952
3232
  */
2953
3233
  const acknowledgeRecoveryCodes = async (client = require_InvalidParamError.getDefaultClient()) => {
2954
3234
  return updateUser({ userFields: { mfaBackupCodeAcknowledgement: _dynamic_labs_sdk_api_core.MfaBackupCodeAcknowledgement.Complete } }, client);
@@ -2967,6 +3247,7 @@ const acknowledgeRecoveryCodes = async (client = require_InvalidParamError.getDe
2967
3247
  * @param [params.requestedScopes] - Optional scopes to request an elevated access token instead of an MFA token.
2968
3248
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2969
3249
  * @returns A promise that resolves to the MFA authentication response.
3250
+ * @not-instrumented
2970
3251
  */
2971
3252
  const authenticateMfaRecoveryCode = async ({ code, createMfaTokenOptions, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
2972
3253
  const core = require_InvalidParamError.getCore(client);
@@ -2997,6 +3278,7 @@ const authenticateMfaRecoveryCode = async ({ code, createMfaTokenOptions, reques
2997
3278
 
2998
3279
  //#endregion
2999
3280
  //#region src/modules/auth/passkeys/getPasskeyAuthenticationOptions/getPasskeyAuthenticationOptions.ts
3281
+ /** @not-instrumented */
3000
3282
  const getPasskeyAuthenticationOptions = async ({ relatedOriginRpId } = {}, client) => {
3001
3283
  const core = require_InvalidParamError.getCore(client);
3002
3284
  return await require_InvalidParamError.createApiClient({}, client).getPasskeyAuthenticationOptions({
@@ -3007,6 +3289,7 @@ const getPasskeyAuthenticationOptions = async ({ relatedOriginRpId } = {}, clien
3007
3289
 
3008
3290
  //#endregion
3009
3291
  //#region src/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.ts
3292
+ /** @not-instrumented */
3010
3293
  const serverAuthenticatePasskey = async ({ authentication, createMfaToken, requestedScopes }, client) => {
3011
3294
  const core = require_InvalidParamError.getCore(client);
3012
3295
  return await require_InvalidParamError.createApiClient({}, client).authenticateMfaPasskeyDevice({
@@ -3037,6 +3320,7 @@ const serverAuthenticatePasskey = async ({ authentication, createMfaToken, reque
3037
3320
  * @returns A promise that resolves to the MFA authentication response.
3038
3321
  * @throws NoWebAuthNSupportError If WebAuthn is not supported by the browser.
3039
3322
  * @throws NoPasskeyCredentialsFoundError If no passkey credentials are found.
3323
+ * @not-instrumented
3040
3324
  */
3041
3325
  const authenticatePasskeyMFA = async ({ createMfaToken, relatedOriginRpId, requestedScopes } = {}, client = require_InvalidParamError.getDefaultClient()) => {
3042
3326
  const core = require_InvalidParamError.getCore(client);
@@ -3086,6 +3370,7 @@ const authenticatePasskeyMFA = async ({ createMfaToken, relatedOriginRpId, reque
3086
3370
  * @param [params.requestedScopes] - Optional scopes to request an elevated access token instead of an MFA token.
3087
3371
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3088
3372
  * @returns A promise that resolves to the MFA authentication response.
3373
+ * @not-instrumented
3089
3374
  */
3090
3375
  const authenticateTotpMfaDevice = async ({ deviceId, code, createMfaTokenOptions, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
3091
3376
  const core = require_InvalidParamError.getCore(client);
@@ -3131,6 +3416,7 @@ const authenticateTotpMfaDevice = async ({ deviceId, code, createMfaTokenOptions
3131
3416
  *
3132
3417
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3133
3418
  * @returns A promise that resolves to the newly generated recovery codes.
3419
+ * @instrumented
3134
3420
  */
3135
3421
  const createNewMfaRecoveryCodes = async (client = require_InvalidParamError.getDefaultClient()) => {
3136
3422
  const core = require_InvalidParamError.getCore(client);
@@ -3151,6 +3437,7 @@ const createNewMfaRecoveryCodes = async (client = require_InvalidParamError.getD
3151
3437
  * @param params.mfaAuthToken - The MFA authentication token. Optional when using elevated access tokens.
3152
3438
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3153
3439
  * @returns A promise that resolves when the MFA device is successfully deleted.
3440
+ * @instrumented
3154
3441
  */
3155
3442
  const deleteMfaDevice = async ({ deviceId, mfaAuthToken }, client = require_InvalidParamError.getDefaultClient()) => {
3156
3443
  const core = require_InvalidParamError.getCore(client);
@@ -3176,6 +3463,7 @@ const deleteMfaDevice = async ({ deviceId, mfaAuthToken }, client = require_Inva
3176
3463
  *
3177
3464
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3178
3465
  * @returns A promise that resolves to an array of the user's registered MFA devices.
3466
+ * @instrumented
3179
3467
  */
3180
3468
  const getMfaDevices = async (client = require_InvalidParamError.getDefaultClient()) => {
3181
3469
  const core = require_InvalidParamError.getCore(client);
@@ -3195,6 +3483,7 @@ const getMfaDevices = async (client = require_InvalidParamError.getDefaultClient
3195
3483
  *
3196
3484
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3197
3485
  * @returns A promise that resolves to the user's MFA recovery codes.
3486
+ * @instrumented
3198
3487
  */
3199
3488
  const getMfaRecoveryCodes = async (client = require_InvalidParamError.getDefaultClient()) => {
3200
3489
  const core = require_InvalidParamError.getCore(client);
@@ -3211,6 +3500,7 @@ const getMfaRecoveryCodes = async (client = require_InvalidParamError.getDefault
3211
3500
  *
3212
3501
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3213
3502
  * @returns True if recovery codes are pending acknowledgment, false otherwise.
3503
+ * @not-instrumented
3214
3504
  */
3215
3505
  const isPendingRecoveryCodesAcknowledgment = (client = require_InvalidParamError.getDefaultClient()) => {
3216
3506
  const user = client.user;
@@ -3228,6 +3518,7 @@ const isPendingRecoveryCodesAcknowledgment = (client = require_InvalidParamError
3228
3518
  *
3229
3519
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3230
3520
  * @returns True if the user needs additional MFA authentication, false otherwise.
3521
+ * @not-instrumented
3231
3522
  */
3232
3523
  const isUserMissingMfaAuth = (client = require_InvalidParamError.getDefaultClient()) => {
3233
3524
  const user = client.user;
@@ -3246,6 +3537,7 @@ const isUserMissingMfaAuth = (client = require_InvalidParamError.getDefaultClien
3246
3537
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3247
3538
  * @returns A promise that resolves to the TOTP registration response containing setup information,
3248
3539
  * like the secret key and the OTP Auth URI.
3540
+ * @instrumented
3249
3541
  */
3250
3542
  const registerTotpMfaDevice = async (client = require_InvalidParamError.getDefaultClient()) => {
3251
3543
  const core = require_InvalidParamError.getCore(client);
@@ -3263,6 +3555,7 @@ const registerTotpMfaDevice = async (client = require_InvalidParamError.getDefau
3263
3555
  * @param params.deviceId - The unique identifier of the MFA device to set as default.
3264
3556
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3265
3557
  * @returns A promise that resolves when the default MFA device is successfully set.
3558
+ * @instrumented
3266
3559
  */
3267
3560
  const setDefaultMfaDevice = async ({ deviceId }, client = require_InvalidParamError.getDefaultClient()) => {
3268
3561
  const core = require_InvalidParamError.getCore(client);
@@ -3284,6 +3577,9 @@ const setDefaultMfaDevice = async ({ deviceId }, client = require_InvalidParamEr
3284
3577
  * @param params.email - The email address to send the OTP to.
3285
3578
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3286
3579
  * @returns A promise that resolves to an OTPVerification object containing the email and verification UUID.
3580
+ * @instrumented
3581
+
3582
+ * @redact-params
3287
3583
  */
3288
3584
  const sendEmailOTP = async ({ email }, client = require_InvalidParamError.getDefaultClient()) => {
3289
3585
  const core = require_InvalidParamError.getCore(client);
@@ -4230,6 +4526,9 @@ const supportedCountries = {
4230
4526
  * @param params.phoneNumber - The phone number to send the OTP to.
4231
4527
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4232
4528
  * @returns A promise that resolves to an OTPVerification object containing the phone details and verification UUID.
4529
+ * @instrumented
4530
+
4531
+ * @redact-params
4233
4532
  */
4234
4533
  const sendSmsOTP = async ({ isoCountryCode, phoneNumber }, client = require_InvalidParamError.getDefaultClient()) => {
4235
4534
  const core = require_InvalidParamError.getCore(client);
@@ -4254,6 +4553,7 @@ const sendSmsOTP = async ({ isoCountryCode, phoneNumber }, client = require_Inva
4254
4553
 
4255
4554
  //#endregion
4256
4555
  //#region src/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.ts
4556
+ /** @not-instrumented */
4257
4557
  const verifyOTPForUserSignIn = async ({ otpVerification, verificationToken }, client) => {
4258
4558
  const core = require_InvalidParamError.getCore(client);
4259
4559
  const apiClient = require_InvalidParamError.createApiClient({}, client);
@@ -4273,6 +4573,7 @@ const verifyOTPForUserSignIn = async ({ otpVerification, verificationToken }, cl
4273
4573
 
4274
4574
  //#endregion
4275
4575
  //#region src/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.ts
4576
+ /** @not-instrumented */
4276
4577
  const verifyOTPForUserUpdate = async ({ otpVerification, verificationToken, requestedScopes }, client) => {
4277
4578
  const core = require_InvalidParamError.getCore(client);
4278
4579
  const apiClient = require_InvalidParamError.createApiClient({}, client);
@@ -4303,6 +4604,7 @@ const verifyOTPForUserUpdate = async ({ otpVerification, verificationToken, requ
4303
4604
  * @param params.verificationToken - The token received from the OTP verification process.
4304
4605
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4305
4606
  * @returns A promise that resolves to the verify response object upon successful verification.
4607
+ * @instrumented
4306
4608
  */
4307
4609
  const verifyOTP = async ({ otpVerification, verificationToken, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
4308
4610
  let response;
@@ -4329,6 +4631,7 @@ const verifyOTP = async ({ otpVerification, verificationToken, requestedScopes }
4329
4631
  *
4330
4632
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4331
4633
  * @returns A promise that resolves when the user account is successfully deleted.
4634
+ * @instrumented
4332
4635
  */
4333
4636
  const deleteUser = async (client = require_InvalidParamError.getDefaultClient()) => {
4334
4637
  const core = require_InvalidParamError.getCore(client);
@@ -4347,6 +4650,7 @@ const deleteUser = async (client = require_InvalidParamError.getDefaultClient())
4347
4650
  *
4348
4651
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4349
4652
  * @returns True if onboarding is complete (no pending requirements), false if there are pending requirements.
4653
+ * @not-instrumented
4350
4654
  */
4351
4655
  const isUserOnboardingComplete = (client = require_InvalidParamError.getDefaultClient()) => {
4352
4656
  const user = client.user;
@@ -4367,6 +4671,7 @@ const isUserOnboardingComplete = (client = require_InvalidParamError.getDefaultC
4367
4671
  *
4368
4672
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4369
4673
  * @returns A promise that resolves to the authenticated user.
4674
+ * @instrumented
4370
4675
  */
4371
4676
  const refreshUser = async (client = require_InvalidParamError.getDefaultClient()) => {
4372
4677
  const core = require_InvalidParamError.getCore(client);
@@ -4393,6 +4698,7 @@ const refreshUser = async (client = require_InvalidParamError.getDefaultClient()
4393
4698
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4394
4699
  * @returns A promise that resolves if the wallet is available for signing.
4395
4700
  * @throws WalletAccountNotSelectedError If the wallet account is not currently selected.
4701
+ * @not-instrumented
4396
4702
  */
4397
4703
  const assertWalletAccountSigningAvailability = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4398
4704
  const { addresses } = await require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client).getConnectedAddresses();
@@ -4406,18 +4712,22 @@ const assertWalletAccountSigningAvailability = async ({ walletAccount }, client
4406
4712
  //#region src/utils/isMobile/isMobile.ts
4407
4713
  /**
4408
4714
  * Sourced from http://detectmobilebrowsers.com/
4715
+ * @not-instrumented
4409
4716
  */
4410
4717
  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
4718
  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;
4719
+ /** @not-instrumented */
4412
4720
  const isMobile = (maxTouchPointsOverride) => {
4413
4721
  if (typeof window === "undefined" || typeof navigator === "undefined") return false;
4414
4722
  return userAgentRegex1.test(navigator.userAgent) || userAgentRegex2.test(navigator.userAgent.substring(0, 4)) || isIPad(maxTouchPointsOverride) || isIPhone();
4415
4723
  };
4724
+ /** @not-instrumented */
4416
4725
  const isIPhone = () => typeof window === "undefined" || typeof navigator === "undefined" ? false : /iPhone|ios/.test(navigator.userAgent);
4417
4726
  /**
4418
4727
  * @param [optional] maxTouchPointsOverride - this is used for testing since
4419
4728
  * it seems that JSDOM doesn't support maxTouchPoints, so it was impossible
4420
4729
  * to mock it
4730
+ * @not-instrumented
4421
4731
  */
4422
4732
  const isIPad = (maxTouchPointsOverride) => {
4423
4733
  if (typeof window === "undefined" || typeof navigator === "undefined") return false;
@@ -4427,6 +4737,7 @@ const isIPad = (maxTouchPointsOverride) => {
4427
4737
 
4428
4738
  //#endregion
4429
4739
  //#region src/modules/wallets/utils/getAddressesWithTypesFromConnectionResult/getAddressesWithTypesFromConnectionResult.ts
4740
+ /** @not-instrumented */
4430
4741
  const getAddressesWithTypesFromConnectionResult = (connectionResult) => {
4431
4742
  return connectionResult.addresses.filter((address) => !!address.address && !!address.type);
4432
4743
  };
@@ -4447,6 +4758,7 @@ const getAddressesWithTypesFromConnectionResult = (connectionResult) => {
4447
4758
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4448
4759
  * @returns A promise that resolves to the connected wallet account.
4449
4760
  * @throws NoAddressFoundError If the request to connect was successful but no address is connected to your app.
4761
+ * @instrumented
4450
4762
  */
4451
4763
  const connectWithWalletProvider = async ({ walletProviderKey, addToDynamicWalletAccounts = true, hardwareWalletVendor }, client = require_InvalidParamError.getDefaultClient()) => {
4452
4764
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -4491,11 +4803,13 @@ const connectWithWalletProvider = async ({ walletProviderKey, addToDynamicWallet
4491
4803
  * @param params.hardwareWalletVendor - The hardware wallet vendor that produced the signature.
4492
4804
  * @param params.signature - The raw signature string to wrap.
4493
4805
  * @returns The signature wrapped in `{ signedTransaction: { data } }` JSON format.
4806
+ * @not-instrumented
4494
4807
  */
4495
4808
  const formatSignatureForHardwareWallet = ({ signature, hardwareWalletVendor: _ }) => JSON.stringify({ signedTransaction: { data: signature } });
4496
4809
 
4497
4810
  //#endregion
4498
4811
  //#region src/modules/wallets/utils/getChainIdForAccountVerification/getChainIdForAccountVerification.ts
4812
+ /** @not-instrumented */
4499
4813
  const getChainIdForAccountVerification = async ({ walletProvider }) => {
4500
4814
  if ([
4501
4815
  "BTC",
@@ -4509,6 +4823,7 @@ const getChainIdForAccountVerification = async ({ walletProvider }) => {
4509
4823
 
4510
4824
  //#endregion
4511
4825
  //#region src/modules/wallets/utils/getSignInMessage/getSignInMessage.ts
4826
+ /** @not-instrumented */
4512
4827
  const getSignInMessage = async ({ walletAccount }, client) => {
4513
4828
  const core = require_InvalidParamError.getCore(client);
4514
4829
  const universalLink = core.metadata?.universalLink;
@@ -4552,6 +4867,7 @@ const getSignInMessage = async ({ walletAccount }, client) => {
4552
4867
  * @param params.walletAccount - The wallet account to prove ownership of.
4553
4868
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4554
4869
  * @returns A promise that resolves to an object containing the message and signature.
4870
+ * @instrumented
4555
4871
  */
4556
4872
  const proveWalletAccountOwnership = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4557
4873
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -4569,10 +4885,12 @@ const proveWalletAccountOwnership = async ({ walletAccount }, client = require_I
4569
4885
 
4570
4886
  //#endregion
4571
4887
  //#region src/modules/wallets/utils/isSameAddress/isSameAddress.ts
4888
+ /** @not-instrumented */
4572
4889
  const isSameAddress = (left, right, chain) => require_getVerifiedCredentialForWalletAccount.normalizeAddress(left, chain) === require_getVerifiedCredentialForWalletAccount.normalizeAddress(right, chain);
4573
4890
 
4574
4891
  //#endregion
4575
4892
  //#region src/modules/wallets/verifyWalletAccountForSignInOrTransfer/verifyWalletAccountForSignInOrTransfer.ts
4893
+ /** @not-instrumented */
4576
4894
  const verifyWalletAccountForSignInOrTransfer = async ({ walletAccount, isTransfer, requestedScopes }, client) => {
4577
4895
  if (walletAccount.verifiedCredentialId) throw new WalletAccountAlreadyVerifiedError(walletAccount.address);
4578
4896
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -4624,6 +4942,7 @@ const verifyWalletAccountForSignInOrTransfer = async ({ walletAccount, isTransfe
4624
4942
  * @returns A promise that resolves to the verified wallet account.
4625
4943
  * @throws WalletAccountAlreadyVerifiedError If the wallet is already verified.
4626
4944
  * @throws WalletAlreadyLinkedToAnotherUserError If the wallet is linked to another user.
4945
+ * @instrumented
4627
4946
  */
4628
4947
  const verifyWalletAccount = async ({ walletAccount, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
4629
4948
  return verifyWalletAccountForSignInOrTransfer({
@@ -4637,6 +4956,7 @@ const verifyWalletAccount = async ({ walletAccount, requestedScopes }, client =
4637
4956
  //#region src/modules/wallets/walletProvider/isDeeplinkWalletProvider/isDeeplinkWalletProvider.ts
4638
4957
  /**
4639
4958
  * Returns true if the wallet provider uses the deep link protocol (e.g. Phantom redirect on mobile).
4959
+ * @not-instrumented
4640
4960
  */
4641
4961
  const isDeeplinkWalletProvider = ({ walletProvider }) => walletProvider.walletProviderType === _dynamic_labs_sdk_api_core.WalletProviderEnum.DeepLink;
4642
4962
 
@@ -4663,6 +4983,7 @@ const isDeeplinkWalletProvider = ({ walletProvider }) => walletProvider.walletPr
4663
4983
  * @param [params.hardwareWalletVendor] - The hardware wallet vendor, if connecting via a hardware wallet (e.g. 'ledger').
4664
4984
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4665
4985
  * @returns A promise that resolves to the connected and verified wallet account.
4986
+ * @instrumented
4666
4987
  */
4667
4988
  const connectAndVerifyWithWalletProvider = async ({ walletProviderKey, hardwareWalletVendor }, client = require_InvalidParamError.getDefaultClient()) => {
4668
4989
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -4690,6 +5011,7 @@ const connectAndVerifyWithWalletProvider = async ({ walletProviderKey, hardwareW
4690
5011
  *
4691
5012
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4692
5013
  * @returns An array of wallet provider data including chain, keys, and metadata.
5014
+ * @instrumented
4693
5015
  */
4694
5016
  const getAvailableWalletProvidersData = (client = require_InvalidParamError.getDefaultClient()) => {
4695
5017
  return require_getVerifiedCredentialForWalletAccount.getWalletProviders(client).filter((walletProvider) => Boolean(walletProvider.connect)).map((walletProvider) => ({
@@ -4712,6 +5034,7 @@ const getAvailableWalletProvidersData = (client = require_InvalidParamError.getD
4712
5034
  * @param params.walletProviderKey - The unique key of the wallet provider to query.
4713
5035
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4714
5036
  * @returns An array of connected wallet addresses.
5037
+ * @instrumented
4715
5038
  */
4716
5039
  const getConnectedAddresses = ({ walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
4717
5040
  return require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client).getConnectedAddresses();
@@ -4719,6 +5042,7 @@ const getConnectedAddresses = ({ walletProviderKey }, client = require_InvalidPa
4719
5042
 
4720
5043
  //#endregion
4721
5044
  //#region src/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.ts
5045
+ /** @instrumented */
4722
5046
  const getOwnerWalletAccountForSmartWalletAccount = ({ smartWalletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4723
5047
  const smartWalletVerifiedCredential = require_getVerifiedCredentialForWalletAccount.getVerifiedCredentialForWalletAccount({ walletAccount: smartWalletAccount }, client);
4724
5048
  require_InvalidParamError.assertDefined(smartWalletVerifiedCredential?.signerRefId, "Invalid smart wallet account");
@@ -4727,6 +5051,7 @@ const getOwnerWalletAccountForSmartWalletAccount = ({ smartWalletAccount }, clie
4727
5051
 
4728
5052
  //#endregion
4729
5053
  //#region src/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.ts
5054
+ /** @not-instrumented */
4730
5055
  const getWalletAccountAddressByType = ({ type, walletAccount }) => {
4731
5056
  return walletAccount.addressesWithTypes?.find((address) => address.type === type)?.address;
4732
5057
  };
@@ -4739,6 +5064,7 @@ const getWalletAccountAddressByType = ({ type, walletAccount }) => {
4739
5064
  * @param params.walletProviderKey - The key of the wallet provider to retrieve data for.
4740
5065
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4741
5066
  * @returns The data for the wallet provider.
5067
+ * @not-instrumented
4742
5068
  */
4743
5069
  const getWalletProviderDataByKey = ({ walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
4744
5070
  const { chain, groupKey, key, metadata, walletProviderType } = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -4760,6 +5086,7 @@ const getWalletProviderDataByKey = ({ walletProviderKey }, client = require_Inva
4760
5086
  * @param params.hardwareWalletVendor - The hardware wallet vendor to check for.
4761
5087
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4762
5088
  * @returns Whether the wallet provider supports the specified hardware wallet vendor.
5089
+ * @not-instrumented
4763
5090
  */
4764
5091
  const canConnectWithHardwareWallet = ({ walletProviderKey, hardwareWalletVendor }, client = require_InvalidParamError.getDefaultClient()) => {
4765
5092
  return require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client).metadata.supportedHardwareWalletVendors?.includes(hardwareWalletVendor) ?? false;
@@ -4772,6 +5099,7 @@ const canConnectWithHardwareWallet = ({ walletProviderKey, hardwareWalletVendor
4772
5099
  *
4773
5100
  * @param params.walletAccount - The wallet account to check.
4774
5101
  * @returns Whether the wallet account has a hardware wallet vendor set.
5102
+ * @not-instrumented
4775
5103
  */
4776
5104
  const isHardwareWalletAccount = ({ walletAccount }) => walletAccount.hardwareWalletVendor !== void 0;
4777
5105
 
@@ -4782,6 +5110,7 @@ const isHardwareWalletAccount = ({ walletAccount }) => walletAccount.hardwareWal
4782
5110
  *
4783
5111
  * @param walletAccount - The wallet account to check.
4784
5112
  * @returns True if the wallet account has been verified, false otherwise.
5113
+ * @not-instrumented
4785
5114
  */
4786
5115
  const isWalletAccountVerified = ({ walletAccount }) => {
4787
5116
  return walletAccount.verifiedCredentialId !== null;
@@ -4800,6 +5129,7 @@ const isWalletAccountVerified = ({ walletAccount }) => {
4800
5129
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4801
5130
  * @returns A promise that resolves when the network addition is complete.
4802
5131
  * @throws NetworkAddingUnavailableError If the wallet provider doesn't support adding networks.
5132
+ * @instrumented
4803
5133
  */
4804
5134
  const addNetwork = async ({ networkData, walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4805
5135
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey: walletAccount.walletProviderKey }, client);
@@ -4823,6 +5153,7 @@ const addNetwork = async ({ networkData, walletAccount }, client = require_Inval
4823
5153
  * @param params.walletAccount - The wallet account to get network data for.
4824
5154
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4825
5155
  * @returns A promise that resolves to the network data, or undefined if not found.
5156
+ * @instrumented
4826
5157
  */
4827
5158
  const getActiveNetworkData = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4828
5159
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -4838,6 +5169,7 @@ const getActiveNetworkData = async ({ walletAccount }, client = require_InvalidP
4838
5169
  * @param params.walletAccount - The wallet account to get the network ID for.
4839
5170
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4840
5171
  * @returns A promise that resolves to the active network ID for the wallet account.
5172
+ * @instrumented
4841
5173
  */
4842
5174
  const getActiveNetworkId = ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4843
5175
  return require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client).getActiveNetworkId();
@@ -4854,6 +5186,7 @@ const getActiveNetworkId = ({ walletAccount }, client = require_InvalidParamErro
4854
5186
  * @param params.walletAccount - The wallet account to get the balance for.
4855
5187
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4856
5188
  * @returns A promise that resolves to an object containing the balance as a string or null.
5189
+ * @instrumented
4857
5190
  */
4858
5191
  const getBalance = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4859
5192
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -4877,6 +5210,7 @@ const getBalance = async ({ walletAccount }, client = require_InvalidParamError.
4877
5210
  * @param params.networkId - The specific network ID within the chain.
4878
5211
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4879
5212
  * @returns A promise that resolves to an object containing the balance as a string or null.
5213
+ * @instrumented
4880
5214
  */
4881
5215
  const getBalanceForAddress = async ({ address, chain, networkId }, client = require_InvalidParamError.getDefaultClient()) => {
4882
5216
  const networkProvider = require_getNetworkProviderFromNetworkId.getNetworkProviderFromNetworkId({
@@ -4902,6 +5236,7 @@ const getBalanceForAddress = async ({ address, chain, networkId }, client = requ
4902
5236
  * @param [params.offset] - The offset to use for pagination.
4903
5237
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4904
5238
  * @returns A promise that resolves to the transaction history along with nextOffset for the given wallet address and chain.
5239
+ * @instrumented
4905
5240
  */
4906
5241
  const getTransactionHistory = async (params, client = require_InvalidParamError.getDefaultClient()) => {
4907
5242
  const core = require_InvalidParamError.getCore(client);
@@ -4924,6 +5259,7 @@ const getTransactionHistory = async (params, client = require_InvalidParamError.
4924
5259
  * @param params.walletAccount - The wallet account to check network switching support for.
4925
5260
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4926
5261
  * @returns True if programmatic network switching is available, false otherwise.
5262
+ * @not-instrumented
4927
5263
  */
4928
5264
  const isProgrammaticNetworkSwitchAvailable = ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4929
5265
  return require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey: walletAccount.walletProviderKey }, client).switchActiveNetwork !== void 0;
@@ -4942,6 +5278,7 @@ const isProgrammaticNetworkSwitchAvailable = ({ walletAccount }, client = requir
4942
5278
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4943
5279
  * @returns A promise that resolves when the network switch is complete.
4944
5280
  * @throws NetworkSwitchingUnavailableError If the wallet provider doesn't support network switching.
5281
+ * @instrumented
4945
5282
  */
4946
5283
  const switchActiveNetwork = async ({ networkId, walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4947
5284
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey: walletAccount.walletProviderKey }, client);
@@ -4957,6 +5294,7 @@ const switchActiveNetwork = async ({ networkId, walletAccount }, client = requir
4957
5294
  //#region src/modules/wallets/primaryWalletAccount/selectPrimaryWalletAccount/selectPrimaryWalletAccount.ts
4958
5295
  /**
4959
5296
  * Make the wallet account provided as the primary wallet account.
5297
+ * @instrumented
4960
5298
  */
4961
5299
  const selectPrimaryWalletAccount = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4962
5300
  const core = require_InvalidParamError.getCore(client);
@@ -4978,6 +5316,7 @@ const selectPrimaryWalletAccount = async ({ walletAccount }, client = require_In
4978
5316
  *
4979
5317
  * The wallet account is not removed from the user's profile or from dynamic's state,
4980
5318
  * it is only responsible for terminating the connection with the wallet provider.
5319
+ * @not-instrumented
4981
5320
  */
4982
5321
  const disconnectWalletAccount = async ({ walletAccount }, client) => {
4983
5322
  try {
@@ -5000,6 +5339,7 @@ const disconnectWalletAccount = async ({ walletAccount }, client) => {
5000
5339
  * @param params.walletAccount - The wallet account to remove.
5001
5340
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5002
5341
  * @returns A promise that resolves when the wallet account is successfully removed.
5342
+ * @instrumented
5003
5343
  */
5004
5344
  const removeWalletAccount = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
5005
5345
  const core = require_InvalidParamError.getCore(client);
@@ -5027,6 +5367,7 @@ const removeWalletAccount = async ({ walletAccount }, client = require_InvalidPa
5027
5367
  * @param params.message - The message to sign.
5028
5368
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5029
5369
  * @returns A promise that resolves to an object containing the signature.
5370
+ * @instrumented
5030
5371
  */
5031
5372
  const signMessage = async ({ walletAccount, message }, client = require_InvalidParamError.getDefaultClient()) => {
5032
5373
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -5053,6 +5394,7 @@ const signMessage = async ({ walletAccount, message }, client = require_InvalidP
5053
5394
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5054
5395
  * @returns A promise that resolves to an object containing the transaction hash.
5055
5396
  * @throws If the wallet provider does not support the transfer amount method.
5397
+ * @instrumented
5056
5398
  */
5057
5399
  const transferAmount = async ({ walletAccount, amount, recipient, token }, client = require_InvalidParamError.getDefaultClient()) => {
5058
5400
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -5077,6 +5419,7 @@ const transferAmount = async ({ walletAccount, amount, recipient, token }, clien
5077
5419
  * @param params.walletProviderKey - The key of the wallet provider of the wallet account to transfer.
5078
5420
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5079
5421
  * @returns A promise that resolves to the transferred wallet account.
5422
+ * @instrumented
5080
5423
  */
5081
5424
  const transferWalletAccount = async ({ walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
5082
5425
  return verifyWalletAccountForSignInOrTransfer({
@@ -5100,6 +5443,7 @@ const transferWalletAccount = async ({ walletProviderKey }, client = require_Inv
5100
5443
  * @param params.chain - The blockchain the wallet belongs to.
5101
5444
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5102
5445
  * @returns The matching wallet account, or undefined if not found.
5446
+ * @not-instrumented
5103
5447
  */
5104
5448
  const getWalletAccountFromAddress = ({ address, chain }, client = require_InvalidParamError.getDefaultClient()) => {
5105
5449
  return require_getVerifiedCredentialForWalletAccount.getWalletAccounts(client).find((walletAccount) => walletAccount.address === address && walletAccount.chain === chain);
@@ -5116,6 +5460,7 @@ const getWalletAccountFromAddress = ({ address, chain }, client = require_Invali
5116
5460
  * @param params.event - The event name to remove the listener from.
5117
5461
  * @param params.walletProviderKey - The unique key identifying the wallet provider to remove the listener from.
5118
5462
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5463
+ * @instrumented
5119
5464
  */
5120
5465
  const offWalletProviderEvent = ({ callback, event, walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
5121
5466
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -5133,6 +5478,7 @@ const offWalletProviderEvent = ({ callback, event, walletProviderKey }, client =
5133
5478
  * @param params.walletProviderKey - The unique key identifying the wallet provider to listen to.
5134
5479
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5135
5480
  * @returns A function that can be called to remove the listener.
5481
+ * @instrumented
5136
5482
  */
5137
5483
  const onWalletProviderEvent = ({ callback, event, walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
5138
5484
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -5206,6 +5552,7 @@ const osMatchers = [
5206
5552
  pattern: /CrOS/
5207
5553
  }
5208
5554
  ];
5555
+ /** @not-instrumented */
5209
5556
  const parseUserAgent = ({ userAgent }) => {
5210
5557
  if (!userAgent?.trim()) return null;
5211
5558
  const browser = browserMatchers.find(({ pattern }) => pattern.test(userAgent))?.name;
@@ -5355,6 +5702,7 @@ exports.refreshUser = refreshUser;
5355
5702
  exports.registerPasskey = registerPasskey;
5356
5703
  exports.registerTotpMfaDevice = registerTotpMfaDevice;
5357
5704
  exports.removeWalletAccount = removeWalletAccount;
5705
+ exports.requestExternalAuthElevatedToken = requestExternalAuthElevatedToken;
5358
5706
  exports.revokeAllRegisteredDevices = revokeAllRegisteredDevices;
5359
5707
  exports.revokeRegisteredDevice = revokeRegisteredDevice;
5360
5708
  exports.selectPrimaryWalletAccount = selectPrimaryWalletAccount;
@@ -5362,6 +5710,7 @@ exports.sendEmailOTP = sendEmailOTP;
5362
5710
  exports.sendSmsOTP = sendSmsOTP;
5363
5711
  exports.setCaptchaToken = require_getNetworkProviderFromNetworkId.setCaptchaToken;
5364
5712
  exports.setDefaultMfaDevice = setDefaultMfaDevice;
5713
+ exports.setInstrumentationEnabled = setInstrumentationEnabled;
5365
5714
  exports.signInWithExternalJwt = signInWithExternalJwt;
5366
5715
  exports.signInWithPasskey = signInWithPasskey;
5367
5716
  exports.signMessage = signMessage;