@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
@@ -1 +1 @@
1
- {"version":3,"file":"delegateWaasKeyShares.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/delegateWaasKeyShares/delegateWaasKeyShares.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,KAAK,2BAA2B,GAAG;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,gCACH,2BAA2B,qEAYzD,CAAC"}
1
+ {"version":3,"file":"delegateWaasKeyShares.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/delegateWaasKeyShares/delegateWaasKeyShares.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,KAAK,2BAA2B,GAAG;IACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,qBAAqB,gCACH,2BAA2B,wDAEvD,OAAO,CAAC,IAAI,CAYd,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getWaasWalletProviderByChain.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/getWaasWalletProviderByChain/getWaasWalletProviderByChain.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAKzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,KAAK,kCAAkC,GAAG;IACxC,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,4BAA4B,cAC5B,kCAAkC,UACrC,aAAa,KACpB,kBAmBF,CAAC"}
1
+ {"version":3,"file":"getWaasWalletProviderByChain.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/getWaasWalletProviderByChain/getWaasWalletProviderByChain.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AAEzE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAKzC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,KAAK,kCAAkC,GAAG;IACxC,KAAK,EAAE,KAAK,CAAC;CACd,CAAC;AAEF,eAAO,MAAM,4BAA4B,cAC5B,kCAAkC,UACrC,aAAa,KACpB,kBAoBF,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { WalletAccount } from '../../wallets/walletAccount';
2
+ type HasDelegatedAccessParams = {
3
+ walletAccount: WalletAccount;
4
+ };
5
+ /**
6
+ * Checks if a WaaS wallet account has delegated access.
7
+ *
8
+ * @param params.walletAccount - The WaaS wallet account to check for delegated access.
9
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
10
+ * @returns True if the wallet account has delegated access, false otherwise.
11
+ */
12
+ export declare const hasDelegatedAccess: ({ walletAccount }: HasDelegatedAccessParams, client?: import("../../../exports").DynamicClient) => boolean;
13
+ export {};
14
+ //# sourceMappingURL=hasDelegatedAccess.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hasDelegatedAccess.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/hasDelegatedAccess/hasDelegatedAccess.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEjE,KAAK,wBAAwB,GAAG;IAC9B,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,kBAAkB,sBACV,wBAAwB,wDAE1C,OAiBF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { hasDelegatedAccess } from './hasDelegatedAccess';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/hasDelegatedAccess/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"isWaasWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/isWaasWalletAccount/isWaasWalletAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,KAAK,yBAAyB,GAAG;IAC/B,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,uBAE7B,yBAAyB,KAAG,OAE9B,CAAC"}
1
+ {"version":3,"file":"isWaasWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/isWaasWalletAccount/isWaasWalletAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,KAAK,yBAAyB,GAAG;IAC/B,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,mBAAmB,uBAE7B,yBAAyB,KAAG,OAI9B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"isWaasWalletProvider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/isWaasWalletProvider/isWaasWalletProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,eAAO,MAAM,oBAAoB,mBACf,cAAc,KAC7B,cAAc,IAAI,kBAEpB,CAAC"}
1
+ {"version":3,"file":"isWaasWalletProvider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/isWaasWalletProvider/isWaasWalletProvider.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExD,eAAO,MAAM,oBAAoB,mBACf,cAAc,KAC7B,cAAc,IAAI,kBAIpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { revokeWaasDelegation } from './revokeWaasDelegation';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/revokeWaasDelegation/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { WalletAccount } from '../../wallets/walletAccount';
2
+ type RevokeWaasDelegationParams = {
3
+ password?: string;
4
+ walletAccount: WalletAccount;
5
+ };
6
+ /**
7
+ * Revokes the delegation of a WaaS wallet account.
8
+ *
9
+ * @param params.walletAccount - The WaaS wallet account to revoke delegation for.
10
+ * @param [params.password] - Optional password for delegation operations.
11
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
12
+ * @returns A promise that resolves when the delegation is revoked.
13
+ */
14
+ export declare const revokeWaasDelegation: ({ password, walletAccount }: RevokeWaasDelegationParams, client?: import("../../../exports").DynamicClient) => Promise<void>;
15
+ export {};
16
+ //# sourceMappingURL=revokeWaasDelegation.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"revokeWaasDelegation.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/waas/revokeWaasDelegation/revokeWaasDelegation.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,KAAK,0BAA0B,GAAG;IAChC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,oBAAoB,gCACF,0BAA0B,wDAEtD,OAAO,CAAC,IAAI,CAYd,CAAC"}
@@ -35,6 +35,10 @@ export type WaasProvider = {
35
35
  password?: string;
36
36
  walletAccount: WalletAccount;
37
37
  }) => Promise<void>;
38
+ revokeDelegation: (args: {
39
+ password?: string;
40
+ walletAccount: WalletAccount;
41
+ }) => Promise<void>;
38
42
  signMessage: (args: {
39
43
  message: string;
40
44
  walletAccount: WalletAccount;
@@ -1 +1 @@
1
- {"version":3,"file":"waas.types.d.ts","sourceRoot":"","sources":["../../../../../../packages/client/src/modules/waas/waas.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,wBAAwB,EACzB,MAAM,4CAA4C,CAAC;AAEpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,MAAM,MAAM,YAAY,GAAG;IACzB,4BAA4B,EAAE,CAAC,IAAI,EAAE;QACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,mBAAmB,CAAC,IAAI,CAAC,EAAE;QACzB,wBAAwB,EAAE,wBAAwB,CAAC;KACpD,GAAG,OAAO,CAAC;QACV,cAAc,EAAE,MAAM,CAAC;QACvB,YAAY,EAAE,MAAM,CAAC;QACrB,YAAY,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;KAC/C,CAAC,CAAC;IACH,iBAAiB,EAAE,CAAC,IAAI,EAAE;QACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,qBAAqB,EAAE,CAAC,IAAI,EAAE;QAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,gBAAgB,EAAE,CAAC,IAAI,EAAE;QACvB,gBAAgB,EAAE,WAAW,CAAC;QAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,aAAa,EAAE,MAAM,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAClD,gBAAgB,CAAC,IAAI,EAAE;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;KACrD,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,0BAA0B,EAAE,CAAC,IAAI,EAAE;QACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,WAAW,EAAE,CAAC,IAAI,EAAE;QAClB,OAAO,EAAE,MAAM,CAAC;QAChB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrC,cAAc,EAAE,CAAC,IAAI,EAAE;QACrB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrC,yBAAyB,EAAE,CAAC,IAAI,EAAE;QAChC,qBAAqB,EAAE,MAAM,CAAC;QAC9B,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrC,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/B,cAAc,EAAE,CAAC,IAAI,EAAE;QACrB,eAAe,EAAE,MAAM,CAAC;QACxB,WAAW,EAAE,MAAM,CAAC;QACpB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAC7C,IAAI,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC"}
1
+ {"version":3,"file":"waas.types.d.ts","sourceRoot":"","sources":["../../../../../../packages/client/src/modules/waas/waas.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,mBAAmB,EACnB,wBAAwB,EACzB,MAAM,4CAA4C,CAAC;AAEpD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAEhE,MAAM,MAAM,YAAY,GAAG;IACzB,4BAA4B,EAAE,CAAC,IAAI,EAAE;QACnC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,mBAAmB,CAAC,IAAI,CAAC,EAAE;QACzB,wBAAwB,EAAE,wBAAwB,CAAC;KACpD,GAAG,OAAO,CAAC;QACV,cAAc,EAAE,MAAM,CAAC;QACvB,YAAY,EAAE,MAAM,CAAC;QACrB,YAAY,EAAE,MAAM,GAAG,UAAU,GAAG,SAAS,CAAC;KAC/C,CAAC,CAAC;IACH,iBAAiB,EAAE,CAAC,IAAI,EAAE;QACxB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,qBAAqB,EAAE,CAAC,IAAI,EAAE;QAC5B,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,gBAAgB,EAAE,CAAC,IAAI,EAAE;QACvB,gBAAgB,EAAE,WAAW,CAAC;QAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,aAAa,EAAE,MAAM,OAAO,CAAC,mBAAmB,CAAC,CAAC;IAClD,gBAAgB,CAAC,IAAI,EAAE;QACrB,UAAU,EAAE,MAAM,CAAC;QACnB,wBAAwB,CAAC,EAAE,wBAAwB,CAAC;KACrD,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;IAClB,0BAA0B,EAAE,CAAC,IAAI,EAAE;QACjC,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,gBAAgB,EAAE,CAAC,IAAI,EAAE;QACvB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;IACpB,WAAW,EAAE,CAAC,IAAI,EAAE;QAClB,OAAO,EAAE,MAAM,CAAC;QAChB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrC,cAAc,EAAE,CAAC,IAAI,EAAE;QACrB,OAAO,EAAE,MAAM,CAAC;QAChB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrC,yBAAyB,EAAE,CAAC,IAAI,EAAE;QAChC,qBAAqB,EAAE,MAAM,CAAC;QAC9B,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC;QAAE,SAAS,EAAE,MAAM,CAAA;KAAE,CAAC,CAAC;IACrC,SAAS,EAAE,MAAM,OAAO,CAAC,IAAI,CAAC,CAAC;IAC/B,cAAc,EAAE,CAAC,IAAI,EAAE;QACrB,eAAe,EAAE,MAAM,CAAC;QACxB,WAAW,EAAE,MAAM,CAAC;QACpB,aAAa,EAAE,aAAa,CAAC;KAC9B,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;CACrB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,cAAc,GAC7C,IAAI,CAAC,YAAY,EAAE,aAAa,CAAC,CAAC"}
@@ -1,5 +1,6 @@
1
+ import type { WalletAccount } from '../walletAccount';
1
2
  type ConnectWithWalletProviderParams = {
2
- addToUserWalletAccounts?: boolean;
3
+ addToDynamicWalletAccounts?: boolean;
3
4
  walletProviderKey: string;
4
5
  };
5
6
  /**
@@ -11,11 +12,11 @@ type ConnectWithWalletProviderParams = {
11
12
  * @see connectAndVerifyWithWalletProvider
12
13
  *
13
14
  * @param params.walletProviderKey - The unique key identifying the wallet provider to connect to (e.g. 'metamaskevm', 'phantomsol').
14
- * @param [params.addToUserWalletAccounts] - Whether to add the connected wallet account to the user's wallet accounts. Defaults to true.
15
+ * @param [params.addToDynamicWalletAccounts] - Whether to add the connected wallet account to the user's wallet accounts. Defaults to true.
15
16
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
16
17
  * @returns A promise that resolves to the connected wallet account.
17
18
  * @throws NoAddressFoundError If the request to connect was successful but no address is connected to your app.
18
19
  */
19
- export declare const connectWithWalletProvider: ({ walletProviderKey, addToUserWalletAccounts, }: ConnectWithWalletProviderParams, client?: import("../../../exports").DynamicClient) => Promise<import("../walletAccount").BaseWalletAccount<import("../../chain").Chain>>;
20
+ export declare const connectWithWalletProvider: ({ walletProviderKey, addToDynamicWalletAccounts, }: ConnectWithWalletProviderParams, client?: import("../../../exports").DynamicClient) => Promise<WalletAccount>;
20
21
  export {};
21
22
  //# sourceMappingURL=connectWithWalletProvider.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"connectWithWalletProvider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/connectWithWalletProvider/connectWithWalletProvider.ts"],"names":[],"mappings":"AAWA,KAAK,+BAA+B,GAAG;IACrC,uBAAuB,CAAC,EAAE,OAAO,CAAC;IAClC,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,yBAAyB,oDAIjC,+BAA+B,0IA0DnC,CAAC"}
1
+ {"version":3,"file":"connectWithWalletProvider.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/connectWithWalletProvider/connectWithWalletProvider.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD,KAAK,+BAA+B,GAAG;IACrC,0BAA0B,CAAC,EAAE,OAAO,CAAC;IACrC,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,yBAAyB,uDAIjC,+BAA+B,wDAEjC,OAAO,CAAC,aAAa,CA+DvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../packages/client/src/modules/wallets/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,KAAK,SAAS,GAAG;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,2BAA2B,EAAE,MAAM,CAAC;IACpC,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,KAAK,EAAE,SAAS,CAgDpD,CAAC"}
1
+ {"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../../../packages/client/src/modules/wallets/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAEtC,KAAK,SAAS,GAAG;IACf,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,2BAA2B,EAAE,MAAM,CAAC;IACpC,qBAAqB,CAAC,EAAE,MAAM,CAAC;CAChC,CAAC;AAEF,eAAO,MAAM,eAAe,EAAE,MAAM,CAAC,KAAK,EAAE,SAAS,CA+DpD,CAAC"}
@@ -1,3 +1,4 @@
1
+ import type { WalletProviderData } from '../walletProvider';
1
2
  /**
2
3
  * Retrieves data for all available wallet providers that can be used for connection.
3
4
  *
@@ -7,10 +8,5 @@
7
8
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
8
9
  * @returns An array of wallet provider data including chain, keys, and metadata.
9
10
  */
10
- export declare const getAvailableWalletProvidersData: (client?: import("../../../exports").DynamicClient) => {
11
- chain: import("../../chain").Chain;
12
- groupKey: string;
13
- key: string;
14
- metadata: import("../walletProvider").WalletProviderMetadata;
15
- }[];
11
+ export declare const getAvailableWalletProvidersData: (client?: import("../../../exports").DynamicClient) => WalletProviderData[];
16
12
  //# sourceMappingURL=getAvailableWalletProvidersData.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getAvailableWalletProvidersData.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/getAvailableWalletProvidersData/getAvailableWalletProvidersData.ts"],"names":[],"mappings":"AAGA;;;;;;;;GAQG;AACH,eAAO,MAAM,+BAA+B;;;;;GAiB3C,CAAC"}
1
+ {"version":3,"file":"getAvailableWalletProvidersData.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/getAvailableWalletProvidersData/getAvailableWalletProvidersData.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D;;;;;;;;GAQG;AACH,eAAO,MAAM,+BAA+B,yDAEzC,kBAAkB,EAgBpB,CAAC"}
@@ -0,0 +1,7 @@
1
+ import type { WalletAccount } from '../../wallets/walletAccount';
2
+ type GetOwnerWalletAccountForSmartWalletAccountParams = {
3
+ smartWalletAccount: WalletAccount;
4
+ };
5
+ export declare const getOwnerWalletAccountForSmartWalletAccount: ({ smartWalletAccount }: GetOwnerWalletAccountForSmartWalletAccountParams, client?: import("../../../exports").DynamicClient) => WalletAccount | undefined;
6
+ export {};
7
+ //# sourceMappingURL=getOwnerWalletAccountForSmartWalletAccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getOwnerWalletAccountForSmartWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/getOwnerWalletAccountForSmartWalletAccount.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAIjE,KAAK,gDAAgD,GAAG;IACtD,kBAAkB,EAAE,aAAa,CAAC;CACnC,CAAC;AAEF,eAAO,MAAM,0CAA0C,2BAC7B,gDAAgD,wDAEvE,aAAa,GAAG,SAgBlB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { getOwnerWalletAccountForSmartWalletAccount } from './getOwnerWalletAccountForSmartWalletAccount';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/getOwnerWalletAccountForSmartWalletAccount/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0CAA0C,EAAE,MAAM,8CAA8C,CAAC"}
@@ -0,0 +1,8 @@
1
+ import type { WalletAccount, WalletAddressType } from '../walletAccount';
2
+ type GetWalletAccountAddressByTypeParams = {
3
+ type: WalletAddressType;
4
+ walletAccount: WalletAccount;
5
+ };
6
+ export declare const getWalletAccountAddressByType: ({ type, walletAccount, }: GetWalletAccountAddressByTypeParams) => string | undefined;
7
+ export {};
8
+ //# sourceMappingURL=getWalletAccountAddressByType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWalletAccountAddressByType.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/getWalletAccountAddressByType/getWalletAccountAddressByType.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAEzE,KAAK,mCAAmC,GAAG;IACzC,IAAI,EAAE,iBAAiB,CAAC;IACxB,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF,eAAO,MAAM,6BAA6B,6BAGvC,mCAAmC,uBAIrC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { getWalletAccountAddressByType } from './getWalletAccountAddressByType';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/getWalletAccountAddressByType/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,6BAA6B,EAAE,MAAM,iCAAiC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getWalletAccounts.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/getWalletAccounts/getWalletAccounts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,yDAE3B,aAAa,EAA6D,CAAC"}
1
+ {"version":3,"file":"getWalletAccounts.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/getWalletAccounts/getWalletAccounts.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAGtD;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,yDAE3B,aAAa,EAKf,CAAC"}
@@ -1,3 +1,11 @@
1
+ import type { SdkUser } from '@dynamic-labs/sdk-api-core';
2
+ import type { DynamicClient } from '../../../../client/types';
3
+ import type { UnverifiedWalletAccount } from '../../unverifiedWalletAccounts';
1
4
  import type { WalletAccount } from '../../walletAccount';
2
- export declare const getWalletAccountsFromState: (state: Readonly<DynamicCoreState>) => WalletAccount[];
5
+ type GetWalletAccountsFromStateParams = {
6
+ unverifiedWalletAccounts: UnverifiedWalletAccount[];
7
+ user: SdkUser | null;
8
+ };
9
+ export declare const getWalletAccountsFromState: ({ unverifiedWalletAccounts, user }: GetWalletAccountsFromStateParams, client: DynamicClient) => WalletAccount[];
10
+ export {};
3
11
  //# sourceMappingURL=getWalletAccountsFromState.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"getWalletAccountsFromState.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/getWalletAccounts/getWalletAccountsFromState/getWalletAccountsFromState.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,eAAO,MAAM,0BAA0B,UAC9B,QAAQ,CAAC,gBAAgB,CAAC,KAChC,aAAa,EAmCf,CAAC"}
1
+ {"version":3,"file":"getWalletAccountsFromState.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/getWalletAccounts/getWalletAccountsFromState/getWalletAccountsFromState.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,4BAA4B,CAAC;AAG1D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAG9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAEzD,KAAK,gCAAgC,GAAG;IACtC,wBAAwB,EAAE,uBAAuB,EAAE,CAAC;IACpD,IAAI,EAAE,OAAO,GAAG,IAAI,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,0BAA0B,uCACD,gCAAgC,UAC5D,aAAa,KACpB,aAAa,EAqCf,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { WalletProviderData } from '../walletProvider';
2
+ type GetWalletProviderDataByKeyParams = {
3
+ walletProviderKey: string;
4
+ };
5
+ /**
6
+ * Retrieves data for a specific wallet provider that can be used for display or connection.
7
+ *
8
+ * @param params.walletProviderKey - The key of the wallet provider to retrieve data for.
9
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
10
+ * @returns The data for the wallet provider.
11
+ */
12
+ export declare const getWalletProviderDataByKey: ({ walletProviderKey }: GetWalletProviderDataByKeyParams, client?: import("../../../exports").DynamicClient) => WalletProviderData;
13
+ export {};
14
+ //# sourceMappingURL=getWalletProviderDataByKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWalletProviderDataByKey.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/getWalletProviderDataByKey/getWalletProviderDataByKey.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC;AAE5D,KAAK,gCAAgC,GAAG;IACtC,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF;;;;;;GAMG;AACH,eAAO,MAAM,0BAA0B,0BACd,gCAAgC,wDAEtD,kBAKF,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { getWalletProviderDataByKey } from './getWalletProviderDataByKey';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/getWalletProviderDataByKey/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { isWalletAccountVerified } from './isWalletAccountVerified';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/isWalletAccountVerified/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -0,0 +1,13 @@
1
+ import type { WalletAccount } from '../walletAccount';
2
+ type isWalletAccountVerifiedParams = {
3
+ walletAccount: WalletAccount;
4
+ };
5
+ /**
6
+ * Checks if a wallet account has been verified by a user.
7
+ *
8
+ * @param walletAccount - The wallet account to check.
9
+ * @returns True if the wallet account has been verified, false otherwise.
10
+ */
11
+ export declare const isWalletAccountVerified: ({ walletAccount, }: isWalletAccountVerifiedParams) => boolean;
12
+ export {};
13
+ //# sourceMappingURL=isWalletAccountVerified.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"isWalletAccountVerified.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/isWalletAccountVerified/isWalletAccountVerified.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,KAAK,6BAA6B,GAAG;IACnC,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB,uBAEjC,6BAA6B,YAE/B,CAAC"}
@@ -0,0 +1,10 @@
1
+ import type { DynamicClient } from '../../../../client/types';
2
+ import type { Chain } from '../../../chain';
3
+ import type { NetworkData } from '../networkProvider/networkProvider.types';
4
+ type GetNetworkDataForNetworkIdProps = {
5
+ chain: Chain;
6
+ networkId: string;
7
+ };
8
+ export declare const getNetworkDataForNetworkId: ({ networkId, chain }: GetNetworkDataForNetworkIdProps, client: DynamicClient) => NetworkData | undefined;
9
+ export {};
10
+ //# sourceMappingURL=getNetworkDataForNetworkId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getNetworkDataForNetworkId.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/networks/getNetworkDataForNetworkId/getNetworkDataForNetworkId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,0CAA0C,CAAC;AAE5E,KAAK,+BAA+B,GAAG;IACrC,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,eAAO,MAAM,0BAA0B,yBACf,+BAA+B,UAC7C,aAAa,KACpB,WAAW,GAAG,SAShB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { getNetworkDataForNetworkId } from './getNetworkDataForNetworkId';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/networks/getNetworkDataForNetworkId/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { WalletTransactionsResponse } from '@dynamic-labs/sdk-api-core';
2
+ import type { Chain } from '../../../chain/chain.types';
3
+ export type GetTransactionHistoryParams = {
4
+ address: string;
5
+ chain: Chain;
6
+ limit?: number;
7
+ networkId: number;
8
+ offset?: string;
9
+ };
10
+ export type GetTransactionHistoryResponse = WalletTransactionsResponse;
11
+ /**
12
+ * Retrieves the transaction history for a given wallet address, chain and network.
13
+ *
14
+ * This function fetches the transaction history for a specified wallet address and chain,
15
+ * returning a list of transactions associated with that address along with nextOffset for pagination.
16
+ *
17
+ * @param params.address - The wallet address to query transactions for.
18
+ * @param params.chain - The chain to query transactions for.
19
+ * @param [params.limit] - The maximum number of transactions to return.
20
+ * @param params.networkId - The network ID to query transactions for.
21
+ * @param [params.offset] - The offset to use for pagination.
22
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
23
+ * @returns A promise that resolves to the transaction history along with nextOffset for the given wallet address and chain.
24
+ */
25
+ export declare const getTransactionHistory: (params: GetTransactionHistoryParams, client?: import("../../../../exports").DynamicClient) => Promise<WalletTransactionsResponse>;
26
+ //# sourceMappingURL=getTransactionHistory.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getTransactionHistory.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/networks/getTransactionHistory/getTransactionHistory.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAEV,0BAA0B,EAC3B,MAAM,4BAA4B,CAAC;AAKpC,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,4BAA4B,CAAC;AAExD,MAAM,MAAM,2BAA2B,GAAG;IACxC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;IACb,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,6BAA6B,GAAG,0BAA0B,CAAC;AAEvE;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,qBAAqB,WACxB,2BAA2B,2DAElC,OAAO,CAAC,0BAA0B,CAapC,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { getTransactionHistory } from './getTransactionHistory';
2
+ export type { GetTransactionHistoryParams, GetTransactionHistoryResponse, } from './getTransactionHistory';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/networks/getTransactionHistory/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,YAAY,EACV,2BAA2B,EAC3B,6BAA6B,GAC9B,MAAM,yBAAyB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"createLastKnownNetworkRegistry.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/networks/lastKnownNetworkRegistry/createLastKnownNetworkRegistry/createLastKnownNetworkRegistry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAKjE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAGlF;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B,WACjC,aAAa,KACpB,wBAyEF,CAAC"}
1
+ {"version":3,"file":"createLastKnownNetworkRegistry.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/networks/lastKnownNetworkRegistry/createLastKnownNetworkRegistry/createLastKnownNetworkRegistry.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAKjE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,mCAAmC,CAAC;AAGlF;;;;;;GAMG;AACH,eAAO,MAAM,8BAA8B,WACjC,aAAa,KACpB,wBA2EF,CAAC"}
@@ -1,2 +1,2 @@
1
- export declare const networkRegistrySchema: import("../../../../../services/storage/storage.types").StorageKeySchema<Record<string, string>>;
1
+ export declare const networkRegistryStorageKeySchema: import("../../../../../services/storage").StorageKeySchema<Record<string, string>>;
2
2
  //# sourceMappingURL=schema.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/networks/lastKnownNetworkRegistry/createLastKnownNetworkRegistry/schema.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,qBAAqB,kGAGhC,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/networks/lastKnownNetworkRegistry/createLastKnownNetworkRegistry/schema.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,+BAA+B,oFAG1C,CAAC"}
@@ -14,7 +14,7 @@ type ProveWalletAccountOwnershipParams = {
14
14
  */
15
15
  export declare const proveWalletAccountOwnership: ({ walletAccount }: ProveWalletAccountOwnershipParams, client?: import("../../../exports").DynamicClient) => Promise<{
16
16
  messageToSign: string;
17
- signedMessage: string;
17
+ signature: string;
18
18
  }>;
19
19
  export {};
20
20
  //# sourceMappingURL=proveWalletAccountOwnership.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"proveWalletAccountOwnership.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,KAAK,iCAAiC,GAAG;IACvC,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,2BAA2B,sBACnB,iCAAiC,wDAEnD,OAAO,CAAC;IACT,aAAa,EAAE,MAAM,CAAC;IACtB,aAAa,EAAE,MAAM,CAAC;CACvB,CAkBA,CAAC"}
1
+ {"version":3,"file":"proveWalletAccountOwnership.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/proveWalletAccountOwnership/proveWalletAccountOwnership.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,KAAK,iCAAiC,GAAG;IACvC,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,2BAA2B,sBACnB,iCAAiC,wDAEnD,OAAO,CAAC;IACT,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;CACnB,CAkBA,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"removeWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/removeWalletAccount/removeWalletAccount.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,KAAK,yBAAyB,GAAG;IAC/B,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB,sBACX,yBAAyB,wDAE3C,OAAO,CAAC,IAAI,CAqBd,CAAC"}
1
+ {"version":3,"file":"removeWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/removeWalletAccount/removeWalletAccount.ts"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAEtD,KAAK,yBAAyB,GAAG;IAC/B,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,mBAAmB,sBACX,yBAAyB,wDAE3C,OAAO,CAAC,IAAI,CAoCd,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"removeUnverifiedWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,KAAK,mCAAmC,GAAG;IACzC,uBAAuB,EAAE,uBAAuB,CAAC;CAClD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,6BAA6B,gCACX,mCAAmC,UACxD,aAAa,SAatB,CAAC"}
1
+ {"version":3,"file":"removeUnverifiedWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/unverifiedWalletAccounts/removeUnverifiedWalletAccount/removeUnverifiedWalletAccount.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,KAAK,mCAAmC,GAAG;IACzC,uBAAuB,EAAE,uBAAuB,CAAC;CAClD,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,6BAA6B,gCACX,mCAAmC,UACxD,aAAa,SAqBtB,CAAC"}
@@ -2,6 +2,11 @@ import * as z from 'zod/mini';
2
2
  import type { Chain } from '../../chain';
3
3
  export declare const unverifiedWalletAccountSchema: z.ZodMiniObject<{
4
4
  address: z.ZodMiniString<string>;
5
+ addressesWithTypes: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
6
+ address: z.ZodMiniString<string>;
7
+ publicKey: z.ZodMiniOptional<z.ZodMiniString<string>>;
8
+ type: z.ZodMiniCustom<"ordinals" | "payment" | "cosmos" | "evm", "ordinals" | "payment" | "cosmos" | "evm">;
9
+ }, z.core.$strip>>>;
5
10
  chain: z.ZodMiniCustom<Chain, Chain>;
6
11
  id: z.ZodMiniString<string>;
7
12
  lastSelectedAt: z.ZodMiniNullable<z.ZodMiniDate<Date>>;
@@ -1 +1 @@
1
- {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/unverifiedWalletAccounts/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAC;AAE9B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,eAAO,MAAM,6BAA6B;;;;;;iBAMxC,CAAC"}
1
+ {"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../../../../packages/client/src/modules/wallets/unverifiedWalletAccounts/schema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,UAAU,CAAC;AAE9B,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAGzC,eAAO,MAAM,6BAA6B;;;;;;;;;;;iBAexC,CAAC"}
@@ -5,6 +5,8 @@ type SetUnverifiedWalletAccountsParams = {
5
5
  };
6
6
  /**
7
7
  * Updates the unverified wallet account in the client state.
8
+ * This will add new wallet accounts and override those with matching ids,
9
+ * but will leave other preexisting wallet accounts unchanged.
8
10
  */
9
11
  export declare const setUnverifiedWalletAccounts: ({ unverifiedWalletAccountsToUpdate }: SetUnverifiedWalletAccountsParams, client: DynamicClient) => void;
10
12
  export {};
@@ -1 +1 @@
1
- {"version":3,"file":"setUnverifiedWalletAccounts.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/unverifiedWalletAccounts/setUnverifiedWalletAccounts/setUnverifiedWalletAccounts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,KAAK,iCAAiC,GAAG;IACvC,gCAAgC,EAAE,uBAAuB,EAAE,CAAC;CAC7D,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,2BAA2B,yCACA,iCAAiC,UAC/D,aAAa,KACpB,IAqBF,CAAC"}
1
+ {"version":3,"file":"setUnverifiedWalletAccounts.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/unverifiedWalletAccounts/setUnverifiedWalletAccounts/setUnverifiedWalletAccounts.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,mCAAmC,CAAC;AAEjF,KAAK,iCAAiC,GAAG;IACvC,gCAAgC,EAAE,uBAAuB,EAAE,CAAC;CAC7D,CAAC;AAEF;;;;GAIG;AACH,eAAO,MAAM,2BAA2B,yCACA,iCAAiC,UAC/D,aAAa,KACpB,IAyBF,CAAC"}
@@ -1,4 +1,8 @@
1
1
  import type { UnverifiedWalletAccount } from '../../unverifiedWalletAccounts';
2
2
  import type { WalletAccount } from '../../walletAccount';
3
- export declare const convertUnverifiedWalletAccountToWalletAccount: (unverifiedWalletAccount: UnverifiedWalletAccount) => WalletAccount;
3
+ type ConvertUnverifiedWalletAccountToWalletAccountParams = {
4
+ unverifiedWalletAccount: UnverifiedWalletAccount;
5
+ };
6
+ export declare const convertUnverifiedWalletAccountToWalletAccount: ({ unverifiedWalletAccount, }: ConvertUnverifiedWalletAccountToWalletAccountParams) => WalletAccount;
7
+ export {};
4
8
  //# sourceMappingURL=convertUnverifiedWalletAccountToWalletAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"convertUnverifiedWalletAccountToWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/utils/convertUnverifiedWalletAccountToWalletAccount/convertUnverifiedWalletAccountToWalletAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGzD,eAAO,MAAM,6CAA6C,4BAC/B,uBAAuB,KAC/C,aAUD,CAAC"}
1
+ {"version":3,"file":"convertUnverifiedWalletAccountToWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/utils/convertUnverifiedWalletAccountToWalletAccount/convertUnverifiedWalletAccountToWalletAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAC;AAC9E,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAGzD,KAAK,mDAAmD,GAAG;IACzD,uBAAuB,EAAE,uBAAuB,CAAC;CAClD,CAAC;AAEF,eAAO,MAAM,6CAA6C,iCAEvD,mDAAmD,KAAG,aAYvD,CAAC"}
@@ -1,4 +1,9 @@
1
1
  import type { JwtVerifiedCredential } from '@dynamic-labs/sdk-api-core';
2
+ import type { DynamicClient } from '../../../../client/types';
2
3
  import type { WalletAccount } from '../../walletAccount';
3
- export declare const convertVerifiedCredentialToWalletAccount: (verified: JwtVerifiedCredential) => WalletAccount;
4
+ type ConvertVerifiedCredentialToWalletAccountParams = {
5
+ verifiedCredential: JwtVerifiedCredential;
6
+ };
7
+ export declare const convertVerifiedCredentialToWalletAccount: ({ verifiedCredential }: ConvertVerifiedCredentialToWalletAccountParams, client: DynamicClient) => WalletAccount;
8
+ export {};
4
9
  //# sourceMappingURL=convertVerifiedCredentialToWalletAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"convertVerifiedCredentialToWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/utils/convertVerifiedCredentialToWalletAccount/convertVerifiedCredentialToWalletAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAIxE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAIzD,eAAO,MAAM,wCAAwC,aACzC,qBAAqB,KAC9B,aA6BF,CAAC"}
1
+ {"version":3,"file":"convertVerifiedCredentialToWalletAccount.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/utils/convertVerifiedCredentialToWalletAccount/convertVerifiedCredentialToWalletAccount.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAExE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAG9D,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAIzD,KAAK,8CAA8C,GAAG;IACpD,kBAAkB,EAAE,qBAAqB,CAAC;CAC3C,CAAC;AAEF,eAAO,MAAM,wCAAwC,2BAC3B,8CAA8C,UAC9D,aAAa,KACpB,aAkCF,CAAC"}
@@ -1,16 +1,18 @@
1
- /**
2
- * Formats a sign in message to prove ownership of an address.
3
- */
4
- export declare const formatSignInMessage: ({ domain, blockchainName, address, uri, chainId, nonce, issuedAt, requestId, statement, resources, }: {
1
+ type FormatSignInMessageParams = {
5
2
  address: string;
6
3
  blockchainName: string;
7
4
  chainId?: string;
8
5
  domain: string;
9
- issuedAt: string;
6
+ issuedAt?: string;
10
7
  nonce: string;
11
- requestId: string;
8
+ requestId?: string;
12
9
  resources?: string[];
13
10
  statement?: string;
14
11
  uri: string;
15
- }) => Promise<string>;
12
+ };
13
+ /**
14
+ * Formats a sign in message to prove ownership of an address.
15
+ */
16
+ export declare const formatSignInMessage: ({ domain, blockchainName, address, uri, chainId, nonce, issuedAt, requestId, statement, resources, }: FormatSignInMessageParams) => Promise<string>;
17
+ export {};
16
18
  //# sourceMappingURL=formatSignInMessage.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"formatSignInMessage.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/utils/formatSignInMessage/formatSignInMessage.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,eAAO,MAAM,mBAAmB,yGAW7B;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;CACb,oBAsCA,CAAC"}
1
+ {"version":3,"file":"formatSignInMessage.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/utils/formatSignInMessage/formatSignInMessage.ts"],"names":[],"mappings":"AAAA,KAAK,yBAAyB,GAAG;IAC/B,OAAO,EAAE,MAAM,CAAC;IAChB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,mBAAmB,yGAW7B,yBAAyB,oBAyC3B,CAAC"}
@@ -0,0 +1,9 @@
1
+ import type { Chain } from '../../../chain';
2
+ type CreateWalletAccountIdParams = {
3
+ address: string;
4
+ chain: Chain;
5
+ walletProviderKey: string;
6
+ };
7
+ export declare const formatWalletAccountId: ({ address, chain, walletProviderKey, }: CreateWalletAccountIdParams) => string;
8
+ export {};
9
+ //# sourceMappingURL=formatWalletAccountId.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatWalletAccountId.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/utils/formatWalletAccountId/formatWalletAccountId.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAI5C,KAAK,2BAA2B,GAAG;IACjC,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,KAAK,CAAC;IACb,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,eAAO,MAAM,qBAAqB,2CAI/B,2BAA2B,KAAG,MAOhC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { formatWalletAccountId } from './formatWalletAccountId';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/utils/formatWalletAccountId/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC"}
@@ -1,6 +1,21 @@
1
+ import type { WalletProviderEnum } from '@dynamic-labs/sdk-api-core';
1
2
  import type { Chain } from '../../../chain';
3
+ type FormatWalletProviderKeyParams = {
4
+ chain: Chain;
5
+ displayName: string;
6
+ suffix?: string;
7
+ walletProviderType: WalletProviderEnum;
8
+ };
2
9
  /**
3
- * Format the wallet name and chain to get a wallet provider key.
10
+ * Assembles the wallet provider key from the wallet name, chain, and wallet provider type.
11
+ *
12
+ * The suffix is optional and can be used to add a uniquely identifying string to the key, which
13
+ * might be necessary for some wallet providers (like Wallet Connect).
14
+ *
15
+ * IMPORTANT: Do NOT add a suffix unless absolutely necessary, as it will cause the wallet account
16
+ * to not be able to find its wallet provider when connecting to a new device (it won't be possible
17
+ * to determine the full key just from the Verified Credential data).
4
18
  */
5
- export declare const formatWalletProviderKey: (walletName: string, chain: Chain) => string;
19
+ export declare const formatWalletProviderKey: ({ suffix, chain, displayName, walletProviderType, }: FormatWalletProviderKeyParams) => string;
20
+ export {};
6
21
  //# sourceMappingURL=formatWalletProviderKey.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"formatWalletProviderKey.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAE5C;;GAEG;AACH,eAAO,MAAM,uBAAuB,eACtB,MAAM,SACX,KAAK,KACX,MAMF,CAAC"}
1
+ {"version":3,"file":"formatWalletProviderKey.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/utils/formatWalletProviderKey/formatWalletProviderKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAErE,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAG5C,KAAK,6BAA6B,GAAG;IACnC,KAAK,EAAE,KAAK,CAAC;IACb,WAAW,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,kBAAkB,EAAE,kBAAkB,CAAC;CACxC,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,uBAAuB,wDAKjC,6BAA6B,WAS/B,CAAC"}
@@ -0,0 +1,4 @@
1
+ import type { WalletAddressWithType } from '../../walletAccount/walletAccount.types';
2
+ import type { WalletProviderConnectResult } from '../../walletProvider/walletProvider.types';
3
+ export declare const getAddressesWithTypesFromConnectionResult: (connectionResult: WalletProviderConnectResult) => WalletAddressWithType[];
4
+ //# sourceMappingURL=getAddressesWithTypesFromConnectionResult.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getAddressesWithTypesFromConnectionResult.d.ts","sourceRoot":"","sources":["../../../../../../../../packages/client/src/modules/wallets/utils/getAddressesWithTypesFromConnectionResult/getAddressesWithTypesFromConnectionResult.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,yCAAyC,CAAC;AACrF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,2CAA2C,CAAC;AAE7F,eAAO,MAAM,yCAAyC,qBAClC,2BAA2B,KAC5C,qBAAqB,EAKvB,CAAC"}