@dynamic-labs-sdk/client 0.1.0-alpha.9 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (318) hide show
  1. package/CHANGELOG.md +308 -0
  2. package/InvalidParamError.cjs.js +2 -2
  3. package/InvalidParamError.esm.js +1 -1
  4. package/NotWaasWalletAccountError.cjs.js +7 -7
  5. package/NotWaasWalletAccountError.esm.js +2 -2
  6. package/constants.cjs.js +493 -9
  7. package/constants.cjs2.js +15 -0
  8. package/constants.esm.js +468 -7
  9. package/constants.esm2.js +11 -0
  10. package/core.cjs.js +96 -41
  11. package/core.esm.js +47 -10
  12. package/filterDuplicates.cjs.js +8 -0
  13. package/filterDuplicates.esm.js +6 -0
  14. package/getNetworkProviderFromNetworkId.cjs.js +178 -20
  15. package/getNetworkProviderFromNetworkId.esm.js +150 -3
  16. package/getSignedSessionId.cjs.js +7 -7
  17. package/getSignedSessionId.esm.js +2 -2
  18. package/getVerifiedCredentialForWalletAccount.cjs.js +515 -0
  19. package/getVerifiedCredentialForWalletAccount.esm.js +491 -0
  20. package/index.cjs.js +1235 -471
  21. package/index.esm.js +1033 -282
  22. package/isMfaRequiredForAction.cjs.js +15 -8
  23. package/isMfaRequiredForAction.esm.js +8 -2
  24. package/package.json +4 -4
  25. package/src/client/core/createCore/createCore.d.ts.map +1 -1
  26. package/src/client/core/createCore/getInitialState.d.ts.map +1 -1
  27. package/src/client/core/types/DynamicCore.d.ts +8 -0
  28. package/src/client/core/types/DynamicCore.d.ts.map +1 -1
  29. package/src/client/createDynamicClient/createDynamicClient.d.ts.map +1 -1
  30. package/src/client/types/DynamicClientConfig.d.ts +6 -1
  31. package/src/client/types/DynamicClientConfig.d.ts.map +1 -1
  32. package/src/constants.d.ts +1 -0
  33. package/src/constants.d.ts.map +1 -1
  34. package/src/errors/APIError/APIError.d.ts.map +1 -1
  35. package/src/errors/InvalidWalletProviderKeyError.d.ts +5 -0
  36. package/src/errors/InvalidWalletProviderKeyError.d.ts.map +1 -0
  37. package/src/errors/MissingUserVerificationError.d.ts +12 -0
  38. package/src/errors/MissingUserVerificationError.d.ts.map +1 -0
  39. package/src/errors/NoSmartWalletAccountSignerFoundError.d.ts +5 -0
  40. package/src/errors/NoSmartWalletAccountSignerFoundError.d.ts.map +1 -0
  41. package/src/errors/WalletAccountNotSelectedError.d.ts.map +1 -1
  42. package/src/exports/core.d.ts +102 -2
  43. package/src/exports/core.d.ts.map +1 -1
  44. package/src/exports/index.d.ts +25 -7
  45. package/src/exports/index.d.ts.map +1 -1
  46. package/src/exports/waas.d.ts +2 -0
  47. package/src/exports/waas.d.ts.map +1 -1
  48. package/src/modules/apiClient/createApiClient.d.ts.map +1 -1
  49. package/src/modules/auth/createVisit/createVisit.d.ts.map +1 -1
  50. package/src/modules/auth/logout/logout.d.ts.map +1 -1
  51. package/src/modules/auth/passkeys/getPasskeyAuthenticationOptions/getPasskeyAuthenticationOptions.d.ts +4 -1
  52. package/src/modules/auth/passkeys/getPasskeyAuthenticationOptions/getPasskeyAuthenticationOptions.d.ts.map +1 -1
  53. package/src/modules/auth/passkeys/getPasskeyAuthenticationSignInOptions/getPasskeyAuthenticationSignInOptions.d.ts +4 -1
  54. package/src/modules/auth/passkeys/getPasskeyAuthenticationSignInOptions/getPasskeyAuthenticationSignInOptions.d.ts.map +1 -1
  55. package/src/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts +7 -1
  56. package/src/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts.map +1 -1
  57. package/src/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts +3 -1
  58. package/src/modules/auth/passkeys/serverRegisterPasskey/serverRegisterPasskey.d.ts.map +1 -1
  59. package/src/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts +4 -1
  60. package/src/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts.map +1 -1
  61. package/src/modules/auth/social/getUserSocialAccounts/getUserSocialAccounts.d.ts +9 -0
  62. package/src/modules/auth/social/getUserSocialAccounts/getUserSocialAccounts.d.ts.map +1 -0
  63. package/src/modules/auth/social/getUserSocialAccounts/index.d.ts +2 -0
  64. package/src/modules/auth/social/getUserSocialAccounts/index.d.ts.map +1 -0
  65. package/src/modules/auth/social/oauth/{signInWithSocialRedirect/signInWithSocialRedirect.d.ts → authenticateWithSocial/authenticateWithSocial.d.ts} +5 -3
  66. package/src/modules/auth/social/oauth/authenticateWithSocial/authenticateWithSocial.d.ts.map +1 -0
  67. package/src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.d.ts.map +1 -0
  68. package/src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/addOAuthUrlParams/index.d.ts.map +1 -0
  69. package/src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/buildOAuthUrl.d.ts.map +1 -0
  70. package/src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.d.ts.map +1 -0
  71. package/src/modules/auth/social/oauth/authenticateWithSocial/buildOAuthUrl/getOAuthBaseUrl/index.d.ts.map +1 -0
  72. package/src/modules/auth/social/oauth/{signInWithSocialRedirect → authenticateWithSocial}/buildOAuthUrl/index.d.ts.map +1 -1
  73. package/src/modules/auth/social/oauth/authenticateWithSocial/index.d.ts +2 -0
  74. package/src/modules/auth/social/oauth/{signInWithSocialRedirect → authenticateWithSocial}/index.d.ts.map +1 -1
  75. package/src/modules/auth/social/oauth/{completeSocialRedirectSignIn/completeSocialRedirectSignIn.d.ts → completeSocialAuthentication/completeSocialAuthentication.d.ts} +3 -3
  76. package/src/modules/auth/social/oauth/completeSocialAuthentication/completeSocialAuthentication.d.ts.map +1 -0
  77. package/src/modules/auth/social/oauth/completeSocialAuthentication/index.d.ts +2 -0
  78. package/src/modules/auth/social/oauth/{completeSocialRedirectSignIn → completeSocialAuthentication}/index.d.ts.map +1 -1
  79. package/src/modules/auth/social/oauth/redirectStateStorageSchema/index.d.ts +1 -1
  80. package/src/modules/auth/social/oauth/redirectStateStorageSchema/index.d.ts.map +1 -1
  81. package/src/modules/auth/social/oauth/redirectStateStorageSchema/redirectStateStorageSchema.d.ts +1 -1
  82. package/src/modules/auth/social/oauth/redirectStateStorageSchema/redirectStateStorageSchema.d.ts.map +1 -1
  83. package/src/modules/auth/social/oauth/unlinkSocialAccount/index.d.ts +2 -0
  84. package/src/modules/auth/social/oauth/unlinkSocialAccount/index.d.ts.map +1 -0
  85. package/src/modules/auth/social/oauth/unlinkSocialAccount/unlinkSocialAccount.d.ts +14 -0
  86. package/src/modules/auth/social/oauth/unlinkSocialAccount/unlinkSocialAccount.d.ts.map +1 -0
  87. package/src/modules/auth/social/removeDynamicOauthParamsFromUrl/index.d.ts +2 -0
  88. package/src/modules/auth/social/removeDynamicOauthParamsFromUrl/index.d.ts.map +1 -0
  89. package/src/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.d.ts +2 -0
  90. package/src/modules/auth/social/removeDynamicOauthParamsFromUrl/removeDynamicOauthParamsFromUrl.d.ts.map +1 -0
  91. package/src/modules/auth/social/social.types.d.ts +9 -0
  92. package/src/modules/auth/social/social.types.d.ts.map +1 -1
  93. package/src/modules/auth/updateAuthFromVerifyResponse/checkAndRaiseWalletAccountsChangedEvent/checkAndRaiseWalletAccountsChangedEvent.d.ts.map +1 -1
  94. package/src/modules/auth/updateAuthFromVerifyResponse/updateAuthFromVerifyResponse.d.ts.map +1 -1
  95. package/src/modules/balances/getMultichainBalances/getMultichainBalances.d.ts +1 -2
  96. package/src/modules/balances/getMultichainBalances/getMultichainBalances.d.ts.map +1 -1
  97. package/src/modules/balances/getMultichainBalances/index.d.ts +1 -1
  98. package/src/modules/balances/getMultichainBalances/index.d.ts.map +1 -1
  99. package/src/modules/funding/coinbase/addCoinbaseOnrampOrderEventListener/addCoinbaseOnrampOrderEventListener.d.ts +18 -0
  100. package/src/modules/funding/coinbase/addCoinbaseOnrampOrderEventListener/addCoinbaseOnrampOrderEventListener.d.ts.map +1 -0
  101. package/src/modules/funding/coinbase/addCoinbaseOnrampOrderEventListener/index.d.ts +2 -0
  102. package/src/modules/funding/coinbase/addCoinbaseOnrampOrderEventListener/index.d.ts.map +1 -0
  103. package/src/modules/funding/coinbase/coinbase.types.d.ts +269 -0
  104. package/src/modules/funding/coinbase/coinbase.types.d.ts.map +1 -0
  105. package/src/modules/funding/coinbase/createCoinbaseOnrampOrder/createCoinbaseOnrampOrder.d.ts +11 -0
  106. package/src/modules/funding/coinbase/createCoinbaseOnrampOrder/createCoinbaseOnrampOrder.d.ts.map +1 -0
  107. package/src/modules/funding/coinbase/createCoinbaseOnrampOrder/index.d.ts +2 -0
  108. package/src/modules/funding/coinbase/createCoinbaseOnrampOrder/index.d.ts.map +1 -0
  109. package/src/modules/funding/coinbase/getCoinbaseBuyUrl/getCoinbaseBuyUrl.d.ts +10 -0
  110. package/src/modules/funding/coinbase/getCoinbaseBuyUrl/getCoinbaseBuyUrl.d.ts.map +1 -0
  111. package/src/modules/funding/coinbase/getCoinbaseBuyUrl/index.d.ts +2 -0
  112. package/src/modules/funding/coinbase/getCoinbaseBuyUrl/index.d.ts.map +1 -0
  113. package/src/modules/funding/coinbase/getMissingVerificationForCoinbaseOnrampOrder/getMissingVerificationForCoinbaseOnrampOrder.d.ts +23 -0
  114. package/src/modules/funding/coinbase/getMissingVerificationForCoinbaseOnrampOrder/getMissingVerificationForCoinbaseOnrampOrder.d.ts.map +1 -0
  115. package/src/modules/funding/coinbase/getMissingVerificationForCoinbaseOnrampOrder/index.d.ts +2 -0
  116. package/src/modules/funding/coinbase/getMissingVerificationForCoinbaseOnrampOrder/index.d.ts.map +1 -0
  117. package/src/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/index.d.ts +2 -0
  118. package/src/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/index.d.ts.map +1 -0
  119. package/src/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/validateUserCredentialsForCoinbaseOnrampOrder.d.ts +4 -0
  120. package/src/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/validateUserCredentialsForCoinbaseOnrampOrder.d.ts.map +1 -0
  121. package/src/modules/funding/cryptoDotCom/createCryptoDotComPayment/createCryptoDotComPayment.d.ts +10 -0
  122. package/src/modules/funding/cryptoDotCom/createCryptoDotComPayment/createCryptoDotComPayment.d.ts.map +1 -0
  123. package/src/modules/funding/cryptoDotCom/createCryptoDotComPayment/index.d.ts +2 -0
  124. package/src/modules/funding/cryptoDotCom/createCryptoDotComPayment/index.d.ts.map +1 -0
  125. package/src/modules/funding/cryptoDotCom/cryptoDotCom.types.d.ts +8 -0
  126. package/src/modules/funding/cryptoDotCom/cryptoDotCom.types.d.ts.map +1 -0
  127. package/src/modules/initializeClient/consts.d.ts +5 -0
  128. package/src/modules/initializeClient/consts.d.ts.map +1 -0
  129. package/src/modules/initializeClient/initializeClient.d.ts.map +1 -1
  130. package/src/modules/initializeClient/waitForProjectSettings/index.d.ts +2 -0
  131. package/src/modules/initializeClient/waitForProjectSettings/index.d.ts.map +1 -0
  132. package/src/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts +3 -0
  133. package/src/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.d.ts.map +1 -0
  134. package/src/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.d.ts +2 -1
  135. package/src/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.d.ts.map +1 -1
  136. package/src/modules/otp/verifyOTP/verifyOTP.d.ts +3 -2
  137. package/src/modules/otp/verifyOTP/verifyOTP.d.ts.map +1 -1
  138. package/src/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.d.ts.map +1 -1
  139. package/src/modules/projectSettings/fetchProjectSettings/projectSettingsExpirationScheme.d.ts +1 -1
  140. package/src/modules/projectSettings/fetchProjectSettings/projectSettingsExpirationScheme.d.ts.map +1 -1
  141. package/src/modules/storageSync/hydrateStateWithStorage/hydrateStateWithStorage.d.ts.map +1 -1
  142. package/src/modules/storageSync/schema.d.ts +15 -2
  143. package/src/modules/storageSync/schema.d.ts.map +1 -1
  144. package/src/modules/storageSync/syncStateWithStorage/syncStateWithStorage.d.ts.map +1 -1
  145. package/src/modules/user/deleteUser/deleteUser.d.ts +11 -0
  146. package/src/modules/user/deleteUser/deleteUser.d.ts.map +1 -0
  147. package/src/modules/user/deleteUser/index.d.ts +2 -0
  148. package/src/modules/user/deleteUser/index.d.ts.map +1 -0
  149. package/src/modules/waas/constants.d.ts +2 -2
  150. package/src/modules/waas/constants.d.ts.map +1 -1
  151. package/src/modules/waas/createWaasProvider/createWaasProvider.d.ts.map +1 -1
  152. package/src/modules/waas/createWaasWalletAccounts/createWaasWalletAccounts.d.ts.map +1 -1
  153. package/src/modules/waas/delegateWaasKeyShares/delegateWaasKeyShares.d.ts.map +1 -1
  154. package/src/modules/waas/getWaasWalletProviderByChain/getWaasWalletProviderByChain.d.ts.map +1 -1
  155. package/src/modules/waas/hasDelegatedAccess/hasDelegatedAccess.d.ts +14 -0
  156. package/src/modules/waas/hasDelegatedAccess/hasDelegatedAccess.d.ts.map +1 -0
  157. package/src/modules/waas/hasDelegatedAccess/index.d.ts +2 -0
  158. package/src/modules/waas/hasDelegatedAccess/index.d.ts.map +1 -0
  159. package/src/modules/waas/isWaasWalletAccount/isWaasWalletAccount.d.ts.map +1 -1
  160. package/src/modules/waas/isWaasWalletProvider/isWaasWalletProvider.d.ts.map +1 -1
  161. package/src/modules/waas/revokeWaasDelegation/index.d.ts +2 -0
  162. package/src/modules/waas/revokeWaasDelegation/index.d.ts.map +1 -0
  163. package/src/modules/waas/revokeWaasDelegation/revokeWaasDelegation.d.ts +16 -0
  164. package/src/modules/waas/revokeWaasDelegation/revokeWaasDelegation.d.ts.map +1 -0
  165. package/src/modules/waas/waas.types.d.ts +4 -0
  166. package/src/modules/waas/waas.types.d.ts.map +1 -1
  167. package/src/modules/wallets/connectWithWalletProvider/connectWithWalletProvider.d.ts +4 -3
  168. package/src/modules/wallets/connectWithWalletProvider/connectWithWalletProvider.d.ts.map +1 -1
  169. package/src/modules/wallets/constants.d.ts.map +1 -1
  170. package/src/modules/wallets/getAvailableWalletProvidersData/getAvailableWalletProvidersData.d.ts +2 -6
  171. package/src/modules/wallets/getAvailableWalletProvidersData/getAvailableWalletProvidersData.d.ts.map +1 -1
  172. package/src/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.d.ts +7 -0
  173. package/src/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.d.ts.map +1 -0
  174. package/src/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/index.d.ts +2 -0
  175. package/src/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/index.d.ts.map +1 -0
  176. package/src/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.d.ts +8 -0
  177. package/src/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.d.ts.map +1 -0
  178. package/src/modules/wallets/getWalletAccountAddressByType/index.d.ts +2 -0
  179. package/src/modules/wallets/getWalletAccountAddressByType/index.d.ts.map +1 -0
  180. package/src/modules/wallets/getWalletAccounts/getWalletAccounts.d.ts.map +1 -1
  181. package/src/modules/wallets/getWalletAccounts/getWalletAccountsFromState/getWalletAccountsFromState.d.ts +9 -1
  182. package/src/modules/wallets/getWalletAccounts/getWalletAccountsFromState/getWalletAccountsFromState.d.ts.map +1 -1
  183. package/src/modules/wallets/getWalletProviderDataByKey/getWalletProviderDataByKey.d.ts +14 -0
  184. package/src/modules/wallets/getWalletProviderDataByKey/getWalletProviderDataByKey.d.ts.map +1 -0
  185. package/src/modules/wallets/getWalletProviderDataByKey/index.d.ts +2 -0
  186. package/src/modules/wallets/getWalletProviderDataByKey/index.d.ts.map +1 -0
  187. package/src/modules/wallets/isWalletAccountVerified/index.d.ts +2 -0
  188. package/src/modules/wallets/isWalletAccountVerified/index.d.ts.map +1 -0
  189. package/src/modules/wallets/isWalletAccountVerified/isWalletAccountVerified.d.ts +13 -0
  190. package/src/modules/wallets/isWalletAccountVerified/isWalletAccountVerified.d.ts.map +1 -0
  191. package/src/modules/wallets/networks/getNetworkDataForNetworkId/getNetworkDataForNetworkId.d.ts +10 -0
  192. package/src/modules/wallets/networks/getNetworkDataForNetworkId/getNetworkDataForNetworkId.d.ts.map +1 -0
  193. package/src/modules/wallets/networks/getNetworkDataForNetworkId/index.d.ts +2 -0
  194. package/src/modules/wallets/networks/getNetworkDataForNetworkId/index.d.ts.map +1 -0
  195. package/src/modules/wallets/networks/getTransactionHistory/getTransactionHistory.d.ts +26 -0
  196. package/src/modules/wallets/networks/getTransactionHistory/getTransactionHistory.d.ts.map +1 -0
  197. package/src/modules/wallets/networks/getTransactionHistory/index.d.ts +3 -0
  198. package/src/modules/wallets/networks/getTransactionHistory/index.d.ts.map +1 -0
  199. package/src/modules/wallets/networks/lastKnownNetworkRegistry/createLastKnownNetworkRegistry/createLastKnownNetworkRegistry.d.ts.map +1 -1
  200. package/src/modules/wallets/networks/lastKnownNetworkRegistry/createLastKnownNetworkRegistry/schema.d.ts +1 -1
  201. package/src/modules/wallets/networks/lastKnownNetworkRegistry/createLastKnownNetworkRegistry/schema.d.ts.map +1 -1
  202. package/src/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.d.ts +1 -1
  203. package/src/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.d.ts.map +1 -1
  204. package/src/modules/wallets/removeWalletAccount/removeWalletAccount.d.ts.map +1 -1
  205. package/src/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.d.ts.map +1 -1
  206. package/src/modules/wallets/unverifiedWalletAccounts/schema.d.ts +5 -0
  207. package/src/modules/wallets/unverifiedWalletAccounts/schema.d.ts.map +1 -1
  208. package/src/modules/wallets/unverifiedWalletAccounts/setUnverifiedWalletAccounts/setUnverifiedWalletAccounts.d.ts +2 -0
  209. package/src/modules/wallets/unverifiedWalletAccounts/setUnverifiedWalletAccounts/setUnverifiedWalletAccounts.d.ts.map +1 -1
  210. package/src/modules/wallets/utils/convertUnverifiedWalletAccountToWalletAccount/convertUnverifiedWalletAccountToWalletAccount.d.ts +5 -1
  211. package/src/modules/wallets/utils/convertUnverifiedWalletAccountToWalletAccount/convertUnverifiedWalletAccountToWalletAccount.d.ts.map +1 -1
  212. package/src/modules/wallets/utils/convertVerifiedCredentialToWalletAccount/convertVerifiedCredentialToWalletAccount.d.ts +6 -1
  213. package/src/modules/wallets/utils/convertVerifiedCredentialToWalletAccount/convertVerifiedCredentialToWalletAccount.d.ts.map +1 -1
  214. package/src/modules/wallets/utils/formatSignInMessage/formatSignInMessage.d.ts +9 -7
  215. package/src/modules/wallets/utils/formatSignInMessage/formatSignInMessage.d.ts.map +1 -1
  216. package/src/modules/wallets/utils/formatWalletAccountId/formatWalletAccountId.d.ts +9 -0
  217. package/src/modules/wallets/utils/formatWalletAccountId/formatWalletAccountId.d.ts.map +1 -0
  218. package/src/modules/wallets/utils/formatWalletAccountId/index.d.ts +2 -0
  219. package/src/modules/wallets/utils/formatWalletAccountId/index.d.ts.map +1 -0
  220. package/src/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.d.ts +17 -2
  221. package/src/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.d.ts.map +1 -1
  222. package/src/modules/wallets/utils/getAddressesWithTypesFromConnectionResult/getAddressesWithTypesFromConnectionResult.d.ts +4 -0
  223. package/src/modules/wallets/utils/getAddressesWithTypesFromConnectionResult/getAddressesWithTypesFromConnectionResult.d.ts.map +1 -0
  224. package/src/modules/wallets/utils/getAddressesWithTypesFromConnectionResult/index.d.ts +2 -0
  225. package/src/modules/wallets/utils/getAddressesWithTypesFromConnectionResult/index.d.ts.map +1 -0
  226. package/src/modules/wallets/utils/getChainIdForAccountVerification/getChainIdForAccountVerification.d.ts.map +1 -1
  227. package/src/modules/wallets/utils/getInjectedProviderFromWindow/getInjectedProviderFromWindow.d.ts +2 -0
  228. package/src/modules/wallets/utils/getInjectedProviderFromWindow/getInjectedProviderFromWindow.d.ts.map +1 -0
  229. package/src/modules/wallets/utils/getInjectedProviderFromWindow/index.d.ts +2 -0
  230. package/src/modules/wallets/utils/getInjectedProviderFromWindow/index.d.ts.map +1 -0
  231. package/src/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts +3 -0
  232. package/src/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/createSignInMessageStatement.d.ts.map +1 -0
  233. package/src/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/index.d.ts +2 -0
  234. package/src/modules/wallets/utils/getSignInMessage/createSignInMessageStatement/index.d.ts.map +1 -0
  235. package/src/modules/wallets/utils/getSignInMessage/getSignInMessage.d.ts.map +1 -1
  236. package/src/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts +8 -0
  237. package/src/modules/wallets/utils/getVerifiedCredentialForWalletAccount/getVerifiedCredentialForWalletAccount.d.ts.map +1 -0
  238. package/src/modules/wallets/utils/getVerifiedCredentialForWalletAccount/index.d.ts +2 -0
  239. package/src/modules/wallets/utils/getVerifiedCredentialForWalletAccount/index.d.ts.map +1 -0
  240. package/src/modules/wallets/utils/normalizeWalletNameWithChain/index.d.ts +2 -0
  241. package/src/modules/wallets/utils/normalizeWalletNameWithChain/index.d.ts.map +1 -0
  242. package/src/modules/wallets/utils/normalizeWalletNameWithChain/normalizeWalletNameWithChain.d.ts +12 -0
  243. package/src/modules/wallets/utils/normalizeWalletNameWithChain/normalizeWalletNameWithChain.d.ts.map +1 -0
  244. package/src/modules/wallets/verifySignInMessage/index.d.ts +2 -0
  245. package/src/modules/wallets/verifySignInMessage/index.d.ts.map +1 -0
  246. package/src/modules/wallets/verifySignInMessage/verifySignInMessage.d.ts +22 -0
  247. package/src/modules/wallets/verifySignInMessage/verifySignInMessage.d.ts.map +1 -0
  248. package/src/modules/wallets/verifyWalletAccount/verifyWalletAccount.d.ts.map +1 -1
  249. package/src/modules/wallets/walletAccount/index.d.ts +1 -1
  250. package/src/modules/wallets/walletAccount/index.d.ts.map +1 -1
  251. package/src/modules/wallets/walletAccount/walletAccount.types.d.ts +8 -0
  252. package/src/modules/wallets/walletAccount/walletAccount.types.d.ts.map +1 -1
  253. package/src/modules/wallets/walletProvider/index.d.ts +1 -1
  254. package/src/modules/wallets/walletProvider/index.d.ts.map +1 -1
  255. package/src/modules/wallets/walletProvider/splitWalletProviderKey/index.d.ts +2 -0
  256. package/src/modules/wallets/walletProvider/splitWalletProviderKey/index.d.ts.map +1 -0
  257. package/src/modules/wallets/walletProvider/splitWalletProviderKey/splitWalletProviderKey.d.ts +9 -0
  258. package/src/modules/wallets/walletProvider/splitWalletProviderKey/splitWalletProviderKey.d.ts.map +1 -0
  259. package/src/modules/wallets/walletProvider/walletProvider.types.d.ts +24 -8
  260. package/src/modules/wallets/walletProvider/walletProvider.types.d.ts.map +1 -1
  261. package/src/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts +10 -0
  262. package/src/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/getWalletProviderKeyFromVerifiedCredential.d.ts.map +1 -0
  263. package/src/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/index.d.ts +2 -0
  264. package/src/modules/wallets/walletProvider/walletProviderKeyMap/getWalletProviderKeyFromVerifiedCredential/index.d.ts.map +1 -0
  265. package/src/modules/wallets/walletProvider/walletProviderKeyMap/schema.d.ts +3 -0
  266. package/src/modules/wallets/walletProvider/walletProviderKeyMap/schema.d.ts.map +1 -0
  267. package/src/modules/wallets/walletProvider/walletProviderKeyMap/state.d.ts +16 -0
  268. package/src/modules/wallets/walletProvider/walletProviderKeyMap/state.d.ts.map +1 -0
  269. package/src/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/index.d.ts +2 -0
  270. package/src/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/index.d.ts.map +1 -0
  271. package/src/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts +7 -0
  272. package/src/modules/wallets/walletProvider/walletProviderKeyMap/updateWalletProviderKeysForVerifiedCredentials/updateWalletProviderKeysForVerifiedCredentials.d.ts.map +1 -0
  273. package/src/modules/wallets/walletProvider/walletProviderKeyMap/walletProviderKeyMap.types.d.ts +12 -0
  274. package/src/modules/wallets/walletProvider/walletProviderKeyMap/walletProviderKeyMap.types.d.ts.map +1 -0
  275. package/src/services/asyncTrack/asyncTrack.types.d.ts +5 -1
  276. package/src/services/asyncTrack/asyncTrack.types.d.ts.map +1 -1
  277. package/src/services/asyncTrack/createAsyncTrack.d.ts.map +1 -1
  278. package/src/services/storage/index.d.ts +1 -1
  279. package/src/services/storage/index.d.ts.map +1 -1
  280. package/src/utils/debouncedMutex/createDebouncedMutex/createDebouncedMutex.d.ts +3 -0
  281. package/src/utils/debouncedMutex/createDebouncedMutex/createDebouncedMutex.d.ts.map +1 -0
  282. package/src/utils/debouncedMutex/createDebouncedMutex/index.d.ts +2 -0
  283. package/src/utils/debouncedMutex/createDebouncedMutex/index.d.ts.map +1 -0
  284. package/src/utils/debouncedMutex/debouncedMutex.types.d.ts +39 -0
  285. package/src/utils/debouncedMutex/debouncedMutex.types.d.ts.map +1 -0
  286. package/src/utils/debouncedMutex/index.d.ts +2 -0
  287. package/src/utils/debouncedMutex/index.d.ts.map +1 -0
  288. package/waas.cjs.js +86 -38
  289. package/waas.esm.js +62 -16
  290. package/waasCore.cjs.js +21 -10
  291. package/waasCore.esm.js +15 -4
  292. package/getWalletProviderByKey.cjs.js +0 -74
  293. package/getWalletProviderByKey.esm.js +0 -69
  294. package/logout.cjs.js +0 -1086
  295. package/logout.esm.js +0 -1020
  296. package/src/modules/apiClient/utils/logoutOnUnauthorizedRequestMiddleware/index.d.ts +0 -2
  297. package/src/modules/apiClient/utils/logoutOnUnauthorizedRequestMiddleware/index.d.ts.map +0 -1
  298. package/src/modules/apiClient/utils/logoutOnUnauthorizedRequestMiddleware/logoutOnUnauthorizedRequestMiddleware.d.ts +0 -4
  299. package/src/modules/apiClient/utils/logoutOnUnauthorizedRequestMiddleware/logoutOnUnauthorizedRequestMiddleware.d.ts.map +0 -1
  300. package/src/modules/auth/social/oauth/completeSocialRedirectSignIn/completeSocialRedirectSignIn.d.ts.map +0 -1
  301. package/src/modules/auth/social/oauth/completeSocialRedirectSignIn/index.d.ts +0 -2
  302. package/src/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.d.ts.map +0 -1
  303. package/src/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/addOAuthUrlParams/index.d.ts.map +0 -1
  304. package/src/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/buildOAuthUrl.d.ts.map +0 -1
  305. package/src/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.d.ts.map +0 -1
  306. package/src/modules/auth/social/oauth/signInWithSocialRedirect/buildOAuthUrl/getOAuthBaseUrl/index.d.ts.map +0 -1
  307. package/src/modules/auth/social/oauth/signInWithSocialRedirect/index.d.ts +0 -2
  308. package/src/modules/auth/social/oauth/signInWithSocialRedirect/signInWithSocialRedirect.d.ts.map +0 -1
  309. package/src/modules/wallets/utils/createWalletAccountId/createWalletAccountId.d.ts +0 -3
  310. package/src/modules/wallets/utils/createWalletAccountId/createWalletAccountId.d.ts.map +0 -1
  311. package/src/modules/wallets/utils/createWalletAccountId/index.d.ts +0 -2
  312. package/src/modules/wallets/utils/createWalletAccountId/index.d.ts.map +0 -1
  313. /package/src/modules/auth/social/oauth/{signInWithSocialRedirect → authenticateWithSocial}/buildOAuthUrl/addOAuthUrlParams/addOAuthUrlParams.d.ts +0 -0
  314. /package/src/modules/auth/social/oauth/{signInWithSocialRedirect → authenticateWithSocial}/buildOAuthUrl/addOAuthUrlParams/index.d.ts +0 -0
  315. /package/src/modules/auth/social/oauth/{signInWithSocialRedirect → authenticateWithSocial}/buildOAuthUrl/buildOAuthUrl.d.ts +0 -0
  316. /package/src/modules/auth/social/oauth/{signInWithSocialRedirect → authenticateWithSocial}/buildOAuthUrl/getOAuthBaseUrl/getOAuthBaseUrl.d.ts +0 -0
  317. /package/src/modules/auth/social/oauth/{signInWithSocialRedirect → authenticateWithSocial}/buildOAuthUrl/getOAuthBaseUrl/index.d.ts +0 -0
  318. /package/src/modules/auth/social/oauth/{signInWithSocialRedirect → authenticateWithSocial}/buildOAuthUrl/index.d.ts +0 -0
