@dynamic-labs-sdk/client 0.17.3 → 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 (670) hide show
  1. package/dist/{InvalidParamError-DvFYOkxL.cjs.js → InvalidParamError-Bxg4p9zQ.cjs.js} +21 -4
  2. package/dist/InvalidParamError-Bxg4p9zQ.cjs.js.map +1 -0
  3. package/dist/{InvalidParamError-C8bqZx25.esm.js → InvalidParamError-ByAOflE2.esm.js} +20 -3
  4. package/dist/InvalidParamError-ByAOflE2.esm.js.map +1 -0
  5. package/dist/{NotWaasWalletAccountError-CHSFUjd9.cjs.js → NotWaasWalletAccountError-2CU35ult.cjs.js} +4 -3
  6. package/dist/NotWaasWalletAccountError-2CU35ult.cjs.js.map +1 -0
  7. package/dist/{NotWaasWalletAccountError-C-_6uyUM.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-n7VUDpn0.esm.js → getNetworkProviderFromNetworkId-6QbuR0_i.esm.js} +44 -3
  26. package/dist/getNetworkProviderFromNetworkId-6QbuR0_i.esm.js.map +1 -0
  27. package/dist/{getNetworkProviderFromNetworkId-DK9fnM_Y.cjs.js → getNetworkProviderFromNetworkId-BXH2tfrn.cjs.js} +44 -3
  28. package/dist/getNetworkProviderFromNetworkId-BXH2tfrn.cjs.js.map +1 -0
  29. package/dist/{getSignedSessionId-B2-EYPik.cjs.js → getSignedSessionId-KSSnmfwN.cjs.js} +7 -3
  30. package/dist/getSignedSessionId-KSSnmfwN.cjs.js.map +1 -0
  31. package/dist/{getSignedSessionId-CM3X3R5t.esm.js → getSignedSessionId-yWd9_5u4.esm.js} +7 -3
  32. package/dist/getSignedSessionId-yWd9_5u4.esm.js.map +1 -0
  33. package/dist/{getVerifiedCredentialForWalletAccount-CyLnpS2G.cjs.js → getVerifiedCredentialForWalletAccount-CJAgL4AJ.cjs.js} +47 -3
  34. package/dist/getVerifiedCredentialForWalletAccount-CJAgL4AJ.cjs.js.map +1 -0
  35. package/dist/{getVerifiedCredentialForWalletAccount-Cs7AcMKQ.esm.js → getVerifiedCredentialForWalletAccount-DbfbxLr9.esm.js} +35 -3
  36. package/dist/getVerifiedCredentialForWalletAccount-DbfbxLr9.esm.js.map +1 -0
  37. package/dist/index.cjs.js +363 -12
  38. package/dist/index.cjs.js.map +1 -1
  39. package/dist/index.esm.js +362 -13
  40. package/dist/index.esm.js.map +1 -1
  41. package/dist/{isMfaRequiredForAction-CM26tbT2.esm.js → isMfaRequiredForAction-CG5JbTh1.esm.js} +5 -2
  42. package/dist/isMfaRequiredForAction-CG5JbTh1.esm.js.map +1 -0
  43. package/dist/{isMfaRequiredForAction-BrRKwK_i.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/modules/auth/extractSessionId/extractSessionId.d.ts +13 -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 +28 -0
  540. package/dist/services/instrumentation/instrumentFunction/extractParams/extractParams.d.ts.map +1 -0
  541. package/dist/services/instrumentation/instrumentFunction/index.d.ts +2 -0
  542. package/dist/services/instrumentation/instrumentFunction/index.d.ts.map +1 -0
  543. package/dist/services/instrumentation/instrumentFunction/instrumentFunction.d.ts +73 -0
  544. package/dist/services/instrumentation/instrumentFunction/instrumentFunction.d.ts.map +1 -0
  545. package/dist/services/instrumentation/instrumentFunction/scrubResolvedValue/scrubResolvedValue.d.ts +15 -0
  546. package/dist/services/instrumentation/instrumentFunction/scrubResolvedValue/scrubResolvedValue.d.ts.map +1 -0
  547. package/dist/services/instrumentation/instrumentation.types.d.ts +13 -8
  548. package/dist/services/instrumentation/instrumentation.types.d.ts.map +1 -1
  549. package/dist/services/instrumentation/scrubParameters/scrubParameters.d.ts +1 -0
  550. package/dist/services/instrumentation/scrubParameters/scrubParameters.d.ts.map +1 -1
  551. package/dist/services/instrumentation/transports/createDynamicTransport/createDynamicTransport.d.ts +25 -0
  552. package/dist/services/instrumentation/transports/createDynamicTransport/createDynamicTransport.d.ts.map +1 -0
  553. package/dist/services/instrumentation/transports/createDynamicTransport/index.d.ts +2 -0
  554. package/dist/services/instrumentation/transports/createDynamicTransport/index.d.ts.map +1 -0
  555. package/dist/services/keychain/createIndexedDBKeychainService/createIndexedDBKeychainService.d.ts +1 -0
  556. package/dist/services/keychain/createIndexedDBKeychainService/createIndexedDBKeychainService.d.ts.map +1 -1
  557. package/dist/services/keychain/createIndexedDBKeychainService/utils/deleteIndexedDBItem.d.ts +1 -0
  558. package/dist/services/keychain/createIndexedDBKeychainService/utils/deleteIndexedDBItem.d.ts.map +1 -1
  559. package/dist/services/keychain/createIndexedDBKeychainService/utils/getIndexedDBItem.d.ts +1 -0
  560. package/dist/services/keychain/createIndexedDBKeychainService/utils/getIndexedDBItem.d.ts.map +1 -1
  561. package/dist/services/keychain/createIndexedDBKeychainService/utils/openDatabase.d.ts +1 -0
  562. package/dist/services/keychain/createIndexedDBKeychainService/utils/openDatabase.d.ts.map +1 -1
  563. package/dist/services/keychain/createIndexedDBKeychainService/utils/setIndexedDBItem.d.ts +1 -0
  564. package/dist/services/keychain/createIndexedDBKeychainService/utils/setIndexedDBItem.d.ts.map +1 -1
  565. package/dist/services/logger/createLogger/createLogger.d.ts +2 -0
  566. package/dist/services/logger/createLogger/createLogger.d.ts.map +1 -1
  567. package/dist/services/navigate/createNavigationHandler/createNavigationHandler.d.ts +1 -0
  568. package/dist/services/navigate/createNavigationHandler/createNavigationHandler.d.ts.map +1 -1
  569. package/dist/services/openDeeplink/createWebDeeplinkOpener/createWebDeeplinkOpener.d.ts +1 -0
  570. package/dist/services/openDeeplink/createWebDeeplinkOpener/createWebDeeplinkOpener.d.ts.map +1 -1
  571. package/dist/services/passkey/createWebPasskeyService/createWebPasskeyService.d.ts +1 -0
  572. package/dist/services/passkey/createWebPasskeyService/createWebPasskeyService.d.ts.map +1 -1
  573. package/dist/services/realtime/createRealtimeChannelSchema/createRealtimeChannelSchema.d.ts +1 -0
  574. package/dist/services/realtime/createRealtimeChannelSchema/createRealtimeChannelSchema.d.ts.map +1 -1
  575. package/dist/services/realtime/createRealtimeService/createRealtimeService.d.ts +1 -0
  576. package/dist/services/realtime/createRealtimeService/createRealtimeService.d.ts.map +1 -1
  577. package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts +1 -0
  578. package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts.map +1 -1
  579. package/dist/services/runtimeServices/createRuntimeServices/createRuntimeServices.d.ts +1 -0
  580. package/dist/services/runtimeServices/createRuntimeServices/createRuntimeServices.d.ts.map +1 -1
  581. package/dist/services/storage/createLocalStorageAdapter/createLocalStorageAdapter.d.ts +1 -0
  582. package/dist/services/storage/createLocalStorageAdapter/createLocalStorageAdapter.d.ts.map +1 -1
  583. package/dist/services/storage/createStorage/createStorage.d.ts +1 -0
  584. package/dist/services/storage/createStorage/createStorage.d.ts.map +1 -1
  585. package/dist/services/storage/createStorage/formatForStorage/isValidDateISOString/isValidDateISOString.d.ts +1 -0
  586. package/dist/services/storage/createStorage/formatForStorage/isValidDateISOString/isValidDateISOString.d.ts.map +1 -1
  587. package/dist/services/storage/createStorage/formatForStorage/storageFormat.d.ts +2 -0
  588. package/dist/services/storage/createStorage/formatForStorage/storageFormat.d.ts.map +1 -1
  589. package/dist/services/storage/createStorageKeySchema/createStorageKeySchema.d.ts +1 -0
  590. package/dist/services/storage/createStorageKeySchema/createStorageKeySchema.d.ts.map +1 -1
  591. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  592. package/dist/utils/base64UrlDecode/base64UrlDecode.d.ts +1 -0
  593. package/dist/utils/base64UrlDecode/base64UrlDecode.d.ts.map +1 -1
  594. package/dist/utils/bufferToBase64/bufferToBase64.d.ts +1 -0
  595. package/dist/utils/bufferToBase64/bufferToBase64.d.ts.map +1 -1
  596. package/dist/utils/bufferToHex/bufferToHex.d.ts +1 -0
  597. package/dist/utils/bufferToHex/bufferToHex.d.ts.map +1 -1
  598. package/dist/utils/compressRawPublicKey/compressRawPublicKey.d.ts +1 -0
  599. package/dist/utils/compressRawPublicKey/compressRawPublicKey.d.ts.map +1 -1
  600. package/dist/utils/debouncedMutex/createDebouncedMutex/createDebouncedMutex.d.ts +1 -0
  601. package/dist/utils/debouncedMutex/createDebouncedMutex/createDebouncedMutex.d.ts.map +1 -1
  602. package/dist/utils/deferredPromise/createDeferredPromise.d.ts +1 -0
  603. package/dist/utils/deferredPromise/createDeferredPromise.d.ts.map +1 -1
  604. package/dist/utils/digestSHA256/digestSHA256.d.ts +1 -0
  605. package/dist/utils/digestSHA256/digestSHA256.d.ts.map +1 -1
  606. package/dist/utils/encodeBase64Url/encodeBase64Url.d.ts +1 -0
  607. package/dist/utils/encodeBase64Url/encodeBase64Url.d.ts.map +1 -1
  608. package/dist/utils/filterDuplicates/filterDuplicates.d.ts +1 -0
  609. package/dist/utils/filterDuplicates/filterDuplicates.d.ts.map +1 -1
  610. package/dist/utils/getBuffer/getBuffer.d.ts +1 -0
  611. package/dist/utils/getBuffer/getBuffer.d.ts.map +1 -1
  612. package/dist/utils/getChainFromVerifiedCredentialChain/getChainFromVerifiedCredentialChain.d.ts +1 -0
  613. package/dist/utils/getChainFromVerifiedCredentialChain/getChainFromVerifiedCredentialChain.d.ts.map +1 -1
  614. package/dist/utils/getNonce/fetchAndStoreNonces/fetchAndStoreNonces.d.ts +1 -0
  615. package/dist/utils/getNonce/fetchAndStoreNonces/fetchAndStoreNonces.d.ts.map +1 -1
  616. package/dist/utils/getNonce/getNonce.d.ts +1 -0
  617. package/dist/utils/getNonce/getNonce.d.ts.map +1 -1
  618. package/dist/utils/getNonce/prefetchNoncesIfNeeded/prefetchNoncesIfNeeded.d.ts +1 -0
  619. package/dist/utils/getNonce/prefetchNoncesIfNeeded/prefetchNoncesIfNeeded.d.ts.map +1 -1
  620. package/dist/utils/getUserAgent/getUserAgent.d.ts +11 -0
  621. package/dist/utils/getUserAgent/getUserAgent.d.ts.map +1 -0
  622. package/dist/utils/isEqualShallow/isEqualShallow.d.ts +1 -0
  623. package/dist/utils/isEqualShallow/isEqualShallow.d.ts.map +1 -1
  624. package/dist/utils/isError/isError.d.ts +1 -0
  625. package/dist/utils/isError/isError.d.ts.map +1 -1
  626. package/dist/utils/isErrorWithCode/isErrorWithCode.d.ts +1 -0
  627. package/dist/utils/isErrorWithCode/isErrorWithCode.d.ts.map +1 -1
  628. package/dist/utils/isMobile/isMobile.d.ts +12 -0
  629. package/dist/utils/isMobile/isMobile.d.ts.map +1 -1
  630. package/dist/utils/isServerSideRendering/isServerSideRendering.d.ts +1 -0
  631. package/dist/utils/isServerSideRendering/isServerSideRendering.d.ts.map +1 -1
  632. package/dist/utils/observable/createObservableState/createObservableState.d.ts +1 -0
  633. package/dist/utils/observable/createObservableState/createObservableState.d.ts.map +1 -1
  634. package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts +1 -0
  635. package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts.map +1 -1
  636. package/dist/utils/p256Keygen/p256Keygen.d.ts +1 -0
  637. package/dist/utils/p256Keygen/p256Keygen.d.ts.map +1 -1
  638. package/dist/utils/p256Sign/p256Sign.d.ts +1 -0
  639. package/dist/utils/p256Sign/p256Sign.d.ts.map +1 -1
  640. package/dist/utils/parseAmountToSmallestUnit/parseAmountToSmallestUnit.d.ts +1 -0
  641. package/dist/utils/parseAmountToSmallestUnit/parseAmountToSmallestUnit.d.ts.map +1 -1
  642. package/dist/utils/parseUserAgent/parseUserAgent.d.ts +1 -0
  643. package/dist/utils/parseUserAgent/parseUserAgent.d.ts.map +1 -1
  644. package/dist/utils/randomString/randomString.d.ts +1 -0
  645. package/dist/utils/randomString/randomString.d.ts.map +1 -1
  646. package/dist/utils/retryOnFail/retryOnFail.d.ts +1 -0
  647. package/dist/utils/retryOnFail/retryOnFail.d.ts.map +1 -1
  648. package/dist/utils/setCookie/setCookie.d.ts +1 -0
  649. package/dist/utils/setCookie/setCookie.d.ts.map +1 -1
  650. package/dist/waas.cjs.js +27 -4
  651. package/dist/waas.cjs.js.map +1 -1
  652. package/dist/waas.esm.js +26 -3
  653. package/dist/waas.esm.js.map +1 -1
  654. package/dist/waasCore.cjs.js +8 -4
  655. package/dist/waasCore.cjs.js.map +1 -1
  656. package/dist/waasCore.esm.js +7 -3
  657. package/dist/waasCore.esm.js.map +1 -1
  658. package/package.json +3 -3
  659. package/dist/InvalidParamError-C8bqZx25.esm.js.map +0 -1
  660. package/dist/InvalidParamError-DvFYOkxL.cjs.js.map +0 -1
  661. package/dist/NotWaasWalletAccountError-C-_6uyUM.esm.js.map +0 -1
  662. package/dist/NotWaasWalletAccountError-CHSFUjd9.cjs.js.map +0 -1
  663. package/dist/getNetworkProviderFromNetworkId-DK9fnM_Y.cjs.js.map +0 -1
  664. package/dist/getNetworkProviderFromNetworkId-n7VUDpn0.esm.js.map +0 -1
  665. package/dist/getSignedSessionId-B2-EYPik.cjs.js.map +0 -1
  666. package/dist/getSignedSessionId-CM3X3R5t.esm.js.map +0 -1
  667. package/dist/getVerifiedCredentialForWalletAccount-Cs7AcMKQ.esm.js.map +0 -1
  668. package/dist/getVerifiedCredentialForWalletAccount-CyLnpS2G.cjs.js.map +0 -1
  669. package/dist/isMfaRequiredForAction-BrRKwK_i.cjs.js.map +0 -1
  670. package/dist/isMfaRequiredForAction-CM26tbT2.esm.js.map +0 -1
package/dist/index.cjs.js CHANGED
@@ -1,8 +1,8 @@
1
- const require_getNetworkProviderFromNetworkId = require('./getNetworkProviderFromNetworkId-DK9fnM_Y.cjs.js');
2
- const require_InvalidParamError = require('./InvalidParamError-DvFYOkxL.cjs.js');
3
- const require_getVerifiedCredentialForWalletAccount = require('./getVerifiedCredentialForWalletAccount-CyLnpS2G.cjs.js');
4
- const require_NotWaasWalletAccountError = require('./NotWaasWalletAccountError-CHSFUjd9.cjs.js');
5
- const require_isMfaRequiredForAction = require('./isMfaRequiredForAction-BrRKwK_i.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;
@@ -742,11 +838,13 @@ const createInstrumentation = ({ config: inputConfig } = {}) => {
742
838
  enabled: inputConfig?.enabled ?? true,
743
839
  piiFields: buildPiiFields(inputConfig?.piiFields)
744
840
  };
841
+ const emit = (event) => {
842
+ if (config.enabled) transport?.log(event);
843
+ };
745
844
  return {
746
845
  config,
747
- log: (event) => {
748
- if (config.enabled) transport?.log(event);
749
- },
846
+ log: emit,
847
+ logFunction: emit,
750
848
  setEnabled: (value) => {
751
849
  config.enabled = value;
752
850
  },
@@ -756,10 +854,52 @@ const createInstrumentation = ({ config: inputConfig } = {}) => {
756
854
  };
757
855
  };
758
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
+
759
898
  //#endregion
760
899
  //#region src/services/navigate/createNavigationHandler/createNavigationHandler.ts
761
900
  /**
762
901
  * Creates a navigation handler that uses the native window.location API.
902
+ * @not-instrumented
763
903
  */
764
904
  const createNavigationHandler = () => {
765
905
  if (require_getNetworkProviderFromNetworkId.isServerSideRendering()) return () => Promise.reject(new UnavailableInServerSideError("createNavigationHandler"));
@@ -782,6 +922,7 @@ const createNavigationHandler = () => {
782
922
  * the browser focuses the lingering about:blank after the redirect tab closes.
783
923
  * `window.location.assign` reuses the current tab, avoiding the extra tab
784
924
  * entirely.
925
+ * @not-instrumented
785
926
  */
786
927
  const createWebDeeplinkOpener = () => {
787
928
  if (require_getNetworkProviderFromNetworkId.isServerSideRendering()) return () => Promise.reject(new UnavailableInServerSideError("createWebDeeplinkOpener"));
@@ -795,9 +936,11 @@ const createWebDeeplinkOpener = () => {
795
936
  /**
796
937
  * Because this is the web implementation of the passkey service, we need to
797
938
  * import the browser's WebAuthn API directly.
939
+ * @not-instrumented
798
940
  */
799
941
  /**
800
942
  * Create a passkey service that uses the browser's WebAuthn API.
943
+ * @not-instrumented
801
944
  */
802
945
  const createWebPasskeyService = () => ({
803
946
  authenticate: (options) => (0, _simplewebauthn_browser.startAuthentication)(options),
@@ -807,6 +950,7 @@ const createWebPasskeyService = () => ({
807
950
 
808
951
  //#endregion
809
952
  //#region src/utils/debouncedMutex/createDebouncedMutex/createDebouncedMutex.ts
953
+ /** @not-instrumented */
810
954
  const createDebouncedMutex = () => {
811
955
  const mutexState = /* @__PURE__ */ new Map();
812
956
  return async ({ lockKey, callback, debounceTime = 0 }) => {
@@ -891,6 +1035,7 @@ var InvalidStorageValue = class extends require_InvalidParamError.BaseError {
891
1035
  * // Unsubscribe when done
892
1036
  * unsubscribe();
893
1037
  * ```
1038
+ * @not-instrumented
894
1039
  */
895
1040
  const createObservableState = (getInitialState$1) => {
896
1041
  const subscribers = /* @__PURE__ */ new Set();
@@ -934,6 +1079,7 @@ const DEFAULT_API_BASE_URL = "https://app.dynamicauth.com/api/v0";
934
1079
  //#region src/client/core/createCore/getInitialState.ts
935
1080
  /**
936
1081
  * The initial values for the state of the client.
1082
+ * @not-instrumented
937
1083
  */
938
1084
  const getInitialState = () => ({
939
1085
  captchaToken: null,
@@ -956,6 +1102,7 @@ const getInitialState = () => ({
956
1102
  //#region src/client/core/createCore/createCore.ts
957
1103
  /**
958
1104
  * Creates a core instance that contains all the services and state of the Dynamic SDK client.
1105
+ * @not-instrumented
959
1106
  */
960
1107
  const createCore = (config) => {
961
1108
  const apiBaseUrl = config.coreConfig?.apiBaseUrl ?? DEFAULT_API_BASE_URL;
@@ -973,6 +1120,18 @@ const createCore = (config) => {
973
1120
  const initTrack = createAsyncTrack();
974
1121
  const sdkSessionId = require_InvalidParamError.randomString({ length: 32 });
975
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
+ }));
976
1135
  const runtimeServices = createRuntimeServices();
977
1136
  const passkey = config.coreConfig?.passkey ?? createWebPasskeyService();
978
1137
  const realtime = config.coreConfig?.realtime ?? require_getNetworkProviderFromNetworkId.createRealtimeService();
@@ -1024,6 +1183,7 @@ const createCore = (config) => {
1024
1183
  *
1025
1184
  * @param config - The configuration for the Dynamic client, like the environment ID, app url, etc.
1026
1185
  * @returns The Dynamic client instance.
1186
+ * @instrumented
1027
1187
  */
1028
1188
  const createDynamicClient = (config) => {
1029
1189
  const core = createCore(config);
@@ -1399,6 +1559,40 @@ var WalletProviderMethodUnavailableError = class extends require_InvalidParamErr
1399
1559
  }
1400
1560
  };
1401
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
+
1402
1596
  //#endregion
1403
1597
  //#region src/modules/auth/externalAuth/signInWithExternalJwt/signInWithExternalJwt.ts
1404
1598
  /**
@@ -1410,6 +1604,9 @@ var WalletProviderMethodUnavailableError = class extends require_InvalidParamErr
1410
1604
  * @param [params.externalJwt] - Optional external JWT token to authenticate with. Not required when using cookie based auth.
1411
1605
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1412
1606
  * @returns A promise that resolves to the authentication response from the server.
1607
+ * @instrumented
1608
+
1609
+ * @redact-params
1413
1610
  */
1414
1611
  const signInWithExternalJwt = async ({ externalJwt, sessionPublicKey } = {}, client = require_InvalidParamError.getDefaultClient()) => {
1415
1612
  const core = require_InvalidParamError.getCore(client);
@@ -1432,6 +1629,7 @@ const signInWithExternalJwt = async ({ externalJwt, sessionPublicKey } = {}, cli
1432
1629
  * @param params.passkeyId - The unique identifier of the passkey to delete.
1433
1630
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1434
1631
  * @returns A promise that resolves when the passkey is successfully deleted.
1632
+ * @instrumented
1435
1633
  */
1436
1634
  const deletePasskey = async ({ passkeyId }, client = require_InvalidParamError.getDefaultClient()) => {
1437
1635
  const core = require_InvalidParamError.getCore(client);
@@ -1454,6 +1652,7 @@ const deletePasskey = async ({ passkeyId }, client = require_InvalidParamError.g
1454
1652
  *
1455
1653
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1456
1654
  * @returns A promise that resolves to an array of the user's registered passkeys.
1655
+ * @instrumented
1457
1656
  */
1458
1657
  const getPasskeys = async (client = require_InvalidParamError.getDefaultClient()) => {
1459
1658
  const core = require_InvalidParamError.getCore(client);
@@ -1462,6 +1661,7 @@ const getPasskeys = async (client = require_InvalidParamError.getDefaultClient()
1462
1661
 
1463
1662
  //#endregion
1464
1663
  //#region src/modules/auth/passkeys/getPasskeyRegistrationOptions/getPasskeyRegistrationOptions.ts
1664
+ /** @not-instrumented */
1465
1665
  const getPasskeyRegistrationOptions = async (client) => {
1466
1666
  const core = require_InvalidParamError.getCore(client);
1467
1667
  return await require_InvalidParamError.createApiClient({}, client).getPasskeyRegistrationOptions({ environmentId: core.environmentId });
@@ -1469,6 +1669,7 @@ const getPasskeyRegistrationOptions = async (client) => {
1469
1669
 
1470
1670
  //#endregion
1471
1671
  //#region src/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.ts
1672
+ /** @not-instrumented */
1472
1673
  const serverRegisterPasskey = async ({ registration, createMfaToken }, client) => {
1473
1674
  const core = require_InvalidParamError.getCore(client);
1474
1675
  return await require_InvalidParamError.createApiClient({ elevatedAccessTokenScope: _dynamic_labs_sdk_api_core.TokenScope.Credentiallink }, client).registerPasskey({
@@ -1497,6 +1698,7 @@ const serverRegisterPasskey = async ({ registration, createMfaToken }, client) =
1497
1698
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1498
1699
  * @returns A promise that resolves to the registration response.
1499
1700
  * @throws NoWebAuthNSupportError If WebAuthn is not supported by the browser.
1701
+ * @instrumented
1500
1702
  */
1501
1703
  const registerPasskey = async ({ createMfaToken } = {}, client = require_InvalidParamError.getDefaultClient()) => {
1502
1704
  const core = require_InvalidParamError.getCore(client);
@@ -1512,6 +1714,7 @@ const registerPasskey = async ({ createMfaToken } = {}, client = require_Invalid
1512
1714
 
1513
1715
  //#endregion
1514
1716
  //#region src/modules/auth/passkeys/getPasskeyAuthenticationSignInOptions/getPasskeyAuthenticationSignInOptions.ts
1717
+ /** @not-instrumented */
1515
1718
  const getPasskeyAuthenticationSignInOptions = async ({ relatedOriginRpId } = {}, client) => {
1516
1719
  const core = require_InvalidParamError.getCore(client);
1517
1720
  return await require_InvalidParamError.createApiClient({}, client).getPasskeyAuthenticationSigninOptions({
@@ -1522,6 +1725,7 @@ const getPasskeyAuthenticationSignInOptions = async ({ relatedOriginRpId } = {},
1522
1725
 
1523
1726
  //#endregion
1524
1727
  //#region src/modules/auth/passkeys/serverSigninPasskey/serverSigninPasskey.ts
1728
+ /** @not-instrumented */
1525
1729
  const serverSigninPasskey = async ({ authentication, createMfaToken }, client) => {
1526
1730
  const core = require_InvalidParamError.getCore(client);
1527
1731
  return await require_InvalidParamError.createApiClient({}, client).signinWithPasskey({
@@ -1549,6 +1753,7 @@ const serverSigninPasskey = async ({ authentication, createMfaToken }, client) =
1549
1753
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1550
1754
  * @returns A promise that resolves to the authentication response.
1551
1755
  * @throws NoWebAuthNSupportError If WebAuthn is not supported by the browser.
1756
+ * @instrumented
1552
1757
  */
1553
1758
  const signInWithPasskey = async ({ relatedOriginRpId } = {}, client = require_InvalidParamError.getDefaultClient()) => {
1554
1759
  const core = require_InvalidParamError.getCore(client);
@@ -1566,6 +1771,7 @@ const signInWithPasskey = async ({ relatedOriginRpId } = {}, client = require_In
1566
1771
  *
1567
1772
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1568
1773
  * @returns An array of `SocialAccount` objects associated with the user.
1774
+ * @instrumented
1569
1775
  */
1570
1776
  const getUserSocialAccounts = (client = require_InvalidParamError.getDefaultClient()) => {
1571
1777
  const { user } = client;
@@ -1583,6 +1789,7 @@ const getUserSocialAccounts = (client = require_InvalidParamError.getDefaultClie
1583
1789
 
1584
1790
  //#endregion
1585
1791
  //#region src/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.ts
1792
+ /** @not-instrumented */
1586
1793
  const removeDynamicOauthParamsFromUrl = (url) => {
1587
1794
  const urlObject = new URL(url);
1588
1795
  urlObject.searchParams.delete("dynamicOauthState");
@@ -1604,6 +1811,7 @@ const redirectStateStorageKeySchema = require_getNetworkProviderFromNetworkId.cr
1604
1811
 
1605
1812
  //#endregion
1606
1813
  //#region src/utils/digestSHA256/digestSHA256.ts
1814
+ /** @not-instrumented */
1607
1815
  const digestSHA256 = (str) => {
1608
1816
  const data = new TextEncoder().encode(str);
1609
1817
  return crypto.subtle.digest("SHA-256", data);
@@ -1616,6 +1824,7 @@ const digestSHA256 = (str) => {
1616
1824
  *
1617
1825
  * @param str - The string to encode as an ArrayBuffer.
1618
1826
  * @returns The base64url encoded string.
1827
+ * @not-instrumented
1619
1828
  */
1620
1829
  const encodeBase64Url = (str) => {
1621
1830
  const numberArray = [];
@@ -1627,7 +1836,8 @@ const encodeBase64Url = (str) => {
1627
1836
  //#region src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.ts
1628
1837
  const APPLE_RESPONSE_MODE = "form_post";
1629
1838
  const APPLE_RESPONSE_TYPE = "code id_token";
1630
- /** 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
+ */
1631
1841
  const addOAuthUrlParams = (provider, baseUrl, options = {}) => {
1632
1842
  require_InvalidParamError.assertDefined(provider.clientId, "Client ID not found");
1633
1843
  require_InvalidParamError.assertDefined(provider.provider, "Provider type not found");
@@ -1654,7 +1864,8 @@ const addOAuthUrlParams = (provider, baseUrl, options = {}) => {
1654
1864
 
1655
1865
  //#endregion
1656
1866
  //#region src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.ts
1657
- /** 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
+ */
1658
1869
  const getOAuthBaseUrl = (provider) => {
1659
1870
  require_InvalidParamError.assertDefined(provider.provider, "Provider type not found");
1660
1871
  const providerType = provider.provider;
@@ -1674,7 +1885,8 @@ const getOAuthBaseUrl = (provider) => {
1674
1885
  //#endregion
1675
1886
  //#region src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/buildOAuthUrl.ts
1676
1887
  const providersRequiringPkce = ["twitter", "github"];
1677
- /** 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
+ */
1678
1890
  const buildOAuthUrl = async (core, provider) => {
1679
1891
  const { projectSettings } = core.state.get();
1680
1892
  require_InvalidParamError.assertDefined(projectSettings, "Project settings not found");
@@ -1714,6 +1926,7 @@ const buildOAuthUrl = async (core, provider) => {
1714
1926
  * @param params.provider - The social provider to authenticate with (e.g., 'google', 'github').
1715
1927
  * @param params.redirectUrl - The URL to redirect back to after authentication.
1716
1928
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1929
+ * @instrumented
1717
1930
  */
1718
1931
  const authenticateWithSocial = async ({ provider, redirectUrl }, client = require_InvalidParamError.getDefaultClient()) => {
1719
1932
  const core = require_InvalidParamError.getCore(client);
@@ -1750,6 +1963,7 @@ const authenticateWithSocial = async ({ provider, redirectUrl }, client = requir
1750
1963
  * @returns A promise that resolves to the authenticated user or null.
1751
1964
  * @throws MissingSocialUrlParamError If required OAuth parameters are missing.
1752
1965
  * @throws InvalidRedirectStorageStateError If the stored state doesn't match.
1966
+ * @instrumented
1753
1967
  */
1754
1968
  const completeSocialAuthentication = async ({ url }, client = require_InvalidParamError.getDefaultClient()) => {
1755
1969
  const core = require_InvalidParamError.getCore(client);
@@ -1799,6 +2013,7 @@ const completeSocialAuthentication = async ({ url }, client = require_InvalidPar
1799
2013
  * @param params.url - The URL to check for OAuth redirect parameters.
1800
2014
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1801
2015
  * @returns A promise that resolves to true if the URL is an OAuth redirect, false otherwise.
2016
+ * @instrumented
1802
2017
  */
1803
2018
  const detectOAuthRedirect = async ({ url }, client = require_InvalidParamError.getDefaultClient()) => {
1804
2019
  const core = require_InvalidParamError.getCore(client);
@@ -1818,6 +2033,7 @@ const detectOAuthRedirect = async ({ url }, client = require_InvalidParamError.g
1818
2033
  * The primary wallet account is the one that was last selected by the user.
1819
2034
  * This information is stored in both unverified and verified wallet accounts.
1820
2035
  * This function consolidates this information to determine which wallet was most recently selected.
2036
+ * @instrumented
1821
2037
  */
1822
2038
  const getPrimaryWalletAccount = (client = require_InvalidParamError.getDefaultClient()) => {
1823
2039
  const sortedLastSelectedWalletAccounts = require_getVerifiedCredentialForWalletAccount.getWalletAccounts(client).filter((walletAccount) => Boolean(walletAccount.lastSelectedAt)).sort((a, b) => b.lastSelectedAt.getTime() - a.lastSelectedAt.getTime());
@@ -1834,6 +2050,7 @@ const getPrimaryWalletAccount = (client = require_InvalidParamError.getDefaultCl
1834
2050
  * @param params.verifiedCredentialId - The verified credential ID of the social account to unlink.
1835
2051
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1836
2052
  * @returns A promise that resolves to the verify response.
2053
+ * @instrumented
1837
2054
  */
1838
2055
  const unlinkSocialAccount = async ({ verifiedCredentialId }, client = require_InvalidParamError.getDefaultClient()) => {
1839
2056
  const core = require_InvalidParamError.getCore(client);
@@ -1860,6 +2077,7 @@ const unlinkSocialAccount = async ({ verifiedCredentialId }, client = require_In
1860
2077
  * @param params.walletAccount - The wallet account to get the balances for.
1861
2078
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1862
2079
  * @returns A promise that resolves to an array of token balances.
2080
+ * @not-instrumented
1863
2081
  */
1864
2082
  const getBalances = async ({ walletAccount, networkId, includePrices, includeNative, filterSpamTokens, whitelistedContracts, forceRefresh }, client = require_InvalidParamError.getDefaultClient()) => {
1865
2083
  const core = require_InvalidParamError.getCore(client);
@@ -1892,6 +2110,7 @@ const getBalances = async ({ walletAccount, networkId, includePrices, includeNat
1892
2110
  * @param params.balanceRequest - The balance request configuration specifying which chains, networks and addresses to query.
1893
2111
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1894
2112
  * @returns A promise that resolves to the chain balances across multiple networks.
2113
+ * @instrumented
1895
2114
  */
1896
2115
  const getMultichainBalances = async ({ balanceRequest }, client = require_InvalidParamError.getDefaultClient()) => {
1897
2116
  const core = require_InvalidParamError.getCore(client);
@@ -1903,6 +2122,7 @@ const getMultichainBalances = async ({ balanceRequest }, client = require_Invali
1903
2122
 
1904
2123
  //#endregion
1905
2124
  //#region src/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.ts
2125
+ /** @not-instrumented */
1906
2126
  const createCheckoutSessionTokenStorageKey = (transactionId) => {
1907
2127
  return require_getNetworkProviderFromNetworkId.createStorageKeySchema({
1908
2128
  key: `checkoutSessionToken:${transactionId}`,
@@ -1912,6 +2132,7 @@ const createCheckoutSessionTokenStorageKey = (transactionId) => {
1912
2132
 
1913
2133
  //#endregion
1914
2134
  //#region src/modules/checkout/utils/createCheckoutApiClient/createCheckoutApiClient.ts
2135
+ /** @not-instrumented */
1915
2136
  const createCheckoutApiClient = async ({ transactionId }, client) => {
1916
2137
  const core = require_InvalidParamError.getCore(client);
1917
2138
  const apiClient = require_InvalidParamError.createApiClient({}, client);
@@ -1932,6 +2153,7 @@ const createCheckoutApiClient = async ({ transactionId }, client) => {
1932
2153
  * @param params AttachCheckoutTransactionSourceParams - The source details to attach.
1933
2154
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1934
2155
  * @returns The updated checkout transaction
2156
+ * @instrumented
1935
2157
  */
1936
2158
  const attachCheckoutTransactionSource = async ({ fromAddress, fromChainId, fromChainName, transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
1937
2159
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -1956,6 +2178,7 @@ const attachCheckoutTransactionSource = async ({ fromAddress, fromChainId, fromC
1956
2178
  * @param params BroadcastCheckoutTransactionParams - The transaction ID and tx hash.
1957
2179
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1958
2180
  * @returns The updated checkout transaction
2181
+ * @instrumented
1959
2182
  */
1960
2183
  const broadcastCheckoutTransaction = async ({ transactionId, txHash }, client = require_InvalidParamError.getDefaultClient()) => {
1961
2184
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -1975,6 +2198,7 @@ const broadcastCheckoutTransaction = async ({ transactionId, txHash }, client =
1975
2198
  * @param params CancelCheckoutTransactionParams - The transaction to cancel.
1976
2199
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1977
2200
  * @returns The cancelled checkout transaction
2201
+ * @instrumented
1978
2202
  */
1979
2203
  const cancelCheckoutTransaction = async ({ transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
1980
2204
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -1989,6 +2213,7 @@ const cancelCheckoutTransaction = async ({ transactionId }, client = require_Inv
1989
2213
 
1990
2214
  //#endregion
1991
2215
  //#region src/modules/checkout/getCheckouts/getCheckouts.ts
2216
+ /** @not-instrumented */
1992
2217
  const getCheckouts = async (client) => {
1993
2218
  const projectSettings = client.projectSettings;
1994
2219
  require_InvalidParamError.assertDefined(projectSettings, "Project settings are not available");
@@ -2003,6 +2228,7 @@ const getCheckouts = async (client) => {
2003
2228
  * @param params CreateCheckoutTransactionParams - The parameters for the checkout transaction.
2004
2229
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2005
2230
  * @returns The created transaction with session token
2231
+ * @instrumented
2006
2232
  */
2007
2233
  const createCheckoutTransaction = async (params, client = require_InvalidParamError.getDefaultClient()) => {
2008
2234
  const core = require_InvalidParamError.getCore(client);
@@ -2016,7 +2242,7 @@ const createCheckoutTransaction = async (params, client = require_InvalidParamEr
2016
2242
  amount: params.amount,
2017
2243
  currency: params.currency,
2018
2244
  expiresIn: params.expiresIn,
2019
- externalId: params.externalId
2245
+ memo: params.memo
2020
2246
  },
2021
2247
  environmentId: core.environmentId
2022
2248
  });
@@ -2032,6 +2258,7 @@ const createCheckoutTransaction = async (params, client = require_InvalidParamEr
2032
2258
  * @param params GetCheckoutTransactionParams - The parameters for fetching the transaction.
2033
2259
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2034
2260
  * @returns The checkout transaction
2261
+ * @instrumented
2035
2262
  */
2036
2263
  const getCheckoutTransaction = async ({ transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
2037
2264
  const core = require_InvalidParamError.getCore(client);
@@ -2049,6 +2276,7 @@ const getCheckoutTransaction = async ({ transactionId }, client = require_Invali
2049
2276
  * @param params GetCheckoutTransactionQuoteParams - The quote parameters.
2050
2277
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2051
2278
  * @returns The updated checkout transaction with quote data
2279
+ * @instrumented
2052
2280
  */
2053
2281
  const getCheckoutTransactionQuote = async ({ fromTokenAddress, slippage, transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
2054
2282
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -2073,6 +2301,7 @@ const getCheckoutTransactionQuote = async ({ fromTokenAddress, slippage, transac
2073
2301
  * @param params PrepareCheckoutTransactionParams - The transaction to prepare.
2074
2302
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2075
2303
  * @returns The updated checkout transaction
2304
+ * @instrumented
2076
2305
  */
2077
2306
  const prepareCheckoutTransaction = async ({ transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
2078
2307
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -2122,6 +2351,7 @@ function assertWalletProviderMethodDefined(walletProvider, methodName) {
2122
2351
  * @param params SubmitCheckoutTransactionParams - The transaction ID, wallet account, and optional step callback.
2123
2352
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2124
2353
  * @returns The broadcasted checkout transaction
2354
+ * @instrumented
2125
2355
  */
2126
2356
  const submitCheckoutTransaction = async ({ onStepChange, transactionId, walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
2127
2357
  const prepared = await prepareCheckoutTransaction({ transactionId }, client);
@@ -2147,6 +2377,7 @@ const submitCheckoutTransaction = async ({ onStepChange, transactionId, walletAc
2147
2377
  //#endregion
2148
2378
  //#region src/modules/deviceRegistration/completeDeviceRegistration/completeDeviceRegistration.ts
2149
2379
  const DEVICE_REGISTRATION_TOKEN_HEADER = "x-dynamic-device-registration-token";
2380
+ /** @instrumented */
2150
2381
  const completeDeviceRegistration = async ({ deviceToken }, client = require_InvalidParamError.getDefaultClient()) => {
2151
2382
  require_InvalidParamError.assertDefined(deviceToken, "deviceToken is required");
2152
2383
  const core = require_InvalidParamError.getCore(client);
@@ -2166,6 +2397,7 @@ const completeDeviceRegistration = async ({ deviceToken }, client = require_Inva
2166
2397
  *
2167
2398
  * @returns The device token as a string if valid.
2168
2399
  * @throws InvalidDeviceRegistrationRedirectError If the URL is not a valid device registration redirect.
2400
+ * @instrumented
2169
2401
  */
2170
2402
  const getDeviceRegistrationTokenFromUrl = ({ url }) => {
2171
2403
  let urlObject;
@@ -2188,6 +2420,7 @@ const getDeviceRegistrationTokenFromUrl = ({ url }) => {
2188
2420
  * if it contains device registration redirect data from a device authentication flow.
2189
2421
  *
2190
2422
  * @returns True if the URL is a device registration redirect, false otherwise.
2423
+ * @instrumented
2191
2424
  */
2192
2425
  const detectDeviceRegistrationRedirect = ({ url }) => {
2193
2426
  try {
@@ -2200,6 +2433,7 @@ const detectDeviceRegistrationRedirect = ({ url }) => {
2200
2433
 
2201
2434
  //#endregion
2202
2435
  //#region src/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.ts
2436
+ /** @instrumented */
2203
2437
  const getRegisteredDevices = async (client = require_InvalidParamError.getDefaultClient()) => {
2204
2438
  const core = require_InvalidParamError.getCore(client);
2205
2439
  const apiClient = require_InvalidParamError.createApiClient({}, client);
@@ -2225,11 +2459,13 @@ const getRegisteredDevices = async (client = require_InvalidParamError.getDefaul
2225
2459
  *
2226
2460
  * @param user - The user to check.
2227
2461
  * @returns True if device registration is required, false otherwise.
2462
+ * @not-instrumented
2228
2463
  */
2229
2464
  const isDeviceRegistrationRequired = (user) => Boolean(user.scope?.includes("device:register"));
2230
2465
 
2231
2466
  //#endregion
2232
2467
  //#region src/modules/deviceRegistration/revokeAllRegisteredDevices/revokeAllRegisteredDevices.ts
2468
+ /** @instrumented */
2233
2469
  const revokeAllRegisteredDevices = async (client = require_InvalidParamError.getDefaultClient()) => {
2234
2470
  const core = require_InvalidParamError.getCore(client);
2235
2471
  await require_InvalidParamError.createApiClient({}, client).deleteAllDeviceRegistrations({ environmentId: core.environmentId });
@@ -2238,6 +2474,7 @@ const revokeAllRegisteredDevices = async (client = require_InvalidParamError.get
2238
2474
 
2239
2475
  //#endregion
2240
2476
  //#region src/modules/deviceRegistration/revokeRegisteredDevice/revokeRegisteredDevice.ts
2477
+ /** @instrumented */
2241
2478
  const revokeRegisteredDevice = async ({ deviceRegistrationId }, client = require_InvalidParamError.getDefaultClient()) => {
2242
2479
  require_InvalidParamError.assertDefined(deviceRegistrationId, "deviceRegistrationId is required");
2243
2480
  const core = require_InvalidParamError.getCore(client);
@@ -2257,6 +2494,7 @@ const revokeRegisteredDevice = async ({ deviceRegistrationId }, client = require
2257
2494
  * @returns A function to remove the listener.
2258
2495
  * @throws {ValueMustBeDefinedError} If the window is not available.
2259
2496
  * @docs https://docs.cdp.coinbase.com/onramp-&-offramp/onramp-apis/apple-pay-onramp-api#events-names
2497
+ * @instrumented
2260
2498
  */
2261
2499
  const addCoinbaseOnrampOrderEventListener = ({ listener }, client = require_InvalidParamError.getDefaultClient()) => {
2262
2500
  const core = require_InvalidParamError.getCore(client);
@@ -2297,6 +2535,7 @@ const addCoinbaseOnrampOrderEventListener = ({ listener }, client = require_Inva
2297
2535
  * @returns FieldMissingVerificationForCoinbaseOnramp[] - An array of fields that are missing verification for a Coinbase onramp order
2298
2536
  * @throws {InvalidParamError} - If the payment method is not valid
2299
2537
  * @throws {ValueMustBeDefinedError} - If the user is not authenticated
2538
+ * @instrumented
2300
2539
  */
2301
2540
  const getMissingVerificationForCoinbaseOnrampOrder = ({ paymentMethod }, client = require_InvalidParamError.getDefaultClient()) => {
2302
2541
  if (paymentMethod !== "GUEST_CHECKOUT_APPLE_PAY") throw new require_InvalidParamError.InvalidParamError(`Invalid payment method: ${paymentMethod}`);
@@ -2334,6 +2573,7 @@ const getMissingVerificationForCoinbaseOnrampOrder = ({ paymentMethod }, client
2334
2573
 
2335
2574
  //#endregion
2336
2575
  //#region src/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/validateUserCredentialsForCoinbaseOnrampOrder.ts
2576
+ /** @not-instrumented */
2337
2577
  const validateUserCredentialsForCoinbaseOnrampOrder = (client) => {
2338
2578
  const { user } = client;
2339
2579
  require_InvalidParamError.assertDefined(user, "User is not authenticated");
@@ -2363,6 +2603,7 @@ const validateUserCredentialsForCoinbaseOnrampOrder = (client) => {
2363
2603
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2364
2604
  * @returns The created order
2365
2605
  * @throws {MissingUserVerificationError} If the user is missing verification for email or phone
2606
+ * @instrumented
2366
2607
  */
2367
2608
  const createCoinbaseOnrampOrder = async (orderParams, client = require_InvalidParamError.getDefaultClient()) => {
2368
2609
  const user = validateUserCredentialsForCoinbaseOnrampOrder(client);
@@ -2395,6 +2636,7 @@ const createCoinbaseOnrampOrder = async (orderParams, client = require_InvalidPa
2395
2636
  * @param buyUrlParams CoinbaseOnrampGetBuyUrlRequest - The parameters for the buy URL.
2396
2637
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2397
2638
  * @returns an object containing the buy URL
2639
+ * @instrumented
2398
2640
  */
2399
2641
  const getCoinbaseBuyUrl = async (buyUrlParams, client = require_InvalidParamError.getDefaultClient()) => {
2400
2642
  const core = require_InvalidParamError.getCore(client);
@@ -2412,6 +2654,7 @@ const getCoinbaseBuyUrl = async (buyUrlParams, client = require_InvalidParamErro
2412
2654
  * @param paymentParams CryptoDotComPaymentCreateRequest - The parameters for the payment.
2413
2655
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2414
2656
  * @returns The created payment
2657
+ * @instrumented
2415
2658
  */
2416
2659
  const createCryptoDotComPayment = async (paymentParams, client = require_InvalidParamError.getDefaultClient()) => {
2417
2660
  const core = require_InvalidParamError.getCore(client);
@@ -2432,6 +2675,7 @@ const createCryptoDotComPayment = async (paymentParams, client = require_Invalid
2432
2675
  * @param transferParams - The parameters for the transfer including accountId
2433
2676
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2434
2677
  * @returns The created transfer
2678
+ * @not-instrumented
2435
2679
  */
2436
2680
  const createKrakenExchangeTransfer = async (transferParams, client = require_InvalidParamError.getDefaultClient()) => {
2437
2681
  const core = require_InvalidParamError.getCore(client);
@@ -2453,6 +2697,7 @@ const createKrakenExchangeTransfer = async (transferParams, client = require_Inv
2453
2697
  * @param [params] GetKrakenAccountsParams - Optional filters for the accounts.
2454
2698
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2455
2699
  * @returns Array of Kraken accounts with balances
2700
+ * @not-instrumented
2456
2701
  */
2457
2702
  const getKrakenAccounts = async (params, client = require_InvalidParamError.getDefaultClient()) => {
2458
2703
  const core = require_InvalidParamError.getCore(client);
@@ -2471,6 +2716,7 @@ const getKrakenAccounts = async (params, client = require_InvalidParamError.getD
2471
2716
  *
2472
2717
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2473
2718
  * @returns Transfer destinations response with whitelisted addresses
2719
+ * @instrumented
2474
2720
  */
2475
2721
  const getKrakenWhitelistedAddresses = async (client = require_InvalidParamError.getDefaultClient()) => {
2476
2722
  const core = require_InvalidParamError.getCore(client);
@@ -2480,6 +2726,20 @@ const getKrakenWhitelistedAddresses = async (client = require_InvalidParamError.
2480
2726
  });
2481
2727
  };
2482
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
+
2483
2743
  //#endregion
2484
2744
  //#region src/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.ts
2485
2745
  /**
@@ -2487,6 +2747,7 @@ const getKrakenWhitelistedAddresses = async (client = require_InvalidParamError.
2487
2747
  * and are ready for use.
2488
2748
  *
2489
2749
  * @returns a promise that resolves once the client is fully initialized.
2750
+ * @instrumented
2490
2751
  */
2491
2752
  const waitForClientInitialized = async (client = require_InvalidParamError.getDefaultClient()) => {
2492
2753
  await require_InvalidParamError.getCore(client).initTrack.waitForAll();
@@ -2496,6 +2757,7 @@ const waitForClientInitialized = async (client = require_InvalidParamError.getDe
2496
2757
  //#region src/modules/legacyWalletBook/getWalletBookCdnUrl/getWalletBookCdnUrl.ts
2497
2758
  /**
2498
2759
  * Default CDN URL for the wallet book.
2760
+ * @not-instrumented
2499
2761
  */
2500
2762
  const DEFAULT_WALLET_BOOK_CDN_URL = "https://dynamic-static-assets.com/wallet-book/v1/stable/wallet-book.json";
2501
2763
  /**
@@ -2507,6 +2769,7 @@ const DEFAULT_WALLET_BOOK_CDN_URL = "https://dynamic-static-assets.com/wallet-bo
2507
2769
  * 4. Default CDN URL
2508
2770
  *
2509
2771
  * @returns The wallet book CDN URL to use.
2772
+ * @not-instrumented
2510
2773
  */
2511
2774
  const getWalletBookCdnUrl = () => {
2512
2775
  if (typeof process !== "undefined" && process.env) {
@@ -2520,6 +2783,7 @@ const getWalletBookCdnUrl = () => {
2520
2783
  //#region src/modules/legacyWalletBook/fetchLegacyWalletBook/fetchWithTimeout/fetchWithTimeout.ts
2521
2784
  /**
2522
2785
  * The timeout for each fetch attempt in milliseconds.
2786
+ * @not-instrumented
2523
2787
  */
2524
2788
  const FETCH_TIMEOUT_MS = 3e4;
2525
2789
  /**
@@ -2527,6 +2791,7 @@ const FETCH_TIMEOUT_MS = 3e4;
2527
2791
  *
2528
2792
  * @param client - The Dynamic client instance.
2529
2793
  * @returns A promise that resolves to the wallet book data.
2794
+ * @not-instrumented
2530
2795
  */
2531
2796
  const fetchWithTimeout = async (client) => {
2532
2797
  const controller = new AbortController();
@@ -2558,6 +2823,7 @@ const walletBookCacheStorageKeySchema = require_getNetworkProviderFromNetworkId.
2558
2823
  //#region src/modules/legacyWalletBook/fetchLegacyWalletBook/fetchLegacyWalletBook.ts
2559
2824
  /**
2560
2825
  * The maximum number of retry attempts.
2826
+ * @not-instrumented
2561
2827
  */
2562
2828
  const MAX_RETRIES = 3;
2563
2829
  /**
@@ -2574,6 +2840,7 @@ const RETRY_DELAY_MS = 100;
2574
2840
  * @param client - The Dynamic client instance.
2575
2841
  * @returns A promise that resolves to the wallet book data.
2576
2842
  * @throws If both CDN fetch and cache retrieval fail.
2843
+ * @not-instrumented
2577
2844
  */
2578
2845
  const fetchLegacyWalletBook = async (client) => {
2579
2846
  const core = require_InvalidParamError.getCore(client);
@@ -2604,6 +2871,7 @@ const fetchLegacyWalletBook = async (client) => {
2604
2871
  /**
2605
2872
  * Embedded wallet keys that should be filtered out from the WalletConnect catalog.
2606
2873
  * These wallets are not meant to be displayed in wallet selection lists.
2874
+ * @not-instrumented
2607
2875
  */
2608
2876
  const EMBEDDED_WALLET_KEYS = [
2609
2877
  "magicemailotp",
@@ -2623,6 +2891,7 @@ const EMBEDDED_WALLET_KEYS = [
2623
2891
  * @param walletKey - The wallet key identifier.
2624
2892
  * @param wallet - The wallet schema to check.
2625
2893
  * @returns True if the wallet should be filtered out, false otherwise.
2894
+ * @not-instrumented
2626
2895
  */
2627
2896
  const shouldFilterWallet = (walletKey, wallet) => {
2628
2897
  if (EMBEDDED_WALLET_KEYS.includes(walletKey)) return true;
@@ -2641,6 +2910,7 @@ const shouldFilterWallet = (walletKey, wallet) => {
2641
2910
  *
2642
2911
  * @param params.spriteId - The sprite identifier from the wallet book.
2643
2912
  * @returns The full URL to the sprite icon
2913
+ * @not-instrumented
2644
2914
  */
2645
2915
  const getSpriteUrl = ({ spriteId }) => `${require_InvalidParamError.DYNAMIC_ICONIC_SPRITE_URL}#${spriteId}`;
2646
2916
 
@@ -2648,6 +2918,7 @@ const getSpriteUrl = ({ spriteId }) => `${require_InvalidParamError.DYNAMIC_ICON
2648
2918
  //#region src/modules/legacyWalletBook/getWalletConnectCatalog/transformGroup/transformGroup.ts
2649
2919
  /**
2650
2920
  * Transforms a wallet group schema into a WalletConnect catalog group.
2921
+ * @not-instrumented
2651
2922
  */
2652
2923
  const transformGroup = ({ group }) => {
2653
2924
  const spriteId = group.brand?.spriteId ?? "";
@@ -2663,6 +2934,7 @@ const transformGroup = ({ group }) => {
2663
2934
  //#region src/modules/legacyWalletBook/getWalletConnectCatalog/getChainFromWalletSchema/getChainFromWalletSchema.ts
2664
2935
  /**
2665
2936
  * Maps wallet book injected config chain identifiers to Chain type.
2937
+ * @not-instrumented
2666
2938
  */
2667
2939
  const INJECTED_CHAIN_TO_CHAIN_MAP = {
2668
2940
  algo: "ALGO",
@@ -2773,6 +3045,7 @@ const getChainFromWalletKey = ({ walletKey }) => {
2773
3045
  * @param params.wallet - The wallet schema from the wallet book.
2774
3046
  * @param params.walletKey - The wallet key identifier (optional, used as last resort fallback).
2775
3047
  * @returns The chain type, defaults to EVM if no chain can be determined.
3048
+ * @not-instrumented
2776
3049
  */
2777
3050
  const getChainFromWalletSchema = ({ wallet, walletKey }) => {
2778
3051
  if (wallet.injectedConfig && wallet.injectedConfig.length > 0) {
@@ -2797,6 +3070,7 @@ const getChainFromWalletSchema = ({ wallet, walletKey }) => {
2797
3070
  //#region src/modules/legacyWalletBook/getWalletConnectCatalog/transformWallet/transformWallet.ts
2798
3071
  /**
2799
3072
  * Transforms a wallet schema into a WalletConnect catalog wallet entry.
3073
+ * @not-instrumented
2800
3074
  */
2801
3075
  const transformWallet = ({ wallet, walletKey }) => {
2802
3076
  const spriteId = wallet.brand?.spriteId ?? "";
@@ -2827,6 +3101,7 @@ const transformWallet = ({ wallet, walletKey }) => {
2827
3101
  /**
2828
3102
  * Transforms the legacy wallet book into a WalletConnect catalog structure.
2829
3103
  * Filters out embedded wallets and injected-only wallets.
3104
+ * @not-instrumented
2830
3105
  */
2831
3106
  const transformWalletBook = ({ walletBook }) => {
2832
3107
  const groups = {};
@@ -2856,6 +3131,7 @@ const transformWalletBook = ({ walletBook }) => {
2856
3131
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2857
3132
  * @returns A promise that resolves to the WalletConnect catalog containing groups and wallets.
2858
3133
  * @throws If unable to fetch the wallet book from the API (when both CDN fetch and cache retrieval fail).
3134
+ * @instrumented
2859
3135
  */
2860
3136
  const getWalletConnectCatalog = async (client = require_InvalidParamError.getDefaultClient()) => {
2861
3137
  return transformWalletBook({ walletBook: await fetchLegacyWalletBook(client) });
@@ -2869,6 +3145,7 @@ const getWalletConnectCatalog = async (client = require_InvalidParamError.getDef
2869
3145
  *
2870
3146
  * @param params.normalizedWalletNameWithChain - The normalized wallet name with chain suffix.
2871
3147
  * @returns The chain if found, undefined otherwise.
3148
+ * @not-instrumented
2872
3149
  */
2873
3150
  const extractChainFromNormalizedName = ({ normalizedWalletNameWithChain }) => {
2874
3151
  const lowerName = normalizedWalletNameWithChain.toLowerCase();
@@ -2888,6 +3165,7 @@ const extractChainFromNormalizedName = ({ normalizedWalletNameWithChain }) => {
2888
3165
  * @param params.walletProviderKey - The wallet provider key to get the catalog wallet entry for.
2889
3166
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2890
3167
  * @returns A promise that resolves to the WalletConnect catalog wallet entry, or undefined if not found.
3168
+ * @instrumented
2891
3169
  */
2892
3170
  const getWalletConnectCatalogWalletByWalletProviderKey = async ({ walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
2893
3171
  const { normalizedWalletNameWithChain } = require_getVerifiedCredentialForWalletAccount.splitWalletProviderKey(walletProviderKey);
@@ -2917,6 +3195,9 @@ const getWalletConnectCatalogWalletByWalletProviderKey = async ({ walletProvider
2917
3195
  * @param params.userFields - The user fields to update.
2918
3196
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2919
3197
  * @returns A promise that resolves to OTP verification details if verification is required, or undefined.
3198
+ * @instrumented
3199
+
3200
+ * @redact-params
2920
3201
  */
2921
3202
  const updateUser = async ({ userFields }, client = require_InvalidParamError.getDefaultClient()) => {
2922
3203
  const core = require_InvalidParamError.getCore(client);
@@ -2947,6 +3228,7 @@ const updateUser = async ({ userFields }, client = require_InvalidParamError.get
2947
3228
  *
2948
3229
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2949
3230
  * @returns A promise that resolves when the acknowledgment is complete.
3231
+ * @instrumented
2950
3232
  */
2951
3233
  const acknowledgeRecoveryCodes = async (client = require_InvalidParamError.getDefaultClient()) => {
2952
3234
  return updateUser({ userFields: { mfaBackupCodeAcknowledgement: _dynamic_labs_sdk_api_core.MfaBackupCodeAcknowledgement.Complete } }, client);
@@ -2965,6 +3247,7 @@ const acknowledgeRecoveryCodes = async (client = require_InvalidParamError.getDe
2965
3247
  * @param [params.requestedScopes] - Optional scopes to request an elevated access token instead of an MFA token.
2966
3248
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2967
3249
  * @returns A promise that resolves to the MFA authentication response.
3250
+ * @not-instrumented
2968
3251
  */
2969
3252
  const authenticateMfaRecoveryCode = async ({ code, createMfaTokenOptions, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
2970
3253
  const core = require_InvalidParamError.getCore(client);
@@ -2995,6 +3278,7 @@ const authenticateMfaRecoveryCode = async ({ code, createMfaTokenOptions, reques
2995
3278
 
2996
3279
  //#endregion
2997
3280
  //#region src/modules/auth/passkeys/getPasskeyAuthenticationOptions/getPasskeyAuthenticationOptions.ts
3281
+ /** @not-instrumented */
2998
3282
  const getPasskeyAuthenticationOptions = async ({ relatedOriginRpId } = {}, client) => {
2999
3283
  const core = require_InvalidParamError.getCore(client);
3000
3284
  return await require_InvalidParamError.createApiClient({}, client).getPasskeyAuthenticationOptions({
@@ -3005,6 +3289,7 @@ const getPasskeyAuthenticationOptions = async ({ relatedOriginRpId } = {}, clien
3005
3289
 
3006
3290
  //#endregion
3007
3291
  //#region src/modules/auth/passkeys/serverAuthenticatePasskey/serverAuthenticatePasskey.ts
3292
+ /** @not-instrumented */
3008
3293
  const serverAuthenticatePasskey = async ({ authentication, createMfaToken, requestedScopes }, client) => {
3009
3294
  const core = require_InvalidParamError.getCore(client);
3010
3295
  return await require_InvalidParamError.createApiClient({}, client).authenticateMfaPasskeyDevice({
@@ -3035,6 +3320,7 @@ const serverAuthenticatePasskey = async ({ authentication, createMfaToken, reque
3035
3320
  * @returns A promise that resolves to the MFA authentication response.
3036
3321
  * @throws NoWebAuthNSupportError If WebAuthn is not supported by the browser.
3037
3322
  * @throws NoPasskeyCredentialsFoundError If no passkey credentials are found.
3323
+ * @not-instrumented
3038
3324
  */
3039
3325
  const authenticatePasskeyMFA = async ({ createMfaToken, relatedOriginRpId, requestedScopes } = {}, client = require_InvalidParamError.getDefaultClient()) => {
3040
3326
  const core = require_InvalidParamError.getCore(client);
@@ -3084,6 +3370,7 @@ const authenticatePasskeyMFA = async ({ createMfaToken, relatedOriginRpId, reque
3084
3370
  * @param [params.requestedScopes] - Optional scopes to request an elevated access token instead of an MFA token.
3085
3371
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3086
3372
  * @returns A promise that resolves to the MFA authentication response.
3373
+ * @not-instrumented
3087
3374
  */
3088
3375
  const authenticateTotpMfaDevice = async ({ deviceId, code, createMfaTokenOptions, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
3089
3376
  const core = require_InvalidParamError.getCore(client);
@@ -3129,6 +3416,7 @@ const authenticateTotpMfaDevice = async ({ deviceId, code, createMfaTokenOptions
3129
3416
  *
3130
3417
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3131
3418
  * @returns A promise that resolves to the newly generated recovery codes.
3419
+ * @instrumented
3132
3420
  */
3133
3421
  const createNewMfaRecoveryCodes = async (client = require_InvalidParamError.getDefaultClient()) => {
3134
3422
  const core = require_InvalidParamError.getCore(client);
@@ -3149,6 +3437,7 @@ const createNewMfaRecoveryCodes = async (client = require_InvalidParamError.getD
3149
3437
  * @param params.mfaAuthToken - The MFA authentication token. Optional when using elevated access tokens.
3150
3438
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3151
3439
  * @returns A promise that resolves when the MFA device is successfully deleted.
3440
+ * @instrumented
3152
3441
  */
3153
3442
  const deleteMfaDevice = async ({ deviceId, mfaAuthToken }, client = require_InvalidParamError.getDefaultClient()) => {
3154
3443
  const core = require_InvalidParamError.getCore(client);
@@ -3174,6 +3463,7 @@ const deleteMfaDevice = async ({ deviceId, mfaAuthToken }, client = require_Inva
3174
3463
  *
3175
3464
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3176
3465
  * @returns A promise that resolves to an array of the user's registered MFA devices.
3466
+ * @instrumented
3177
3467
  */
3178
3468
  const getMfaDevices = async (client = require_InvalidParamError.getDefaultClient()) => {
3179
3469
  const core = require_InvalidParamError.getCore(client);
@@ -3193,6 +3483,7 @@ const getMfaDevices = async (client = require_InvalidParamError.getDefaultClient
3193
3483
  *
3194
3484
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3195
3485
  * @returns A promise that resolves to the user's MFA recovery codes.
3486
+ * @instrumented
3196
3487
  */
3197
3488
  const getMfaRecoveryCodes = async (client = require_InvalidParamError.getDefaultClient()) => {
3198
3489
  const core = require_InvalidParamError.getCore(client);
@@ -3209,6 +3500,7 @@ const getMfaRecoveryCodes = async (client = require_InvalidParamError.getDefault
3209
3500
  *
3210
3501
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3211
3502
  * @returns True if recovery codes are pending acknowledgment, false otherwise.
3503
+ * @not-instrumented
3212
3504
  */
3213
3505
  const isPendingRecoveryCodesAcknowledgment = (client = require_InvalidParamError.getDefaultClient()) => {
3214
3506
  const user = client.user;
@@ -3226,6 +3518,7 @@ const isPendingRecoveryCodesAcknowledgment = (client = require_InvalidParamError
3226
3518
  *
3227
3519
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3228
3520
  * @returns True if the user needs additional MFA authentication, false otherwise.
3521
+ * @not-instrumented
3229
3522
  */
3230
3523
  const isUserMissingMfaAuth = (client = require_InvalidParamError.getDefaultClient()) => {
3231
3524
  const user = client.user;
@@ -3244,6 +3537,7 @@ const isUserMissingMfaAuth = (client = require_InvalidParamError.getDefaultClien
3244
3537
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3245
3538
  * @returns A promise that resolves to the TOTP registration response containing setup information,
3246
3539
  * like the secret key and the OTP Auth URI.
3540
+ * @instrumented
3247
3541
  */
3248
3542
  const registerTotpMfaDevice = async (client = require_InvalidParamError.getDefaultClient()) => {
3249
3543
  const core = require_InvalidParamError.getCore(client);
@@ -3261,6 +3555,7 @@ const registerTotpMfaDevice = async (client = require_InvalidParamError.getDefau
3261
3555
  * @param params.deviceId - The unique identifier of the MFA device to set as default.
3262
3556
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3263
3557
  * @returns A promise that resolves when the default MFA device is successfully set.
3558
+ * @instrumented
3264
3559
  */
3265
3560
  const setDefaultMfaDevice = async ({ deviceId }, client = require_InvalidParamError.getDefaultClient()) => {
3266
3561
  const core = require_InvalidParamError.getCore(client);
@@ -3282,6 +3577,9 @@ const setDefaultMfaDevice = async ({ deviceId }, client = require_InvalidParamEr
3282
3577
  * @param params.email - The email address to send the OTP to.
3283
3578
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3284
3579
  * @returns A promise that resolves to an OTPVerification object containing the email and verification UUID.
3580
+ * @instrumented
3581
+
3582
+ * @redact-params
3285
3583
  */
3286
3584
  const sendEmailOTP = async ({ email }, client = require_InvalidParamError.getDefaultClient()) => {
3287
3585
  const core = require_InvalidParamError.getCore(client);
@@ -4228,6 +4526,9 @@ const supportedCountries = {
4228
4526
  * @param params.phoneNumber - The phone number to send the OTP to.
4229
4527
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4230
4528
  * @returns A promise that resolves to an OTPVerification object containing the phone details and verification UUID.
4529
+ * @instrumented
4530
+
4531
+ * @redact-params
4231
4532
  */
4232
4533
  const sendSmsOTP = async ({ isoCountryCode, phoneNumber }, client = require_InvalidParamError.getDefaultClient()) => {
4233
4534
  const core = require_InvalidParamError.getCore(client);
@@ -4252,6 +4553,7 @@ const sendSmsOTP = async ({ isoCountryCode, phoneNumber }, client = require_Inva
4252
4553
 
4253
4554
  //#endregion
4254
4555
  //#region src/modules/otp/verifyOTP/verifyOTPForUserSignIn/verifyOTPForUserSignIn.ts
4556
+ /** @not-instrumented */
4255
4557
  const verifyOTPForUserSignIn = async ({ otpVerification, verificationToken }, client) => {
4256
4558
  const core = require_InvalidParamError.getCore(client);
4257
4559
  const apiClient = require_InvalidParamError.createApiClient({}, client);
@@ -4271,6 +4573,7 @@ const verifyOTPForUserSignIn = async ({ otpVerification, verificationToken }, cl
4271
4573
 
4272
4574
  //#endregion
4273
4575
  //#region src/modules/otp/verifyOTP/verifyOTPForUserUpdate/verifyOTPForUserUpdate.ts
4576
+ /** @not-instrumented */
4274
4577
  const verifyOTPForUserUpdate = async ({ otpVerification, verificationToken, requestedScopes }, client) => {
4275
4578
  const core = require_InvalidParamError.getCore(client);
4276
4579
  const apiClient = require_InvalidParamError.createApiClient({}, client);
@@ -4301,6 +4604,7 @@ const verifyOTPForUserUpdate = async ({ otpVerification, verificationToken, requ
4301
4604
  * @param params.verificationToken - The token received from the OTP verification process.
4302
4605
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4303
4606
  * @returns A promise that resolves to the verify response object upon successful verification.
4607
+ * @instrumented
4304
4608
  */
4305
4609
  const verifyOTP = async ({ otpVerification, verificationToken, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
4306
4610
  let response;
@@ -4327,6 +4631,7 @@ const verifyOTP = async ({ otpVerification, verificationToken, requestedScopes }
4327
4631
  *
4328
4632
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4329
4633
  * @returns A promise that resolves when the user account is successfully deleted.
4634
+ * @instrumented
4330
4635
  */
4331
4636
  const deleteUser = async (client = require_InvalidParamError.getDefaultClient()) => {
4332
4637
  const core = require_InvalidParamError.getCore(client);
@@ -4345,6 +4650,7 @@ const deleteUser = async (client = require_InvalidParamError.getDefaultClient())
4345
4650
  *
4346
4651
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4347
4652
  * @returns True if onboarding is complete (no pending requirements), false if there are pending requirements.
4653
+ * @not-instrumented
4348
4654
  */
4349
4655
  const isUserOnboardingComplete = (client = require_InvalidParamError.getDefaultClient()) => {
4350
4656
  const user = client.user;
@@ -4365,6 +4671,7 @@ const isUserOnboardingComplete = (client = require_InvalidParamError.getDefaultC
4365
4671
  *
4366
4672
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4367
4673
  * @returns A promise that resolves to the authenticated user.
4674
+ * @instrumented
4368
4675
  */
4369
4676
  const refreshUser = async (client = require_InvalidParamError.getDefaultClient()) => {
4370
4677
  const core = require_InvalidParamError.getCore(client);
@@ -4391,6 +4698,7 @@ const refreshUser = async (client = require_InvalidParamError.getDefaultClient()
4391
4698
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4392
4699
  * @returns A promise that resolves if the wallet is available for signing.
4393
4700
  * @throws WalletAccountNotSelectedError If the wallet account is not currently selected.
4701
+ * @not-instrumented
4394
4702
  */
4395
4703
  const assertWalletAccountSigningAvailability = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4396
4704
  const { addresses } = await require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client).getConnectedAddresses();
@@ -4404,18 +4712,22 @@ const assertWalletAccountSigningAvailability = async ({ walletAccount }, client
4404
4712
  //#region src/utils/isMobile/isMobile.ts
4405
4713
  /**
4406
4714
  * Sourced from http://detectmobilebrowsers.com/
4715
+ * @not-instrumented
4407
4716
  */
4408
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;
4409
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 */
4410
4720
  const isMobile = (maxTouchPointsOverride) => {
4411
4721
  if (typeof window === "undefined" || typeof navigator === "undefined") return false;
4412
4722
  return userAgentRegex1.test(navigator.userAgent) || userAgentRegex2.test(navigator.userAgent.substring(0, 4)) || isIPad(maxTouchPointsOverride) || isIPhone();
4413
4723
  };
4724
+ /** @not-instrumented */
4414
4725
  const isIPhone = () => typeof window === "undefined" || typeof navigator === "undefined" ? false : /iPhone|ios/.test(navigator.userAgent);
4415
4726
  /**
4416
4727
  * @param [optional] maxTouchPointsOverride - this is used for testing since
4417
4728
  * it seems that JSDOM doesn't support maxTouchPoints, so it was impossible
4418
4729
  * to mock it
4730
+ * @not-instrumented
4419
4731
  */
4420
4732
  const isIPad = (maxTouchPointsOverride) => {
4421
4733
  if (typeof window === "undefined" || typeof navigator === "undefined") return false;
@@ -4425,6 +4737,7 @@ const isIPad = (maxTouchPointsOverride) => {
4425
4737
 
4426
4738
  //#endregion
4427
4739
  //#region src/modules/wallets/utils/getAddressesWithTypesFromConnectionResult/getAddressesWithTypesFromConnectionResult.ts
4740
+ /** @not-instrumented */
4428
4741
  const getAddressesWithTypesFromConnectionResult = (connectionResult) => {
4429
4742
  return connectionResult.addresses.filter((address) => !!address.address && !!address.type);
4430
4743
  };
@@ -4445,6 +4758,7 @@ const getAddressesWithTypesFromConnectionResult = (connectionResult) => {
4445
4758
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4446
4759
  * @returns A promise that resolves to the connected wallet account.
4447
4760
  * @throws NoAddressFoundError If the request to connect was successful but no address is connected to your app.
4761
+ * @instrumented
4448
4762
  */
4449
4763
  const connectWithWalletProvider = async ({ walletProviderKey, addToDynamicWalletAccounts = true, hardwareWalletVendor }, client = require_InvalidParamError.getDefaultClient()) => {
4450
4764
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -4489,11 +4803,13 @@ const connectWithWalletProvider = async ({ walletProviderKey, addToDynamicWallet
4489
4803
  * @param params.hardwareWalletVendor - The hardware wallet vendor that produced the signature.
4490
4804
  * @param params.signature - The raw signature string to wrap.
4491
4805
  * @returns The signature wrapped in `{ signedTransaction: { data } }` JSON format.
4806
+ * @not-instrumented
4492
4807
  */
4493
4808
  const formatSignatureForHardwareWallet = ({ signature, hardwareWalletVendor: _ }) => JSON.stringify({ signedTransaction: { data: signature } });
4494
4809
 
4495
4810
  //#endregion
4496
4811
  //#region src/modules/wallets/utils/getChainIdForAccountVerification/getChainIdForAccountVerification.ts
4812
+ /** @not-instrumented */
4497
4813
  const getChainIdForAccountVerification = async ({ walletProvider }) => {
4498
4814
  if ([
4499
4815
  "BTC",
@@ -4507,6 +4823,7 @@ const getChainIdForAccountVerification = async ({ walletProvider }) => {
4507
4823
 
4508
4824
  //#endregion
4509
4825
  //#region src/modules/wallets/utils/getSignInMessage/getSignInMessage.ts
4826
+ /** @not-instrumented */
4510
4827
  const getSignInMessage = async ({ walletAccount }, client) => {
4511
4828
  const core = require_InvalidParamError.getCore(client);
4512
4829
  const universalLink = core.metadata?.universalLink;
@@ -4550,6 +4867,7 @@ const getSignInMessage = async ({ walletAccount }, client) => {
4550
4867
  * @param params.walletAccount - The wallet account to prove ownership of.
4551
4868
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4552
4869
  * @returns A promise that resolves to an object containing the message and signature.
4870
+ * @instrumented
4553
4871
  */
4554
4872
  const proveWalletAccountOwnership = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4555
4873
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -4567,10 +4885,12 @@ const proveWalletAccountOwnership = async ({ walletAccount }, client = require_I
4567
4885
 
4568
4886
  //#endregion
4569
4887
  //#region src/modules/wallets/utils/isSameAddress/isSameAddress.ts
4888
+ /** @not-instrumented */
4570
4889
  const isSameAddress = (left, right, chain) => require_getVerifiedCredentialForWalletAccount.normalizeAddress(left, chain) === require_getVerifiedCredentialForWalletAccount.normalizeAddress(right, chain);
4571
4890
 
4572
4891
  //#endregion
4573
4892
  //#region src/modules/wallets/verifyWalletAccountForSignInOrTransfer/verifyWalletAccountForSignInOrTransfer.ts
4893
+ /** @not-instrumented */
4574
4894
  const verifyWalletAccountForSignInOrTransfer = async ({ walletAccount, isTransfer, requestedScopes }, client) => {
4575
4895
  if (walletAccount.verifiedCredentialId) throw new WalletAccountAlreadyVerifiedError(walletAccount.address);
4576
4896
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -4622,6 +4942,7 @@ const verifyWalletAccountForSignInOrTransfer = async ({ walletAccount, isTransfe
4622
4942
  * @returns A promise that resolves to the verified wallet account.
4623
4943
  * @throws WalletAccountAlreadyVerifiedError If the wallet is already verified.
4624
4944
  * @throws WalletAlreadyLinkedToAnotherUserError If the wallet is linked to another user.
4945
+ * @instrumented
4625
4946
  */
4626
4947
  const verifyWalletAccount = async ({ walletAccount, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
4627
4948
  return verifyWalletAccountForSignInOrTransfer({
@@ -4635,6 +4956,7 @@ const verifyWalletAccount = async ({ walletAccount, requestedScopes }, client =
4635
4956
  //#region src/modules/wallets/walletProvider/isDeeplinkWalletProvider/isDeeplinkWalletProvider.ts
4636
4957
  /**
4637
4958
  * Returns true if the wallet provider uses the deep link protocol (e.g. Phantom redirect on mobile).
4959
+ * @not-instrumented
4638
4960
  */
4639
4961
  const isDeeplinkWalletProvider = ({ walletProvider }) => walletProvider.walletProviderType === _dynamic_labs_sdk_api_core.WalletProviderEnum.DeepLink;
4640
4962
 
@@ -4661,6 +4983,7 @@ const isDeeplinkWalletProvider = ({ walletProvider }) => walletProvider.walletPr
4661
4983
  * @param [params.hardwareWalletVendor] - The hardware wallet vendor, if connecting via a hardware wallet (e.g. 'ledger').
4662
4984
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4663
4985
  * @returns A promise that resolves to the connected and verified wallet account.
4986
+ * @instrumented
4664
4987
  */
4665
4988
  const connectAndVerifyWithWalletProvider = async ({ walletProviderKey, hardwareWalletVendor }, client = require_InvalidParamError.getDefaultClient()) => {
4666
4989
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -4688,6 +5011,7 @@ const connectAndVerifyWithWalletProvider = async ({ walletProviderKey, hardwareW
4688
5011
  *
4689
5012
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4690
5013
  * @returns An array of wallet provider data including chain, keys, and metadata.
5014
+ * @instrumented
4691
5015
  */
4692
5016
  const getAvailableWalletProvidersData = (client = require_InvalidParamError.getDefaultClient()) => {
4693
5017
  return require_getVerifiedCredentialForWalletAccount.getWalletProviders(client).filter((walletProvider) => Boolean(walletProvider.connect)).map((walletProvider) => ({
@@ -4710,6 +5034,7 @@ const getAvailableWalletProvidersData = (client = require_InvalidParamError.getD
4710
5034
  * @param params.walletProviderKey - The unique key of the wallet provider to query.
4711
5035
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4712
5036
  * @returns An array of connected wallet addresses.
5037
+ * @instrumented
4713
5038
  */
4714
5039
  const getConnectedAddresses = ({ walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
4715
5040
  return require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client).getConnectedAddresses();
@@ -4717,6 +5042,7 @@ const getConnectedAddresses = ({ walletProviderKey }, client = require_InvalidPa
4717
5042
 
4718
5043
  //#endregion
4719
5044
  //#region src/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.ts
5045
+ /** @instrumented */
4720
5046
  const getOwnerWalletAccountForSmartWalletAccount = ({ smartWalletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4721
5047
  const smartWalletVerifiedCredential = require_getVerifiedCredentialForWalletAccount.getVerifiedCredentialForWalletAccount({ walletAccount: smartWalletAccount }, client);
4722
5048
  require_InvalidParamError.assertDefined(smartWalletVerifiedCredential?.signerRefId, "Invalid smart wallet account");
@@ -4725,6 +5051,7 @@ const getOwnerWalletAccountForSmartWalletAccount = ({ smartWalletAccount }, clie
4725
5051
 
4726
5052
  //#endregion
4727
5053
  //#region src/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.ts
5054
+ /** @not-instrumented */
4728
5055
  const getWalletAccountAddressByType = ({ type, walletAccount }) => {
4729
5056
  return walletAccount.addressesWithTypes?.find((address) => address.type === type)?.address;
4730
5057
  };
@@ -4737,6 +5064,7 @@ const getWalletAccountAddressByType = ({ type, walletAccount }) => {
4737
5064
  * @param params.walletProviderKey - The key of the wallet provider to retrieve data for.
4738
5065
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4739
5066
  * @returns The data for the wallet provider.
5067
+ * @not-instrumented
4740
5068
  */
4741
5069
  const getWalletProviderDataByKey = ({ walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
4742
5070
  const { chain, groupKey, key, metadata, walletProviderType } = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -4758,6 +5086,7 @@ const getWalletProviderDataByKey = ({ walletProviderKey }, client = require_Inva
4758
5086
  * @param params.hardwareWalletVendor - The hardware wallet vendor to check for.
4759
5087
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4760
5088
  * @returns Whether the wallet provider supports the specified hardware wallet vendor.
5089
+ * @not-instrumented
4761
5090
  */
4762
5091
  const canConnectWithHardwareWallet = ({ walletProviderKey, hardwareWalletVendor }, client = require_InvalidParamError.getDefaultClient()) => {
4763
5092
  return require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client).metadata.supportedHardwareWalletVendors?.includes(hardwareWalletVendor) ?? false;
@@ -4770,6 +5099,7 @@ const canConnectWithHardwareWallet = ({ walletProviderKey, hardwareWalletVendor
4770
5099
  *
4771
5100
  * @param params.walletAccount - The wallet account to check.
4772
5101
  * @returns Whether the wallet account has a hardware wallet vendor set.
5102
+ * @not-instrumented
4773
5103
  */
4774
5104
  const isHardwareWalletAccount = ({ walletAccount }) => walletAccount.hardwareWalletVendor !== void 0;
4775
5105
 
@@ -4780,6 +5110,7 @@ const isHardwareWalletAccount = ({ walletAccount }) => walletAccount.hardwareWal
4780
5110
  *
4781
5111
  * @param walletAccount - The wallet account to check.
4782
5112
  * @returns True if the wallet account has been verified, false otherwise.
5113
+ * @not-instrumented
4783
5114
  */
4784
5115
  const isWalletAccountVerified = ({ walletAccount }) => {
4785
5116
  return walletAccount.verifiedCredentialId !== null;
@@ -4798,6 +5129,7 @@ const isWalletAccountVerified = ({ walletAccount }) => {
4798
5129
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4799
5130
  * @returns A promise that resolves when the network addition is complete.
4800
5131
  * @throws NetworkAddingUnavailableError If the wallet provider doesn't support adding networks.
5132
+ * @instrumented
4801
5133
  */
4802
5134
  const addNetwork = async ({ networkData, walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4803
5135
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey: walletAccount.walletProviderKey }, client);
@@ -4821,6 +5153,7 @@ const addNetwork = async ({ networkData, walletAccount }, client = require_Inval
4821
5153
  * @param params.walletAccount - The wallet account to get network data for.
4822
5154
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4823
5155
  * @returns A promise that resolves to the network data, or undefined if not found.
5156
+ * @instrumented
4824
5157
  */
4825
5158
  const getActiveNetworkData = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4826
5159
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -4836,6 +5169,7 @@ const getActiveNetworkData = async ({ walletAccount }, client = require_InvalidP
4836
5169
  * @param params.walletAccount - The wallet account to get the network ID for.
4837
5170
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4838
5171
  * @returns A promise that resolves to the active network ID for the wallet account.
5172
+ * @instrumented
4839
5173
  */
4840
5174
  const getActiveNetworkId = ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4841
5175
  return require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client).getActiveNetworkId();
@@ -4852,6 +5186,7 @@ const getActiveNetworkId = ({ walletAccount }, client = require_InvalidParamErro
4852
5186
  * @param params.walletAccount - The wallet account to get the balance for.
4853
5187
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4854
5188
  * @returns A promise that resolves to an object containing the balance as a string or null.
5189
+ * @instrumented
4855
5190
  */
4856
5191
  const getBalance = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4857
5192
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -4875,6 +5210,7 @@ const getBalance = async ({ walletAccount }, client = require_InvalidParamError.
4875
5210
  * @param params.networkId - The specific network ID within the chain.
4876
5211
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4877
5212
  * @returns A promise that resolves to an object containing the balance as a string or null.
5213
+ * @instrumented
4878
5214
  */
4879
5215
  const getBalanceForAddress = async ({ address, chain, networkId }, client = require_InvalidParamError.getDefaultClient()) => {
4880
5216
  const networkProvider = require_getNetworkProviderFromNetworkId.getNetworkProviderFromNetworkId({
@@ -4900,6 +5236,7 @@ const getBalanceForAddress = async ({ address, chain, networkId }, client = requ
4900
5236
  * @param [params.offset] - The offset to use for pagination.
4901
5237
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4902
5238
  * @returns A promise that resolves to the transaction history along with nextOffset for the given wallet address and chain.
5239
+ * @instrumented
4903
5240
  */
4904
5241
  const getTransactionHistory = async (params, client = require_InvalidParamError.getDefaultClient()) => {
4905
5242
  const core = require_InvalidParamError.getCore(client);
@@ -4922,6 +5259,7 @@ const getTransactionHistory = async (params, client = require_InvalidParamError.
4922
5259
  * @param params.walletAccount - The wallet account to check network switching support for.
4923
5260
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4924
5261
  * @returns True if programmatic network switching is available, false otherwise.
5262
+ * @not-instrumented
4925
5263
  */
4926
5264
  const isProgrammaticNetworkSwitchAvailable = ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4927
5265
  return require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey: walletAccount.walletProviderKey }, client).switchActiveNetwork !== void 0;
@@ -4940,6 +5278,7 @@ const isProgrammaticNetworkSwitchAvailable = ({ walletAccount }, client = requir
4940
5278
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4941
5279
  * @returns A promise that resolves when the network switch is complete.
4942
5280
  * @throws NetworkSwitchingUnavailableError If the wallet provider doesn't support network switching.
5281
+ * @instrumented
4943
5282
  */
4944
5283
  const switchActiveNetwork = async ({ networkId, walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4945
5284
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey: walletAccount.walletProviderKey }, client);
@@ -4955,6 +5294,7 @@ const switchActiveNetwork = async ({ networkId, walletAccount }, client = requir
4955
5294
  //#region src/modules/wallets/primaryWalletAccount/selectPrimaryWalletAccount/selectPrimaryWalletAccount.ts
4956
5295
  /**
4957
5296
  * Make the wallet account provided as the primary wallet account.
5297
+ * @instrumented
4958
5298
  */
4959
5299
  const selectPrimaryWalletAccount = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
4960
5300
  const core = require_InvalidParamError.getCore(client);
@@ -4976,6 +5316,7 @@ const selectPrimaryWalletAccount = async ({ walletAccount }, client = require_In
4976
5316
  *
4977
5317
  * The wallet account is not removed from the user's profile or from dynamic's state,
4978
5318
  * it is only responsible for terminating the connection with the wallet provider.
5319
+ * @not-instrumented
4979
5320
  */
4980
5321
  const disconnectWalletAccount = async ({ walletAccount }, client) => {
4981
5322
  try {
@@ -4998,6 +5339,7 @@ const disconnectWalletAccount = async ({ walletAccount }, client) => {
4998
5339
  * @param params.walletAccount - The wallet account to remove.
4999
5340
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5000
5341
  * @returns A promise that resolves when the wallet account is successfully removed.
5342
+ * @instrumented
5001
5343
  */
5002
5344
  const removeWalletAccount = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
5003
5345
  const core = require_InvalidParamError.getCore(client);
@@ -5025,6 +5367,7 @@ const removeWalletAccount = async ({ walletAccount }, client = require_InvalidPa
5025
5367
  * @param params.message - The message to sign.
5026
5368
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5027
5369
  * @returns A promise that resolves to an object containing the signature.
5370
+ * @instrumented
5028
5371
  */
5029
5372
  const signMessage = async ({ walletAccount, message }, client = require_InvalidParamError.getDefaultClient()) => {
5030
5373
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -5051,6 +5394,7 @@ const signMessage = async ({ walletAccount, message }, client = require_InvalidP
5051
5394
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5052
5395
  * @returns A promise that resolves to an object containing the transaction hash.
5053
5396
  * @throws If the wallet provider does not support the transfer amount method.
5397
+ * @instrumented
5054
5398
  */
5055
5399
  const transferAmount = async ({ walletAccount, amount, recipient, token }, client = require_InvalidParamError.getDefaultClient()) => {
5056
5400
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
@@ -5075,6 +5419,7 @@ const transferAmount = async ({ walletAccount, amount, recipient, token }, clien
5075
5419
  * @param params.walletProviderKey - The key of the wallet provider of the wallet account to transfer.
5076
5420
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5077
5421
  * @returns A promise that resolves to the transferred wallet account.
5422
+ * @instrumented
5078
5423
  */
5079
5424
  const transferWalletAccount = async ({ walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
5080
5425
  return verifyWalletAccountForSignInOrTransfer({
@@ -5098,6 +5443,7 @@ const transferWalletAccount = async ({ walletProviderKey }, client = require_Inv
5098
5443
  * @param params.chain - The blockchain the wallet belongs to.
5099
5444
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5100
5445
  * @returns The matching wallet account, or undefined if not found.
5446
+ * @not-instrumented
5101
5447
  */
5102
5448
  const getWalletAccountFromAddress = ({ address, chain }, client = require_InvalidParamError.getDefaultClient()) => {
5103
5449
  return require_getVerifiedCredentialForWalletAccount.getWalletAccounts(client).find((walletAccount) => walletAccount.address === address && walletAccount.chain === chain);
@@ -5114,6 +5460,7 @@ const getWalletAccountFromAddress = ({ address, chain }, client = require_Invali
5114
5460
  * @param params.event - The event name to remove the listener from.
5115
5461
  * @param params.walletProviderKey - The unique key identifying the wallet provider to remove the listener from.
5116
5462
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5463
+ * @instrumented
5117
5464
  */
5118
5465
  const offWalletProviderEvent = ({ callback, event, walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
5119
5466
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -5131,6 +5478,7 @@ const offWalletProviderEvent = ({ callback, event, walletProviderKey }, client =
5131
5478
  * @param params.walletProviderKey - The unique key identifying the wallet provider to listen to.
5132
5479
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5133
5480
  * @returns A function that can be called to remove the listener.
5481
+ * @instrumented
5134
5482
  */
5135
5483
  const onWalletProviderEvent = ({ callback, event, walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
5136
5484
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -5204,6 +5552,7 @@ const osMatchers = [
5204
5552
  pattern: /CrOS/
5205
5553
  }
5206
5554
  ];
5555
+ /** @not-instrumented */
5207
5556
  const parseUserAgent = ({ userAgent }) => {
5208
5557
  if (!userAgent?.trim()) return null;
5209
5558
  const browser = browserMatchers.find(({ pattern }) => pattern.test(userAgent))?.name;
@@ -5353,6 +5702,7 @@ exports.refreshUser = refreshUser;
5353
5702
  exports.registerPasskey = registerPasskey;
5354
5703
  exports.registerTotpMfaDevice = registerTotpMfaDevice;
5355
5704
  exports.removeWalletAccount = removeWalletAccount;
5705
+ exports.requestExternalAuthElevatedToken = requestExternalAuthElevatedToken;
5356
5706
  exports.revokeAllRegisteredDevices = revokeAllRegisteredDevices;
5357
5707
  exports.revokeRegisteredDevice = revokeRegisteredDevice;
5358
5708
  exports.selectPrimaryWalletAccount = selectPrimaryWalletAccount;
@@ -5360,6 +5710,7 @@ exports.sendEmailOTP = sendEmailOTP;
5360
5710
  exports.sendSmsOTP = sendSmsOTP;
5361
5711
  exports.setCaptchaToken = require_getNetworkProviderFromNetworkId.setCaptchaToken;
5362
5712
  exports.setDefaultMfaDevice = setDefaultMfaDevice;
5713
+ exports.setInstrumentationEnabled = setInstrumentationEnabled;
5363
5714
  exports.signInWithExternalJwt = signInWithExternalJwt;
5364
5715
  exports.signInWithPasskey = signInWithPasskey;
5365
5716
  exports.signMessage = signMessage;