@dynamic-labs-sdk/client 0.26.9 → 0.26.10

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 (184) hide show
  1. package/dist/{InvalidParamError-0lP4zZBe.esm.js → InvalidParamError-De4xrOs4.esm.js} +17 -101
  2. package/dist/InvalidParamError-De4xrOs4.esm.js.map +1 -0
  3. package/dist/{InvalidParamError-CY4JGkjq.native.esm.js → InvalidParamError-DfGaCYmW.native.esm.js} +17 -101
  4. package/dist/InvalidParamError-DfGaCYmW.native.esm.js.map +1 -0
  5. package/dist/{InvalidParamError-Cu4kK02f.cjs → InvalidParamError-XWDgGlk3.cjs} +43 -127
  6. package/dist/InvalidParamError-XWDgGlk3.cjs.map +1 -0
  7. package/dist/{NotWaasWalletAccountError-BAD01hkG.esm.js → NotWaasWalletAccountError-Bws_qXec.native.esm.js} +5 -5
  8. package/dist/{NotWaasWalletAccountError-DYuQuYeI.native.esm.js.map → NotWaasWalletAccountError-Bws_qXec.native.esm.js.map} +1 -1
  9. package/dist/{NotWaasWalletAccountError-DYuQuYeI.native.esm.js → NotWaasWalletAccountError-CdAul2Xh.esm.js} +5 -5
  10. package/dist/{NotWaasWalletAccountError-BAD01hkG.esm.js.map → NotWaasWalletAccountError-CdAul2Xh.esm.js.map} +1 -1
  11. package/dist/{NotWaasWalletAccountError-CWKsiVqV.cjs → NotWaasWalletAccountError-rJzT_0wz.cjs} +5 -5
  12. package/dist/{NotWaasWalletAccountError-CWKsiVqV.cjs.map → NotWaasWalletAccountError-rJzT_0wz.cjs.map} +1 -1
  13. package/dist/core.cjs +53 -113
  14. package/dist/core.cjs.map +1 -1
  15. package/dist/core.esm.js +16 -76
  16. package/dist/core.esm.js.map +1 -1
  17. package/dist/core.native.esm.js +16 -76
  18. package/dist/core.native.esm.js.map +1 -1
  19. package/dist/{getNetworkProviderFromNetworkId-VDuMPEtz.cjs → getNetworkProviderFromNetworkId-C_6K_daH.cjs} +110 -362
  20. package/dist/getNetworkProviderFromNetworkId-C_6K_daH.cjs.map +1 -0
  21. package/dist/{getNetworkProviderFromNetworkId-D1mT7AfE.esm.js → getNetworkProviderFromNetworkId-Cqzo1MhF.esm.js} +41 -293
  22. package/dist/getNetworkProviderFromNetworkId-Cqzo1MhF.esm.js.map +1 -0
  23. package/dist/{getNetworkProviderFromNetworkId-Cjj23n1Y.native.esm.js → getNetworkProviderFromNetworkId-Dz1Wd9-n.native.esm.js} +41 -293
  24. package/dist/getNetworkProviderFromNetworkId-Dz1Wd9-n.native.esm.js.map +1 -0
  25. package/dist/{getSignedSessionId-qeRsJErq.cjs → getSignedSessionId-B2YC9266.cjs} +10 -34
  26. package/dist/getSignedSessionId-B2YC9266.cjs.map +1 -0
  27. package/dist/{getSignedSessionId-DQr-WJ3a.esm.js → getSignedSessionId-D-G950gE.native.esm.js} +7 -31
  28. package/dist/getSignedSessionId-D-G950gE.native.esm.js.map +1 -0
  29. package/dist/{getSignedSessionId-BGFoe3gh.native.esm.js → getSignedSessionId-G9BPBkMb.esm.js} +7 -31
  30. package/dist/getSignedSessionId-G9BPBkMb.esm.js.map +1 -0
  31. package/dist/{getVerifiedCredentialForWalletAccount-DEkVcH8j.esm.js → getVerifiedCredentialForWalletAccount-DqXnLSqq.esm.js} +19 -127
  32. package/dist/getVerifiedCredentialForWalletAccount-DqXnLSqq.esm.js.map +1 -0
  33. package/dist/{getVerifiedCredentialForWalletAccount-CjPzTFHz.cjs → getVerifiedCredentialForWalletAccount-SS1WQ2i3.cjs} +67 -175
  34. package/dist/getVerifiedCredentialForWalletAccount-SS1WQ2i3.cjs.map +1 -0
  35. package/dist/{getVerifiedCredentialForWalletAccount-BCPvaJ1V.native.esm.js → getVerifiedCredentialForWalletAccount-a1WXUW0u.native.esm.js} +19 -127
  36. package/dist/getVerifiedCredentialForWalletAccount-a1WXUW0u.native.esm.js.map +1 -0
  37. package/dist/index.cjs +203 -635
  38. package/dist/index.cjs.map +1 -1
  39. package/dist/index.esm.js +161 -593
  40. package/dist/index.esm.js.map +1 -1
  41. package/dist/index.native.esm.js +156 -588
  42. package/dist/index.native.esm.js.map +1 -1
  43. package/dist/{isMfaRequiredForAction-CTghrtq8.esm.js → isMfaRequiredForAction-CPlDnHuj.esm.js} +6 -18
  44. package/dist/isMfaRequiredForAction-CPlDnHuj.esm.js.map +1 -0
  45. package/dist/{isMfaRequiredForAction-qSv2yrfd.cjs → isMfaRequiredForAction-CYVZ_XGq.cjs} +7 -19
  46. package/dist/isMfaRequiredForAction-CYVZ_XGq.cjs.map +1 -0
  47. package/dist/{isMfaRequiredForAction-DaZoGOB-.native.esm.js → isMfaRequiredForAction-CwUE98S3.native.esm.js} +6 -18
  48. package/dist/isMfaRequiredForAction-CwUE98S3.native.esm.js.map +1 -0
  49. package/dist/modules/apiClient/createApiClient.d.ts +1 -1
  50. package/dist/modules/apiClient/utils/deviceSignatureHeadersMiddleware/createDeviceSignatureHeadersMiddleware.d.ts +1 -1
  51. package/dist/modules/apiClient/utils/deviceSignatureHeadersMiddleware/createDeviceSignatureHeadersMiddleware.d.ts.map +1 -1
  52. package/dist/modules/auth/createVisit/createVisit.d.ts +1 -1
  53. package/dist/modules/auth/createVisit/createVisit.d.ts.map +1 -1
  54. package/dist/modules/auth/passkeys/getPasskeys/getPasskeys.d.ts +1 -1
  55. package/dist/modules/auth/social/getUserSocialAccounts/getUserSocialAccounts.d.ts +1 -1
  56. package/dist/modules/auth/social/oauth/detectOAuthRedirect/detectOAuthRedirect.d.ts +1 -1
  57. package/dist/modules/auth/social/oauth/detectSocialRedirectUrl/detectSocialRedirectUrl.d.ts +1 -1
  58. package/dist/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts +1 -1
  59. package/dist/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts.map +1 -1
  60. package/dist/modules/balances/getBalances/getBalances.d.ts +1 -1
  61. package/dist/modules/balances/getMultichainBalances/getMultichainBalances.d.ts +1 -1
  62. package/dist/modules/captcha/consumeCaptchaToken/consumeCaptchaToken.d.ts +1 -1
  63. package/dist/modules/checkout/getCheckoutTransaction/getCheckoutTransaction.d.ts +1 -1
  64. package/dist/modules/checkout/getCheckoutTransactionQuote/getCheckoutTransactionQuote.d.ts +1 -1
  65. package/dist/modules/checkout/trackCheckoutTransaction/trackCheckoutTransaction.d.ts +1 -1
  66. package/dist/modules/checkout/utils/requiresConversion/requiresConversion.d.ts +1 -1
  67. package/dist/modules/clientEvents/clientEvents.d.ts +3 -3
  68. package/dist/modules/deviceRegistration/detectDeviceRegistrationRedirect/detectDeviceRegistrationRedirect.d.ts +1 -1
  69. package/dist/modules/deviceRegistration/getDeviceRegistrationTokenFromUrl/getDeviceRegistrationTokenFromUrl.d.ts +1 -1
  70. package/dist/modules/deviceRegistration/getDeviceSigner/getDeviceSigner.d.ts +1 -1
  71. package/dist/modules/deviceRegistration/getDeviceSigner/getDeviceSigner.d.ts.map +1 -1
  72. package/dist/modules/deviceRegistration/getHeadersForNonceSignedByDeviceSigners/getHeadersForNonceSignedByDeviceSigners.d.ts +1 -1
  73. package/dist/modules/deviceRegistration/getHeadersForNonceSignedByDeviceSigners/getHeadersForNonceSignedByDeviceSigners.d.ts.map +1 -1
  74. package/dist/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.d.ts +1 -1
  75. package/dist/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.d.ts.map +1 -1
  76. package/dist/modules/extension/registerExtension/registerExtension.d.ts +1 -1
  77. package/dist/modules/funding/coinbase/addCoinbaseOnrampOrderEventListener/addCoinbaseOnrampOrderEventListener.d.ts +1 -1
  78. package/dist/modules/funding/coinbase/getCoinbaseBuyUrl/getCoinbaseBuyUrl.d.ts +1 -1
  79. package/dist/modules/funding/coinbase/getMissingVerificationForCoinbaseOnrampOrder/getMissingVerificationForCoinbaseOnrampOrder.d.ts +1 -1
  80. package/dist/modules/funding/kraken/getKrakenAccounts/getKrakenAccounts.d.ts +1 -1
  81. package/dist/modules/funding/kraken/getKrakenWhitelistedAddresses/getKrakenWhitelistedAddresses.d.ts +1 -1
  82. package/dist/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.d.ts +1 -1
  83. package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts +1 -1
  84. package/dist/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts.map +1 -1
  85. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getWalletConnectCatalog.d.ts +1 -1
  86. package/dist/modules/legacyWalletBook/getWalletConnectCatalogWalletByWalletProviderKey/getWalletConnectCatalogWalletByWalletProviderKey.d.ts +1 -1
  87. package/dist/modules/mfa/consumeMfaTokenIfRequiredForAction/consumeMfaTokenIfRequiredForAction.d.ts +1 -1
  88. package/dist/modules/mfa/consumeMfaTokenIfRequiredForAction/consumeMfaTokenIfRequiredForAction.d.ts.map +1 -1
  89. package/dist/modules/mfa/getMfaDevices/getMfaDevices.d.ts +1 -1
  90. package/dist/modules/mfa/getMfaMethods/getMfaMethods.d.ts +1 -1
  91. package/dist/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.d.ts +1 -1
  92. package/dist/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts +1 -1
  93. package/dist/modules/sessionKeys/generateSessionKeys/generateSessionKeys.d.ts +1 -1
  94. package/dist/modules/sessionKeys/generateSessionKeys/generateSessionKeys.d.ts.map +1 -1
  95. package/dist/modules/sessionKeys/getSessionKeys/getSessionKeys.d.ts +1 -1
  96. package/dist/modules/sessionKeys/getSessionKeys/getSessionKeys.d.ts.map +1 -1
  97. package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts +1 -1
  98. package/dist/modules/sessionKeys/getSignedSessionId/getSignedSessionId.d.ts.map +1 -1
  99. package/dist/modules/swap/getSwapQuote/getSwapQuote.d.ts +1 -1
  100. package/dist/modules/swap/getSwapStatus/getSwapStatus.d.ts +1 -1
  101. package/dist/modules/wallets/getAvailableWalletProvidersData/getAvailableWalletProvidersData.d.ts +1 -1
  102. package/dist/modules/wallets/getConnectedAddresses/getConnectedAddresses.d.ts +1 -1
  103. package/dist/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.d.ts +1 -1
  104. package/dist/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.d.ts.map +1 -1
  105. package/dist/modules/wallets/getWalletAccounts/getWalletAccounts.d.ts +1 -1
  106. package/dist/modules/wallets/getWalletProviders/getWalletProviders.d.ts +1 -1
  107. package/dist/modules/wallets/networks/createBaseNetworkProvider/createBaseNetworkProvider.d.ts +1 -1
  108. package/dist/modules/wallets/networks/createBaseNetworkProvider/createBaseNetworkProvider.d.ts.map +1 -1
  109. package/dist/modules/wallets/networks/getActiveNetworkData/getActiveNetworkData.d.ts +1 -1
  110. package/dist/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.d.ts +1 -1
  111. package/dist/modules/wallets/networks/getBalance/getBalance.d.ts +1 -1
  112. package/dist/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.d.ts +1 -1
  113. package/dist/modules/wallets/networks/getNetworkDataForNetworkId/getNetworkDataForNetworkId.d.ts +1 -1
  114. package/dist/modules/wallets/networks/getNetworkDataForNetworkId/getNetworkDataForNetworkId.d.ts.map +1 -1
  115. package/dist/modules/wallets/networks/getNetworkProviderFromNetworkId/getNetworkProviderFromNetworkId.d.ts +1 -1
  116. package/dist/modules/wallets/networks/getNetworkProviderFromNetworkId/getNetworkProviderFromNetworkId.d.ts.map +1 -1
  117. package/dist/modules/wallets/networks/getNetworkProviders/getNetworkProviders.d.ts +1 -1
  118. package/dist/modules/wallets/networks/getNetworksData/getNetworksData.d.ts +1 -1
  119. package/dist/modules/wallets/networks/getTransactionHistory/getTransactionHistory.d.ts +1 -1
  120. package/dist/modules/wallets/primaryWalletAccount/getPrimaryWalletAccount/getPrimaryWalletAccount.d.ts +1 -1
  121. package/dist/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts +1 -1
  122. package/dist/modules/wallets/unverifiedWalletAccounts/setUnverifiedWalletAccounts/setUnverifiedWalletAccounts.d.ts +1 -1
  123. package/dist/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts +1 -1
  124. package/dist/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts.map +1 -1
  125. package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts +1 -1
  126. package/dist/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts.map +1 -1
  127. package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts +1 -1
  128. package/dist/modules/wallets/utils/getWalletProviderFromWalletAccount/getWalletProviderFromWalletAccount.d.ts.map +1 -1
  129. package/dist/modules/wallets/verifyMessageSignatureOwnership/verifyMessageSignatureOwnership.d.ts +1 -1
  130. package/dist/modules/wallets/walletProvider/defaultImplementations/getActiveNetworkIdFromLastKnownRegistry/getActiveNetworkIdFromLastKnownRegistry.d.ts +1 -1
  131. package/dist/modules/wallets/walletProvider/defaultImplementations/getActiveNetworkIdFromLastKnownRegistry/getActiveNetworkIdFromLastKnownRegistry.d.ts.map +1 -1
  132. package/dist/modules/wallets/walletProvider/defaultImplementations/switchActiveNetworkInLastKnownRegistry/switchActiveNetworkInLastKnownRegistry.d.ts +1 -1
  133. package/dist/modules/wallets/walletProvider/defaultImplementations/switchActiveNetworkInLastKnownRegistry/switchActiveNetworkInLastKnownRegistry.d.ts.map +1 -1
  134. package/dist/modules/wallets/walletProvider/events/createWalletProviderEventEmitter/createWalletProviderEventEmitter.d.ts +1 -1
  135. package/dist/modules/wallets/walletProvider/events/offWalletProviderEvent/offWalletProviderEvent.d.ts +1 -1
  136. package/dist/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.d.ts +1 -1
  137. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts +1 -1
  138. package/dist/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts.map +1 -1
  139. package/dist/services/crossTabBroadcast/createCrossTabBroadcast/createCrossTabBroadcast.d.ts +1 -1
  140. package/dist/services/keychain/createKeychainService/createKeychainService.d.ts +1 -1
  141. package/dist/services/keychain/createKeychainService/createKeychainService.d.ts.map +1 -1
  142. package/dist/services/logger/createLogger/createLogger.d.ts +1 -1
  143. package/dist/services/realtime/createRealtimeChannelSchema/createRealtimeChannelSchema.d.ts +1 -1
  144. package/dist/services/realtime/createRealtimeService/createRealtimeService.d.ts +1 -1
  145. package/dist/services/runtimeServices/createRuntimeServiceAccessKey/createRuntimeServiceAccessKey.d.ts +1 -1
  146. package/dist/services/storage/createLocalStorageAdapter/createLocalStorageAdapter.d.ts +1 -1
  147. package/dist/services/storage/createStorage/createStorage.d.ts +1 -1
  148. package/dist/services/storage/createStorageKeySchema/createStorageKeySchema.d.ts +1 -1
  149. package/dist/services/storage/createStorageKeySchema/createStorageKeySchema.d.ts.map +1 -1
  150. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  151. package/dist/utils/deferredPromise/createDeferredPromise.d.ts +1 -1
  152. package/dist/utils/deferredPromise/createDeferredPromise.d.ts.map +1 -1
  153. package/dist/utils/getChainFromVerifiedCredentialChain/getChainFromVerifiedCredentialChain.d.ts +1 -1
  154. package/dist/utils/getChainFromVerifiedCredentialChain/getChainFromVerifiedCredentialChain.d.ts.map +1 -1
  155. package/dist/utils/getNonce/getNonce.d.ts +1 -1
  156. package/dist/utils/observable/subscribeWithSelector/subscribeWithSelector.d.ts +1 -1
  157. package/dist/waas.cjs +7 -7
  158. package/dist/waas.cjs.map +1 -1
  159. package/dist/waas.esm.js +6 -6
  160. package/dist/waas.esm.js.map +1 -1
  161. package/dist/waas.native.esm.js +6 -6
  162. package/dist/waas.native.esm.js.map +1 -1
  163. package/dist/waasCore.cjs +26 -26
  164. package/dist/waasCore.cjs.map +1 -1
  165. package/dist/waasCore.esm.js +25 -25
  166. package/dist/waasCore.esm.js.map +1 -1
  167. package/dist/waasCore.native.esm.js +25 -25
  168. package/dist/waasCore.native.esm.js.map +1 -1
  169. package/package.json +3 -3
  170. package/dist/InvalidParamError-0lP4zZBe.esm.js.map +0 -1
  171. package/dist/InvalidParamError-CY4JGkjq.native.esm.js.map +0 -1
  172. package/dist/InvalidParamError-Cu4kK02f.cjs.map +0 -1
  173. package/dist/getNetworkProviderFromNetworkId-Cjj23n1Y.native.esm.js.map +0 -1
  174. package/dist/getNetworkProviderFromNetworkId-D1mT7AfE.esm.js.map +0 -1
  175. package/dist/getNetworkProviderFromNetworkId-VDuMPEtz.cjs.map +0 -1
  176. package/dist/getSignedSessionId-BGFoe3gh.native.esm.js.map +0 -1
  177. package/dist/getSignedSessionId-DQr-WJ3a.esm.js.map +0 -1
  178. package/dist/getSignedSessionId-qeRsJErq.cjs.map +0 -1
  179. package/dist/getVerifiedCredentialForWalletAccount-BCPvaJ1V.native.esm.js.map +0 -1
  180. package/dist/getVerifiedCredentialForWalletAccount-CjPzTFHz.cjs.map +0 -1
  181. package/dist/getVerifiedCredentialForWalletAccount-DEkVcH8j.esm.js.map +0 -1
  182. package/dist/isMfaRequiredForAction-CTghrtq8.esm.js.map +0 -1
  183. package/dist/isMfaRequiredForAction-DaZoGOB-.native.esm.js.map +0 -1
  184. package/dist/isMfaRequiredForAction-qSv2yrfd.cjs.map +0 -1