@@ -0,0 +1,269 @@
1
+ import type { CoinbaseOnrampFeeType as CoinbaseOnrampFeeTypeEnum, CoinbaseOnrampOrderPaymentLinkType as CoinbaseOnrampOrderPaymentLinkTypeEnum, CoinbaseOnrampOrderPaymentMethod as CoinbaseOnrampOrderPaymentMethodEnum, CoinbaseOnrampOrderStatus as CoinbaseOnrampOrderStatusEnum, UserFields } from '@dynamic-labs/sdk-api-core';
2
+ export type { CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse, } from '@dynamic-labs/sdk-api-core';
3
+ export type CoinbaseOnrampFeeType = `${CoinbaseOnrampFeeTypeEnum}`;
4
+ export type CoinbaseOnrampOrderPaymentLinkType = `${CoinbaseOnrampOrderPaymentLinkTypeEnum}`;
5
+ export type CoinbaseOnrampOrderPaymentMethod = `${CoinbaseOnrampOrderPaymentMethodEnum}`;
6
+ export type CoinbaseOnrampOrderStatus = `${CoinbaseOnrampOrderStatusEnum}`;
7
+ export type CoinbaseOnrampFee = {
8
+ /**
9
+ * The amount of the fee.
10
+ *
11
+ * @example "0.95"
12
+ */
13
+ amount: string;
14
+ /**
15
+ * The currency of the fee.
16
+ *
17
+ * @example "USD"
18
+ */
19
+ currency: string;
20
+ /**
21
+ * The type of the fee.
22
+ *
23
+ * @example "FEE_TYPE_NETWORK"
24
+ */
25
+ type: CoinbaseOnrampFeeType;
26
+ };
27
+ export type CoinbaseOnrampOrderResponse = {
28
+ order: {
29
+ /**
30
+ * The date and time the order was created.
31
+ *
32
+ * @example "2025-04-24T00:00:00Z"
33
+ */
34
+ createdAt: Date;
35
+ /**
36
+ * The address the purchased crypto will be sent to.
37
+ *
38
+ * @example "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
39
+ */
40
+ destinationAddress: string;
41
+ /**
42
+ * The network the purchased crypto will be sent on.
43
+ *
44
+ * @example "base"
45
+ */
46
+ destinationNetwork: string;
47
+ /**
48
+ * The exchange rate used to convert fiat to crypto i.e. the crypto value of one fiat.
49
+ *
50
+ * @example "1"
51
+ */
52
+ exchangeRate: string;
53
+ /**
54
+ * The fees associated with the order.
55
+ *
56
+ * @example
57
+ * [
58
+ * {
59
+ * "type": "FEE_TYPE_EXCHANGE",
60
+ * "amount": "0.5",
61
+ * "currency": "USD"
62
+ * },
63
+ * {
64
+ * "type": "FEE_TYPE_NETWORK",
65
+ * "amount": "0.25",
66
+ * "currency": "USD"
67
+ * }
68
+ * ]
69
+ */
70
+ fees: CoinbaseOnrampFee[];
71
+ /**
72
+ * The ID of the onramp order.
73
+ *
74
+ * @example "123e4567-e89b-12d3-a456-426614174000"
75
+ */
76
+ orderId: string;
77
+ /**
78
+ * The partner user reference ID.
79
+ *
80
+ * @example "user123"
81
+ */
82
+ partnerUserRef?: string;
83
+ /**
84
+ * The fiat currency to be converted to crypto.
85
+ *
86
+ * @example "USD"
87
+ */
88
+ paymentCurrency: string;
89
+ /**
90
+ * The type of payment method to be used to complete an onramp order.
91
+ *
92
+ * @example "GUEST_CHECKOUT_APPLE_PAY"
93
+ */
94
+ paymentMethod: CoinbaseOnrampOrderPaymentMethod;
95
+ /**
96
+ * The amount of fiat to be converted to crypto.
97
+ *
98
+ * @example "100"
99
+ */
100
+ paymentSubtotal: string;
101
+ /**
102
+ * The total amount of fiat to be paid, inclusive of any fees.
103
+ *
104
+ * @example "100.75"
105
+ */
106
+ paymentTotal: string;
107
+ /**
108
+ * The amount of crypto to be purchased.
109
+ *
110
+ * @example "100.000000"
111
+ */
112
+ purchaseAmount: string;
113
+ /**
114
+ * The crypto currency to be purchased.
115
+ *
116
+ * @example "USDC"
117
+ */
118
+ purchaseCurrency: string;
119
+ /**
120
+ * The status of an onramp order.
121
+ *
122
+ * @example "ONRAMP_ORDER_STATUS_COMPLETED"
123
+ */
124
+ status: CoinbaseOnrampOrderStatus;
125
+ /**
126
+ * The transaction hash of the order (only available once crypto has been sent).
127
+ *
128
+ * @example "0x363cd3b3d4f49497cf5076150cd709307b90e9fc897fdd623546ea7b9313cecb"
129
+ */
130
+ txHash?: string;
131
+ /**
132
+ * The date and time the order was last updated.
133
+ *
134
+ * @example "2025-04-24T00:00:00Z"
135
+ */
136
+ updatedAt: Date;
137
+ };
138
+ paymentLink?: {
139
+ /**
140
+ * The type of payment link.
141
+ *
142
+ * @example "PAYMENT_LINK_TYPE_APPLE_PAY"
143
+ */
144
+ paymentLinkType: CoinbaseOnrampOrderPaymentLinkType;
145
+ /**
146
+ * The URL to the hosted widget the user should be redirected to.
147
+ * For certain payment link types you can append your own redirect_url query parameter
148
+ * to this URL to ensure the user is redirected back to your app after the widget completes.
149
+ *
150
+ * @example "https://pay.coinbase.com/1234567890"
151
+ */
152
+ url: string;
153
+ };
154
+ };
155
+ export type CoinbaseCreateOnrampOrderRequest = {
156
+ /**
157
+ * The timestamp of when the user acknowledged that by using Coinbase Onramp they are accepting the
158
+ * Coinbase Terms (https://www.coinbase.com/legal/guest-checkout/us), User Agreement (https://www.coinbase.com/legal/user_agreement),
159
+ * and Privacy Policy (https://www.coinbase.com/legal/privacy).
160
+ *
161
+ * @example "2025-04-24T00:00:00Z"
162
+ */
163
+ agreementAcceptedAt: Date;
164
+ /**
165
+ * The address the purchased crypto will be sent to.
166
+ *
167
+ * @example "0x71C7656EC7ab88b098defB751B7401B5f6d8976F"
168
+ */
169
+ destinationAddress: string;
170
+ /**
171
+ * The name of the crypto network the purchased currency will be sent on.
172
+ * Use the [Onramp Buy Options API](https://docs.cdp.coinbase.com/api-reference/rest-api/onramp-offramp/get-buy-options)
173
+ * to discover the supported networks for your user's location.
174
+ *
175
+ * @example "base"
176
+ */
177
+ destinationNetwork: string;
178
+ /**
179
+ * The domain that the Apple Pay button will be rendered on.
180
+ * Required when embedding the payment link in an iframe.
181
+ *
182
+ * @example "pay.coinbase.com"
183
+ */
184
+ domain?: string;
185
+ /**
186
+ * If true, this API will return a quote without creating any transaction.
187
+ *
188
+ * @default false
189
+ */
190
+ isQuote?: boolean;
191
+ /**
192
+ * Whether to create a sandbox order for testing.
193
+ *
194
+ * This value will be ignored if you provide a partnerUserRef parameter.
195
+ *
196
+ * @default false
197
+ */
198
+ isSandbox?: boolean;
199
+ /**
200
+ * A unique string that represents the user in your app.
201
+ * This can be used to link individual transactions together so you can retrieve the transaction history for your users.
202
+ * Prefix this string with “sandbox-” (e.g. "sandbox-user-1234") to perform a sandbox transaction which will allow you to
203
+ * test your integration without any real transfer of funds.
204
+ *
205
+ * If you do not provide a partnerUserRef, the order will be created with the user's Dynamic user ID, and the order will be created in sandbox mode
206
+ * depending on the value of the isSandbox parameter.
207
+ *
208
+ * @example "user-1234"
209
+ */
210
+ partnerUserRef?: string;
211
+ /**
212
+ * A string representing the amount of fiat the user wishes to pay in exchange for crypto.
213
+ * When using this parameter, the returned quote will be inclusive of fees i.e. the user will pay this exact amount of the payment currency.
214
+ *
215
+ * @example "100.00"
216
+ */
217
+ paymentAmount?: string;
218
+ /**
219
+ * The fiat currency to be converted to crypto.
220
+ *
221
+ * @example "USD"
222
+ */
223
+ paymentCurrency: string;
224
+ /**
225
+ * The type of payment method to be used to complete an onramp order.
226
+ *
227
+ * @example "GUEST_CHECKOUT_APPLE_PAY"
228
+ */
229
+ paymentMethod: CoinbaseOnrampOrderPaymentMethod;
230
+ /**
231
+ * A string representing the amount of crypto the user wishes to purchase.
232
+ * When using this parameter the returned quote will be exclusive of fees i.e. the user will receive this exact amount of the purchase currency.
233
+ *
234
+ * @example "10.000000"
235
+ */
236
+ purchaseAmount?: string;
237
+ /**
238
+ * The ticker (e.g. BTC, USDC, SOL) or the Coinbase UUID (e.g. d85dce9b-5b73-5c3c-8978-522ce1d1c1b4) of the crypto asset to be purchased.
239
+ *
240
+ * Use the [Onramp Buy Options API](https://docs.cdp.coinbase.com/api-reference/rest-api/onramp-offramp/get-buy-options) to discover the
241
+ * supported purchase currencies for your user's location.
242
+ *
243
+ * @example "USDC"
244
+ */
245
+ purchaseCurrency: string;
246
+ };
247
+ /**
248
+ * The error code for a missing verification for a Coinbase onramp order.
249
+ *
250
+ * - "MISSING_INFORMATION": The data still needs to be collected from the user.
251
+ * - "MISSING_VERIFICATION": The data has been collected from the user but it has not been verified.
252
+ * - "VERIFICATION_EXPIRED": The data has been collected from the user and has been verified in the past,
253
+ * but needs to be verified again.
254
+ */
255
+ export type CoinbaseOnrampMissingVerificationErrorCode = 'MISSING_INFORMATION' | 'MISSING_VERIFICATION' | 'VERIFICATION_EXPIRED';
256
+ export type FieldMissingVerificationForCoinbaseOnramp = {
257
+ field: Extract<keyof UserFields, 'email' | 'phoneNumber'>;
258
+ } & ({
259
+ errorCode: 'MISSING_INFORMATION';
260
+ } | {
261
+ /**
262
+ * The data that is missing verification.
263
+ *
264
+ * @example "test@test.com"
265
+ */
266
+ data: string;
267
+ errorCode: Exclude<CoinbaseOnrampMissingVerificationErrorCode, 'MISSING_INFORMATION'>;
268
+ });
269
+ //# sourceMappingURL=coinbase.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"coinbase.types.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/funding/coinbase/coinbase.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,qBAAqB,IAAI,yBAAyB,EAClD,kCAAkC,IAAI,sCAAsC,EAC5E,gCAAgC,IAAI,oCAAoC,EACxE,yBAAyB,IAAI,6BAA6B,EAC1D,UAAU,EACX,MAAM,4BAA4B,CAAC;AAEpC,YAAY,EACV,8BAA8B,EAC9B,+BAA+B,GAChC,MAAM,4BAA4B,CAAC;AAEpC,MAAM,MAAM,qBAAqB,GAAG,GAAG,yBAAyB,EAAE,CAAC;AAEnE,MAAM,MAAM,kCAAkC,GAC5C,GAAG,sCAAsC,EAAE,CAAC;AAE9C,MAAM,MAAM,gCAAgC,GAC1C,GAAG,oCAAoC,EAAE,CAAC;AAE5C,MAAM,MAAM,yBAAyB,GAAG,GAAG,6BAA6B,EAAE,CAAC;AAE3E,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;;;OAIG;IACH,MAAM,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,EAAE,MAAM,CAAC;IACjB;;;;OAIG;IACH,IAAI,EAAE,qBAAqB,CAAC;CAC7B,CAAC;AAGF,MAAM,MAAM,2BAA2B,GAAG;IACxC,KAAK,EAAE;QACL;;;;WAIG;QACH,SAAS,EAAE,IAAI,CAAC;QAChB;;;;WAIG;QACH,kBAAkB,EAAE,MAAM,CAAC;QAC3B;;;;WAIG;QACH,kBAAkB,EAAE,MAAM,CAAC;QAC3B;;;;WAIG;QACH,YAAY,EAAE,MAAM,CAAC;QACrB;;;;;;;;;;;;;;;;WAgBG;QACH,IAAI,EAAE,iBAAiB,EAAE,CAAC;QAC1B;;;;WAIG;QACH,OAAO,EAAE,MAAM,CAAC;QAChB;;;;WAIG;QACH,cAAc,CAAC,EAAE,MAAM,CAAC;QACxB;;;;WAIG;QACH,eAAe,EAAE,MAAM,CAAC;QACxB;;;;WAIG;QACH,aAAa,EAAE,gCAAgC,CAAC;QAChD;;;;WAIG;QACH,eAAe,EAAE,MAAM,CAAC;QACxB;;;;WAIG;QACH,YAAY,EAAE,MAAM,CAAC;QACrB;;;;WAIG;QACH,cAAc,EAAE,MAAM,CAAC;QACvB;;;;WAIG;QACH,gBAAgB,EAAE,MAAM,CAAC;QACzB;;;;WAIG;QACH,MAAM,EAAE,yBAAyB,CAAC;QAClC;;;;WAIG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAChB;;;;WAIG;QACH,SAAS,EAAE,IAAI,CAAC;KACjB,CAAC;IACF,WAAW,CAAC,EAAE;QACZ;;;;WAIG;QACH,eAAe,EAAE,kCAAkC,CAAC;QACpD;;;;;;WAMG;QACH,GAAG,EAAE,MAAM,CAAC;KACb,CAAC;CACH,CAAC;AAGF,MAAM,MAAM,gCAAgC,GAAG;IAC7C;;;;;;OAMG;IACH,mBAAmB,EAAE,IAAI,CAAC;IAC1B;;;;OAIG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;;;OAMG;IACH,kBAAkB,EAAE,MAAM,CAAC;IAC3B;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB;;;;;;OAMG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;;;;;OAUG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;OAKG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,eAAe,EAAE,MAAM,CAAC;IACxB;;;;OAIG;IACH,aAAa,EAAE,gCAAgC,CAAC;IAChD;;;;;OAKG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;;;;;OAOG;IACH,gBAAgB,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF;;;;;;;GAOG;AACH,MAAM,MAAM,0CAA0C,GAClD,qBAAqB,GACrB,sBAAsB,GACtB,sBAAsB,CAAC;AAE3B,MAAM,MAAM,yCAAyC,GAAG;IACtD,KAAK,EAAE,OAAO,CAAC,MAAM,UAAU,EAAE,OAAO,GAAG,aAAa,CAAC,CAAC;CAC3D,GAAG,CACA;IACE,SAAS,EAAE,qBAAqB,CAAC;CAClC,GACD;IACE;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb,SAAS,EAAE,OAAO,CAChB,0CAA0C,EAC1C,qBAAqB,CACtB,CAAC;CACH,CACJ,CAAC"}
@@ -0,0 +1,11 @@
1
+ import type { CoinbaseCreateOnrampOrderRequest, CoinbaseOnrampOrderResponse } from '../coinbase.types';
2
+ /**
3
+ * Creates a Coinbase onramp order
4
+ *
5
+ * @param orderParams CoinbaseCreateOnrampOrderRequest - The parameters for the onramp order.
6
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
7
+ * @returns The created order
8
+ * @throws {MissingUserVerificationError} If the user is missing verification for email or phone
9
+ */
10
+ export declare const createCoinbaseOnrampOrder: (orderParams: CoinbaseCreateOnrampOrderRequest, client?: import("../../../../exports").DynamicClient) => Promise<CoinbaseOnrampOrderResponse>;
11
+ //# sourceMappingURL=createCoinbaseOnrampOrder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createCoinbaseOnrampOrder.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/funding/coinbase/createCoinbaseOnrampOrder/createCoinbaseOnrampOrder.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,gCAAgC,EAChC,2BAA2B,EAC5B,MAAM,mBAAmB,CAAC;AAG3B;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB,gBACvB,gCAAgC,2DAE5C,OAAO,CAAC,2BAA2B,CAiCrC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { createCoinbaseOnrampOrder } from './createCoinbaseOnrampOrder';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/funding/coinbase/createCoinbaseOnrampOrder/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { CoinbaseOnrampGetBuyUrlRequest, CoinbaseOnrampGetBuyUrlResponse } from '../coinbase.types';
2
+ /**
3
+ * Gets a Coinbase buy URL
4
+ *
5
+ * @param buyUrlParams CoinbaseOnrampGetBuyUrlRequest - The parameters for the buy URL.
6
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
7
+ * @returns an object containing the buy URL
8
+ */
9
+ export declare const getCoinbaseBuyUrl: (buyUrlParams: CoinbaseOnrampGetBuyUrlRequest, client?: import("../../../../exports").DynamicClient) => Promise<CoinbaseOnrampGetBuyUrlResponse>;
10
+ //# sourceMappingURL=getCoinbaseBuyUrl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCoinbaseBuyUrl.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/funding/coinbase/getCoinbaseBuyUrl/getCoinbaseBuyUrl.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACV,8BAA8B,EAC9B,+BAA+B,EAChC,MAAM,mBAAmB,CAAC;AAE3B;;;;;;GAMG;AACH,eAAO,MAAM,iBAAiB,iBACd,8BAA8B,2DAE3C,OAAO,CAAC,+BAA+B,CAUzC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { getCoinbaseBuyUrl } from './getCoinbaseBuyUrl';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/funding/coinbase/getCoinbaseBuyUrl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,qBAAqB,CAAC"}
@@ -0,0 +1,23 @@
1
+ import type { CoinbaseOnrampOrderPaymentMethod, FieldMissingVerificationForCoinbaseOnramp } from '../coinbase.types';
2
+ type GetMissingVerificationForCoinbaseOnrampOrderResponse = FieldMissingVerificationForCoinbaseOnramp[];
3
+ type GetMissingVerificationForCoinbaseOnrampOrderParams = {
4
+ paymentMethod: CoinbaseOnrampOrderPaymentMethod;
5
+ };
6
+ /**
7
+ * This function is used to get a list of fields that are missing verification for a Coinbase onramp order
8
+ *
9
+ * - If the user is missing information for an email or phone number, the field will be returned with the error code MISSING_INFORMATION
10
+ * - If the user is missing verification for an email or phone number, the field will be returned with the error code MISSING_VERIFICATION
11
+ * and the existing unverified email or phone number will be included in the data field.
12
+ * - If the user's phone number has not been verified in the last 60 days, the field will be returned with the error code VERIFICATION_EXPIRED
13
+ * and the existing phone number will be included in the data field.
14
+ *
15
+ * @param params.paymentMethod - The payment method that will be used to create the onramp order
16
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
17
+ * @returns FieldMissingVerificationForCoinbaseOnramp[] - An array of fields that are missing verification for a Coinbase onramp order
18
+ * @throws {InvalidParamError} - If the payment method is not valid
19
+ * @throws {ValueMustBeDefinedError} - If the user is not authenticated
20
+ */
21
+ export declare const getMissingVerificationForCoinbaseOnrampOrder: ({ paymentMethod }: GetMissingVerificationForCoinbaseOnrampOrderParams, client?: import("../../../../exports").DynamicClient) => GetMissingVerificationForCoinbaseOnrampOrderResponse;
22
+ export {};
23
+ //# sourceMappingURL=getMissingVerificationForCoinbaseOnrampOrder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMissingVerificationForCoinbaseOnrampOrder.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/funding/coinbase/getMissingVerificationForCoinbaseOnrampOrder/getMissingVerificationForCoinbaseOnrampOrder.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,gCAAgC,EAChC,yCAAyC,EAC1C,MAAM,mBAAmB,CAAC;AAE3B,KAAK,oDAAoD,GACvD,yCAAyC,EAAE,CAAC;AAE9C,KAAK,kDAAkD,GAAG;IACxD,aAAa,EAAE,gCAAgC,CAAC;CACjD,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,4CAA4C,sBACpC,kDAAkD,2DAEpE,oDAmEF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { getMissingVerificationForCoinbaseOnrampOrder } from './getMissingVerificationForCoinbaseOnrampOrder';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/funding/coinbase/getMissingVerificationForCoinbaseOnrampOrder/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,4CAA4C,EAAE,MAAM,gDAAgD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { validateUserCredentialsForCoinbaseOnrampOrder } from './validateUserCredentialsForCoinbaseOnrampOrder';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6CAA6C,EAAE,MAAM,iDAAiD,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { type SdkUser } from '@dynamic-labs/sdk-api-core';
2
+ import type { DynamicClient } from '../../../../../client/types/DynamicClient';
3
+ export declare const validateUserCredentialsForCoinbaseOnrampOrder: (client: DynamicClient) => SdkUser;
4
+ //# sourceMappingURL=validateUserCredentialsForCoinbaseOnrampOrder.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"validateUserCredentialsForCoinbaseOnrampOrder.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/funding/coinbase/utils/validateUserCredentialsForCoinbaseOnrampOrder/validateUserCredentialsForCoinbaseOnrampOrder.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAE1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,2CAA2C,CAAC;AAK/E,eAAO,MAAM,6CAA6C,WAChD,aAAa,KACpB,OAoDF,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { CryptoDotComPaymentCreateRequest, CryptoDotComPaymentResponse } from '../cryptoDotCom.types';
2
+ /**
3
+ * Creates a crypto.com payment
4
+ *
5
+ * @param paymentParams CryptoDotComPaymentCreateRequest - The parameters for the payment.
6
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
7
+ * @returns The created payment
8
+ */
9
+ export declare const createCryptoDotComPayment: (paymentParams: CryptoDotComPaymentCreateRequest, client?: import("../../../../exports").DynamicClient) => Promise<CryptoDotComPaymentResponse>;
10
+ //# sourceMappingURL=createCryptoDotComPayment.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createCryptoDotComPayment.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/funding/cryptoDotCom/createCryptoDotComPayment/createCryptoDotComPayment.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,gCAAgC,EAChC,2BAA2B,EAC5B,MAAM,uBAAuB,CAAC;AAE/B;;;;;;GAMG;AACH,eAAO,MAAM,yBAAyB,kBACrB,gCAAgC,2DAE9C,OAAO,CAAC,2BAA2B,CAcrC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { createCryptoDotComPayment } from './createCryptoDotComPayment';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/funding/cryptoDotCom/createCryptoDotComPayment/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { CryptoDotComPaymentCreateRequest as ApiCryptoDotComPaymentCreateRequest } from '@dynamic-labs/sdk-api-core';
2
+ import type { Chain } from '../../chain';
3
+ export type { CryptoDotComPaymentResponse } from '@dynamic-labs/sdk-api-core';
4
+ export type CryptoDotComPaymentCreateRequest = Omit<ApiCryptoDotComPaymentCreateRequest, 'chain' | 'networkId'> & {
5
+ chain: Chain;
6
+ networkId: string;
7
+ };
8
+ //# sourceMappingURL=cryptoDotCom.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cryptoDotCom.types.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/funding/cryptoDotCom/cryptoDotCom.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gCAAgC,IAAI,mCAAmC,EAAE,MAAM,4BAA4B,CAAC;AAE1H,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,YAAY,EAAE,2BAA2B,EAAE,MAAM,4BAA4B,CAAC;AAE9E,MAAM,MAAM,gCAAgC,GAAG,IAAI,CACjD,mCAAmC,EACnC,OAAO,GAAG,WAAW,CACtB,GAAG;IAEF,KAAK,EAAE,KAAK,CAAC;IAEb,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC"}
@@ -0,0 +1,5 @@
1
+ export declare const REFRESH_USER_STATE_FROM_COOKIE_TRACKER_KEY = "refresh-user-state-from-cookie";
2
+ export declare const INITIALIZE_STORAGE_SYNC_TRACKER_KEY = "initialize-storage-sync";
3
+ export declare const FETCH_PROJECT_SETTINGS_TRACKER_KEY = "fetch-project-settings";
4
+ export declare const GENERATE_SESSION_KEYS_TRACKER_KEY = "generate-session-keys";
5
+ //# sourceMappingURL=consts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"consts.d.ts","sourceRoot":"","sources":["../../../../../../packages/client/src/modules/initializeClient/consts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,0CAA0C,mCACrB,CAAC;AAEnC,eAAO,MAAM,mCAAmC,4BAA4B,CAAC;AAE7E,eAAO,MAAM,kCAAkC,2BAA2B,CAAC;AAE3E,eAAO,MAAM,iCAAiC,0BAA0B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"initializeClient.d.ts","sourceRoot":"","sources":["../../../../../../packages/client/src/modules/initializeClient/initializeClient.ts"],"names":[],"mappings":"AAWA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gBAAgB,mEAgF5B,CAAC"}
1
+ {"version":3,"file":"initializeClient.d.ts","sourceRoot":"","sources":["../../../../../../packages/client/src/modules/initializeClient/initializeClient.ts"],"names":[],"mappings":"AAkBA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,gBAAgB,mEAoG5B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { waitForProjectSettings } from './waitForProjectSettings';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/initializeClient/waitForProjectSettings/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC"}
@@ -0,0 +1,3 @@
1
+ import type { DynamicClient } from '../../../client/types';
2
+ export declare const waitForProjectSettings: (client: DynamicClient) => Promise<import("@dynamic-labs/sdk-api-core").ProjectSettings>;
3
+ //# sourceMappingURL=waitForProjectSettings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"waitForProjectSettings.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/initializeClient/waitForProjectSettings/waitForProjectSettings.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAI3D,eAAO,MAAM,sBAAsB,WAAkB,aAAa,kEAiBjE,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import type { CreateMfaToken } from '@dynamic-labs/sdk-api-core';
2
2
  type AuthenticatePasskeyMFAParams = {
3
3
  createMfaToken?: CreateMfaToken;
4
+ relatedOriginRpId?: string;
4
5
  };
5
6
  /**
6
7
  * Authenticates using a passkey for multi-factor authentication.
@@ -14,6 +15,6 @@ type AuthenticatePasskeyMFAParams = {
14
15
  * @throws NoWebAuthNSupportError If WebAuthn is not supported by the browser.
15
16
  * @throws NoPasskeyCredentialsFoundError If no passkey credentials are found.
16
17
  */
17
- export declare const authenticatePasskeyMFA: ({ createMfaToken }?: AuthenticatePasskeyMFAParams, client?: import("../../../exports").DynamicClient) => Promise<import("@dynamic-labs/sdk-api-core").VerifyResponse>;
18
+ export declare const authenticatePasskeyMFA: ({ createMfaToken, relatedOriginRpId }?: AuthenticatePasskeyMFAParams, client?: import("../../../exports").DynamicClient) => Promise<import("@dynamic-labs/sdk-api-core").VerifyResponse>;
18
19
  export {};
19
20
  //# sourceMappingURL=authenticatePasskeyMFA.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"authenticatePasskeyMFA.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAYjE,KAAK,4BAA4B,GAAG;IAClC,cAAc,CAAC,EAAE,cAAc,CAAC;CACjC,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,sBAAsB,wBACb,4BAA4B,oHAwDjD,CAAC"}