package/dist/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
- const require_getNetworkProviderFromNetworkId = require('./getNetworkProviderFromNetworkId-VDuMPEtz.cjs');
2
- const require_InvalidParamError = require('./InvalidParamError-Cu4kK02f.cjs');
3
- const require_getVerifiedCredentialForWalletAccount = require('./getVerifiedCredentialForWalletAccount-CjPzTFHz.cjs');
4
- const require_NotWaasWalletAccountError = require('./NotWaasWalletAccountError-CWKsiVqV.cjs');
5
- const require_isMfaRequiredForAction = require('./isMfaRequiredForAction-qSv2yrfd.cjs');
1
+ const require_getNetworkProviderFromNetworkId = require('./getNetworkProviderFromNetworkId-C_6K_daH.cjs');
2
+ const require_InvalidParamError = require('./InvalidParamError-XWDgGlk3.cjs');
3
+ const require_getVerifiedCredentialForWalletAccount = require('./getVerifiedCredentialForWalletAccount-SS1WQ2i3.cjs');
4
+ const require_NotWaasWalletAccountError = require('./NotWaasWalletAccountError-rJzT_0wz.cjs');
5
+ const require_isMfaRequiredForAction = require('./isMfaRequiredForAction-CYVZ_XGq.cjs');
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");
@@ -84,7 +84,7 @@ const setLongTimeout = ({ callback, delay }) => {
84
84
  const initializeAuth = (client) => {
85
85
  const core = require_InvalidParamError.getCore(client);
86
86
  let clearExpirationTimeout = null;
87
- const onChangeExpiration = require_getNetworkProviderFromNetworkId.__subscribeWithSelector_wrapped(core.state, (state) => state.sessionExpiresAt);
87
+ const onChangeExpiration = require_getNetworkProviderFromNetworkId.subscribeWithSelector(core.state, (state) => state.sessionExpiresAt);
88
88
  const checkExpiration = () => {
89
89
  const expiration = core.state.get().sessionExpiresAt;
90
90
  clearExpirationTimeout?.();
@@ -157,7 +157,7 @@ const walletProviderKeyMapSchema = zod_mini.record(zod_mini.string(), zod_mini.s
157
157
 
158
158
  //#endregion
159
159
  //#region src/modules/storageSync/schema.ts
160
- const stateStorageKeySchema = require_getNetworkProviderFromNetworkId.__createStorageKeySchema_wrapped({
160
+ const stateStorageKeySchema = require_getNetworkProviderFromNetworkId.createStorageKeySchema({
161
161
  key: "state",
162
162
  schema: zod_mini.object({
163
163
  apiVersion: zod_mini.string(),
@@ -169,7 +169,7 @@ const stateStorageKeySchema = require_getNetworkProviderFromNetworkId.__createSt
169
169
  walletProviderKeyMap: walletProviderKeyMapSchema
170
170
  })
171
171
  });
172
- const sessionStorageKeySchema = require_getNetworkProviderFromNetworkId.__createStorageKeySchema_wrapped({
172
+ const sessionStorageKeySchema = require_getNetworkProviderFromNetworkId.createStorageKeySchema({
173
173
  config: { storageTier: "secure" },
174
174
  key: "session",
175
175
  schema: zod_mini.object({
@@ -364,7 +364,7 @@ const initializeStorageSync = async (client) => {
364
364
  */
365
365
  const refreshUser = async (client = require_InvalidParamError.getDefaultClient()) => {
366
366
  const core = require_InvalidParamError.getCore(client);
367
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
367
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
368
368
  const previousState = { ...core.state.get() };
369
369
  const user = await apiClient.getAuthenticatedUser({ environmentId: core.environmentId });
370
370
  core.state.set({ user });
@@ -432,7 +432,7 @@ const initializeClient = async (client = require_InvalidParamError.getDefaultCli
432
432
  }).catch(() => require_getNetworkProviderFromNetworkId.__logoutWithReason_wrapped({ reason: "keychain-migration-failed" }, client));
433
433
  if (core.state.get().sessionKeys && !await core.keychain.hasKey("session")) await require_getNetworkProviderFromNetworkId.__logoutWithReason_wrapped({ reason: "keychain-key-missing" }, client);
434
434
  }).then(async () => {
435
- if (!core.state.get().projectSettings) await require_getNetworkProviderFromNetworkId.__fetchProjectSettings_wrapped(client);
435
+ if (!core.state.get().projectSettings) await require_getNetworkProviderFromNetworkId.fetchProjectSettings(client);
436
436
  });
437
437
  fetchProjectSettingsPromise.then(() => prefetchNoncesIfNeeded(client)).catch((error) => {
438
438
  core.logger.error("Failed to prefetch nonces:", error);
@@ -441,7 +441,7 @@ const initializeClient = async (client = require_InvalidParamError.getDefaultCli
441
441
  * Generate session keys if they don't exist
442
442
  */
443
443
  const generateSessionKeysPromise = fetchProjectSettingsPromise.then(async () => {
444
- if (!core.state.get().sessionKeys) await require_getNetworkProviderFromNetworkId.__generateSessionKeys_wrapped(client);
444
+ if (!core.state.get().sessionKeys) await require_getNetworkProviderFromNetworkId.generateSessionKeys(client);
445
445
  });
446
446
  /**
447
447
  * Refresh user state on initialization when cookie is enabled.
@@ -538,7 +538,7 @@ const createAsyncTrack = () => {
538
538
  */
539
539
  let isTrackEnabled = true;
540
540
  const eventEmitter = new eventemitter3.EventEmitter();
541
- const allSettledPromise = require_getNetworkProviderFromNetworkId.__createDeferredPromise_wrapped();
541
+ const allSettledPromise = require_getNetworkProviderFromNetworkId.createDeferredPromise();
542
542
  const tracker = /* @__PURE__ */ new Map();
543
543
  /**
544
544
  * Checks if all processes are initialized and resolves the main promise if they are.
@@ -790,7 +790,7 @@ const createPasskeyService = (_params) => ({
790
790
  const createDebouncedMutex = () => {
791
791
  const mutexState = /* @__PURE__ */ new Map();
792
792
  return async ({ lockKey, callback, debounceTime = 0 }) => {
793
- const resolutionPromise = require_getNetworkProviderFromNetworkId.__createDeferredPromise_wrapped();
793
+ const resolutionPromise = require_getNetworkProviderFromNetworkId.createDeferredPromise();
794
794
  if (!mutexState.has(lockKey)) mutexState.set(lockKey, {
795
795
  nextCallback: null,
796
796
  queuePromise: Promise.resolve(),
@@ -942,10 +942,10 @@ const getInitialState = () => ({
942
942
  */
943
943
  const createCore = (config) => {
944
944
  const apiBaseUrl = config.coreConfig?.apiBaseUrl ?? DEFAULT_API_BASE_URL;
945
- const logger = config.coreConfig?.logger ?? require_getNetworkProviderFromNetworkId.__createLogger_wrapped({ level: config.logLevel });
946
- const storage = require_getNetworkProviderFromNetworkId.__createStorage_wrapped({
945
+ const logger = config.coreConfig?.logger ?? require_getNetworkProviderFromNetworkId.createLogger({ level: config.logLevel });
946
+ const storage = require_getNetworkProviderFromNetworkId.createStorage({
947
947
  prefix: `dynamic_${config.environmentId}`,
948
- storageAdapter: config.coreConfig?.storageAdapter ?? require_getNetworkProviderFromNetworkId.__createLocalStorageAdapter_wrapped()
948
+ storageAdapter: config.coreConfig?.storageAdapter ?? require_getNetworkProviderFromNetworkId.createLocalStorageAdapter()
949
949
  });
950
950
  const fetch = config.coreConfig?.fetch ?? createWebFetch();
951
951
  const openDeeplink = config.coreConfig?.openDeeplink ?? createWebDeeplinkOpener();
@@ -976,12 +976,12 @@ const createCore = (config) => {
976
976
  universalLink: config.metadata?.universalLink ?? (require_getNetworkProviderFromNetworkId.isServerSideRendering() ? void 0 : window.location.origin)
977
977
  };
978
978
  const passkey = config.coreConfig?.passkey ?? createPasskeyService({ metadata });
979
- const realtime = config.coreConfig?.realtime ?? require_getNetworkProviderFromNetworkId.__createRealtimeService_wrapped();
979
+ const realtime = config.coreConfig?.realtime ?? require_getNetworkProviderFromNetworkId.createRealtimeService();
980
980
  const deviceSigner = config.coreConfig?.deviceSigner;
981
981
  const keychain = config.coreConfig?.keychain ?? require_getNetworkProviderFromNetworkId.createKeychainService({ dbName: require_getNetworkProviderFromNetworkId.getKeychainIndexedDBName({ environmentId: config.environmentId }) });
982
982
  return {
983
983
  apiBaseUrl,
984
- crossTabBroadcast: config.coreConfig?.crossTabBroadcast ?? require_getNetworkProviderFromNetworkId.__createCrossTabBroadcast_wrapped({ channelName: `dynamic_${config.environmentId}_broadcast` }),
984
+ crossTabBroadcast: config.coreConfig?.crossTabBroadcast ?? require_getNetworkProviderFromNetworkId.createCrossTabBroadcast({ channelName: `dynamic_${config.environmentId}_broadcast` }),
985
985
  debouncedMutex,
986
986
  deviceSigner,
987
987
  environmentId: config.environmentId,
@@ -1471,7 +1471,7 @@ const checkStepUpAuth = async ({ scope }, client = require_InvalidParamError.get
1471
1471
  };
1472
1472
  try {
1473
1473
  const core = require_InvalidParamError.getCore(client);
1474
- const response = await require_InvalidParamError.__createApiClient_wrapped({}, client).stepUpCheck({
1474
+ const response = await require_InvalidParamError.createApiClient({}, client).stepUpCheck({
1475
1475
  environmentId: core.environmentId,
1476
1476
  stepUpCheckRequest: { scope }
1477
1477
  });
@@ -1516,7 +1516,7 @@ const __checkStepUpAuth_wrapped = require_InvalidParamError.instrumentFunction({
1516
1516
  */
1517
1517
  const requestExternalAuthElevatedToken = async ({ externalJwt }, client = require_InvalidParamError.getDefaultClient()) => {
1518
1518
  const core = require_InvalidParamError.getCore(client);
1519
- const response = await require_InvalidParamError.__createApiClient_wrapped({}, client).externalAuthVerify({
1519
+ const response = await require_InvalidParamError.createApiClient({}, client).externalAuthVerify({
1520
1520
  environmentId: core.environmentId,
1521
1521
  externalAuthSigninRequest: { jwt: externalJwt }
1522
1522
  });
@@ -1559,14 +1559,14 @@ const __requestExternalAuthElevatedToken_wrapped = require_InvalidParamError.ins
1559
1559
  */
1560
1560
  const signInWithExternalJwt = async ({ externalJwt, sessionPublicKey } = {}, client = require_InvalidParamError.getDefaultClient()) => {
1561
1561
  const core = require_InvalidParamError.getCore(client);
1562
- const response = await require_InvalidParamError.__createApiClient_wrapped({}, client).externalAuthSignin({
1562
+ const response = await require_InvalidParamError.createApiClient({}, client).externalAuthSignin({
1563
1563
  environmentId: core.environmentId,
1564
1564
  externalAuthSigninRequest: {
1565
1565
  jwt: externalJwt,
1566
1566
  sessionPublicKey
1567
1567
  }
1568
1568
  });
1569
- require_getVerifiedCredentialForWalletAccount.__updateAuthFromVerifyResponse_wrapped({ response }, client);
1569
+ require_getVerifiedCredentialForWalletAccount.updateAuthFromVerifyResponse({ response }, client);
1570
1570
  return response;
1571
1571
  };
1572
1572
  const __signInWithExternalJwt_impl = signInWithExternalJwt;
@@ -1614,7 +1614,7 @@ const logout = async (client = require_InvalidParamError.getDefaultClient()) =>
1614
1614
  */
1615
1615
  const deletePasskey = async ({ passkeyId }, client = require_InvalidParamError.getDefaultClient()) => {
1616
1616
  const core = require_InvalidParamError.getCore(client);
1617
- await require_InvalidParamError.__createApiClient_wrapped({
1617
+ await require_InvalidParamError.createApiClient({
1618
1618
  elevatedAccessTokenScope: _dynamic_labs_sdk_api_core.TokenScope.Credentialunlink,
1619
1619
  includeMfaToken: true
1620
1620
  }, client).deletePasskey({
@@ -1645,31 +1645,19 @@ const __deletePasskey_wrapped = require_InvalidParamError.instrumentFunction({
1645
1645
  *
1646
1646
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1647
1647
  * @returns A promise that resolves to an array of the user's registered passkeys.
1648
- * @instrumented
1648
+ * @not-instrumented
1649
1649
  */
1650
1650
  const getPasskeys = async (client = require_InvalidParamError.getDefaultClient()) => {
1651
1651
  const core = require_InvalidParamError.getCore(client);
1652
- return (await require_InvalidParamError.__createApiClient_wrapped({}, client).getUserPasskeys({ environmentId: core.environmentId })).passkeys;
1652
+ return (await require_InvalidParamError.createApiClient({}, client).getUserPasskeys({ environmentId: core.environmentId })).passkeys;
1653
1653
  };
1654
- const __getPasskeys_impl = getPasskeys;
1655
- const __getPasskeys_wrapped = require_InvalidParamError.instrumentFunction({
1656
- fn: __getPasskeys_impl,
1657
- functionName: "getPasskeys",
1658
- getCore: () => {
1659
- try {
1660
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
1661
- } catch {
1662
- return;
1663
- }
1664
- }
1665
- });
1666
1654
 
1667
1655
  //#endregion
1668
1656
  //#region src/modules/auth/passkeys/getPasskeyRegistrationOptions/getPasskeyRegistrationOptions.ts
1669
1657
  /** @not-instrumented */
1670
1658
  const getPasskeyRegistrationOptions = async (client) => {
1671
1659
  const core = require_InvalidParamError.getCore(client);
1672
- return await require_InvalidParamError.__createApiClient_wrapped({}, client).getPasskeyRegistrationOptions({ environmentId: core.environmentId });
1660
+ return await require_InvalidParamError.createApiClient({}, client).getPasskeyRegistrationOptions({ environmentId: core.environmentId });
1673
1661
  };
1674
1662
 
1675
1663
  //#endregion
@@ -1677,7 +1665,7 @@ const getPasskeyRegistrationOptions = async (client) => {
1677
1665
  /** @not-instrumented */
1678
1666
  const serverRegisterPasskey = async ({ registration, createMfaToken }, client) => {
1679
1667
  const core = require_InvalidParamError.getCore(client);
1680
- return await require_InvalidParamError.__createApiClient_wrapped({ elevatedAccessTokenScope: _dynamic_labs_sdk_api_core.TokenScope.Credentiallink }, client).registerPasskey({
1668
+ return await require_InvalidParamError.createApiClient({ elevatedAccessTokenScope: _dynamic_labs_sdk_api_core.TokenScope.Credentiallink }, client).registerPasskey({
1681
1669
  environmentId: core.environmentId,
1682
1670
  passkeyRegisterRequest: {
1683
1671
  ...registration,
@@ -1713,7 +1701,7 @@ const registerPasskey = async ({ createMfaToken } = {}, client = require_Invalid
1713
1701
  createMfaToken,
1714
1702
  registration: await core.passkey.register({ optionsJSON: options })
1715
1703
  }, client);
1716
- require_getVerifiedCredentialForWalletAccount.__updateAuthFromVerifyResponse_wrapped({ response }, client);
1704
+ require_getVerifiedCredentialForWalletAccount.updateAuthFromVerifyResponse({ response }, client);
1717
1705
  return response;
1718
1706
  };
1719
1707
  const __registerPasskey_impl = registerPasskey;
@@ -1734,7 +1722,7 @@ const __registerPasskey_wrapped = require_InvalidParamError.instrumentFunction({
1734
1722
  /** @not-instrumented */
1735
1723
  const getPasskeyAuthenticationSignInOptions = async ({ relatedOriginRpId } = {}, client) => {
1736
1724
  const core = require_InvalidParamError.getCore(client);
1737
- return await require_InvalidParamError.__createApiClient_wrapped({}, client).getPasskeyAuthenticationSigninOptions({
1725
+ return await require_InvalidParamError.createApiClient({}, client).getPasskeyAuthenticationSigninOptions({
1738
1726
  environmentId: core.environmentId,
1739
1727
  relatedOriginRpId
1740
1728
  });
@@ -1745,7 +1733,7 @@ const getPasskeyAuthenticationSignInOptions = async ({ relatedOriginRpId } = {},
1745
1733
  /** @not-instrumented */
1746
1734
  const serverSigninPasskey = async ({ authentication, createMfaToken }, client) => {
1747
1735
  const core = require_InvalidParamError.getCore(client);
1748
- return await require_InvalidParamError.__createApiClient_wrapped({}, client).signinWithPasskey({
1736
+ return await require_InvalidParamError.createApiClient({}, client).signinWithPasskey({
1749
1737
  environmentId: core.environmentId,
1750
1738
  passkeyAuthRequest: {
1751
1739
  ...authentication,
@@ -1777,7 +1765,7 @@ const signInWithPasskey = async ({ relatedOriginRpId } = {}, client = require_In
1777
1765
  if (!core.passkey.isSupported()) throw new NoWebAuthNSupportError();
1778
1766
  const formattedOptions = { ...await getPasskeyAuthenticationSignInOptions({ relatedOriginRpId }, client) };
1779
1767
  const response = await serverSigninPasskey({ authentication: await core.passkey.authenticate({ optionsJSON: formattedOptions }) }, client);
1780
- require_getVerifiedCredentialForWalletAccount.__updateAuthFromVerifyResponse_wrapped({ response }, client);
1768
+ require_getVerifiedCredentialForWalletAccount.updateAuthFromVerifyResponse({ response }, client);
1781
1769
  return response;
1782
1770
  };
1783
1771
  const __signInWithPasskey_impl = signInWithPasskey;
@@ -1800,7 +1788,7 @@ const __signInWithPasskey_wrapped = require_InvalidParamError.instrumentFunction
1800
1788
  *
1801
1789
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
1802
1790
  * @returns An array of `SocialAccount` objects associated with the user.
1803
- * @instrumented
1791
+ * @not-instrumented
1804
1792
  */
1805
1793
  const getUserSocialAccounts = (client = require_InvalidParamError.getDefaultClient()) => {
1806
1794
  const { user } = client;
@@ -1815,18 +1803,6 @@ const getUserSocialAccounts = (client = require_InvalidParamError.getDefaultClie
1815
1803
  verifiedCredentialId: credential.id
1816
1804
  }));
1817
1805
  };
1818
- const __getUserSocialAccounts_impl = getUserSocialAccounts;
1819
- const __getUserSocialAccounts_wrapped = require_InvalidParamError.instrumentFunction({
1820
- fn: __getUserSocialAccounts_impl,
1821
- functionName: "getUserSocialAccounts",
1822
- getCore: () => {
1823
- try {
1824
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
1825
- } catch {
1826
- return;
1827
- }
1828
- }
1829
- });
1830
1806
 
1831
1807
  //#endregion
1832
1808
  //#region src/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.ts
@@ -1841,7 +1817,7 @@ const removeDynamicOauthParamsFromUrl = (url) => {
1841
1817
  //#endregion
1842
1818
  //#region src/modules/auth/social/oauth/redirectStateStorageSchema/redirectStateStorageSchema.ts
1843
1819
  /** The schema to track the state of the OAuth flow. */
1844
- const redirectStateStorageKeySchema = require_getNetworkProviderFromNetworkId.__createStorageKeySchema_wrapped({
1820
+ const redirectStateStorageKeySchema = require_getNetworkProviderFromNetworkId.createStorageKeySchema({
1845
1821
  key: "redirectState",
1846
1822
  schema: zod_mini.object({
1847
1823
  codeVerifier: zod_mini.optional(zod_mini.string()),
@@ -1976,7 +1952,7 @@ const buildOAuthUrl = async (core, provider) => {
1976
1952
  */
1977
1953
  const signInWithSocialRedirect = async ({ provider, redirectUrl }, client = require_InvalidParamError.getDefaultClient()) => {
1978
1954
  const core = require_InvalidParamError.getCore(client);
1979
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
1955
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
1980
1956
  await core.initTrack.waitForAll();
1981
1957
  const providerType = provider;
1982
1958
  const { url, state, codeVerifier } = await buildOAuthUrl(core, providerType);
@@ -2020,7 +1996,7 @@ const __signInWithSocialRedirect_wrapped = require_InvalidParamError.instrumentF
2020
1996
  * @param params.url - The URL to check for OAuth redirect parameters.
2021
1997
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2022
1998
  * @returns A promise that resolves to true if the URL is an OAuth redirect, false otherwise.
2023
- * @instrumented
1999
+ * @not-instrumented
2024
2000
  */
2025
2001
  const detectSocialRedirectUrl = async ({ url }, client = require_InvalidParamError.getDefaultClient()) => {
2026
2002
  const core = require_InvalidParamError.getCore(client);
@@ -2030,18 +2006,6 @@ const detectSocialRedirectUrl = async ({ url }, client = require_InvalidParamErr
2030
2006
  await core.initTrack.waitForAll();
2031
2007
  return (await core.storage.getItem(redirectStateStorageKeySchema))?.state === dynamicOauthState;
2032
2008
  };
2033
- const __detectSocialRedirectUrl_impl = detectSocialRedirectUrl;
2034
- const __detectSocialRedirectUrl_wrapped = require_InvalidParamError.instrumentFunction({
2035
- fn: __detectSocialRedirectUrl_impl,
2036
- functionName: "detectSocialRedirectUrl",
2037
- getCore: () => {
2038
- try {
2039
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
2040
- } catch {
2041
- return;
2042
- }
2043
- }
2044
- });
2045
2009
 
2046
2010
  //#endregion
2047
2011
  //#region src/modules/auth/social/oauth/completeSocialRedirect/completeSocialRedirect.ts
@@ -2062,7 +2026,7 @@ const __detectSocialRedirectUrl_wrapped = require_InvalidParamError.instrumentFu
2062
2026
  */
2063
2027
  const completeSocialRedirect = async ({ url, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
2064
2028
  const core = require_InvalidParamError.getCore(client);
2065
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
2029
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
2066
2030
  await core.initTrack.waitForAll();
2067
2031
  const dynamicOauthState = url.searchParams.get("dynamicOauthState");
2068
2032
  const dynamicOauthCode = url.searchParams.get("dynamicOauthCode");
@@ -2087,14 +2051,14 @@ const completeSocialRedirect = async ({ url, requestedScopes }, client = require
2087
2051
  else response = await apiClient.oauthSignIn({
2088
2052
  environmentId: core.environmentId,
2089
2053
  oauthRequest: {
2090
- captchaToken: require_getNetworkProviderFromNetworkId.__consumeCaptchaToken_wrapped(client),
2054
+ captchaToken: require_getNetworkProviderFromNetworkId.consumeCaptchaToken(client),
2091
2055
  code: dynamicOauthCode,
2092
2056
  codeVerifier,
2093
2057
  state: dynamicOauthState
2094
2058
  },
2095
2059
  providerType: provider
2096
2060
  });
2097
- require_getVerifiedCredentialForWalletAccount.__updateAuthFromVerifyResponse_wrapped({ response }, client);
2061
+ require_getVerifiedCredentialForWalletAccount.updateAuthFromVerifyResponse({ response }, client);
2098
2062
  return response.user;
2099
2063
  };
2100
2064
  const __completeSocialRedirect_impl = completeSocialRedirect;
@@ -2160,21 +2124,9 @@ const __completeSocialAuthentication_wrapped = require_InvalidParamError.instrum
2160
2124
  * @deprecated Renamed to {@link detectSocialRedirectUrl}. This alias will be
2161
2125
  * removed in a future major version.
2162
2126
  *
2163
- * @instrumented
2127
+ * @not-instrumented
2164
2128
  */
2165
- const detectOAuthRedirect = (params, client = require_InvalidParamError.getDefaultClient()) => __detectSocialRedirectUrl_wrapped(params, client);
2166
- const __detectOAuthRedirect_impl = detectOAuthRedirect;
2167
- const __detectOAuthRedirect_wrapped = require_InvalidParamError.instrumentFunction({
2168
- fn: __detectOAuthRedirect_impl,
2169
- functionName: "detectOAuthRedirect",
2170
- getCore: () => {
2171
- try {
2172
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
2173
- } catch {
2174
- return;
2175
- }
2176
- }
2177
- });
2129
+ const detectOAuthRedirect = (params, client = require_InvalidParamError.getDefaultClient()) => detectSocialRedirectUrl(params, client);
2178
2130
 
2179
2131
  //#endregion
2180
2132
  //#region src/modules/wallets/primaryWalletAccount/getPrimaryWalletAccount/getPrimaryWalletAccount.ts
@@ -2183,26 +2135,14 @@ const __detectOAuthRedirect_wrapped = require_InvalidParamError.instrumentFuncti
2183
2135
  * The primary wallet account is the one that was last selected by the user.
2184
2136
  * This information is stored in both unverified and verified wallet accounts.
2185
2137
  * This function consolidates this information to determine which wallet was most recently selected.
2186
- * @instrumented
2138
+ * @not-instrumented
2187
2139
  */
2188
2140
  const getPrimaryWalletAccount = (client = require_InvalidParamError.getDefaultClient()) => {
2189
- const sortedLastSelectedWalletAccounts = require_getVerifiedCredentialForWalletAccount.__getWalletAccounts_wrapped(client).filter((walletAccount) => Boolean(walletAccount.lastSelectedAt)).sort((a, b) => b.lastSelectedAt.getTime() - a.lastSelectedAt.getTime());
2141
+ const sortedLastSelectedWalletAccounts = require_getVerifiedCredentialForWalletAccount.getWalletAccounts(client).filter((walletAccount) => Boolean(walletAccount.lastSelectedAt)).sort((a, b) => b.lastSelectedAt.getTime() - a.lastSelectedAt.getTime());
2190
2142
  if (sortedLastSelectedWalletAccounts.length === 0) return null;
2191
2143
  const [primaryWalletAccount] = sortedLastSelectedWalletAccounts;
2192
2144
  return primaryWalletAccount;
2193
2145
  };
2194
- const __getPrimaryWalletAccount_impl = getPrimaryWalletAccount;
2195
- const __getPrimaryWalletAccount_wrapped = require_InvalidParamError.instrumentFunction({
2196
- fn: __getPrimaryWalletAccount_impl,
2197
- functionName: "getPrimaryWalletAccount",
2198
- getCore: () => {
2199
- try {
2200
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
2201
- } catch {
2202
- return;
2203
- }
2204
- }
2205
- });
2206
2146
 
2207
2147
  //#endregion
2208
2148
  //#region src/modules/auth/social/oauth/unlinkSocialAccount/unlinkSocialAccount.ts
@@ -2216,8 +2156,8 @@ const __getPrimaryWalletAccount_wrapped = require_InvalidParamError.instrumentFu
2216
2156
  */
2217
2157
  const unlinkSocialAccount = async ({ verifiedCredentialId }, client = require_InvalidParamError.getDefaultClient()) => {
2218
2158
  const core = require_InvalidParamError.getCore(client);
2219
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
2220
- const walletId = __getPrimaryWalletAccount_wrapped(client)?.verifiedCredentialId?.replace("-zerodev", "");
2159
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
2160
+ const walletId = getPrimaryWalletAccount(client)?.verifiedCredentialId?.replace("-zerodev", "");
2221
2161
  const response = await apiClient.verifyUnlink({
2222
2162
  environmentId: core.environmentId,
2223
2163
  verifyUnlinkRequest: {
@@ -2225,7 +2165,7 @@ const unlinkSocialAccount = async ({ verifiedCredentialId }, client = require_In
2225
2165
  walletId: walletId ?? void 0
2226
2166
  }
2227
2167
  });
2228
- require_getVerifiedCredentialForWalletAccount.__updateAuthFromVerifyResponse_wrapped({ response }, client);
2168
+ require_getVerifiedCredentialForWalletAccount.updateAuthFromVerifyResponse({ response }, client);
2229
2169
  return response;
2230
2170
  };
2231
2171
  const __unlinkSocialAccount_impl = unlinkSocialAccount;
@@ -2255,9 +2195,9 @@ const __unlinkSocialAccount_wrapped = require_InvalidParamError.instrumentFuncti
2255
2195
  */
2256
2196
  const getBalances = async ({ walletAccount, networkId, includePrices, includeNative, filterSpamTokens, whitelistedContracts, forceRefresh }, client = require_InvalidParamError.getDefaultClient()) => {
2257
2197
  const core = require_InvalidParamError.getCore(client);
2258
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
2198
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
2259
2199
  if (!networkId) {
2260
- const activeNetworkId = await require_getVerifiedCredentialForWalletAccount.__getWalletProviderFromWalletAccount_wrapped({ walletAccount }, client).getActiveNetworkId();
2200
+ const activeNetworkId = await require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client).getActiveNetworkId();
2261
2201
  networkId = Number(activeNetworkId.networkId);
2262
2202
  }
2263
2203
  return await apiClient.getAccountBalances({
@@ -2272,18 +2212,6 @@ const getBalances = async ({ walletAccount, networkId, includePrices, includeNat
2272
2212
  whitelistedContracts
2273
2213
  });
2274
2214
  };
2275
- const __getBalances_impl = getBalances;
2276
- const __getBalances_wrapped = require_InvalidParamError.instrumentFunction({
2277
- fn: __getBalances_impl,
2278
- functionName: "getBalances",
2279
- getCore: () => {
2280
- try {
2281
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
2282
- } catch {
2283
- return;
2284
- }
2285
- }
2286
- });
2287
2215
 
2288
2216
  //#endregion
2289
2217
  //#region src/modules/balances/getMultichainBalances/getMultichainBalances.ts
@@ -2296,33 +2224,21 @@ const __getBalances_wrapped = require_InvalidParamError.instrumentFunction({
2296
2224
  * @param params.balanceRequest - The balance request configuration specifying which chains, networks and addresses to query.
2297
2225
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2298
2226
  * @returns A promise that resolves to the chain balances across multiple networks.
2299
- * @instrumented
2227
+ * @not-instrumented
2300
2228
  */
2301
2229
  const getMultichainBalances = async ({ balanceRequest }, client = require_InvalidParamError.getDefaultClient()) => {
2302
2230
  const core = require_InvalidParamError.getCore(client);
2303
- return (await require_InvalidParamError.__createApiClient_wrapped({}, client).postMultichainAccountBalances({
2231
+ return (await require_InvalidParamError.createApiClient({}, client).postMultichainAccountBalances({
2304
2232
  environmentId: core.environmentId,
2305
2233
  multichainAccountBalancesRequest: balanceRequest
2306
2234
  })).chainBalances;
2307
2235
  };
2308
- const __getMultichainBalances_impl = getMultichainBalances;
2309
- const __getMultichainBalances_wrapped = require_InvalidParamError.instrumentFunction({
2310
- fn: __getMultichainBalances_impl,
2311
- functionName: "getMultichainBalances",
2312
- getCore: () => {
2313
- try {
2314
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
2315
- } catch {
2316
- return;
2317
- }
2318
- }
2319
- });
2320
2236
 
2321
2237
  //#endregion
2322
2238
  //#region src/modules/checkout/utils/createCheckoutSessionTokenStorageKey/createCheckoutSessionTokenStorageKey.ts
2323
2239
  /** @not-instrumented */
2324
2240
  const createCheckoutSessionTokenStorageKey = (transactionId) => {
2325
- return require_getNetworkProviderFromNetworkId.__createStorageKeySchema_wrapped({
2241
+ return require_getNetworkProviderFromNetworkId.createStorageKeySchema({
2326
2242
  key: `checkoutSessionToken:${transactionId}`,
2327
2243
  schema: zod_mini.string()
2328
2244
  });
@@ -2333,7 +2249,7 @@ const createCheckoutSessionTokenStorageKey = (transactionId) => {
2333
2249
  /** @not-instrumented */
2334
2250
  const createCheckoutApiClient = async ({ transactionId }, client) => {
2335
2251
  const core = require_InvalidParamError.getCore(client);
2336
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
2252
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
2337
2253
  const sessionToken = await core.storage.getItem(createCheckoutSessionTokenStorageKey(transactionId));
2338
2254
  if (!sessionToken) throw new CheckoutSessionTokenMissingError({ transactionId });
2339
2255
  return {
@@ -2484,7 +2400,7 @@ const checkoutTransactionEventSchema = zod_mini.object({
2484
2400
  * Channel name follows the backend convention: `transaction:{transactionId}`.
2485
2401
  * @not-instrumented
2486
2402
  */
2487
- const createCheckoutTransactionChannelSchema = (transactionId) => require_getNetworkProviderFromNetworkId.__createRealtimeChannelSchema_wrapped({
2403
+ const createCheckoutTransactionChannelSchema = (transactionId) => require_getNetworkProviderFromNetworkId.createRealtimeChannelSchema({
2488
2404
  channel: `transaction:${transactionId}`,
2489
2405
  schema: checkoutTransactionEventSchema
2490
2406
  });
@@ -2568,7 +2484,7 @@ const subscribeToCheckoutTransaction = async ({ transactionId }, client) => {
2568
2484
  */
2569
2485
  const createCheckoutTransaction = async (params, client = require_InvalidParamError.getDefaultClient()) => {
2570
2486
  const core = require_InvalidParamError.getCore(client);
2571
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
2487
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
2572
2488
  const checkouts = await getCheckouts(client);
2573
2489
  const checkoutId = params.checkoutId || checkouts?.[0]?.id;
2574
2490
  require_InvalidParamError.assertDefined(checkoutId, "No checkout found. Please make sure you have a Checkout setup in the Dashboard.");
@@ -2613,27 +2529,15 @@ const __createCheckoutTransaction_wrapped = require_InvalidParamError.instrument
2613
2529
  * @param params GetCheckoutTransactionParams - The parameters for fetching the transaction.
2614
2530
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2615
2531
  * @returns The checkout transaction
2616
- * @instrumented
2532
+ * @not-instrumented
2617
2533
  */
2618
2534
  const getCheckoutTransaction = async ({ transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
2619
2535
  const core = require_InvalidParamError.getCore(client);
2620
- return require_InvalidParamError.__createApiClient_wrapped({}, client).getCheckoutTransaction({
2536
+ return require_InvalidParamError.createApiClient({}, client).getCheckoutTransaction({
2621
2537
  environmentId: core.environmentId,
2622
2538
  transactionId
2623
2539
  });
2624
2540
  };
2625
- const __getCheckoutTransaction_impl = getCheckoutTransaction;
2626
- const __getCheckoutTransaction_wrapped = require_InvalidParamError.instrumentFunction({
2627
- fn: __getCheckoutTransaction_impl,
2628
- functionName: "getCheckoutTransaction",
2629
- getCore: () => {
2630
- try {
2631
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
2632
- } catch {
2633
- return;
2634
- }
2635
- }
2636
- });
2637
2541
 
2638
2542
  //#endregion
2639
2543
  //#region src/modules/checkout/getCheckoutTransactionQuote/getCheckoutTransactionQuote.ts
@@ -2643,7 +2547,7 @@ const __getCheckoutTransaction_wrapped = require_InvalidParamError.instrumentFun
2643
2547
  * @param params GetCheckoutTransactionQuoteParams - The quote parameters.
2644
2548
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2645
2549
  * @returns The updated checkout transaction with quote data
2646
- * @instrumented
2550
+ * @not-instrumented
2647
2551
  */
2648
2552
  const getCheckoutTransactionQuote = async ({ fromTokenAddress, slippage, transactionId }, client = require_InvalidParamError.getDefaultClient()) => {
2649
2553
  const { apiClient, environmentId, sessionToken } = await createCheckoutApiClient({ transactionId }, client);
@@ -2657,18 +2561,6 @@ const getCheckoutTransactionQuote = async ({ fromTokenAddress, slippage, transac
2657
2561
  xDynamicCheckoutSessionToken: sessionToken
2658
2562
  });
2659
2563
  };
2660
- const __getCheckoutTransactionQuote_impl = getCheckoutTransactionQuote;
2661
- const __getCheckoutTransactionQuote_wrapped = require_InvalidParamError.instrumentFunction({
2662
- fn: __getCheckoutTransactionQuote_impl,
2663
- functionName: "getCheckoutTransactionQuote",
2664
- getCore: () => {
2665
- try {
2666
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
2667
- } catch {
2668
- return;
2669
- }
2670
- }
2671
- });
2672
2564
 
2673
2565
  //#endregion
2674
2566
  //#region src/modules/checkout/prepareCheckoutTransaction/prepareCheckoutTransaction.ts
@@ -2754,7 +2646,7 @@ const SWAP_SUPPORTED_CHAINS = [
2754
2646
  */
2755
2647
  const executeSwapTransaction = async ({ walletAccount, signingPayload, onStepChange }, client = require_InvalidParamError.getDefaultClient()) => {
2756
2648
  if (!SWAP_SUPPORTED_CHAINS.includes(walletAccount.chain)) throw new require_InvalidParamError.InvalidParamError(`Chain ${walletAccount.chain} is not supported for swap transactions`);
2757
- const walletProvider = require_getVerifiedCredentialForWalletAccount.__getWalletProviderFromWalletAccount_wrapped({ walletAccount }, client);
2649
+ const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
2758
2650
  assertWalletProviderMethodDefined(walletProvider, "executeSwapTransaction");
2759
2651
  const requiredNetworkId = signingPayload.chainId;
2760
2652
  if (requiredNetworkId && walletProvider.switchActiveNetwork) {
@@ -2841,21 +2733,9 @@ const __submitCheckoutTransaction_wrapped = require_InvalidParamError.instrument
2841
2733
  *
2842
2734
  * @param params.transactionId - The ID of the checkout transaction to track.
2843
2735
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2844
- * @instrumented
2736
+ * @not-instrumented
2845
2737
  */
2846
2738
  const trackCheckoutTransaction = ({ transactionId }, client = require_InvalidParamError.getDefaultClient()) => subscribeToCheckoutTransaction({ transactionId }, client);
2847
- const __trackCheckoutTransaction_impl = trackCheckoutTransaction;
2848
- const __trackCheckoutTransaction_wrapped = require_InvalidParamError.instrumentFunction({
2849
- fn: __trackCheckoutTransaction_impl,
2850
- functionName: "trackCheckoutTransaction",
2851
- getCore: () => {
2852
- try {
2853
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
2854
- } catch {
2855
- return;
2856
- }
2857
- }
2858
- });
2859
2739
 
2860
2740
  //#endregion
2861
2741
  //#region src/modules/checkout/utils/requiresConversion/requiresConversion.ts
@@ -2871,7 +2751,7 @@ const __trackCheckoutTransaction_wrapped = require_InvalidParamError.instrumentF
2871
2751
  * @param params - The from token details and the checkout's settlement config.
2872
2752
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
2873
2753
  * @returns Whether a token conversion is required
2874
- * @instrumented
2754
+ * @not-instrumented
2875
2755
  */
2876
2756
  const requiresConversion = async ({ transaction }, client = require_InvalidParamError.getDefaultClient()) => {
2877
2757
  if (!transaction.fromChainId || !transaction.fromChainName || !transaction.fromToken) throw new require_InvalidParamError.InvalidParamError("Transaction is missing source information. Make sure that attachCheckoutTransactionSource has been called before calling this function.");
@@ -2879,18 +2759,6 @@ const requiresConversion = async ({ transaction }, client = require_InvalidParam
2879
2759
  require_InvalidParamError.assertDefined(checkout, "Could not find checkout associated with transaction.");
2880
2760
  return !checkout.settlementConfig.settlements.some((settlement) => settlement.chainName === transaction.fromChainName && settlement.chainId === transaction.fromChainId && settlement.tokenAddress === transaction.fromToken);
2881
2761
  };
2882
- const __requiresConversion_impl = requiresConversion;
2883
- const __requiresConversion_wrapped = require_InvalidParamError.instrumentFunction({
2884
- fn: __requiresConversion_impl,
2885
- functionName: "requiresConversion",
2886
- getCore: () => {
2887
- try {
2888
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
2889
- } catch {
2890
- return;
2891
- }
2892
- }
2893
- });
2894
2762
 
2895
2763
  //#endregion
2896
2764
  //#region src/modules/deviceRegistration/completeDeviceRegistration/completeDeviceRegistration.ts
@@ -2899,8 +2767,8 @@ const DEVICE_REGISTRATION_TOKEN_HEADER = "x-dynamic-device-registration-token";
2899
2767
  const completeDeviceRegistration = async ({ deviceToken }, client = require_InvalidParamError.getDefaultClient()) => {
2900
2768
  require_InvalidParamError.assertDefined(deviceToken, "deviceToken is required");
2901
2769
  const core = require_InvalidParamError.getCore(client);
2902
- const response = await require_InvalidParamError.__createApiClient_wrapped({ headers: { [DEVICE_REGISTRATION_TOKEN_HEADER]: deviceToken } }, client).deviceRegistration({ environmentId: core.environmentId });
2903
- require_getVerifiedCredentialForWalletAccount.__updateAuthFromVerifyResponse_wrapped({ response }, client);
2770
+ const response = await require_InvalidParamError.createApiClient({ headers: { [DEVICE_REGISTRATION_TOKEN_HEADER]: deviceToken } }, client).deviceRegistration({ environmentId: core.environmentId });
2771
+ require_getVerifiedCredentialForWalletAccount.updateAuthFromVerifyResponse({ response }, client);
2904
2772
  require_getVerifiedCredentialForWalletAccount.emitEvent({ event: "deviceRegistrationCompleted" }, client);
2905
2773
  return response;
2906
2774
  };
@@ -2927,7 +2795,7 @@ const __completeDeviceRegistration_wrapped = require_InvalidParamError.instrumen
2927
2795
  *
2928
2796
  * @returns The device token as a string if valid.
2929
2797
  * @throws InvalidDeviceRegistrationRedirectError If the URL is not a valid device registration redirect.
2930
- * @instrumented
2798
+ * @not-instrumented
2931
2799
  */
2932
2800
  const getDeviceRegistrationTokenFromUrl = ({ url }) => {
2933
2801
  let urlObject;
@@ -2940,18 +2808,6 @@ const getDeviceRegistrationTokenFromUrl = ({ url }) => {
2940
2808
  if (!deviceRegistrationToken || deviceRegistrationToken.trim() === "") throw new InvalidDeviceRegistrationRedirectError();
2941
2809
  return deviceRegistrationToken;
2942
2810
  };
2943
- const __getDeviceRegistrationTokenFromUrl_impl = getDeviceRegistrationTokenFromUrl;
2944
- const __getDeviceRegistrationTokenFromUrl_wrapped = require_InvalidParamError.instrumentFunction({
2945
- fn: __getDeviceRegistrationTokenFromUrl_impl,
2946
- functionName: "getDeviceRegistrationTokenFromUrl",
2947
- getCore: () => {
2948
- try {
2949
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
2950
- } catch {
2951
- return;
2952
- }
2953
- }
2954
- });
2955
2811
 
2956
2812
  //#endregion
2957
2813
  //#region src/modules/deviceRegistration/detectDeviceRegistrationRedirect/detectDeviceRegistrationRedirect.ts
@@ -2962,35 +2818,23 @@ const __getDeviceRegistrationTokenFromUrl_wrapped = require_InvalidParamError.in
2962
2818
  * if it contains device registration redirect data from a device authentication flow.
2963
2819
  *
2964
2820
  * @returns True if the URL is a device registration redirect, false otherwise.
2965
- * @instrumented
2821
+ * @not-instrumented
2966
2822
  */
2967
2823
  const detectDeviceRegistrationRedirect = ({ url }) => {
2968
2824
  try {
2969
- __getDeviceRegistrationTokenFromUrl_wrapped({ url });
2825
+ getDeviceRegistrationTokenFromUrl({ url });
2970
2826
  return true;
2971
2827
  } catch {
2972
2828
  return false;
2973
2829
  }
2974
2830
  };
2975
- const __detectDeviceRegistrationRedirect_impl = detectDeviceRegistrationRedirect;
2976
- const __detectDeviceRegistrationRedirect_wrapped = require_InvalidParamError.instrumentFunction({
2977
- fn: __detectDeviceRegistrationRedirect_impl,
2978
- functionName: "detectDeviceRegistrationRedirect",
2979
- getCore: () => {
2980
- try {
2981
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
2982
- } catch {
2983
- return;
2984
- }
2985
- }
2986
- });
2987
2831
 
2988
2832
  //#endregion
2989
2833
  //#region src/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.ts
2990
- /** @instrumented */
2834
+ /** @not-instrumented */
2991
2835
  const getRegisteredDevices = async (client = require_InvalidParamError.getDefaultClient()) => {
2992
2836
  const core = require_InvalidParamError.getCore(client);
2993
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
2837
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
2994
2838
  try {
2995
2839
  return (await apiClient.listDeviceRegistrations({ environmentId: core.environmentId })).deviceRegistrations;
2996
2840
  } catch (error) {
@@ -3002,18 +2846,6 @@ const getRegisteredDevices = async (client = require_InvalidParamError.getDefaul
3002
2846
  throw error;
3003
2847
  }
3004
2848
  };
3005
- const __getRegisteredDevices_impl = getRegisteredDevices;
3006
- const __getRegisteredDevices_wrapped = require_InvalidParamError.instrumentFunction({
3007
- fn: __getRegisteredDevices_impl,
3008
- functionName: "getRegisteredDevices",
3009
- getCore: () => {
3010
- try {
3011
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
3012
- } catch {
3013
- return;
3014
- }
3015
- }
3016
- });
3017
2849
 
3018
2850
  //#endregion
3019
2851
  //#region src/modules/deviceRegistration/isDeviceRegistrationRequired/isDeviceRegistrationRequired.ts
@@ -3034,7 +2866,7 @@ const isDeviceRegistrationRequired = (user) => Boolean(user.scope?.includes("dev
3034
2866
  /** @instrumented */
3035
2867
  const revokeAllRegisteredDevices = async (client = require_InvalidParamError.getDefaultClient()) => {
3036
2868
  const core = require_InvalidParamError.getCore(client);
3037
- await require_InvalidParamError.__createApiClient_wrapped({}, client).deleteAllDeviceRegistrations({ environmentId: core.environmentId });
2869
+ await require_InvalidParamError.createApiClient({}, client).deleteAllDeviceRegistrations({ environmentId: core.environmentId });
3038
2870
  await require_getNetworkProviderFromNetworkId.__logoutWithReason_wrapped({ reason: "all-devices-revoked" }, client);
3039
2871
  };
3040
2872
  const __revokeAllRegisteredDevices_impl = revokeAllRegisteredDevices;
@@ -3056,7 +2888,7 @@ const __revokeAllRegisteredDevices_wrapped = require_InvalidParamError.instrumen
3056
2888
  const revokeRegisteredDevice = async ({ deviceRegistrationId }, client = require_InvalidParamError.getDefaultClient()) => {
3057
2889
  require_InvalidParamError.assertDefined(deviceRegistrationId, "deviceRegistrationId is required");
3058
2890
  const core = require_InvalidParamError.getCore(client);
3059
- if ((await require_InvalidParamError.__createApiClient_wrapped({}, client).deleteDeviceRegistration({
2891
+ if ((await require_InvalidParamError.createApiClient({}, client).deleteDeviceRegistration({
3060
2892
  deviceRegistrationId,
3061
2893
  environmentId: core.environmentId
3062
2894
  })).currentDeviceRevoked) await require_getNetworkProviderFromNetworkId.__logoutWithReason_wrapped({ reason: "device-revoked" }, client);
@@ -3084,7 +2916,7 @@ const __revokeRegisteredDevice_wrapped = require_InvalidParamError.instrumentFun
3084
2916
  * @returns A function to remove the listener.
3085
2917
  * @throws {ValueMustBeDefinedError} If the window is not available.
3086
2918
  * @docs https://docs.cdp.coinbase.com/onramp-&-offramp/onramp-apis/apple-pay-onramp-api#events-names
3087
- * @instrumented
2919
+ * @not-instrumented
3088
2920
  */
3089
2921
  const addCoinbaseOnrampOrderEventListener = ({ listener }, client = require_InvalidParamError.getDefaultClient()) => {
3090
2922
  const core = require_InvalidParamError.getCore(client);
@@ -3108,18 +2940,6 @@ const addCoinbaseOnrampOrderEventListener = ({ listener }, client = require_Inva
3108
2940
  window.removeEventListener("message", handleMessageEvent);
3109
2941
  };
3110
2942
  };
3111
- const __addCoinbaseOnrampOrderEventListener_impl = addCoinbaseOnrampOrderEventListener;
3112
- const __addCoinbaseOnrampOrderEventListener_wrapped = require_InvalidParamError.instrumentFunction({
3113
- fn: __addCoinbaseOnrampOrderEventListener_impl,
3114
- functionName: "addCoinbaseOnrampOrderEventListener",
3115
- getCore: () => {
3116
- try {
3117
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
3118
- } catch {
3119
- return;
3120
- }
3121
- }
3122
- });
3123
2943
 
3124
2944
  //#endregion
3125
2945
  //#region src/modules/funding/coinbase/getMissingVerificationForCoinbaseOnrampOrder/getMissingVerificationForCoinbaseOnrampOrder.ts
@@ -3137,7 +2957,7 @@ const __addCoinbaseOnrampOrderEventListener_wrapped = require_InvalidParamError.
3137
2957
  * @returns FieldMissingVerificationForCoinbaseOnramp[] - An array of fields that are missing verification for a Coinbase onramp order
3138
2958
  * @throws {InvalidParamError} - If the payment method is not valid
3139
2959
  * @throws {ValueMustBeDefinedError} - If the user is not authenticated
3140
- * @instrumented
2960
+ * @not-instrumented
3141
2961
  */
3142
2962
  const getMissingVerificationForCoinbaseOnrampOrder = ({ paymentMethod }, client = require_InvalidParamError.getDefaultClient()) => {
3143
2963
  if (paymentMethod !== "GUEST_CHECKOUT_APPLE_PAY") throw new require_InvalidParamError.InvalidParamError(`Invalid payment method: ${paymentMethod}`);
@@ -3172,18 +2992,6 @@ const getMissingVerificationForCoinbaseOnrampOrder = ({ paymentMethod }, client
3172
2992
  });
3173
2993
  return fieldsMissingVerification;
3174
2994
  };
3175
- const __getMissingVerificationForCoinbaseOnrampOrder_impl = getMissingVerificationForCoinbaseOnrampOrder;
3176
- const __getMissingVerificationForCoinbaseOnrampOrder_wrapped = require_InvalidParamError.instrumentFunction({
3177
- fn: __getMissingVerificationForCoinbaseOnrampOrder_impl,
3178
- functionName: "getMissingVerificationForCoinbaseOnrampOrder",
3179
- getCore: () => {
3180
- try {
3181
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
3182
- } catch {
3183
- return;
3184
- }
3185
- }
3186
- });
3187
2995
 
3188
2996
  //#endregion
3189
2997
  //#region src/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/validateUserCredentialsForCoinbaseOnrampOrder.ts
@@ -3191,7 +2999,7 @@ const __getMissingVerificationForCoinbaseOnrampOrder_wrapped = require_InvalidPa
3191
2999
  const validateUserCredentialsForCoinbaseOnrampOrder = (client) => {
3192
3000
  const { user } = client;
3193
3001
  require_InvalidParamError.assertDefined(user, "User is not authenticated");
3194
- const fieldsMissingVerification = __getMissingVerificationForCoinbaseOnrampOrder_wrapped({ paymentMethod: "GUEST_CHECKOUT_APPLE_PAY" }, client);
3002
+ const fieldsMissingVerification = getMissingVerificationForCoinbaseOnrampOrder({ paymentMethod: "GUEST_CHECKOUT_APPLE_PAY" }, client);
3195
3003
  if (fieldsMissingVerification.find((field) => field.field === "email")) throw new MissingUserVerificationError({
3196
3004
  informationToVerify: "email",
3197
3005
  message: "User must have a verified email to create a Coinbase onramp order"
@@ -3222,7 +3030,7 @@ const validateUserCredentialsForCoinbaseOnrampOrder = (client) => {
3222
3030
  const createCoinbaseOnrampOrder = async (orderParams, client = require_InvalidParamError.getDefaultClient()) => {
3223
3031
  const user = validateUserCredentialsForCoinbaseOnrampOrder(client);
3224
3032
  const core = require_InvalidParamError.getCore(client);
3225
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({ includeMfaToken: true }, client);
3033
+ const apiClient = require_InvalidParamError.createApiClient({ includeMfaToken: true }, client);
3226
3034
  const { isSandbox, ...restOrderParams } = orderParams;
3227
3035
  const orderResponse = await apiClient.createCoinbaseOnrampOrder({
3228
3036
  coinbaseOnrampOrderCreateRequest: {
@@ -3262,27 +3070,15 @@ const __createCoinbaseOnrampOrder_wrapped = require_InvalidParamError.instrument
3262
3070
  * @param buyUrlParams CoinbaseOnrampGetBuyUrlRequest - The parameters for the buy URL.
3263
3071
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3264
3072
  * @returns an object containing the buy URL
3265
- * @instrumented
3073
+ * @not-instrumented
3266
3074
  */
3267
3075
  const getCoinbaseBuyUrl = async (buyUrlParams, client = require_InvalidParamError.getDefaultClient()) => {
3268
3076
  const core = require_InvalidParamError.getCore(client);
3269
- return await require_InvalidParamError.__createApiClient_wrapped({ includeMfaToken: true }, client).generateCoinbaseOnrampBuyUrl({
3077
+ return await require_InvalidParamError.createApiClient({ includeMfaToken: true }, client).generateCoinbaseOnrampBuyUrl({
3270
3078
  coinbaseOnrampGetBuyUrlRequest: buyUrlParams,
3271
3079
  environmentId: core.environmentId
3272
3080
  });
3273
3081
  };
3274
- const __getCoinbaseBuyUrl_impl = getCoinbaseBuyUrl;
3275
- const __getCoinbaseBuyUrl_wrapped = require_InvalidParamError.instrumentFunction({
3276
- fn: __getCoinbaseBuyUrl_impl,
3277
- functionName: "getCoinbaseBuyUrl",
3278
- getCore: () => {
3279
- try {
3280
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
3281
- } catch {
3282
- return;
3283
- }
3284
- }
3285
- });
3286
3082
 
3287
3083
  //#endregion
3288
3084
  //#region src/modules/funding/cryptoDotCom/createCryptoDotComPayment/createCryptoDotComPayment.ts
@@ -3296,7 +3092,7 @@ const __getCoinbaseBuyUrl_wrapped = require_InvalidParamError.instrumentFunction
3296
3092
  */
3297
3093
  const createCryptoDotComPayment = async (paymentParams, client = require_InvalidParamError.getDefaultClient()) => {
3298
3094
  const core = require_InvalidParamError.getCore(client);
3299
- return await require_InvalidParamError.__createApiClient_wrapped({ includeMfaToken: true }, client).createCryptoDotComPayment({
3095
+ return await require_InvalidParamError.createApiClient({ includeMfaToken: true }, client).createCryptoDotComPayment({
3300
3096
  cryptoDotComPaymentCreateRequest: {
3301
3097
  ...paymentParams,
3302
3098
  chain: paymentParams.chain
@@ -3329,7 +3125,7 @@ const __createCryptoDotComPayment_wrapped = require_InvalidParamError.instrument
3329
3125
  */
3330
3126
  const createKrakenExchangeTransfer = async (transferParams, client = require_InvalidParamError.getDefaultClient()) => {
3331
3127
  const core = require_InvalidParamError.getCore(client);
3332
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({ includeMfaToken: true }, client);
3128
+ const apiClient = require_InvalidParamError.createApiClient({ includeMfaToken: true }, client);
3333
3129
  const { accountId, ...createExchangeTransferRequest } = transferParams;
3334
3130
  return await apiClient.postExchangeAccountTransfer({
3335
3131
  accountId,
@@ -3363,25 +3159,13 @@ const __createKrakenExchangeTransfer_wrapped = require_InvalidParamError.instrum
3363
3159
  */
3364
3160
  const getKrakenAccounts = async (params, client = require_InvalidParamError.getDefaultClient()) => {
3365
3161
  const core = require_InvalidParamError.getCore(client);
3366
- return await require_InvalidParamError.__createApiClient_wrapped({ includeMfaToken: true }, client).getUserAccounts({
3162
+ return await require_InvalidParamError.createApiClient({ includeMfaToken: true }, client).getUserAccounts({
3367
3163
  chainName: params?.chainName,
3368
3164
  environmentId: core.environmentId,
3369
3165
  exchangeKey: _dynamic_labs_sdk_api_core.ExchangeKeyEnum.Kraken,
3370
3166
  networkId: params?.networkId
3371
3167
  });
3372
3168
  };
3373
- const __getKrakenAccounts_impl = getKrakenAccounts;
3374
- const __getKrakenAccounts_wrapped = require_InvalidParamError.instrumentFunction({
3375
- fn: __getKrakenAccounts_impl,
3376
- functionName: "getKrakenAccounts",
3377
- getCore: () => {
3378
- try {
3379
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
3380
- } catch {
3381
- return;
3382
- }
3383
- }
3384
- });
3385
3169
 
3386
3170
  //#endregion
3387
3171
  //#region src/modules/funding/kraken/getKrakenWhitelistedAddresses/getKrakenWhitelistedAddresses.ts
@@ -3390,27 +3174,15 @@ const __getKrakenAccounts_wrapped = require_InvalidParamError.instrumentFunction
3390
3174
  *
3391
3175
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3392
3176
  * @returns Transfer destinations response with whitelisted addresses
3393
- * @instrumented
3177
+ * @not-instrumented
3394
3178
  */
3395
3179
  const getKrakenWhitelistedAddresses = async (client = require_InvalidParamError.getDefaultClient()) => {
3396
3180
  const core = require_InvalidParamError.getCore(client);
3397
- return await require_InvalidParamError.__createApiClient_wrapped({ includeMfaToken: true }, client).getExchangeTransferDestinations({
3181
+ return await require_InvalidParamError.createApiClient({ includeMfaToken: true }, client).getExchangeTransferDestinations({
3398
3182
  environmentId: core.environmentId,
3399
3183
  exchangeKey: _dynamic_labs_sdk_api_core.ExchangeKeyEnum.Kraken
3400
3184
  });
3401
3185
  };
3402
- const __getKrakenWhitelistedAddresses_impl = getKrakenWhitelistedAddresses;
3403
- const __getKrakenWhitelistedAddresses_wrapped = require_InvalidParamError.instrumentFunction({
3404
- fn: __getKrakenWhitelistedAddresses_impl,
3405
- functionName: "getKrakenWhitelistedAddresses",
3406
- getCore: () => {
3407
- try {
3408
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
3409
- } catch {
3410
- return;
3411
- }
3412
- }
3413
- });
3414
3186
 
3415
3187
  //#endregion
3416
3188
  //#region src/modules/initializeClient/waitForClientInitialized/waitForClientInitialized.ts
@@ -3419,23 +3191,11 @@ const __getKrakenWhitelistedAddresses_wrapped = require_InvalidParamError.instru
3419
3191
  * and are ready for use.
3420
3192
  *
3421
3193
  * @returns a promise that resolves once the client is fully initialized.
3422
- * @instrumented
3194
+ * @not-instrumented
3423
3195
  */
3424
3196
  const waitForClientInitialized = async (client = require_InvalidParamError.getDefaultClient()) => {
3425
3197
  await require_InvalidParamError.getCore(client).initTrack.waitForAll();
3426
3198
  };
3427
- const __waitForClientInitialized_impl = waitForClientInitialized;
3428
- const __waitForClientInitialized_wrapped = require_InvalidParamError.instrumentFunction({
3429
- fn: __waitForClientInitialized_impl,
3430
- functionName: "waitForClientInitialized",
3431
- getCore: () => {
3432
- try {
3433
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
3434
- } catch {
3435
- return;
3436
- }
3437
- }
3438
- });
3439
3199
 
3440
3200
  //#endregion
3441
3201
  //#region src/modules/instrumentation/setInstrumentationEnabled/setInstrumentationEnabled.ts
@@ -3521,7 +3281,7 @@ const fetchWithTimeout = async (client) => {
3521
3281
  /**
3522
3282
  * The schema to store the cached wallet book data.
3523
3283
  */
3524
- const walletBookCacheStorageKeySchema = require_getNetworkProviderFromNetworkId.__createStorageKeySchema_wrapped({
3284
+ const walletBookCacheStorageKeySchema = require_getNetworkProviderFromNetworkId.createStorageKeySchema({
3525
3285
  key: "legacyWalletBookCache",
3526
3286
  schema: zod_mini.object({
3527
3287
  groups: zod_mini.record(zod_mini.string(), zod_mini.any()),
@@ -3764,7 +3524,7 @@ const getChainFromWalletSchema = ({ wallet, walletKey }) => {
3764
3524
  const firstChain = wallet.chains[0];
3765
3525
  const chainPrefix = extractChainPrefix({ chainIdentifier: firstChain });
3766
3526
  try {
3767
- return require_InvalidParamError.__getChainFromVerifiedCredentialChain_wrapped(chainPrefix);
3527
+ return require_InvalidParamError.getChainFromVerifiedCredentialChain(chainPrefix);
3768
3528
  } catch {}
3769
3529
  }
3770
3530
  if (walletKey) {
@@ -3842,23 +3602,11 @@ const transformWalletBook = ({ walletBook }) => {
3842
3602
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3843
3603
  * @returns A promise that resolves to the WalletConnect catalog containing groups and wallets.
3844
3604
  * @throws If unable to fetch the wallet book from the API (when both CDN fetch and cache retrieval fail).
3845
- * @instrumented
3605
+ * @not-instrumented
3846
3606
  */
3847
3607
  const getWalletConnectCatalog = async (client = require_InvalidParamError.getDefaultClient()) => {
3848
3608
  return transformWalletBook({ walletBook: await fetchLegacyWalletBook(client) });
3849
3609
  };
3850
- const __getWalletConnectCatalog_impl = getWalletConnectCatalog;
3851
- const __getWalletConnectCatalog_wrapped = require_InvalidParamError.instrumentFunction({
3852
- fn: __getWalletConnectCatalog_impl,
3853
- functionName: "getWalletConnectCatalog",
3854
- getCore: () => {
3855
- try {
3856
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
3857
- } catch {
3858
- return;
3859
- }
3860
- }
3861
- });
3862
3610
 
3863
3611
  //#endregion
3864
3612
  //#region src/modules/wallets/walletProvider/extractChainFromNormalizedName/extractChainFromNormalizedName.ts
@@ -3888,7 +3636,7 @@ const extractChainFromNormalizedName = ({ normalizedWalletNameWithChain }) => {
3888
3636
  * @param params.walletProviderKey - The wallet provider key to get the catalog wallet entry for.
3889
3637
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
3890
3638
  * @returns A promise that resolves to the WalletConnect catalog wallet entry, or undefined if not found.
3891
- * @instrumented
3639
+ * @not-instrumented
3892
3640
  */
3893
3641
  const getWalletConnectCatalogWalletByWalletProviderKey = async ({ walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
3894
3642
  const { normalizedWalletNameWithChain } = require_getVerifiedCredentialForWalletAccount.splitWalletProviderKey(walletProviderKey);
@@ -3897,7 +3645,7 @@ const getWalletConnectCatalogWalletByWalletProviderKey = async ({ walletProvider
3897
3645
  let walletProviderName = normalizedWalletNameWithChain.toLowerCase();
3898
3646
  if (walletProviderName.endsWith(chain.toLowerCase())) walletProviderName = walletProviderName.slice(0, -chain.length);
3899
3647
  walletProviderName = walletProviderName.replace(/wallet/g, "");
3900
- const walletConnectCatalog = await __getWalletConnectCatalog_wrapped(client);
3648
+ const walletConnectCatalog = await getWalletConnectCatalog(client);
3901
3649
  for (const [walletKey, wallet] of Object.entries(walletConnectCatalog.wallets)) {
3902
3650
  if (wallet.chain !== chain) continue;
3903
3651
  const walletKeyLower = walletKey.toLowerCase();
@@ -3905,18 +3653,6 @@ const getWalletConnectCatalogWalletByWalletProviderKey = async ({ walletProvider
3905
3653
  if (walletKeyLower.includes(walletProviderName) || walletNameLower.includes(walletProviderName)) return wallet;
3906
3654
  }
3907
3655
  };
3908
- const __getWalletConnectCatalogWalletByWalletProviderKey_impl = getWalletConnectCatalogWalletByWalletProviderKey;
3909
- const __getWalletConnectCatalogWalletByWalletProviderKey_wrapped = require_InvalidParamError.instrumentFunction({
3910
- fn: __getWalletConnectCatalogWalletByWalletProviderKey_impl,
3911
- functionName: "getWalletConnectCatalogWalletByWalletProviderKey",
3912
- getCore: () => {
3913
- try {
3914
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
3915
- } catch {
3916
- return;
3917
- }
3918
- }
3919
- });
3920
3656
 
3921
3657
  //#endregion
3922
3658
  //#region src/modules/user/updateUser/updateUser.ts
@@ -3935,11 +3671,11 @@ const __getWalletConnectCatalogWalletByWalletProviderKey_wrapped = require_Inval
3935
3671
  */
3936
3672
  const updateUser = async ({ userFields }, client = require_InvalidParamError.getDefaultClient()) => {
3937
3673
  const core = require_InvalidParamError.getCore(client);
3938
- const response = await require_InvalidParamError.__createApiClient_wrapped({ includeMfaToken: true }, client).updateSelf({
3674
+ const response = await require_InvalidParamError.createApiClient({ includeMfaToken: true }, client).updateSelf({
3939
3675
  environmentId: core.environmentId,
3940
3676
  userFields
3941
3677
  });
3942
- require_getVerifiedCredentialForWalletAccount.__updateAuthFromVerifyResponse_wrapped({ response }, client);
3678
+ require_getVerifiedCredentialForWalletAccount.updateAuthFromVerifyResponse({ response }, client);
3943
3679
  if (response.emailVerification) return {
3944
3680
  email: response.emailVerification.email,
3945
3681
  verificationUUID: response.emailVerification.verificationUUID
@@ -4010,7 +3746,7 @@ const __acknowledgeRecoveryCodes_wrapped = require_InvalidParamError.instrumentF
4010
3746
  */
4011
3747
  const authenticateMfaRecoveryCode = async ({ code, createMfaTokenOptions, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
4012
3748
  const core = require_InvalidParamError.getCore(client);
4013
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
3749
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
4014
3750
  try {
4015
3751
  const response = await apiClient.authMfaRecovery({
4016
3752
  environmentId: core.environmentId,
@@ -4020,7 +3756,7 @@ const authenticateMfaRecoveryCode = async ({ code, createMfaTokenOptions, reques
4020
3756
  requestedScopes
4021
3757
  }
4022
3758
  });
4023
- require_getVerifiedCredentialForWalletAccount.__updateAuthFromVerifyResponse_wrapped({ response }, client);
3759
+ require_getVerifiedCredentialForWalletAccount.updateAuthFromVerifyResponse({ response }, client);
4024
3760
  require_getVerifiedCredentialForWalletAccount.emitEvent({
4025
3761
  args: { mfaToken: response.mfaToken },
4026
3762
  event: "mfaCompletionSuccess"
@@ -4040,7 +3776,7 @@ const authenticateMfaRecoveryCode = async ({ code, createMfaTokenOptions, reques
4040
3776
  /** @not-instrumented */
4041
3777
  const getPasskeyAuthenticationOptions = async ({ relatedOriginRpId } = {}, client) => {
4042
3778
  const core = require_InvalidParamError.getCore(client);
4043
- return await require_InvalidParamError.__createApiClient_wrapped({}, client).getPasskeyAuthenticationOptions({
3779
+ return await require_InvalidParamError.createApiClient({}, client).getPasskeyAuthenticationOptions({
4044
3780
  environmentId: core.environmentId,
4045
3781
  relatedOriginRpId
4046
3782
  });
@@ -4051,7 +3787,7 @@ const getPasskeyAuthenticationOptions = async ({ relatedOriginRpId } = {}, clien
4051
3787
  /** @not-instrumented */
4052
3788
  const serverAuthenticatePasskey = async ({ authentication, createMfaToken, requestedScopes }, client) => {
4053
3789
  const core = require_InvalidParamError.getCore(client);
4054
- return await require_InvalidParamError.__createApiClient_wrapped({}, client).authenticateMfaPasskeyDevice({
3790
+ return await require_InvalidParamError.createApiClient({}, client).authenticateMfaPasskeyDevice({
4055
3791
  environmentId: core.environmentId,
4056
3792
  passkeyAuthRequest: {
4057
3793
  ...authentication,
@@ -4100,7 +3836,7 @@ const authenticatePasskeyMFA = async ({ createMfaToken, relatedOriginRpId, reque
4100
3836
  createMfaToken,
4101
3837
  requestedScopes
4102
3838
  }, client);
4103
- require_getVerifiedCredentialForWalletAccount.__updateAuthFromVerifyResponse_wrapped({ response }, client);
3839
+ require_getVerifiedCredentialForWalletAccount.updateAuthFromVerifyResponse({ response }, client);
4104
3840
  require_getVerifiedCredentialForWalletAccount.emitEvent({
4105
3841
  args: { mfaToken: response.mfaToken },
4106
3842
  event: "mfaCompletionSuccess"
@@ -4133,7 +3869,7 @@ const authenticatePasskeyMFA = async ({ createMfaToken, relatedOriginRpId, reque
4133
3869
  */
4134
3870
  const authenticateTotpMfaDevice = async ({ deviceId, code, createMfaTokenOptions, requestedScopes }, client = require_InvalidParamError.getDefaultClient()) => {
4135
3871
  const core = require_InvalidParamError.getCore(client);
4136
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
3872
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
4137
3873
  try {
4138
3874
  const response = await apiClient.authMfaTotpDevice({
4139
3875
  environmentId: core.environmentId,
@@ -4144,7 +3880,7 @@ const authenticateTotpMfaDevice = async ({ deviceId, code, createMfaTokenOptions
4144
3880
  requestedScopes
4145
3881
  }
4146
3882
  });
4147
- require_getVerifiedCredentialForWalletAccount.__updateAuthFromVerifyResponse_wrapped({ response }, client);
3883
+ require_getVerifiedCredentialForWalletAccount.updateAuthFromVerifyResponse({ response }, client);
4148
3884
  require_getVerifiedCredentialForWalletAccount.emitEvent({
4149
3885
  args: {
4150
3886
  deviceId,
@@ -4179,7 +3915,7 @@ const authenticateTotpMfaDevice = async ({ deviceId, code, createMfaTokenOptions
4179
3915
  */
4180
3916
  const createNewMfaRecoveryCodes = async (client = require_InvalidParamError.getDefaultClient()) => {
4181
3917
  const core = require_InvalidParamError.getCore(client);
4182
- return require_InvalidParamError.__createApiClient_wrapped({}, client).createNewRecoveryCodes({ environmentId: core.environmentId });
3918
+ return require_InvalidParamError.createApiClient({}, client).createNewRecoveryCodes({ environmentId: core.environmentId });
4183
3919
  };
4184
3920
  const __createNewMfaRecoveryCodes_impl = createNewMfaRecoveryCodes;
4185
3921
  const __createNewMfaRecoveryCodes_wrapped = require_InvalidParamError.instrumentFunction({
@@ -4217,7 +3953,7 @@ const deleteMfaDevice = async ({ deviceId, mfaAuthToken }, client = require_Inva
4217
3953
  consume: false,
4218
3954
  scope: _dynamic_labs_sdk_api_core.TokenScope.Credentialunlink
4219
3955
  }, client)) require_InvalidParamError.assertDefined(mfaAuthToken, "mfaAuthToken is required");
4220
- return require_InvalidParamError.__createApiClient_wrapped({ elevatedAccessTokenScope: _dynamic_labs_sdk_api_core.TokenScope.Credentialunlink }, client).deleteMfaDevice({
3956
+ return require_InvalidParamError.createApiClient({ elevatedAccessTokenScope: _dynamic_labs_sdk_api_core.TokenScope.Credentialunlink }, client).deleteMfaDevice({
4221
3957
  environmentId: core.environmentId,
4222
3958
  mfaDeviceId: deviceId,
4223
3959
  xMfaAuthToken: mfaAuthToken ?? ""
@@ -4246,25 +3982,13 @@ const __deleteMfaDevice_wrapped = require_InvalidParamError.instrumentFunction({
4246
3982
  *
4247
3983
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4248
3984
  * @returns A promise that resolves to an array of the user's registered MFA devices.
4249
- * @instrumented
3985
+ * @not-instrumented
4250
3986
  */
4251
3987
  const getMfaDevices = async (client = require_InvalidParamError.getDefaultClient()) => {
4252
3988
  const core = require_InvalidParamError.getCore(client);
4253
- const { devices } = await require_InvalidParamError.__createApiClient_wrapped({}, client).getUserMfaDevices({ environmentId: core.environmentId });
3989
+ const { devices } = await require_InvalidParamError.createApiClient({}, client).getUserMfaDevices({ environmentId: core.environmentId });
4254
3990
  return devices;
4255
3991
  };
4256
- const __getMfaDevices_impl = getMfaDevices;
4257
- const __getMfaDevices_wrapped = require_InvalidParamError.instrumentFunction({
4258
- fn: __getMfaDevices_impl,
4259
- functionName: "getMfaDevices",
4260
- getCore: () => {
4261
- try {
4262
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
4263
- } catch {
4264
- return;
4265
- }
4266
- }
4267
- });
4268
3992
 
4269
3993
  //#endregion
4270
3994
  //#region src/modules/mfa/getMfaRecoveryCodes/getMfaRecoveryCodes.ts
@@ -4278,24 +4002,12 @@ const __getMfaDevices_wrapped = require_InvalidParamError.instrumentFunction({
4278
4002
  *
4279
4003
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
4280
4004
  * @returns A promise that resolves to the user's MFA recovery codes.
4281
- * @instrumented
4005
+ * @not-instrumented
4282
4006
  */
4283
4007
  const getMfaRecoveryCodes = async (client = require_InvalidParamError.getDefaultClient()) => {
4284
4008
  const core = require_InvalidParamError.getCore(client);
4285
- return require_InvalidParamError.__createApiClient_wrapped({}, client).getRecoveryCodes({ environmentId: core.environmentId });
4009
+ return require_InvalidParamError.createApiClient({}, client).getRecoveryCodes({ environmentId: core.environmentId });
4286
4010
  };
4287
- const __getMfaRecoveryCodes_impl = getMfaRecoveryCodes;
4288
- const __getMfaRecoveryCodes_wrapped = require_InvalidParamError.instrumentFunction({
4289
- fn: __getMfaRecoveryCodes_impl,
4290
- functionName: "getMfaRecoveryCodes",
4291
- getCore: () => {
4292
- try {
4293
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
4294
- } catch {
4295
- return;
4296
- }
4297
- }
4298
- });
4299
4011
 
4300
4012
  //#endregion
4301
4013
  //#region src/modules/mfa/isPendingRecoveryCodesAcknowledgment/isPendingRecoveryCodesAcknowledgment.ts
@@ -4330,7 +4042,7 @@ const isPendingRecoveryCodesAcknowledgment = (client = require_InvalidParamError
4330
4042
  */
4331
4043
  const registerTotpMfaDevice = async (client = require_InvalidParamError.getDefaultClient()) => {
4332
4044
  const core = require_InvalidParamError.getCore(client);
4333
- return require_InvalidParamError.__createApiClient_wrapped({ elevatedAccessTokenScope: _dynamic_labs_sdk_api_core.TokenScope.Credentiallink }, client).registerTotpMfaDevice({ environmentId: core.environmentId });
4045
+ return require_InvalidParamError.createApiClient({ elevatedAccessTokenScope: _dynamic_labs_sdk_api_core.TokenScope.Credentiallink }, client).registerTotpMfaDevice({ environmentId: core.environmentId });
4334
4046
  };
4335
4047
  const __registerTotpMfaDevice_impl = registerTotpMfaDevice;
4336
4048
  const __registerTotpMfaDevice_wrapped = require_InvalidParamError.instrumentFunction({
@@ -4360,7 +4072,7 @@ const __registerTotpMfaDevice_wrapped = require_InvalidParamError.instrumentFunc
4360
4072
  */
4361
4073
  const setDefaultMfaDevice = async ({ deviceId }, client = require_InvalidParamError.getDefaultClient()) => {
4362
4074
  const core = require_InvalidParamError.getCore(client);
4363
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
4075
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
4364
4076
  require_InvalidParamError.assertDefined(deviceId, "deviceId is required");
4365
4077
  return apiClient.updateUserMfaDevice({
4366
4078
  environmentId: core.environmentId,
@@ -4395,9 +4107,9 @@ const __setDefaultMfaDevice_wrapped = require_InvalidParamError.instrumentFuncti
4395
4107
  */
4396
4108
  const sendEmailOTP = async ({ email }, client = require_InvalidParamError.getDefaultClient()) => {
4397
4109
  const core = require_InvalidParamError.getCore(client);
4398
- const { verificationUUID } = await require_InvalidParamError.__createApiClient_wrapped({}, client).createEmailVerification({
4110
+ const { verificationUUID } = await require_InvalidParamError.createApiClient({}, client).createEmailVerification({
4399
4111
  emailVerificationCreateRequest: {
4400
- captchaToken: require_getNetworkProviderFromNetworkId.__consumeCaptchaToken_wrapped(client),
4112
+ captchaToken: require_getNetworkProviderFromNetworkId.consumeCaptchaToken(client),
4401
4113
  email
4402
4114
  },
4403
4115
  environmentId: core.environmentId
@@ -5356,12 +5068,12 @@ const supportedCountries = {
5356
5068
  */
5357
5069
  const sendSmsOTP = async ({ isoCountryCode, phoneNumber }, client = require_InvalidParamError.getDefaultClient()) => {
5358
5070
  const core = require_InvalidParamError.getCore(client);
5359
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
5071
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
5360
5072
  const phoneCountryCode = supportedCountries[isoCountryCode].code;
5361
5073
  const { verificationUUID } = await apiClient.createSmsVerification({
5362
5074
  environmentId: core.environmentId,
5363
5075
  smsVerificationCreateRequest: {
5364
- captchaToken: require_getNetworkProviderFromNetworkId.__consumeCaptchaToken_wrapped(client),
5076
+ captchaToken: require_getNetworkProviderFromNetworkId.consumeCaptchaToken(client),
5365
5077
  isoCountryCode,
5366
5078
  phoneCountryCode,
5367
5079
  phoneNumber
@@ -5393,7 +5105,7 @@ const __sendSmsOTP_wrapped = require_InvalidParamError.instrumentFunction({
5393
5105
  /** @not-instrumented */
5394
5106
  const verifyOTPForUserSignIn = async ({ otpVerification, verificationToken }, client) => {
5395
5107
  const core = require_InvalidParamError.getCore(client);
5396
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
5108
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
5397
5109
  const verifyRequest = {
5398
5110
  verificationToken,
5399
5111
  verificationUUID: otpVerification.verificationUUID
@@ -5413,7 +5125,7 @@ const verifyOTPForUserSignIn = async ({ otpVerification, verificationToken }, cl
5413
5125
  /** @not-instrumented */
5414
5126
  const verifyOTPForUserUpdate = async ({ otpVerification, verificationToken, requestedScopes }, client) => {
5415
5127
  const core = require_InvalidParamError.getCore(client);
5416
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
5128
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
5417
5129
  const verifyRequest = {
5418
5130
  verificationToken,
5419
5131
  verificationUUID: otpVerification.verificationUUID
@@ -5454,7 +5166,7 @@ const verifyOTP = async ({ otpVerification, verificationToken, requestedScopes }
5454
5166
  otpVerification,
5455
5167
  verificationToken
5456
5168
  }, client);
5457
- require_getVerifiedCredentialForWalletAccount.__updateAuthFromVerifyResponse_wrapped({ response }, client);
5169
+ require_getVerifiedCredentialForWalletAccount.updateAuthFromVerifyResponse({ response }, client);
5458
5170
  return response;
5459
5171
  };
5460
5172
  const __verifyOTP_impl = verifyOTP;
@@ -5478,11 +5190,11 @@ const __verifyOTP_wrapped = require_InvalidParamError.instrumentFunction({
5478
5190
  * @param params GetSwapQuoteParams - The parameters for the swap quote.
5479
5191
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5480
5192
  * @returns The swap quote details. Use the `signingPayload` field to get the transaction data for the wallet to sign.
5481
- * @instrumented
5193
+ * @not-instrumented
5482
5194
  */
5483
5195
  const getSwapQuote = async (params, client = require_InvalidParamError.getDefaultClient()) => {
5484
5196
  const core = require_InvalidParamError.getCore(client);
5485
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
5197
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
5486
5198
  if (!params.from.amount && !params.to.amount) throw new require_InvalidParamError.InvalidParamError("Either from.amount or to.amount is required");
5487
5199
  if (params.from.amount && params.to.amount) throw new require_InvalidParamError.InvalidParamError("Only one of from.amount or to.amount is allowed");
5488
5200
  return await apiClient.swapQuote({
@@ -5504,18 +5216,6 @@ const getSwapQuote = async (params, client = require_InvalidParamError.getDefaul
5504
5216
  }
5505
5217
  });
5506
5218
  };
5507
- const __getSwapQuote_impl = getSwapQuote;
5508
- const __getSwapQuote_wrapped = require_InvalidParamError.instrumentFunction({
5509
- fn: __getSwapQuote_impl,
5510
- functionName: "getSwapQuote",
5511
- getCore: () => {
5512
- try {
5513
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
5514
- } catch {
5515
- return;
5516
- }
5517
- }
5518
- });
5519
5219
 
5520
5220
  //#endregion
5521
5221
  //#region src/modules/swap/getSwapStatus/getSwapStatus.ts
@@ -5525,11 +5225,11 @@ const __getSwapQuote_wrapped = require_InvalidParamError.instrumentFunction({
5525
5225
  * @param params GetSwapStatusParams - The parameters for the swap status.
5526
5226
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
5527
5227
  * @returns The swap status.
5528
- * @instrumented
5228
+ * @not-instrumented
5529
5229
  */
5530
5230
  const getSwapStatus = async (params, client = require_InvalidParamError.getDefaultClient()) => {
5531
5231
  const core = require_InvalidParamError.getCore(client);
5532
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
5232
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
5533
5233
  let from;
5534
5234
  if (params.from) from = {
5535
5235
  chainId: params.from.networkId,
@@ -5560,18 +5260,6 @@ const getSwapStatus = async (params, client = require_InvalidParamError.getDefau
5560
5260
  });
5561
5261
  }
5562
5262
  };
5563
- const __getSwapStatus_impl = getSwapStatus;
5564
- const __getSwapStatus_wrapped = require_InvalidParamError.instrumentFunction({
5565
- fn: __getSwapStatus_impl,
5566
- functionName: "getSwapStatus",
5567
- getCore: () => {
5568
- try {
5569
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
5570
- } catch {
5571
- return;
5572
- }
5573
- }
5574
- });
5575
5263
 
5576
5264
  //#endregion
5577
5265
  //#region src/modules/user/deleteUser/deleteUser.ts
@@ -5587,7 +5275,7 @@ const __getSwapStatus_wrapped = require_InvalidParamError.instrumentFunction({
5587
5275
  */
5588
5276
  const deleteUser = async (client = require_InvalidParamError.getDefaultClient()) => {
5589
5277
  const core = require_InvalidParamError.getCore(client);
5590
- await require_InvalidParamError.__createApiClient_wrapped({ includeMfaToken: true }, client).hardDeleteUser({ environmentId: core.environmentId });
5278
+ await require_InvalidParamError.createApiClient({ includeMfaToken: true }, client).hardDeleteUser({ environmentId: core.environmentId });
5591
5279
  await require_getNetworkProviderFromNetworkId.__logoutWithReason_wrapped({ reason: "user-deleted" }, client);
5592
5280
  };
5593
5281
  const __deleteUser_impl = deleteUser;
@@ -5643,7 +5331,7 @@ const isUserOnboardingComplete = (client = require_InvalidParamError.getDefaultC
5643
5331
  * @not-instrumented
5644
5332
  */
5645
5333
  const assertWalletAccountSigningAvailability = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
5646
- const { addresses } = await require_getVerifiedCredentialForWalletAccount.__getWalletProviderFromWalletAccount_wrapped({ walletAccount }, client).getConnectedAddresses();
5334
+ const { addresses } = await require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client).getConnectedAddresses();
5647
5335
  if (addresses.length > 0 && !addresses.includes(walletAccount.address)) throw new WalletAccountNotSelectedError({
5648
5336
  expectedAddress: walletAccount.address,
5649
5337
  selectedAddress: addresses[0]
@@ -5667,7 +5355,7 @@ const assertWalletAccountSigningAvailability = async ({ walletAccount }, client
5667
5355
  * @instrumented
5668
5356
  */
5669
5357
  const confirmTransaction = async ({ walletAccount, transactionHash }, client = require_InvalidParamError.getDefaultClient()) => {
5670
- const walletProvider = require_getVerifiedCredentialForWalletAccount.__getWalletProviderFromWalletAccount_wrapped({ walletAccount }, client);
5358
+ const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
5671
5359
  assertWalletProviderMethodDefined(walletProvider, "confirmTransaction");
5672
5360
  await walletProvider.confirmTransaction({
5673
5361
  transactionHash,
@@ -5743,7 +5431,7 @@ const connectWithWalletProvider = async ({ walletProviderKey, addToDynamicWallet
5743
5431
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
5744
5432
  assertWalletProviderMethodDefined(walletProvider, "connect");
5745
5433
  const { addresses } = await walletProvider.connect();
5746
- const currentAddresses = require_getVerifiedCredentialForWalletAccount.__getWalletAccounts_wrapped(client).map(({ address }) => address);
5434
+ const currentAddresses = require_getVerifiedCredentialForWalletAccount.getWalletAccounts(client).map(({ address }) => address);
5747
5435
  const mainAddress = addresses?.length ? addresses[0].address : null;
5748
5436
  /**
5749
5437
  * This error is thrown in case the wallet has no addresses connected
@@ -5767,9 +5455,9 @@ const connectWithWalletProvider = async ({ walletProviderKey, addToDynamicWallet
5767
5455
  };
5768
5456
  if (currentAddresses.includes(mainAddress)) return walletAccount;
5769
5457
  if (addToDynamicWalletAccounts) {
5770
- require_getNetworkProviderFromNetworkId.__setUnverifiedWalletAccounts_wrapped({ unverifiedWalletAccountsToUpdate: [walletAccount] }, client);
5458
+ require_getNetworkProviderFromNetworkId.setUnverifiedWalletAccounts({ unverifiedWalletAccountsToUpdate: [walletAccount] }, client);
5771
5459
  require_getVerifiedCredentialForWalletAccount.emitWalletAccountsChangedEvent(client);
5772
- require_getNetworkProviderFromNetworkId.__createVisit_wrapped({ walletAccount }, client);
5460
+ require_getNetworkProviderFromNetworkId.createVisit({ walletAccount }, client);
5773
5461
  }
5774
5462
  return walletAccount;
5775
5463
  };
@@ -5821,8 +5509,8 @@ const getSignInMessage = async ({ nonce: nonceOverride, walletAccount }, client)
5821
5509
  require_InvalidParamError.assertDefined(universalLink, "Universal link is not set");
5822
5510
  const url = new URL(universalLink);
5823
5511
  const domain = url.host;
5824
- const nonce = nonceOverride ?? await require_InvalidParamError.__getNonce_wrapped(client);
5825
- const walletProvider = require_getVerifiedCredentialForWalletAccount.__getWalletProviderFromWalletAccount_wrapped({ walletAccount }, client);
5512
+ const nonce = nonceOverride ?? await require_InvalidParamError.getNonce(client);
5513
+ const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
5826
5514
  if (walletProvider.chain === "STARK")
5827
5515
  /**
5828
5516
  * Starknet requires the strings to be 31 chars long
@@ -5833,7 +5521,7 @@ const getSignInMessage = async ({ nonce: nonceOverride, walletAccount }, client)
5833
5521
  domain: domain.substring(0, 31),
5834
5522
  nonce
5835
5523
  });
5836
- const statement = require_getNetworkProviderFromNetworkId.__createSignInMessageStatement_wrapped(client);
5524
+ const statement = require_getNetworkProviderFromNetworkId.createSignInMessageStatement(client);
5837
5525
  return await require_getNetworkProviderFromNetworkId.formatSignInMessage({
5838
5526
  address: walletAccount.address,
5839
5527
  blockchainName: require_InvalidParamError.CHAINS_INFO_MAP[walletProvider.chain].blockchainName,
@@ -5861,7 +5549,7 @@ const getSignInMessage = async ({ nonce: nonceOverride, walletAccount }, client)
5861
5549
  * @instrumented
5862
5550
  */
5863
5551
  const proveWalletAccountOwnership = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
5864
- const walletProvider = require_getVerifiedCredentialForWalletAccount.__getWalletProviderFromWalletAccount_wrapped({ walletAccount }, client);
5552
+ const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
5865
5553
  assertWalletProviderMethodDefined(walletProvider, "signMessage");
5866
5554
  const messageToSign = await getSignInMessage({
5867
5555
  nonce: walletProvider.getConnectProofNonce?.(),
@@ -5905,14 +5593,14 @@ const isSameAddress = ({ chain, left, right }) => require_getVerifiedCredentialF
5905
5593
  /** @not-instrumented */
5906
5594
  const verifyWalletAccountForSignInOrTransfer = async ({ walletAccount, isTransfer, requestedScopes }, client) => {
5907
5595
  if (walletAccount.verifiedCredentialId) throw new WalletAccountAlreadyVerifiedError(walletAccount.address);
5908
- const walletProvider = require_getVerifiedCredentialForWalletAccount.__getWalletProviderFromWalletAccount_wrapped({ walletAccount }, client);
5596
+ const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
5909
5597
  const { messageToSign, signature } = await __proveWalletAccountOwnership_wrapped({ walletAccount }, client);
5910
5598
  const formattedSignature = walletAccount.hardwareWalletVendor ? formatSignatureForHardwareWallet({
5911
5599
  hardwareWalletVendor: walletAccount.hardwareWalletVendor,
5912
5600
  signature
5913
5601
  }) : signature;
5914
5602
  const { networkId } = await walletProvider.getActiveNetworkId();
5915
- const response = await require_getNetworkProviderFromNetworkId.__verifyMessageSignatureOwnership_wrapped({
5603
+ const response = await require_getNetworkProviderFromNetworkId.verifyMessageSignatureOwnership({
5916
5604
  addressesWithTypes: walletAccount.addressesWithTypes,
5917
5605
  chain: walletAccount.chain,
5918
5606
  isTransfer,
@@ -5930,17 +5618,17 @@ const verifyWalletAccountForSignInOrTransfer = async ({ walletAccount, isTransfe
5930
5618
  right: walletAccount.address
5931
5619
  }));
5932
5620
  require_InvalidParamError.assertDefined(walletVerifiedCredential, `After verifying, still unable to find verified wallet credential for wallet account ${walletAccount.address} on chain ${walletAccount.chain}`);
5933
- require_getNetworkProviderFromNetworkId.__updateWalletProviderKeysForVerifiedCredentials_wrapped({ keysToUpdate: { [walletVerifiedCredential.id]: walletProvider.key } }, client);
5621
+ require_getNetworkProviderFromNetworkId.updateWalletProviderKeysForVerifiedCredentials({ keysToUpdate: { [walletVerifiedCredential.id]: walletProvider.key } }, client);
5934
5622
  /**
5935
5623
  * Adds the user with the new wallet verified credential
5936
5624
  * This will add the new verified wallet account to the client`s state
5937
5625
  */
5938
- require_getVerifiedCredentialForWalletAccount.__updateAuthFromVerifyResponse_wrapped({ response }, client);
5626
+ require_getVerifiedCredentialForWalletAccount.updateAuthFromVerifyResponse({ response }, client);
5939
5627
  /**
5940
5628
  * Remove the now verified wallet account from the unverified wallet accounts
5941
5629
  */
5942
- require_getNetworkProviderFromNetworkId.__removeUnverifiedWalletAccount_wrapped({ unverifiedWalletAccount: walletAccount }, client);
5943
- const verifiedWalletAccount = require_getVerifiedCredentialForWalletAccount.__getWalletAccounts_wrapped(client).find(({ address }) => isSameAddress({
5630
+ require_getNetworkProviderFromNetworkId.removeUnverifiedWalletAccount({ unverifiedWalletAccount: walletAccount }, client);
5631
+ const verifiedWalletAccount = require_getVerifiedCredentialForWalletAccount.getWalletAccounts(client).find(({ address }) => isSameAddress({
5944
5632
  chain: walletAccount.chain,
5945
5633
  left: address,
5946
5634
  right: walletAccount.address
@@ -6026,7 +5714,7 @@ const connectAndVerifyWithWalletProvider = async ({ walletProviderKey, hardwareW
6026
5714
  walletProviderKey
6027
5715
  }, client);
6028
5716
  await __verifyWalletAccount_wrapped({ walletAccount }, client);
6029
- require_getNetworkProviderFromNetworkId.__createVisit_wrapped({
5717
+ require_getNetworkProviderFromNetworkId.createVisit({
6030
5718
  authMode: _dynamic_labs_sdk_api_core.AuthModeEnum.AndSign,
6031
5719
  walletAccount
6032
5720
  }, client);
@@ -6055,10 +5743,10 @@ const __connectAndVerifyWithWalletProvider_wrapped = require_InvalidParamError.i
6055
5743
  *
6056
5744
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
6057
5745
  * @returns An array of wallet provider data including chain, keys, and metadata.
6058
- * @instrumented
5746
+ * @not-instrumented
6059
5747
  */
6060
5748
  const getAvailableWalletProvidersData = (client = require_InvalidParamError.getDefaultClient()) => {
6061
- return require_getVerifiedCredentialForWalletAccount.__getWalletProviders_wrapped(client).filter((walletProvider) => Boolean(walletProvider.connect)).map((walletProvider) => ({
5749
+ return require_getVerifiedCredentialForWalletAccount.getWalletProviders(client).filter((walletProvider) => Boolean(walletProvider.connect)).map((walletProvider) => ({
6062
5750
  chain: walletProvider.chain,
6063
5751
  groupKey: walletProvider.groupKey,
6064
5752
  key: walletProvider.key,
@@ -6066,18 +5754,6 @@ const getAvailableWalletProvidersData = (client = require_InvalidParamError.getD
6066
5754
  walletProviderType: walletProvider.walletProviderType
6067
5755
  }));
6068
5756
  };
6069
- const __getAvailableWalletProvidersData_impl = getAvailableWalletProvidersData;
6070
- const __getAvailableWalletProvidersData_wrapped = require_InvalidParamError.instrumentFunction({
6071
- fn: __getAvailableWalletProvidersData_impl,
6072
- functionName: "getAvailableWalletProvidersData",
6073
- getCore: () => {
6074
- try {
6075
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
6076
- } catch {
6077
- return;
6078
- }
6079
- }
6080
- });
6081
5757
 
6082
5758
  //#endregion
6083
5759
  //#region src/modules/wallets/getConnectedAddresses/getConnectedAddresses.ts
@@ -6090,44 +5766,20 @@ const __getAvailableWalletProvidersData_wrapped = require_InvalidParamError.inst
6090
5766
  * @param params.walletProviderKey - The unique key of the wallet provider to query.
6091
5767
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
6092
5768
  * @returns An array of connected wallet addresses.
6093
- * @instrumented
5769
+ * @not-instrumented
6094
5770
  */
6095
5771
  const getConnectedAddresses = ({ walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
6096
5772
  return require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client).getConnectedAddresses();
6097
5773
  };
6098
- const __getConnectedAddresses_impl = getConnectedAddresses;
6099
- const __getConnectedAddresses_wrapped = require_InvalidParamError.instrumentFunction({
6100
- fn: __getConnectedAddresses_impl,
6101
- functionName: "getConnectedAddresses",
6102
- getCore: () => {
6103
- try {
6104
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
6105
- } catch {
6106
- return;
6107
- }
6108
- }
6109
- });
6110
5774
 
6111
5775
  //#endregion
6112
5776
  //#region src/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.ts
6113
- /** @instrumented */
5777
+ /** @not-instrumented */
6114
5778
  const getOwnerWalletAccountForSmartWalletAccount = ({ smartWalletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
6115
- const smartWalletVerifiedCredential = require_getVerifiedCredentialForWalletAccount.__getVerifiedCredentialForWalletAccount_wrapped({ walletAccount: smartWalletAccount }, client);
5779
+ const smartWalletVerifiedCredential = require_getVerifiedCredentialForWalletAccount.getVerifiedCredentialForWalletAccount({ walletAccount: smartWalletAccount }, client);
6116
5780
  require_InvalidParamError.assertDefined(smartWalletVerifiedCredential?.signerRefId, "Invalid smart wallet account");
6117
- return require_getVerifiedCredentialForWalletAccount.__getWalletAccounts_wrapped(client).find((walletAccount) => walletAccount.verifiedCredentialId === smartWalletVerifiedCredential.signerRefId);
5781
+ return require_getVerifiedCredentialForWalletAccount.getWalletAccounts(client).find((walletAccount) => walletAccount.verifiedCredentialId === smartWalletVerifiedCredential.signerRefId);
6118
5782
  };
6119
- const __getOwnerWalletAccountForSmartWalletAccount_impl = getOwnerWalletAccountForSmartWalletAccount;
6120
- const __getOwnerWalletAccountForSmartWalletAccount_wrapped = require_InvalidParamError.instrumentFunction({
6121
- fn: __getOwnerWalletAccountForSmartWalletAccount_impl,
6122
- functionName: "getOwnerWalletAccountForSmartWalletAccount",
6123
- getCore: () => {
6124
- try {
6125
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
6126
- } catch {
6127
- return;
6128
- }
6129
- }
6130
- });
6131
5783
 
6132
5784
  //#endregion
6133
5785
  //#region src/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.ts
@@ -6245,25 +5897,13 @@ const __addNetwork_wrapped = require_InvalidParamError.instrumentFunction({
6245
5897
  * @param params.walletAccount - The wallet account to get network data for.
6246
5898
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
6247
5899
  * @returns A promise that resolves to the network data, or undefined if not found.
6248
- * @instrumented
5900
+ * @not-instrumented
6249
5901
  */
6250
5902
  const getActiveNetworkData = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
6251
- const walletProvider = require_getVerifiedCredentialForWalletAccount.__getWalletProviderFromWalletAccount_wrapped({ walletAccount }, client);
5903
+ const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
6252
5904
  const { networkId } = await walletProvider.getActiveNetworkId();
6253
- return { networkData: require_getNetworkProviderFromNetworkId.__getNetworksData_wrapped(client).find((data) => data.networkId === networkId && data.chain === walletProvider.chain) };
5905
+ return { networkData: require_getNetworkProviderFromNetworkId.getNetworksData(client).find((data) => data.networkId === networkId && data.chain === walletProvider.chain) };
6254
5906
  };
6255
- const __getActiveNetworkData_impl = getActiveNetworkData;
6256
- const __getActiveNetworkData_wrapped = require_InvalidParamError.instrumentFunction({
6257
- fn: __getActiveNetworkData_impl,
6258
- functionName: "getActiveNetworkData",
6259
- getCore: () => {
6260
- try {
6261
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
6262
- } catch {
6263
- return;
6264
- }
6265
- }
6266
- });
6267
5907
 
6268
5908
  //#endregion
6269
5909
  //#region src/modules/wallets/networks/getActiveNetworkId/getActiveNetworkId.ts
@@ -6273,23 +5913,11 @@ const __getActiveNetworkData_wrapped = require_InvalidParamError.instrumentFunct
6273
5913
  * @param params.walletAccount - The wallet account to get the network ID for.
6274
5914
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
6275
5915
  * @returns A promise that resolves to the active network ID for the wallet account.
6276
- * @instrumented
5916
+ * @not-instrumented
6277
5917
  */
6278
5918
  const getActiveNetworkId = ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
6279
- return require_getVerifiedCredentialForWalletAccount.__getWalletProviderFromWalletAccount_wrapped({ walletAccount }, client).getActiveNetworkId();
5919
+ return require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client).getActiveNetworkId();
6280
5920
  };
6281
- const __getActiveNetworkId_impl = getActiveNetworkId;
6282
- const __getActiveNetworkId_wrapped = require_InvalidParamError.instrumentFunction({
6283
- fn: __getActiveNetworkId_impl,
6284
- functionName: "getActiveNetworkId",
6285
- getCore: () => {
6286
- try {
6287
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
6288
- } catch {
6289
- return;
6290
- }
6291
- }
6292
- });
6293
5921
 
6294
5922
  //#endregion
6295
5923
  //#region src/modules/wallets/networks/getBalance/getBalance.ts
@@ -6302,28 +5930,16 @@ const __getActiveNetworkId_wrapped = require_InvalidParamError.instrumentFunctio
6302
5930
  * @param params.walletAccount - The wallet account to get the balance for.
6303
5931
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
6304
5932
  * @returns A promise that resolves to an object containing the balance as a string or null.
6305
- * @instrumented
5933
+ * @not-instrumented
6306
5934
  */
6307
5935
  const getBalance = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
6308
- const walletProvider = require_getVerifiedCredentialForWalletAccount.__getWalletProviderFromWalletAccount_wrapped({ walletAccount }, client);
5936
+ const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
6309
5937
  const { networkId } = await walletProvider.getActiveNetworkId();
6310
- return require_getNetworkProviderFromNetworkId.__getNetworkProviderFromNetworkId_wrapped({
5938
+ return require_getNetworkProviderFromNetworkId.getNetworkProviderFromNetworkId({
6311
5939
  chain: walletProvider.chain,
6312
5940
  networkId
6313
5941
  }, client).getBalance({ address: walletAccount.address });
6314
5942
  };
6315
- const __getBalance_impl = getBalance;
6316
- const __getBalance_wrapped = require_InvalidParamError.instrumentFunction({
6317
- fn: __getBalance_impl,
6318
- functionName: "getBalance",
6319
- getCore: () => {
6320
- try {
6321
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
6322
- } catch {
6323
- return;
6324
- }
6325
- }
6326
- });
6327
5943
 
6328
5944
  //#endregion
6329
5945
  //#region src/modules/wallets/networks/getBalanceForAddress/getBalanceForAddress.ts
@@ -6338,28 +5954,16 @@ const __getBalance_wrapped = require_InvalidParamError.instrumentFunction({
6338
5954
  * @param params.networkId - The specific network ID within the chain.
6339
5955
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
6340
5956
  * @returns A promise that resolves to an object containing the balance as a string or null.
6341
- * @instrumented
5957
+ * @not-instrumented
6342
5958
  */
6343
5959
  const getBalanceForAddress = async ({ address, chain, networkId }, client = require_InvalidParamError.getDefaultClient()) => {
6344
- const networkProvider = require_getNetworkProviderFromNetworkId.__getNetworkProviderFromNetworkId_wrapped({
5960
+ const networkProvider = require_getNetworkProviderFromNetworkId.getNetworkProviderFromNetworkId({
6345
5961
  chain,
6346
5962
  networkId
6347
5963
  }, client);
6348
5964
  require_InvalidParamError.assertDefined(networkProvider, `No network found for chain ${chain} and network id ${networkId}. Please ensure you've enabled this network in the Dashboard.`);
6349
5965
  return networkProvider.getBalance({ address });
6350
5966
  };
6351
- const __getBalanceForAddress_impl = getBalanceForAddress;
6352
- const __getBalanceForAddress_wrapped = require_InvalidParamError.instrumentFunction({
6353
- fn: __getBalanceForAddress_impl,
6354
- functionName: "getBalanceForAddress",
6355
- getCore: () => {
6356
- try {
6357
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
6358
- } catch {
6359
- return;
6360
- }
6361
- }
6362
- });
6363
5967
 
6364
5968
  //#endregion
6365
5969
  //#region src/modules/wallets/networks/getTransactionHistory/getTransactionHistory.ts
@@ -6376,29 +5980,17 @@ const __getBalanceForAddress_wrapped = require_InvalidParamError.instrumentFunct
6376
5980
  * @param [params.offset] - The offset to use for pagination.
6377
5981
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
6378
5982
  * @returns A promise that resolves to the transaction history along with nextOffset for the given wallet address and chain.
6379
- * @instrumented
5983
+ * @not-instrumented
6380
5984
  */
6381
5985
  const getTransactionHistory = async (params, client = require_InvalidParamError.getDefaultClient()) => {
6382
5986
  const core = require_InvalidParamError.getCore(client);
6383
- return await require_InvalidParamError.__createApiClient_wrapped({}, client).getWalletTransactions({
5987
+ return await require_InvalidParamError.createApiClient({}, client).getWalletTransactions({
6384
5988
  address: params.address,
6385
5989
  chainName: params.chain,
6386
5990
  environmentId: core.environmentId,
6387
5991
  networkId: params.networkId
6388
5992
  });
6389
5993
  };
6390
- const __getTransactionHistory_impl = getTransactionHistory;
6391
- const __getTransactionHistory_wrapped = require_InvalidParamError.instrumentFunction({
6392
- fn: __getTransactionHistory_impl,
6393
- functionName: "getTransactionHistory",
6394
- getCore: () => {
6395
- try {
6396
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
6397
- } catch {
6398
- return;
6399
- }
6400
- }
6401
- });
6402
5994
 
6403
5995
  //#endregion
6404
5996
  //#region src/modules/wallets/networks/isProgrammaticNetworkSwitchAvailable/isProgrammaticNetworkSwitchAvailable.ts
@@ -6462,12 +6054,12 @@ const __switchActiveNetwork_wrapped = require_InvalidParamError.instrumentFuncti
6462
6054
  */
6463
6055
  const selectPrimaryWalletAccount = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
6464
6056
  const core = require_InvalidParamError.getCore(client);
6465
- if (__getPrimaryWalletAccount_wrapped(client)?.id === walletAccount.id) return;
6466
- if (walletAccount.verifiedCredentialId) require_getVerifiedCredentialForWalletAccount.__updateAuthFromVerifyResponse_wrapped({ response: await require_InvalidParamError.__createApiClient_wrapped({}, client).selectUserWallet({
6057
+ if (getPrimaryWalletAccount(client)?.id === walletAccount.id) return;
6058
+ if (walletAccount.verifiedCredentialId) require_getVerifiedCredentialForWalletAccount.updateAuthFromVerifyResponse({ response: await require_InvalidParamError.createApiClient({}, client).selectUserWallet({
6467
6059
  environmentId: core.environmentId,
6468
6060
  userWalletSelectionRequest: { walletId: walletAccount.verifiedCredentialId }
6469
6061
  }) }, client);
6470
- else require_getNetworkProviderFromNetworkId.__setUnverifiedWalletAccounts_wrapped({ unverifiedWalletAccountsToUpdate: [{
6062
+ else require_getNetworkProviderFromNetworkId.setUnverifiedWalletAccounts({ unverifiedWalletAccountsToUpdate: [{
6471
6063
  ...walletAccount,
6472
6064
  lastSelectedAt: /* @__PURE__ */ new Date()
6473
6065
  }] }, client);
@@ -6496,7 +6088,7 @@ const __selectPrimaryWalletAccount_wrapped = require_InvalidParamError.instrumen
6496
6088
  */
6497
6089
  const disconnectWalletAccount = async ({ walletAccount }, client) => {
6498
6090
  try {
6499
- await require_getVerifiedCredentialForWalletAccount.__getWalletProviderFromWalletAccount_wrapped({ walletAccount }, client).disconnectWalletAccount?.({ walletAccount });
6091
+ await require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client).disconnectWalletAccount?.({ walletAccount });
6500
6092
  } catch (error) {
6501
6093
  if (error instanceof require_getVerifiedCredentialForWalletAccount.NoWalletProviderFoundError) return;
6502
6094
  throw error;
@@ -6519,13 +6111,13 @@ const disconnectWalletAccount = async ({ walletAccount }, client) => {
6519
6111
  */
6520
6112
  const removeWalletAccount = async ({ walletAccount }, client = require_InvalidParamError.getDefaultClient()) => {
6521
6113
  const core = require_InvalidParamError.getCore(client);
6522
- const apiClient = require_InvalidParamError.__createApiClient_wrapped({}, client);
6114
+ const apiClient = require_InvalidParamError.createApiClient({}, client);
6523
6115
  await disconnectWalletAccount({ walletAccount }, client);
6524
6116
  if (!walletAccount.verifiedCredentialId) {
6525
- require_getNetworkProviderFromNetworkId.__removeUnverifiedWalletAccount_wrapped({ unverifiedWalletAccount: walletAccount }, client);
6117
+ require_getNetworkProviderFromNetworkId.removeUnverifiedWalletAccount({ unverifiedWalletAccount: walletAccount }, client);
6526
6118
  return;
6527
6119
  }
6528
- require_getVerifiedCredentialForWalletAccount.__updateAuthFromVerifyResponse_wrapped({ response: await apiClient.verifyUnlink({
6120
+ require_getVerifiedCredentialForWalletAccount.updateAuthFromVerifyResponse({ response: await apiClient.verifyUnlink({
6529
6121
  environmentId: core.environmentId,
6530
6122
  verifyUnlinkRequest: { walletId: walletAccount.verifiedCredentialId }
6531
6123
  }) }, client);
@@ -6558,7 +6150,7 @@ const __removeWalletAccount_wrapped = require_InvalidParamError.instrumentFuncti
6558
6150
  * @instrumented
6559
6151
  */
6560
6152
  const signMessage = async ({ walletAccount, message }, client = require_InvalidParamError.getDefaultClient()) => {
6561
- const walletProvider = require_getVerifiedCredentialForWalletAccount.__getWalletProviderFromWalletAccount_wrapped({ walletAccount }, client);
6153
+ const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
6562
6154
  assertWalletProviderMethodDefined(walletProvider, "signMessage");
6563
6155
  const { signature } = await walletProvider.signMessage({
6564
6156
  message,
@@ -6597,7 +6189,7 @@ const __signMessage_wrapped = require_InvalidParamError.instrumentFunction({
6597
6189
  * @instrumented
6598
6190
  */
6599
6191
  const transferAmount = async ({ walletAccount, amount, recipient, token }, client = require_InvalidParamError.getDefaultClient()) => {
6600
- const walletProvider = require_getVerifiedCredentialForWalletAccount.__getWalletProviderFromWalletAccount_wrapped({ walletAccount }, client);
6192
+ const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderFromWalletAccount({ walletAccount }, client);
6601
6193
  assertWalletProviderMethodDefined(walletProvider, "transferAmount");
6602
6194
  const { transactionHash } = await walletProvider.transferAmount({
6603
6195
  amount,
@@ -6670,7 +6262,7 @@ const __transferWalletAccount_wrapped = require_InvalidParamError.instrumentFunc
6670
6262
  * @not-instrumented
6671
6263
  */
6672
6264
  const getWalletAccountFromAddress = ({ address, chain }, client = require_InvalidParamError.getDefaultClient()) => {
6673
- return require_getVerifiedCredentialForWalletAccount.__getWalletAccounts_wrapped(client).find((walletAccount) => walletAccount.address === address && walletAccount.chain === chain);
6265
+ return require_getVerifiedCredentialForWalletAccount.getWalletAccounts(client).find((walletAccount) => walletAccount.address === address && walletAccount.chain === chain);
6674
6266
  };
6675
6267
 
6676
6268
  //#endregion
@@ -6684,25 +6276,13 @@ const getWalletAccountFromAddress = ({ address, chain }, client = require_Invali
6684
6276
  * @param params.event - The event name to remove the listener from.
6685
6277
  * @param params.walletProviderKey - The unique key identifying the wallet provider to remove the listener from.
6686
6278
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
6687
- * @instrumented
6279
+ * @not-instrumented
6688
6280
  */
6689
6281
  const offWalletProviderEvent = ({ callback, event, walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
6690
6282
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
6691
6283
  assertWalletProviderMethodDefined(walletProvider, "events");
6692
6284
  walletProvider.events.off(event, callback);
6693
6285
  };
6694
- const __offWalletProviderEvent_impl = offWalletProviderEvent;
6695
- const __offWalletProviderEvent_wrapped = require_InvalidParamError.instrumentFunction({
6696
- fn: __offWalletProviderEvent_impl,
6697
- functionName: "offWalletProviderEvent",
6698
- getCore: () => {
6699
- try {
6700
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
6701
- } catch {
6702
- return;
6703
- }
6704
- }
6705
- });
6706
6286
 
6707
6287
  //#endregion
6708
6288
  //#region src/modules/wallets/walletProvider/events/onWalletProviderEvent/onWalletProviderEvent.ts
@@ -6714,7 +6294,7 @@ const __offWalletProviderEvent_wrapped = require_InvalidParamError.instrumentFun
6714
6294
  * @param params.walletProviderKey - The unique key identifying the wallet provider to listen to.
6715
6295
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
6716
6296
  * @returns A function that can be called to remove the listener.
6717
- * @instrumented
6297
+ * @not-instrumented
6718
6298
  */
6719
6299
  const onWalletProviderEvent = ({ callback, event, walletProviderKey }, client = require_InvalidParamError.getDefaultClient()) => {
6720
6300
  const walletProvider = require_getVerifiedCredentialForWalletAccount.getWalletProviderByKey({ walletProviderKey }, client);
@@ -6724,18 +6304,6 @@ const onWalletProviderEvent = ({ callback, event, walletProviderKey }, client =
6724
6304
  walletProvider.events.off(event, callback);
6725
6305
  };
6726
6306
  };
6727
- const __onWalletProviderEvent_impl = onWalletProviderEvent;
6728
- const __onWalletProviderEvent_wrapped = require_InvalidParamError.instrumentFunction({
6729
- fn: __onWalletProviderEvent_impl,
6730
- functionName: "onWalletProviderEvent",
6731
- getCore: () => {
6732
- try {
6733
- return require_InvalidParamError.getCore(require_InvalidParamError.getDefaultClient());
6734
- } catch {
6735
- return;
6736
- }
6737
- }
6738
- });
6739
6307
 
6740
6308
  //#endregion
6741
6309
  //#region src/utils/parseUserAgent/parseUserAgent.ts
@@ -6861,7 +6429,7 @@ exports.WalletAccountNotSelectedError = WalletAccountNotSelectedError;
6861
6429
  exports.WalletAlreadyLinkedToAnotherUserError = require_getNetworkProviderFromNetworkId.WalletAlreadyLinkedToAnotherUserError;
6862
6430
  exports.WalletProviderMethodUnavailableError = WalletProviderMethodUnavailableError;
6863
6431
  exports.acknowledgeRecoveryCodes = __acknowledgeRecoveryCodes_wrapped;
6864
- exports.addCoinbaseOnrampOrderEventListener = __addCoinbaseOnrampOrderEventListener_wrapped;
6432
+ exports.addCoinbaseOnrampOrderEventListener = addCoinbaseOnrampOrderEventListener;
6865
6433
  exports.addNetwork = __addNetwork_wrapped;
6866
6434
  exports.assertWalletAccountSigningAvailability = assertWalletAccountSigningAvailability;
6867
6435
  exports.assertWalletProviderMethodDefined = assertWalletProviderMethodDefined;
@@ -6890,45 +6458,45 @@ exports.createNewMfaRecoveryCodes = __createNewMfaRecoveryCodes_wrapped;
6890
6458
  exports.deleteMfaDevice = __deleteMfaDevice_wrapped;
6891
6459
  exports.deletePasskey = __deletePasskey_wrapped;
6892
6460
  exports.deleteUser = __deleteUser_wrapped;
6893
- exports.detectDeviceRegistrationRedirect = __detectDeviceRegistrationRedirect_wrapped;
6894
- exports.detectOAuthRedirect = __detectOAuthRedirect_wrapped;
6895
- exports.detectSocialRedirectUrl = __detectSocialRedirectUrl_wrapped;
6461
+ exports.detectDeviceRegistrationRedirect = detectDeviceRegistrationRedirect;
6462
+ exports.detectOAuthRedirect = detectOAuthRedirect;
6463
+ exports.detectSocialRedirectUrl = detectSocialRedirectUrl;
6896
6464
  exports.executeSwapTransaction = __executeSwapTransaction_wrapped;
6897
- exports.fetchProjectSettings = require_getNetworkProviderFromNetworkId.__fetchProjectSettings_wrapped;
6898
- exports.getActiveNetworkData = __getActiveNetworkData_wrapped;
6899
- exports.getActiveNetworkId = __getActiveNetworkId_wrapped;
6900
- exports.getAvailableWalletProvidersData = __getAvailableWalletProvidersData_wrapped;
6901
- exports.getBalance = __getBalance_wrapped;
6902
- exports.getBalanceForAddress = __getBalanceForAddress_wrapped;
6903
- exports.getBalances = __getBalances_wrapped;
6904
- exports.getCheckoutTransaction = __getCheckoutTransaction_wrapped;
6905
- exports.getCheckoutTransactionQuote = __getCheckoutTransactionQuote_wrapped;
6906
- exports.getCoinbaseBuyUrl = __getCoinbaseBuyUrl_wrapped;
6907
- exports.getConnectedAddresses = __getConnectedAddresses_wrapped;
6465
+ exports.fetchProjectSettings = require_getNetworkProviderFromNetworkId.fetchProjectSettings;
6466
+ exports.getActiveNetworkData = getActiveNetworkData;
6467
+ exports.getActiveNetworkId = getActiveNetworkId;
6468
+ exports.getAvailableWalletProvidersData = getAvailableWalletProvidersData;
6469
+ exports.getBalance = getBalance;
6470
+ exports.getBalanceForAddress = getBalanceForAddress;
6471
+ exports.getBalances = getBalances;
6472
+ exports.getCheckoutTransaction = getCheckoutTransaction;
6473
+ exports.getCheckoutTransactionQuote = getCheckoutTransactionQuote;
6474
+ exports.getCoinbaseBuyUrl = getCoinbaseBuyUrl;
6475
+ exports.getConnectedAddresses = getConnectedAddresses;
6908
6476
  exports.getDefaultClient = require_InvalidParamError.getDefaultClient;
6909
- exports.getDeviceRegistrationTokenFromUrl = __getDeviceRegistrationTokenFromUrl_wrapped;
6477
+ exports.getDeviceRegistrationTokenFromUrl = getDeviceRegistrationTokenFromUrl;
6910
6478
  exports.getElevatedAccessToken = require_InvalidParamError.__getElevatedAccessToken_wrapped;
6911
- exports.getKrakenAccounts = __getKrakenAccounts_wrapped;
6912
- exports.getKrakenWhitelistedAddresses = __getKrakenWhitelistedAddresses_wrapped;
6913
- exports.getMfaDevices = __getMfaDevices_wrapped;
6914
- exports.getMfaMethods = require_isMfaRequiredForAction.__getMfaMethods_wrapped;
6915
- exports.getMfaRecoveryCodes = __getMfaRecoveryCodes_wrapped;
6916
- exports.getMissingVerificationForCoinbaseOnrampOrder = __getMissingVerificationForCoinbaseOnrampOrder_wrapped;
6917
- exports.getMultichainBalances = __getMultichainBalances_wrapped;
6918
- exports.getNetworksData = require_getNetworkProviderFromNetworkId.__getNetworksData_wrapped;
6919
- exports.getOwnerWalletAccountForSmartWalletAccount = __getOwnerWalletAccountForSmartWalletAccount_wrapped;
6920
- exports.getPasskeys = __getPasskeys_wrapped;
6921
- exports.getPrimaryWalletAccount = __getPrimaryWalletAccount_wrapped;
6922
- exports.getRegisteredDevices = __getRegisteredDevices_wrapped;
6923
- exports.getSwapQuote = __getSwapQuote_wrapped;
6924
- exports.getSwapStatus = __getSwapStatus_wrapped;
6925
- exports.getTransactionHistory = __getTransactionHistory_wrapped;
6926
- exports.getUserSocialAccounts = __getUserSocialAccounts_wrapped;
6479
+ exports.getKrakenAccounts = getKrakenAccounts;
6480
+ exports.getKrakenWhitelistedAddresses = getKrakenWhitelistedAddresses;
6481
+ exports.getMfaDevices = getMfaDevices;
6482
+ exports.getMfaMethods = require_isMfaRequiredForAction.getMfaMethods;
6483
+ exports.getMfaRecoveryCodes = getMfaRecoveryCodes;
6484
+ exports.getMissingVerificationForCoinbaseOnrampOrder = getMissingVerificationForCoinbaseOnrampOrder;
6485
+ exports.getMultichainBalances = getMultichainBalances;
6486
+ exports.getNetworksData = require_getNetworkProviderFromNetworkId.getNetworksData;
6487
+ exports.getOwnerWalletAccountForSmartWalletAccount = getOwnerWalletAccountForSmartWalletAccount;
6488
+ exports.getPasskeys = getPasskeys;
6489
+ exports.getPrimaryWalletAccount = getPrimaryWalletAccount;
6490
+ exports.getRegisteredDevices = getRegisteredDevices;
6491
+ exports.getSwapQuote = getSwapQuote;
6492
+ exports.getSwapStatus = getSwapStatus;
6493
+ exports.getTransactionHistory = getTransactionHistory;
6494
+ exports.getUserSocialAccounts = getUserSocialAccounts;
6927
6495
  exports.getWalletAccountAddressByType = getWalletAccountAddressByType;
6928
6496
  exports.getWalletAccountFromAddress = getWalletAccountFromAddress;
6929
- exports.getWalletAccounts = require_getVerifiedCredentialForWalletAccount.__getWalletAccounts_wrapped;
6930
- exports.getWalletConnectCatalog = __getWalletConnectCatalog_wrapped;
6931
- exports.getWalletConnectCatalogWalletByWalletProviderKey = __getWalletConnectCatalogWalletByWalletProviderKey_wrapped;
6497
+ exports.getWalletAccounts = require_getVerifiedCredentialForWalletAccount.getWalletAccounts;
6498
+ exports.getWalletConnectCatalog = getWalletConnectCatalog;
6499
+ exports.getWalletConnectCatalogWalletByWalletProviderKey = getWalletConnectCatalogWalletByWalletProviderKey;
6932
6500
  exports.getWalletProviderDataByKey = getWalletProviderDataByKey;
6933
6501
  exports.hasExtension = require_getNetworkProviderFromNetworkId.hasExtension;
6934
6502
  exports.initializeClient = __initializeClient_wrapped;
@@ -6945,11 +6513,11 @@ exports.isUserMissingMfaAuth = require_getVerifiedCredentialForWalletAccount.isU
6945
6513
  exports.isUserOnboardingComplete = isUserOnboardingComplete;
6946
6514
  exports.isWalletAccountVerified = isWalletAccountVerified;
6947
6515
  exports.logout = logout;
6948
- exports.offEvent = require_getVerifiedCredentialForWalletAccount.__offEvent_wrapped;
6949
- exports.offWalletProviderEvent = __offWalletProviderEvent_wrapped;
6950
- exports.onEvent = require_getVerifiedCredentialForWalletAccount.__onEvent_wrapped;
6951
- exports.onWalletProviderEvent = __onWalletProviderEvent_wrapped;
6952
- exports.onceEvent = require_getVerifiedCredentialForWalletAccount.__onceEvent_wrapped;
6516
+ exports.offEvent = require_getVerifiedCredentialForWalletAccount.offEvent;
6517
+ exports.offWalletProviderEvent = offWalletProviderEvent;
6518
+ exports.onEvent = require_getVerifiedCredentialForWalletAccount.onEvent;
6519
+ exports.onWalletProviderEvent = onWalletProviderEvent;
6520
+ exports.onceEvent = require_getVerifiedCredentialForWalletAccount.onceEvent;
6953
6521
  exports.parseUserAgent = parseUserAgent;
6954
6522
  exports.prepareCheckoutTransaction = __prepareCheckoutTransaction_wrapped;
6955
6523
  exports.proveWalletAccountOwnership = __proveWalletAccountOwnership_wrapped;
@@ -6959,7 +6527,7 @@ exports.registerPasskey = __registerPasskey_wrapped;
6959
6527
  exports.registerTotpMfaDevice = __registerTotpMfaDevice_wrapped;
6960
6528
  exports.removeWalletAccount = __removeWalletAccount_wrapped;
6961
6529
  exports.requestExternalAuthElevatedToken = __requestExternalAuthElevatedToken_wrapped;
6962
- exports.requiresConversion = __requiresConversion_wrapped;
6530
+ exports.requiresConversion = requiresConversion;
6963
6531
  exports.revokeAllRegisteredDevices = __revokeAllRegisteredDevices_wrapped;
6964
6532
  exports.revokeRegisteredDevice = __revokeRegisteredDevice_wrapped;
6965
6533
  exports.selectPrimaryWalletAccount = __selectPrimaryWalletAccount_wrapped;
@@ -6975,12 +6543,12 @@ exports.signMessage = __signMessage_wrapped;
6975
6543
  exports.submitCheckoutTransaction = __submitCheckoutTransaction_wrapped;
6976
6544
  exports.supportedCountries = supportedCountries;
6977
6545
  exports.switchActiveNetwork = __switchActiveNetwork_wrapped;
6978
- exports.trackCheckoutTransaction = __trackCheckoutTransaction_wrapped;
6546
+ exports.trackCheckoutTransaction = trackCheckoutTransaction;
6979
6547
  exports.transferAmount = __transferAmount_wrapped;
6980
6548
  exports.transferWalletAccount = __transferWalletAccount_wrapped;
6981
6549
  exports.unlinkSocialAccount = __unlinkSocialAccount_wrapped;
6982
6550
  exports.updateUser = __updateUser_wrapped;
6983
6551
  exports.verifyOTP = __verifyOTP_wrapped;
6984
6552
  exports.verifyWalletAccount = __verifyWalletAccount_wrapped;
6985
- exports.waitForClientInitialized = __waitForClientInitialized_wrapped;
6553
+ exports.waitForClientInitialized = waitForClientInitialized;
6986
6554
  //# sourceMappingURL=index.cjs.map