1
+ {"version":3,"file":"authenticatePasskeyMFA.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/mfa/authenticatePasskeyMFA/authenticatePasskeyMFA.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAYjE,KAAK,4BAA4B,GAAG;IAClC,cAAc,CAAC,EAAE,cAAc,CAAC;IAChC,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5B,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,sBAAsB,2CACM,4BAA4B,oHA2DpE,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { VerifyResponse } from '@dynamic-labs/sdk-api-core';
1
2
  import type { OTPVerification } from '../otp.types';
2
3
  export type VerifyOTPParams = {
3
4
  otpVerification: OTPVerification;
@@ -12,7 +13,7 @@ export type VerifyOTPParams = {
12
13
  * @param params.otpVerification - The OTP verification object containing verification details.
13
14
  * @param params.verificationToken - The token received from the OTP verification process.
14
15
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
15
- * @returns A promise that resolves to the user object upon successful verification.
16
+ * @returns A promise that resolves to the verify response object upon successful verification.
16
17
  */
17
- export declare const verifyOTP: ({ otpVerification, verificationToken }: VerifyOTPParams, client?: import("../../../exports").DynamicClient) => Promise<import("@dynamic-labs/sdk-api-core").SdkUser>;
18
+ export declare const verifyOTP: ({ otpVerification, verificationToken }: VerifyOTPParams, client?: import("../../../exports").DynamicClient) => Promise<VerifyResponse>;
18
19
  //# sourceMappingURL=verifyOTP.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"verifyOTP.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/otp/verifyOTP/verifyOTP.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD,MAAM,MAAM,eAAe,GAAG;IAC5B,eAAe,EAAE,eAAe,CAAC;IACjC,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,2CACoB,eAAe,6GAkBxD,CAAC"}
1
+ {"version":3,"file":"verifyOTP.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/otp/verifyOTP/verifyOTP.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAIjE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD,MAAM,MAAM,eAAe,GAAG;IAC5B,eAAe,EAAE,eAAe,CAAC;IACjC,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,SAAS,2CACoB,eAAe,wDAEtD,OAAO,CAAC,cAAc,CAgBxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"fetchProjectSettings.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.ts"],"names":[],"mappings":"AAQA;;GAEG;AACH,eAAO,MAAM,gCAAgC,QAAgB,CAAC;AAE9D;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,6HA0ChC,CAAC"}
1
+ {"version":3,"file":"fetchProjectSettings.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/projectSettings/fetchProjectSettings/fetchProjectSettings.ts"],"names":[],"mappings":"AAQA;;GAEG;AACH,eAAO,MAAM,gCAAgC,QAAgB,CAAC;AAE9D;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,6HA4ChC,CAAC"}
@@ -1,5 +1,5 @@
1
1
  /**
2
2
  * The schema to track the expiration time of the project settings.
3
3
  */
4
- export declare const projectSettingsExpirationScheme: import("../../../services/storage/storage.types").StorageKeySchema<number>;
4
+ export declare const projectSettingsExpirationStorageKeySchema: import("../../../services/storage").StorageKeySchema<number>;
5
5
  //# sourceMappingURL=projectSettingsExpirationScheme.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"projectSettingsExpirationScheme.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/projectSettings/fetchProjectSettings/projectSettingsExpirationScheme.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,+BAA+B,4EAG1C,CAAC"}
1
+ {"version":3,"file":"projectSettingsExpirationScheme.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/projectSettings/fetchProjectSettings/projectSettingsExpirationScheme.ts"],"names":[],"mappings":"AAIA;;GAEG;AACH,eAAO,MAAM,yCAAyC,8DAKrD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"hydrateStateWithStorage.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/storageSync/hydrateStateWithStorage/hydrateStateWithStorage.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAI3D,eAAO,MAAM,uBAAuB,WAC1B,aAAa,KACpB,OAAO,CAAC,IAAI,CAqCd,CAAC"}
1
+ {"version":3,"file":"hydrateStateWithStorage.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/storageSync/hydrateStateWithStorage/hydrateStateWithStorage.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAK3D,eAAO,MAAM,uBAAuB,WAC1B,aAAa,KACpB,OAAO,CAAC,IAAI,CAsDd,CAAC"}
@@ -1,10 +1,23 @@
1
1
  import type { ProjectSettings, SdkUser } from '@dynamic-labs/sdk-api-core';
2
- export declare const stateStorageKeySchema: import("../../services/storage/storage.types").StorageKeySchema<{
2
+ export declare const stateStorageKeySchema: import("../../services/storage").StorageKeySchema<{
3
3
  apiVersion: string;
4
4
  projectSettings: ProjectSettings | null;
5
+ unverifiedWalletAccounts: {
6
+ address: string;
7
+ chain: import("../chain").Chain;
8
+ id: string;
9
+ lastSelectedAt: Date | null;
10
+ walletProviderKey: string;
11
+ addressesWithTypes?: {
12
+ address: string;
13
+ type: "ordinals" | "payment" | "cosmos" | "evm";
14
+ publicKey?: string | undefined;
15
+ }[] | undefined;
16
+ }[];
5
17
  user: SdkUser | null;
18
+ walletProviderKeyMap: Record<string, string>;
6
19
  }>;
7
- export declare const sessionKeySchema: import("../../services/storage/storage.types").StorageKeySchema<{
20
+ export declare const sessionStorageKeySchema: import("../../services/storage").StorageKeySchema<{
8
21
  captchaToken: string | null;
9
22
  legacyToken: string | null;
10
23
  mfaToken: string | null;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../packages/client/src/modules/storageSync/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAK3E,eAAO,MAAM,qBAAqB;;;;EAOhC,CAAC;AAEH,eAAO,MAAM,gBAAgB;;;;;;;EAmC3B,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../packages/client/src/modules/storageSync/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAO3E,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;EAShC,CAAC;AAEH,eAAO,MAAM,uBAAuB;;;;;;;EAmClC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"syncStateWithStorage.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/storageSync/syncStateWithStorage/syncStateWithStorage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAI3D,eAAO,MAAM,oBAAoB,WAAY,aAAa,SAuBzD,CAAC"}
1
+ {"version":3,"file":"syncStateWithStorage.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/storageSync/syncStateWithStorage/syncStateWithStorage.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,uBAAuB,CAAC;AAI3D,eAAO,MAAM,oBAAoB,WAAY,aAAa,SAyBzD,CAAC"}
@@ -0,0 +1,11 @@
1
+ /**
2
+ * Deletes the current user's account permanently.
3
+ *
4
+ * This function performs a hard delete of the user account. Upon successful deletion,
5
+ * the user will be automatically logged out and all authentication data will be cleared.
6
+ *
7
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
8
+ * @returns A promise that resolves when the user account is successfully deleted.
9
+ */
10
+ export declare const deleteUser: (client?: import("../../../exports").DynamicClient) => Promise<void>;
11
+ //# sourceMappingURL=deleteUser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteUser.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/user/deleteUser/deleteUser.ts"],"names":[],"mappings":"AAKA;;;;;;;;GAQG;AACH,eAAO,MAAM,UAAU,yDAEpB,OAAO,CAAC,IAAI,CASd,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { deleteUser } from './deleteUser';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/user/deleteUser/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC"}
@@ -1,8 +1,8 @@
1
1
  export declare const DEFAULT_WAAS_BASE_API_URL = "https://app.dynamicauth.com";
2
2
  export declare const DEFAULT_WAAS_BASE_MPC_RELAY_API_URL = "https://relay.dynamicauth.com";
3
3
  export declare const DYNAMIC_WAAS_METADATA: {
4
+ displayName: string;
4
5
  icon: string;
5
- key: string;
6
- name: string;
6
+ normalizedWalletName: string;
7
7
  };
8
8
  //# sourceMappingURL=constants.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../packages/client/src/modules/waas/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB,gCAAgC,CAAC;AACvE,eAAO,MAAM,mCAAmC,kCACf,CAAC;AAElC,eAAO,MAAM,qBAAqB;;;;CAIjC,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../packages/client/src/modules/waas/constants.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,yBAAyB,gCAAgC,CAAC;AACvE,eAAO,MAAM,mCAAmC,kCACf,CAAC;AAElC,eAAO,MAAM,qBAAqB;;;;CAIjC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"createWaasProvider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/createWaasProvider/createWaasProvider.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAKzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAIlD,KAAK,wBAAwB,GAAG;IAC9B,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,aAAa,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,kBAAkB,0BAG5B,wBAAwB,KAAG,YA6Q7B,CAAC"}
1
+ {"version":3,"file":"createWaasProvider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/createWaasProvider/createWaasProvider.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAKzC,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAIlD,KAAK,wBAAwB,GAAG;IAC9B,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,aAAa,CAAC;CAC1B,CAAC;AAEF,eAAO,MAAM,kBAAkB,0BAG5B,wBAAwB,KAAG,YA8R7B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"createWaasWalletAccounts.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/createWaasWalletAccounts/createWaasWalletAccounts.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAOzC,KAAK,8BAA8B,GAAG;IACpC;;;;OAIG;IACH,MAAM,EAAE,KAAK,EAAE,CAAC;CACjB,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,wBAAwB,eACvB,8BAA8B,wDAEzC,OAAO,CAAC,IAAI,CAyCd,CAAC"}
1
+ {"version":3,"file":"createWaasWalletAccounts.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/createWaasWalletAccounts/createWaasWalletAccounts.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAOzC,KAAK,8BAA8B,GAAG;IACpC;;;;OAIG;IACH,MAAM,EAAE,KAAK,EAAE,CAAC;CACjB,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,wBAAwB,eACvB,8BAA8B,wDAEzC,OAAO,CAAC,IAAI,CAoDd,CAAC"}