@dynamic-labs-sdk/client 1.3.0 → 1.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (225) hide show
  1. package/dist/{InvalidParamError-DQvZQdQ9.cjs → InvalidParamError-DKJhDrK8.cjs} +1056 -110
  2. package/dist/InvalidParamError-DKJhDrK8.cjs.map +1 -0
  3. package/dist/{InvalidParamError-Za4cvW7K.esm.js → InvalidParamError-DWjMfOZ5.esm.js} +852 -95
  4. package/dist/InvalidParamError-DWjMfOZ5.esm.js.map +1 -0
  5. package/dist/{InvalidParamError-9kQBK3sP.native.esm.js → InvalidParamError-DkAMYJOW.native.esm.js} +885 -95
  6. package/dist/InvalidParamError-DkAMYJOW.native.esm.js.map +1 -0
  7. package/dist/{NotWaasWalletAccountError-By3Y4taq.esm.js → NotWaasWalletAccountError-BVrvQzLz.native.esm.js} +7 -5
  8. package/dist/NotWaasWalletAccountError-BVrvQzLz.native.esm.js.map +1 -0
  9. package/dist/{NotWaasWalletAccountError-BTMvHTA8.native.esm.js → NotWaasWalletAccountError-C7NUlvvM.esm.js} +7 -5
  10. package/dist/NotWaasWalletAccountError-C7NUlvvM.esm.js.map +1 -0
  11. package/dist/{NotWaasWalletAccountError-Ciq7b-Y6.cjs → NotWaasWalletAccountError-CHzpa9kk.cjs} +7 -5
  12. package/dist/NotWaasWalletAccountError-CHzpa9kk.cjs.map +1 -0
  13. package/dist/core.cjs +46 -23
  14. package/dist/core.cjs.map +1 -1
  15. package/dist/core.esm.js +29 -8
  16. package/dist/core.esm.js.map +1 -1
  17. package/dist/core.native.esm.js +27 -6
  18. package/dist/core.native.esm.js.map +1 -1
  19. package/dist/exports/core.d.ts +6 -0
  20. package/dist/exports/core.d.ts.map +1 -1
  21. package/dist/exports/index.d.ts +14 -1
  22. package/dist/exports/index.d.ts.map +1 -1
  23. package/dist/{getNetworkProviderFromNetworkId-BA0CHZzu.cjs → getNetworkProviderFromNetworkId-BJ27N-7S.cjs} +113 -348
  24. package/dist/getNetworkProviderFromNetworkId-BJ27N-7S.cjs.map +1 -0
  25. package/dist/{getNetworkProviderFromNetworkId-COptFPwJ.native.esm.js → getNetworkProviderFromNetworkId-Bs1kQdWk.native.esm.js} +106 -311
  26. package/dist/getNetworkProviderFromNetworkId-Bs1kQdWk.native.esm.js.map +1 -0
  27. package/dist/{getNetworkProviderFromNetworkId-RWcIZDgC.esm.js → getNetworkProviderFromNetworkId-Cqp9eRSs.esm.js} +110 -282
  28. package/dist/getNetworkProviderFromNetworkId-Cqp9eRSs.esm.js.map +1 -0
  29. package/dist/{getSignedSessionId-la6RXITX.esm.js → getSignedSessionId-CDdKrnw6.esm.js} +3 -3
  30. package/dist/{getSignedSessionId-la6RXITX.esm.js.map → getSignedSessionId-CDdKrnw6.esm.js.map} +1 -1
  31. package/dist/{getSignedSessionId-BCU987hO.cjs → getSignedSessionId-CHDHr-hY.cjs} +3 -3
  32. package/dist/{getSignedSessionId-BCU987hO.cjs.map → getSignedSessionId-CHDHr-hY.cjs.map} +1 -1
  33. package/dist/{getSignedSessionId-DzNCj6g_.native.esm.js → getSignedSessionId-D3KQrN8W.native.esm.js} +3 -3
  34. package/dist/{getSignedSessionId-DzNCj6g_.native.esm.js.map → getSignedSessionId-D3KQrN8W.native.esm.js.map} +1 -1
  35. package/dist/getVerifiedCredentialForWalletAccount-BuUCX040.esm.js +269 -0
  36. package/dist/getVerifiedCredentialForWalletAccount-BuUCX040.esm.js.map +1 -0
  37. package/dist/getVerifiedCredentialForWalletAccount-Ciac5d5L.native.esm.js +269 -0
  38. package/dist/getVerifiedCredentialForWalletAccount-Ciac5d5L.native.esm.js.map +1 -0
  39. package/dist/getVerifiedCredentialForWalletAccount-gCx0smU8.cjs +346 -0
  40. package/dist/getVerifiedCredentialForWalletAccount-gCx0smU8.cjs.map +1 -0
  41. package/dist/index.cjs +754 -319
  42. package/dist/index.cjs.map +1 -1
  43. package/dist/index.esm.js +687 -260
  44. package/dist/index.esm.js.map +1 -1
  45. package/dist/index.native.esm.js +684 -257
  46. package/dist/index.native.esm.js.map +1 -1
  47. package/dist/{isMfaRequiredForAction-C1u4Z__n.esm.js → isMfaRequiredForAction-B0xNvBpU.native.esm.js} +5 -3
  48. package/dist/isMfaRequiredForAction-B0xNvBpU.native.esm.js.map +1 -0
  49. package/dist/{isMfaRequiredForAction-CMClgbT0.cjs → isMfaRequiredForAction-CLMvTTwl.cjs} +5 -3
  50. package/dist/isMfaRequiredForAction-CLMvTTwl.cjs.map +1 -0
  51. package/dist/{isMfaRequiredForAction-DSX-TV2z.native.esm.js → isMfaRequiredForAction-C_QPI1LH.esm.js} +5 -3
  52. package/dist/isMfaRequiredForAction-C_QPI1LH.esm.js.map +1 -0
  53. package/dist/modules/apiClient/apiClient.types.d.ts +12 -0
  54. package/dist/modules/apiClient/apiClient.types.d.ts.map +1 -1
  55. package/dist/modules/apiClient/createApiClient.d.ts.map +1 -1
  56. package/dist/modules/apiClient/utils/sessionExpiryLogoutMiddleware/createSessionExpiryLogoutMiddleware.d.ts +27 -0
  57. package/dist/modules/apiClient/utils/sessionExpiryLogoutMiddleware/createSessionExpiryLogoutMiddleware.d.ts.map +1 -0
  58. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts +1 -0
  59. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts.map +1 -1
  60. package/dist/modules/auth/isSignedIn/isSignedIn.d.ts +11 -1
  61. package/dist/modules/auth/isSignedIn/isSignedIn.d.ts.map +1 -1
  62. package/dist/modules/auth/logoutReason.d.ts +1 -1
  63. package/dist/modules/auth/logoutReason.d.ts.map +1 -1
  64. package/dist/modules/auth/logoutWithReason/logoutWithReason.d.ts.map +1 -1
  65. package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts +2 -1
  66. package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts.map +1 -1
  67. package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts +1 -0
  68. package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts.map +1 -1
  69. package/dist/modules/auth/social/oauth/unlinkSocialAccount/unlinkSocialAccount.d.ts +2 -1
  70. package/dist/modules/auth/social/oauth/unlinkSocialAccount/unlinkSocialAccount.d.ts.map +1 -1
  71. package/dist/modules/balances/getBalances/getBalances.d.ts +9 -45
  72. package/dist/modules/balances/getBalances/getBalances.d.ts.map +1 -1
  73. package/dist/modules/balances/getMultichainBalances/getMultichainBalances.d.ts +13 -20
  74. package/dist/modules/balances/getMultichainBalances/getMultichainBalances.d.ts.map +1 -1
  75. package/dist/modules/balances/getMultichainTokenBalances/getMultichainTokenBalances.d.ts +26 -0
  76. package/dist/modules/balances/getMultichainTokenBalances/getMultichainTokenBalances.d.ts.map +1 -0
  77. package/dist/modules/balances/getMultichainTokenBalances/index.d.ts +2 -0
  78. package/dist/modules/balances/getMultichainTokenBalances/index.d.ts.map +1 -0
  79. package/dist/modules/balances/getTokenBalances/getTokenBalances.d.ts +56 -0
  80. package/dist/modules/balances/getTokenBalances/getTokenBalances.d.ts.map +1 -0
  81. package/dist/modules/balances/getTokenBalances/index.d.ts +3 -0
  82. package/dist/modules/balances/getTokenBalances/index.d.ts.map +1 -0
  83. package/dist/modules/captcha/setCaptchaToken/setCaptchaToken.d.ts +2 -1
  84. package/dist/modules/captcha/setCaptchaToken/setCaptchaToken.d.ts.map +1 -1
  85. package/dist/modules/checkout/attachCheckoutTransactionSource/attachCheckoutTransactionSource.d.ts.map +1 -1
  86. package/dist/modules/checkout/broadcastCheckoutTransaction/broadcastCheckoutTransaction.d.ts +1 -1
  87. package/dist/modules/checkout/broadcastCheckoutTransaction/broadcastCheckoutTransaction.d.ts.map +1 -1
  88. package/dist/modules/checkout/cancelCheckoutTransaction/cancelCheckoutTransaction.d.ts +1 -1
  89. package/dist/modules/checkout/cancelCheckoutTransaction/cancelCheckoutTransaction.d.ts.map +1 -1
  90. package/dist/modules/checkout/getCheckoutTransactionQuote/getCheckoutTransactionQuote.d.ts.map +1 -1
  91. package/dist/modules/checkout/prepareCheckoutTransaction/prepareCheckoutTransaction.d.ts.map +1 -1
  92. package/dist/modules/checkout/utils/clearCheckoutSessionToken/clearCheckoutSessionToken.d.ts +22 -0
  93. package/dist/modules/checkout/utils/clearCheckoutSessionToken/clearCheckoutSessionToken.d.ts.map +1 -0
  94. package/dist/modules/checkout/utils/clearCheckoutSessionToken/index.d.ts +3 -0
  95. package/dist/modules/checkout/utils/clearCheckoutSessionToken/index.d.ts.map +1 -0
  96. package/dist/modules/checkout/utils/subscribeToCheckoutTransaction/subscribeToCheckoutTransaction.d.ts.map +1 -1
  97. package/dist/modules/checkout/utils/withCheckoutSessionTokenCleanupOn401/index.d.ts +3 -0
  98. package/dist/modules/checkout/utils/withCheckoutSessionTokenCleanupOn401/index.d.ts.map +1 -0
  99. package/dist/modules/checkout/utils/withCheckoutSessionTokenCleanupOn401/withCheckoutSessionTokenCleanupOn401.d.ts +16 -0
  100. package/dist/modules/checkout/utils/withCheckoutSessionTokenCleanupOn401/withCheckoutSessionTokenCleanupOn401.d.ts.map +1 -0
  101. package/dist/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.d.ts.map +1 -1
  102. package/dist/modules/funding/moonpay/errors/MoonPayCurrenciesFetchError.d.ts +5 -0
  103. package/dist/modules/funding/moonpay/errors/MoonPayCurrenciesFetchError.d.ts.map +1 -0
  104. package/dist/modules/funding/moonpay/errors/MoonPayInvalidUrlError.d.ts +5 -0
  105. package/dist/modules/funding/moonpay/errors/MoonPayInvalidUrlError.d.ts.map +1 -0
  106. package/dist/modules/funding/moonpay/errors/MoonPayProviderNotAvailableError.d.ts +5 -0
  107. package/dist/modules/funding/moonpay/errors/MoonPayProviderNotAvailableError.d.ts.map +1 -0
  108. package/dist/modules/funding/moonpay/getMoonPayCurrencies/getMoonPayCurrencies.d.ts +14 -0
  109. package/dist/modules/funding/moonpay/getMoonPayCurrencies/getMoonPayCurrencies.d.ts.map +1 -0
  110. package/dist/modules/funding/moonpay/getMoonPayCurrencies/index.d.ts +2 -0
  111. package/dist/modules/funding/moonpay/getMoonPayCurrencies/index.d.ts.map +1 -0
  112. package/dist/modules/funding/moonpay/getMoonPayUrl/getMoonPayUrl.d.ts +15 -0
  113. package/dist/modules/funding/moonpay/getMoonPayUrl/getMoonPayUrl.d.ts.map +1 -0
  114. package/dist/modules/funding/moonpay/getMoonPayUrl/index.d.ts +2 -0
  115. package/dist/modules/funding/moonpay/getMoonPayUrl/index.d.ts.map +1 -0
  116. package/dist/modules/funding/moonpay/moonpay.types.d.ts +26 -0
  117. package/dist/modules/funding/moonpay/moonpay.types.d.ts.map +1 -0
  118. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getChainFromWalletSchema/getChainFromWalletSchema.d.ts +12 -0
  119. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getChainFromWalletSchema/getChainFromWalletSchema.d.ts.map +1 -1
  120. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getChainsFromWalletSchema/getChainsFromWalletSchema.d.ts +26 -0
  121. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/getChainsFromWalletSchema/getChainsFromWalletSchema.d.ts.map +1 -0
  122. package/dist/modules/legacyWalletBook/hasUsableDeeplink/hasUsableDeeplink.d.ts +18 -0
  123. package/dist/modules/legacyWalletBook/hasUsableDeeplink/hasUsableDeeplink.d.ts.map +1 -0
  124. package/dist/modules/legacyWalletBook/legacyWalletBook.types.d.ts +2 -2
  125. package/dist/modules/legacyWalletBook/legacyWalletBook.types.d.ts.map +1 -1
  126. package/dist/modules/mfa/consumeMfaToken/consumeMfaToken.d.ts +2 -1
  127. package/dist/modules/mfa/consumeMfaToken/consumeMfaToken.d.ts.map +1 -1
  128. package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts +2 -1
  129. package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts.map +1 -1
  130. package/dist/modules/otp/verifyOTP/verifyOTP.d.ts +2 -1
  131. package/dist/modules/otp/verifyOTP/verifyOTP.d.ts.map +1 -1
  132. package/dist/modules/swap/executeSwapTransaction/executeSwapTransaction.d.ts +13 -1
  133. package/dist/modules/swap/executeSwapTransaction/executeSwapTransaction.d.ts.map +1 -1
  134. package/dist/modules/user/refreshAuth/refreshAuth.d.ts +2 -1
  135. package/dist/modules/user/refreshAuth/refreshAuth.d.ts.map +1 -1
  136. package/dist/modules/walletOptionsCatalogue/buildMetaMaskSdkUriOptions/buildMetaMaskSdkUriOptions.d.ts +27 -0
  137. package/dist/modules/walletOptionsCatalogue/buildMetaMaskSdkUriOptions/buildMetaMaskSdkUriOptions.d.ts.map +1 -0
  138. package/dist/modules/walletOptionsCatalogue/buildWalletConnectOptions/buildWalletConnectOptions.d.ts +8 -5
  139. package/dist/modules/walletOptionsCatalogue/buildWalletConnectOptions/buildWalletConnectOptions.d.ts.map +1 -1
  140. package/dist/modules/walletOptionsCatalogue/buildWalletOption/buildWalletOption.d.ts +11 -4
  141. package/dist/modules/walletOptionsCatalogue/buildWalletOption/buildWalletOption.d.ts.map +1 -1
  142. package/dist/modules/walletOptionsCatalogue/buildWithWalletProviderOptions/buildWithWalletProviderOptions.d.ts.map +1 -1
  143. package/dist/modules/walletOptionsCatalogue/getConnectionOptionPriority/getConnectionOptionPriority.d.ts.map +1 -1
  144. package/dist/modules/walletOptionsCatalogue/getInstallationLinkForCurrentPlatform/getInstallationLinkForCurrentPlatform.d.ts +35 -0
  145. package/dist/modules/walletOptionsCatalogue/getInstallationLinkForCurrentPlatform/getInstallationLinkForCurrentPlatform.d.ts.map +1 -0
  146. package/dist/modules/walletOptionsCatalogue/getInstallationLinkForCurrentPlatform/index.d.ts +2 -0
  147. package/dist/modules/walletOptionsCatalogue/getInstallationLinkForCurrentPlatform/index.d.ts.map +1 -0
  148. package/dist/modules/walletOptionsCatalogue/getWalletOptionsCatalogue/getWalletOptionsCatalogue.d.ts +9 -14
  149. package/dist/modules/walletOptionsCatalogue/getWalletOptionsCatalogue/getWalletOptionsCatalogue.d.ts.map +1 -1
  150. package/dist/modules/walletOptionsCatalogue/resolveWalletBookWalletOptionKey/resolveWalletBookWalletOptionKey.d.ts +1 -1
  151. package/dist/modules/walletOptionsCatalogue/sortConnectionOptions/sortConnectionOptions.d.ts +1 -1
  152. package/dist/modules/walletOptionsCatalogue/sortWalletOptions/sortWalletOptions.d.ts +1 -1
  153. package/dist/modules/walletOptionsCatalogue/walletOptionsCatalogue.types.d.ts +34 -35
  154. package/dist/modules/walletOptionsCatalogue/walletOptionsCatalogue.types.d.ts.map +1 -1
  155. package/dist/modules/wallets/connectWithWalletProvider/connectWithWalletProvider.d.ts +1 -1
  156. package/dist/modules/wallets/connectWithWalletProvider/connectWithWalletProvider.d.ts.map +1 -1
  157. package/dist/modules/wallets/constants.d.ts +7 -0
  158. package/dist/modules/wallets/constants.d.ts.map +1 -1
  159. package/dist/modules/wallets/getAvailableWalletProvidersData/getAvailableWalletProvidersData.d.ts.map +1 -1
  160. package/dist/modules/wallets/hasWalletProviderConnectMethod/hasWalletProviderConnectMethod.d.ts +26 -0
  161. package/dist/modules/wallets/hasWalletProviderConnectMethod/hasWalletProviderConnectMethod.d.ts.map +1 -0
  162. package/dist/modules/wallets/hasWalletProviderConnectMethod/index.d.ts +2 -0
  163. package/dist/modules/wallets/hasWalletProviderConnectMethod/index.d.ts.map +1 -0
  164. package/dist/modules/wallets/isAnyWalletAccountConnected/index.d.ts +2 -0
  165. package/dist/modules/wallets/isAnyWalletAccountConnected/index.d.ts.map +1 -0
  166. package/dist/modules/wallets/isAnyWalletAccountConnected/isAnyWalletAccountConnected.d.ts +14 -0
  167. package/dist/modules/wallets/isAnyWalletAccountConnected/isAnyWalletAccountConnected.d.ts.map +1 -0
  168. package/dist/modules/wallets/networks/getBalance/getBalance.d.ts +6 -17
  169. package/dist/modules/wallets/networks/getBalance/getBalance.d.ts.map +1 -1
  170. package/dist/modules/wallets/networks/getNativeBalance/getNativeBalance.d.ts +24 -0
  171. package/dist/modules/wallets/networks/getNativeBalance/getNativeBalance.d.ts.map +1 -0
  172. package/dist/modules/wallets/networks/getNativeBalance/index.d.ts +2 -0
  173. package/dist/modules/wallets/networks/getNativeBalance/index.d.ts.map +1 -0
  174. package/dist/modules/wallets/reconcileWalletAccountsAgainstClient/index.d.ts +2 -0
  175. package/dist/modules/wallets/reconcileWalletAccountsAgainstClient/index.d.ts.map +1 -0
  176. package/dist/modules/wallets/reconcileWalletAccountsAgainstClient/reconcileWalletAccountsAgainstClient.d.ts +25 -0
  177. package/dist/modules/wallets/reconcileWalletAccountsAgainstClient/reconcileWalletAccountsAgainstClient.d.ts.map +1 -0
  178. package/dist/modules/wallets/walletProvider/walletProvider.types.d.ts +10 -0
  179. package/dist/modules/wallets/walletProvider/walletProvider.types.d.ts.map +1 -1
  180. package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts.map +1 -1
  181. package/dist/services/instrumentation/constants.d.ts +22 -0
  182. package/dist/services/instrumentation/constants.d.ts.map +1 -1
  183. package/dist/services/instrumentation/scrubParameters/scrubParameters.d.ts.map +1 -1
  184. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  185. package/dist/utils/appendConnectionUriToDeeplink/appendConnectionUriToDeeplink.d.ts +29 -0
  186. package/dist/utils/appendConnectionUriToDeeplink/appendConnectionUriToDeeplink.d.ts.map +1 -0
  187. package/dist/utils/appendConnectionUriToDeeplink/index.d.ts +2 -0
  188. package/dist/utils/appendConnectionUriToDeeplink/index.d.ts.map +1 -0
  189. package/dist/utils/getChainFromWalletBookIdentifier/getChainFromWalletBookIdentifier.d.ts +22 -0
  190. package/dist/utils/getChainFromWalletBookIdentifier/getChainFromWalletBookIdentifier.d.ts.map +1 -0
  191. package/dist/utils/getChainFromWalletBookIdentifier/index.d.ts +2 -0
  192. package/dist/utils/getChainFromWalletBookIdentifier/index.d.ts.map +1 -0
  193. package/dist/utils/getNativeLinkScheme/getNativeLinkScheme.d.ts +18 -0
  194. package/dist/utils/getNativeLinkScheme/getNativeLinkScheme.d.ts.map +1 -0
  195. package/dist/utils/getNativeLinkScheme/index.d.ts +3 -0
  196. package/dist/utils/getNativeLinkScheme/index.d.ts.map +1 -0
  197. package/dist/utils/isMobile/isMobile.d.ts +8 -0
  198. package/dist/utils/isMobile/isMobile.d.ts.map +1 -1
  199. package/dist/waas.cjs +8 -9
  200. package/dist/waas.cjs.map +1 -1
  201. package/dist/waas.esm.js +3 -3
  202. package/dist/waas.native.esm.js +3 -3
  203. package/dist/waasCore.cjs +3 -4
  204. package/dist/waasCore.cjs.map +1 -1
  205. package/dist/waasCore.esm.js +3 -3
  206. package/dist/waasCore.native.esm.js +3 -3
  207. package/package.json +4 -4
  208. package/dist/InvalidParamError-9kQBK3sP.native.esm.js.map +0 -1
  209. package/dist/InvalidParamError-DQvZQdQ9.cjs.map +0 -1
  210. package/dist/InvalidParamError-Za4cvW7K.esm.js.map +0 -1
  211. package/dist/NotWaasWalletAccountError-BTMvHTA8.native.esm.js.map +0 -1
  212. package/dist/NotWaasWalletAccountError-By3Y4taq.esm.js.map +0 -1
  213. package/dist/NotWaasWalletAccountError-Ciq7b-Y6.cjs.map +0 -1
  214. package/dist/getNetworkProviderFromNetworkId-BA0CHZzu.cjs.map +0 -1
  215. package/dist/getNetworkProviderFromNetworkId-COptFPwJ.native.esm.js.map +0 -1
  216. package/dist/getNetworkProviderFromNetworkId-RWcIZDgC.esm.js.map +0 -1
  217. package/dist/getVerifiedCredentialForWalletAccount-DKJcLLHq.native.esm.js +0 -701
  218. package/dist/getVerifiedCredentialForWalletAccount-DKJcLLHq.native.esm.js.map +0 -1
  219. package/dist/getVerifiedCredentialForWalletAccount-DSSDwOyq.cjs +0 -887
  220. package/dist/getVerifiedCredentialForWalletAccount-DSSDwOyq.cjs.map +0 -1
  221. package/dist/getVerifiedCredentialForWalletAccount-Ozctwnyv.esm.js +0 -701
  222. package/dist/getVerifiedCredentialForWalletAccount-Ozctwnyv.esm.js.map +0 -1
  223. package/dist/isMfaRequiredForAction-C1u4Z__n.esm.js.map +0 -1
  224. package/dist/isMfaRequiredForAction-CMClgbT0.cjs.map +0 -1
  225. package/dist/isMfaRequiredForAction-DSX-TV2z.native.esm.js.map +0 -1
@@ -0,0 +1,22 @@
1
+ import type { DynamicClient } from '../../../../client/types';
2
+ export type ClearCheckoutSessionTokenParams = {
3
+ transactionId: string;
4
+ };
5
+ /**
6
+ * Removes the locally stored checkout session token for the given transaction.
7
+ *
8
+ * The checkout session token is the anonymous credential that authorizes
9
+ * mutations to a single in-flight checkout transaction. Once the transaction
10
+ * has reached a terminal state (cancelled, expired, failed, completed) it can
11
+ * no longer be advanced, and the token is dead weight that should not be
12
+ * persisted in browser storage — leaving it around lets a later XSS payload
13
+ * exfiltrate a credential with no further use, and it can also confuse the
14
+ * SDK on subsequent loads into believing an active session exists.
15
+ *
16
+ * The server-side revocation lives in dashboard-api; this is the SDK-side
17
+ * defense-in-depth.
18
+ *
19
+ * @not-instrumented
20
+ */
21
+ export declare const clearCheckoutSessionToken: ({ transactionId }: ClearCheckoutSessionTokenParams, client: DynamicClient) => Promise<void>;
22
+ //# sourceMappingURL=clearCheckoutSessionToken.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clearCheckoutSessionToken.d.ts","sourceRoot":"","sources":["../../../../../src/modules/checkout/utils/clearCheckoutSessionToken/clearCheckoutSessionToken.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAG9D,MAAM,MAAM,+BAA+B,GAAG;IAC5C,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,yBAAyB,sBACjB,+BAA+B,UAC1C,aAAa,KACpB,OAAO,CAAC,IAAI,CAMd,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { clearCheckoutSessionToken } from './clearCheckoutSessionToken';
2
+ export type { ClearCheckoutSessionTokenParams } from './clearCheckoutSessionToken';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/checkout/utils/clearCheckoutSessionToken/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AACxE,YAAY,EAAE,+BAA+B,EAAE,MAAM,6BAA6B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"subscribeToCheckoutTransaction.d.ts","sourceRoot":"","sources":["../../../../../src/modules/checkout/utils/subscribeToCheckoutTransaction/subscribeToCheckoutTransaction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAO9D,OAAO,cAAc,CAAC;AAgBtB,MAAM,MAAM,oCAAoC,GAAG;IACjD,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;;;;GAOG;AAEH,eAAO,MAAM,8BAA8B,sBACtB,oCAAoC,UAC/C,aAAa,KACpB,OAAO,CAAC,IAAI,CA4Dd,CAAC"}
1
+ {"version":3,"file":"subscribeToCheckoutTransaction.d.ts","sourceRoot":"","sources":["../../../../../src/modules/checkout/utils/subscribeToCheckoutTransaction/subscribeToCheckoutTransaction.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAO9D,OAAO,cAAc,CAAC;AAmBtB,MAAM,MAAM,oCAAoC,GAAG;IACjD,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;;;;GAOG;AAEH,eAAO,MAAM,8BAA8B,sBACtB,oCAAoC,UAC/C,aAAa,KACpB,OAAO,CAAC,IAAI,CAyEd,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { withCheckoutSessionTokenCleanupOn401 } from './withCheckoutSessionTokenCleanupOn401';
2
+ export type { WithCheckoutSessionTokenCleanupOn401Params } from './withCheckoutSessionTokenCleanupOn401';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/checkout/utils/withCheckoutSessionTokenCleanupOn401/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oCAAoC,EAAE,MAAM,wCAAwC,CAAC;AAC9F,YAAY,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC"}
@@ -0,0 +1,16 @@
1
+ import type { DynamicClient } from '../../../../client/types';
2
+ export type WithCheckoutSessionTokenCleanupOn401Params<T> = {
3
+ call: () => Promise<T>;
4
+ transactionId: string;
5
+ };
6
+ /**
7
+ * Checkout mutation routes are guarded server-side only by session-token
8
+ * validation, so a 401 means the token is dead (revoked, expired, deleted,
9
+ * or invalid). Leaving a dead token in `localStorage` widens the XSS
10
+ * exfiltration surface for no benefit and makes the next SDK load attempt
11
+ * requests that are guaranteed to fail.
12
+ *
13
+ * @not-instrumented
14
+ */
15
+ export declare const withCheckoutSessionTokenCleanupOn401: <T>({ call, transactionId }: WithCheckoutSessionTokenCleanupOn401Params<T>, client: DynamicClient) => Promise<T>;
16
+ //# sourceMappingURL=withCheckoutSessionTokenCleanupOn401.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"withCheckoutSessionTokenCleanupOn401.d.ts","sourceRoot":"","sources":["../../../../../src/modules/checkout/utils/withCheckoutSessionTokenCleanupOn401/withCheckoutSessionTokenCleanupOn401.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAG9D,MAAM,MAAM,0CAA0C,CAAC,CAAC,IAAI;IAC1D,IAAI,EAAE,MAAM,OAAO,CAAC,CAAC,CAAC,CAAC;IACvB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,oCAAoC,GAAU,CAAC,2BACjC,0CAA0C,CAAC,CAAC,CAAC,UAC9D,aAAa,KACpB,OAAO,CAAC,CAAC,CAgBX,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getRegisteredDevices.d.ts","sourceRoot":"","sources":["../../../../src/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAO7E,wBAAwB;AACxB,eAAO,MAAM,oBAAoB,yDAE9B,OAAO,CAAC,0BAA0B,EAAE,CAqBtC,CAAC"}
1
+ {"version":3,"file":"getRegisteredDevices.d.ts","sourceRoot":"","sources":["../../../../src/modules/deviceRegistration/getRegisteredDevices/getRegisteredDevices.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,4BAA4B,CAAC;AAO7E,wBAAwB;AACxB,eAAO,MAAM,oBAAoB,yDAE9B,OAAO,CAAC,0BAA0B,EAAE,CAuBtC,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { BaseError } from '../../../../errors/base';
2
+ export declare class MoonPayCurrenciesFetchError extends BaseError {
3
+ constructor();
4
+ }
5
+ //# sourceMappingURL=MoonPayCurrenciesFetchError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MoonPayCurrenciesFetchError.d.ts","sourceRoot":"","sources":["../../../../../src/modules/funding/moonpay/errors/MoonPayCurrenciesFetchError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,qBAAa,2BAA4B,SAAQ,SAAS;;CAUzD"}
@@ -0,0 +1,5 @@
1
+ import { BaseError } from '../../../../errors/base';
2
+ export declare class MoonPayInvalidUrlError extends BaseError {
3
+ constructor();
4
+ }
5
+ //# sourceMappingURL=MoonPayInvalidUrlError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MoonPayInvalidUrlError.d.ts","sourceRoot":"","sources":["../../../../../src/modules/funding/moonpay/errors/MoonPayInvalidUrlError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,qBAAa,sBAAuB,SAAQ,SAAS;;CAWpD"}
@@ -0,0 +1,5 @@
1
+ import { BaseError } from '../../../../errors/base';
2
+ export declare class MoonPayProviderNotAvailableError extends BaseError {
3
+ constructor();
4
+ }
5
+ //# sourceMappingURL=MoonPayProviderNotAvailableError.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MoonPayProviderNotAvailableError.d.ts","sourceRoot":"","sources":["../../../../../src/modules/funding/moonpay/errors/MoonPayProviderNotAvailableError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAEpD,qBAAa,gCAAiC,SAAQ,SAAS;;CAW9D"}
@@ -0,0 +1,14 @@
1
+ import type { DynamicClient } from '../../../../client/types';
2
+ import type { GetMoonPayCurrenciesParams, MoonPayCurrency } from '../moonpay.types';
3
+ /**
4
+ * Fetches the list of crypto currencies supported by MoonPay for the given chain
5
+ * and network, filtered to active currencies only. Requires a MoonPay publishable
6
+ * API key to be configured for the environment.
7
+ *
8
+ * @param params - The chain and optional network ID to filter currencies by.
9
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
10
+ * @returns An array of supported MoonPay currencies.
11
+ * @instrumented
12
+ */
13
+ export declare const getMoonPayCurrencies: (params: GetMoonPayCurrenciesParams, client?: DynamicClient) => Promise<MoonPayCurrency[]>;
14
+ //# sourceMappingURL=getMoonPayCurrencies.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMoonPayCurrencies.d.ts","sourceRoot":"","sources":["../../../../../src/modules/funding/moonpay/getMoonPayCurrencies/getMoonPayCurrencies.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAE9D,OAAO,KAAK,EAAE,0BAA0B,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAEpF;;;;;;;;;GASG;AACH,eAAO,MAAM,oBAAoB,WACvB,0BAA0B,WAC1B,aAAa,KACpB,OAAO,CAAC,eAAe,EAAE,CAa3B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { getMoonPayCurrencies } from './getMoonPayCurrencies';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/funding/moonpay/getMoonPayCurrencies/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { DynamicClient } from '../../../../client/types';
2
+ import type { GetMoonPayUrlParams } from '../moonpay.types';
3
+ /**
4
+ * Returns the signed MoonPay URL for the given wallet and token.
5
+ *
6
+ * Uses the Dynamic onramp API to retrieve the pre-signed URL that can be
7
+ * opened in a browser tab to allow the user to purchase crypto via MoonPay.
8
+ *
9
+ * @param params - Parameters including chain, wallet address, and optional token/currency filters.
10
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
11
+ * @returns The signed MoonPay URL.
12
+ * @instrumented
13
+ */
14
+ export declare const getMoonPayUrl: (params: GetMoonPayUrlParams, client?: DynamicClient) => Promise<string>;
15
+ //# sourceMappingURL=getMoonPayUrl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getMoonPayUrl.d.ts","sourceRoot":"","sources":["../../../../../src/modules/funding/moonpay/getMoonPayUrl/getMoonPayUrl.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAI9D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAE5D;;;;;;;;;;GAUG;AACH,eAAO,MAAM,aAAa,WAChB,mBAAmB,WACnB,aAAa,KACpB,OAAO,CAAC,MAAM,CAsChB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { getMoonPayUrl } from './getMoonPayUrl';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/funding/moonpay/getMoonPayUrl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { Chain } from '../../chain';
2
+ export type MoonPayCurrency = {
3
+ code: string;
4
+ icon: string;
5
+ name: string;
6
+ };
7
+ export type GetMoonPayCurrenciesParams = {
8
+ chain: Chain;
9
+ networkId?: string;
10
+ };
11
+ export type GetMoonPayUrlParams = {
12
+ chain: Chain;
13
+ /** ISO 4217 fiat currency code (e.g. 'USD') used as the quote currency. */
14
+ currency?: string;
15
+ merchantName?: string;
16
+ networkId?: string;
17
+ /** Token symbol or MoonPay currency code to lock in the widget (e.g. 'USDC', 'usdc_polygon'). */
18
+ token?: string;
19
+ /**
20
+ * Pre-filled fiat amount in the quote currency — maps to MoonPay's `quoteCurrencyAmount`.
21
+ * This is the amount the user will spend in fiat, not the crypto amount they receive.
22
+ */
23
+ tokenAmount?: number;
24
+ walletAddress: string;
25
+ };
26
+ //# sourceMappingURL=moonpay.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"moonpay.types.d.ts","sourceRoot":"","sources":["../../../../src/modules/funding/moonpay/moonpay.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAEzC,MAAM,MAAM,eAAe,GAAG;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,0BAA0B,GAAG;IACvC,KAAK,EAAE,KAAK,CAAC;IACb,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,KAAK,EAAE,KAAK,CAAC;IACb,2EAA2E;IAC3E,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iGAAiG;IACjG,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,EAAE,MAAM,CAAC;CACvB,CAAC"}
@@ -1,5 +1,17 @@
1
1
  import type { Chain } from '../../../chain';
2
2
  import type { WalletSchema } from '../../legacyWalletBook.types';
3
+ type ExtractChainPrefixParams = {
4
+ chainIdentifier: string;
5
+ };
6
+ /**
7
+ * Extracts the chain prefix from a chain identifier string.
8
+ * For example, "eip155:1" -> "eip155", "solana:..." -> "solana"
9
+ *
10
+ * Exported so {@link getChainsFromWalletSchema} can apply the same
11
+ * parsing to its multi-chain pass without duplicating the logic.
12
+ * @not-instrumented
13
+ */
14
+ export declare const extractChainPrefix: ({ chainIdentifier, }: ExtractChainPrefixParams) => string;
3
15
  type GetChainFromWalletSchemaParams = {
4
16
  wallet: WalletSchema;
5
17
  walletKey?: string;
@@ -1 +1 @@
1
- {"version":3,"file":"getChainFromWalletSchema.d.ts","sourceRoot":"","sources":["../../../../../src/modules/legacyWalletBook/getWalletConnectCatalog/getChainFromWalletSchema/getChainFromWalletSchema.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AA0FjE,KAAK,8BAA8B,GAAG;IACpC,MAAM,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;GASG;AAEH,eAAO,MAAM,wBAAwB,2BAGlC,8BAA8B,KAAG,KAiCnC,CAAC"}
1
+ {"version":3,"file":"getChainFromWalletSchema.d.ts","sourceRoot":"","sources":["../../../../../src/modules/legacyWalletBook/getWalletConnectCatalog/getChainFromWalletSchema/getChainFromWalletSchema.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAI5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAEjE,KAAK,wBAAwB,GAAG;IAC9B,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,kBAAkB,yBAE5B,wBAAwB,KAAG,MAQ7B,CAAC;AAmCF,KAAK,8BAA8B,GAAG;IACpC,MAAM,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;GASG;AAEH,eAAO,MAAM,wBAAwB,2BAGlC,8BAA8B,KAAG,KAuCnC,CAAC"}
@@ -0,0 +1,26 @@
1
+ import type { Chain } from '../../../chain';
2
+ import type { WalletSchema } from '../../legacyWalletBook.types';
3
+ type GetChainsFromWalletSchemaParams = {
4
+ wallet: WalletSchema;
5
+ walletKey?: string;
6
+ };
7
+ /**
8
+ * Returns every chain a wallet book entry advertises support for —
9
+ * deduped, in `injectedConfig` order, then `chains` order. Used by the
10
+ * catalogue's WalletConnect builder so a multi-chain wallet (e.g. Trust
11
+ * supports EVM + SOL) gets one option per chain rather than one option
12
+ * for whichever chain `getChainFromWalletSchema` happened to pick first.
13
+ *
14
+ * Falls back to {@link getChainFromWalletSchema}'s single-result behavior
15
+ * (`['EVM']` default) when neither field is populated, so the helper
16
+ * never returns an empty array — every eligible wallet emits at least
17
+ * one option.
18
+ *
19
+ * @param params.wallet - The wallet schema from the wallet book.
20
+ * @param [params.walletKey] - The wallet key identifier (used as last-resort fallback).
21
+ * @returns Ordered, deduped array of Chains.
22
+ * @not-instrumented
23
+ */
24
+ export declare const getChainsFromWalletSchema: ({ wallet, walletKey, }: GetChainsFromWalletSchemaParams) => Chain[];
25
+ export {};
26
+ //# sourceMappingURL=getChainsFromWalletSchema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getChainsFromWalletSchema.d.ts","sourceRoot":"","sources":["../../../../../src/modules/legacyWalletBook/getWalletConnectCatalog/getChainsFromWalletSchema/getChainsFromWalletSchema.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,gBAAgB,CAAC;AAC5C,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAMjE,KAAK,+BAA+B,GAAG;IACrC,MAAM,EAAE,YAAY,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;;;;;;;;;;;;;;;GAgBG;AACH,eAAO,MAAM,yBAAyB,2BAGnC,+BAA+B,KAAG,KAAK,EA+BzC,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { WalletSchema } from '../legacyWalletBook.types';
2
+ type HasUsableDeeplinkParams = {
3
+ wallet: WalletSchema;
4
+ };
5
+ /**
6
+ * Whether a wallet book entry exposes at least one mobile deeplink the
7
+ * catalogue can drive — either a native scheme (`metamask://`) or a
8
+ * universal link (`https://metamask.app.link`). Used by the URI-deeplink
9
+ * builders (`buildWalletConnectOptions`, `buildMetaMaskSdkUriOptions`)
10
+ * to skip wallets that have no app to launch.
11
+ *
12
+ * @param params.wallet - The wallet schema from the wallet book.
13
+ * @returns True when the wallet has a native or universal mobile link.
14
+ * @not-instrumented
15
+ */
16
+ export declare const hasUsableDeeplink: ({ wallet, }: HasUsableDeeplinkParams) => boolean;
17
+ export {};
18
+ //# sourceMappingURL=hasUsableDeeplink.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hasUsableDeeplink.d.ts","sourceRoot":"","sources":["../../../../src/modules/legacyWalletBook/hasUsableDeeplink/hasUsableDeeplink.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAC;AAE9D,KAAK,uBAAuB,GAAG;IAC7B,MAAM,EAAE,YAAY,CAAC;CACtB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,iBAAiB,gBAE3B,uBAAuB,KAAG,OAC+B,CAAC"}
@@ -157,8 +157,8 @@ export type WalletSchema = {
157
157
  name: string;
158
158
  /** Whether the wallet requires disconnecting before establishing a new connection */
159
159
  requiresDisconnectBeforeNewConnection?: boolean;
160
- /** Short display name or abbreviation for the wallet */
161
- shortName: string;
160
+ /** Short display name or abbreviation for the wallet. Optional — not every wallet book entry provides one. */
161
+ shortName?: string;
162
162
  /** Whether to only show this wallet if it's already installed */
163
163
  showOnlyIfInstalled?: boolean;
164
164
  /** Whether network switching can only be initiated from the wallet itself */
@@ -1 +1 @@
1
- {"version":3,"file":"legacyWalletBook.types.d.ts","sourceRoot":"","sources":["../../../src/modules/legacyWalletBook/legacyWalletBook.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,uDAAuD;IACvD,GAAG,EAAE,MAAM,CAAC;IACZ,0DAA0D;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6EAA6E;IAC7E,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,oCAAoC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iCAAiC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IAC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,"file":"legacyWalletBook.types.d.ts","sourceRoot":"","sources":["../../../src/modules/legacyWalletBook/legacyWalletBook.types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG;IACxB,uDAAuD;IACvD,GAAG,EAAE,MAAM,CAAC;IACZ,0DAA0D;IAC1D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,6EAA6E;IAC7E,QAAQ,EAAE,MAAM,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG;IAC1B,oCAAoC;IACpC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mCAAmC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,oDAAoD;IACpD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,iCAAiC;IACjC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0BAA0B;IAC1B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB,+CAA+C;IAC/C,OAAO,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACxB,+BAA+B;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,4DAA4D;IAC5D,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,mDAAmD;IACnD,GAAG,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IACpB,6BAA6B;IAC7B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gDAAgD;IAChD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,mEAAmE;IACnE,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF;;GAEG;AACH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CAAC;CACvC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,0EAA0E;IAC1E,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,4DAA4D;IAC5D,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,iBAAiB,GAAG;IAC9B,6CAA6C;IAC7C,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,iDAAiD;IACjD,GAAG,EAAE,MAAM,CAAC;IACZ,uCAAuC;IACvC,IAAI,EAAE,MAAM,CAAC;IACb,8EAA8E;IAC9E,eAAe,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,mBAAmB,CAAC,CAAC;CACvD,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,wDAAwD;IACxD,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,iBAAiB,CAAC,CAAC;IAC1C,8DAA8D;IAC9D,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,YAAY,CAAC,CAAC;CACvC,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,mBAAmB,GAAG,gBAAgB,CAAC,SAAS,CAAC,CAAC"}
@@ -7,7 +7,8 @@
7
7
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
8
8
  * @returns The MFA token that was consumed.
9
9
  * @throws Error if no MFA token is found.
10
- * @instrumented
10
+ * @instrumented
11
+ * @redact-params
11
12
  */
12
13
  export declare const consumeMfaToken: (client?: import("../../../exports").DynamicClient) => string;
13
14
  //# sourceMappingURL=consumeMfaToken.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"consumeMfaToken.d.ts","sourceRoot":"","sources":["../../../../src/modules/mfa/consumeMfaToken/consumeMfaToken.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,eAAe,+DAY3B,CAAC"}
1
+ {"version":3,"file":"consumeMfaToken.d.ts","sourceRoot":"","sources":["../../../../src/modules/mfa/consumeMfaToken/consumeMfaToken.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,eAAe,+DAY3B,CAAC"}
@@ -6,7 +6,8 @@
6
6
  *
7
7
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
8
8
  * @returns A promise that resolves to the newly generated recovery codes.
9
- * @instrumented
9
+ * @instrumented
10
+ * @redact-params
10
11
  */
11
12
  export declare const createNewMfaRecoveryCodes: (client?: import("../../../exports").DynamicClient) => Promise<import("@dynamic-labs/sdk-api-core").MFARegenRecoveryCodesResponse>;
12
13
  //# sourceMappingURL=createNewMfaRecoveryCodes.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"createNewMfaRecoveryCodes.d.ts","sourceRoot":"","sources":["../../../../src/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.ts"],"names":[],"mappings":"AAIA;;;;;;;;;GASG;AACH,eAAO,MAAM,yBAAyB,oIASrC,CAAC"}
1
+ {"version":3,"file":"createNewMfaRecoveryCodes.d.ts","sourceRoot":"","sources":["../../../../src/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.ts"],"names":[],"mappings":"AAIA;;;;;;;;;;GAUG;AACH,eAAO,MAAM,yBAAyB,oIASrC,CAAC"}
@@ -15,7 +15,8 @@ export type VerifyOTPParams = {
15
15
  * @param params.verificationToken - The token received from the OTP verification process.
16
16
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
17
17
  * @returns A promise that resolves to the verify response object upon successful verification.
18
- * @instrumented
18
+ * @instrumented
19
+ * @redact-params
19
20
  */
20
21
  export declare const verifyOTP: ({ otpVerification, verificationToken, requestedScopes }: VerifyOTPParams, client?: import("../../../exports").DynamicClient) => Promise<VerifyResponse>;
21
22
  //# sourceMappingURL=verifyOTP.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"verifyOTP.d.ts","sourceRoot":"","sources":["../../../../src/modules/otp/verifyOTP/verifyOTP.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAI7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD,MAAM,MAAM,eAAe,GAAG;IAC5B,eAAe,EAAE,eAAe,CAAC;IACjC,eAAe,CAAC,EAAE,UAAU,EAAE,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,SAAS,4DACqC,eAAe,wDAEvE,OAAO,CAAC,cAAc,CAqBxB,CAAC"}
1
+ {"version":3,"file":"verifyOTP.d.ts","sourceRoot":"","sources":["../../../../src/modules/otp/verifyOTP/verifyOTP.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAI7E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AAIpD,MAAM,MAAM,eAAe,GAAG;IAC5B,eAAe,EAAE,eAAe,CAAC;IACjC,eAAe,CAAC,EAAE,UAAU,EAAE,CAAC;IAC/B,iBAAiB,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,SAAS,4DACqC,eAAe,wDAEvE,OAAO,CAAC,cAAc,CAqBxB,CAAC"}
@@ -13,6 +13,18 @@ export type ExecuteSwapTransactionParams = {
13
13
  * Usually obtained from a `getSwapQuote` call.
14
14
  */
15
15
  signingPayload: SwapTransactionSigningPayload;
16
+ /**
17
+ * Controls whether the swap is routed through Dynamic's gas sponsorship.
18
+ *
19
+ * - `'auto'` (default): the swap is sponsored when gas sponsorship is enabled
20
+ * for the chain AND the wallet is a Dynamic embedded wallet. Otherwise the
21
+ * user pays gas.
22
+ * - `'off'`: the swap is never sponsored, regardless of project settings or
23
+ * wallet capabilities. The user pays gas.
24
+ *
25
+ * @default 'auto'
26
+ */
27
+ sponsorshipMode?: 'auto' | 'off';
16
28
  /**
17
29
  * The wallet account to execute the swap transaction on.
18
30
  */
@@ -26,7 +38,7 @@ export type ExecuteSwapTransactionParams = {
26
38
  * @returns The transaction hash.
27
39
  * @instrumented
28
40
  */
29
- export declare const executeSwapTransaction: ({ walletAccount, signingPayload, onStepChange }: ExecuteSwapTransactionParams, client?: import("../../../exports").DynamicClient) => Promise<{
41
+ export declare const executeSwapTransaction: ({ walletAccount, signingPayload, onStepChange, sponsorshipMode, }: ExecuteSwapTransactionParams, client?: import("../../../exports").DynamicClient) => Promise<{
30
42
  transactionHash: string;
31
43
  }>;
32
44
  //# sourceMappingURL=executeSwapTransaction.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"executeSwapTransaction.d.ts","sourceRoot":"","sources":["../../../../src/modules/swap/executeSwapTransaction/executeSwapTransaction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEjE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAC;AAGnE,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,GAAG,aAAa,KAAK,IAAI,CAAC;IAC1D;;;OAGG;IACH,cAAc,EAAE,6BAA6B,CAAC;IAC9C;;OAEG;IACH,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,oDACgB,4BAA4B,wDAE5E,OAAO,CAAC;IAAE,eAAe,EAAE,MAAM,CAAA;CAAE,CA6BrC,CAAC"}
1
+ {"version":3,"file":"executeSwapTransaction.d.ts","sourceRoot":"","sources":["../../../../src/modules/swap/executeSwapTransaction/executeSwapTransaction.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAEjE,OAAO,KAAK,EAAE,6BAA6B,EAAE,MAAM,eAAe,CAAC;AAGnE,MAAM,MAAM,4BAA4B,GAAG;IACzC;;;;;OAKG;IACH,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,UAAU,GAAG,aAAa,KAAK,IAAI,CAAC;IAC1D;;;OAGG;IACH,cAAc,EAAE,6BAA6B,CAAC;IAC9C;;;;;;;;;;OAUG;IACH,eAAe,CAAC,EAAE,MAAM,GAAG,KAAK,CAAC;IACjC;;OAEG;IACH,aAAa,EAAE,aAAa,CAAC;CAC9B,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,sBAAsB,sEAM9B,4BAA4B,wDAE9B,OAAO,CAAC;IAAE,eAAe,EAAE,MAAM,CAAA;CAAE,CA8BrC,CAAC"}
@@ -7,7 +7,8 @@ import type { VerifyResponse } from '@dynamic-labs/sdk-api-core';
7
7
  *
8
8
  * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
9
9
  * @returns A promise that resolves to the verify response.
10
- * @instrumented
10
+ * @instrumented
11
+ * @redact-params
11
12
  */
12
13
  export declare const refreshAuth: (client?: import("../../../exports").DynamicClient) => Promise<VerifyResponse>;
13
14
  //# sourceMappingURL=refreshAuth.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"refreshAuth.d.ts","sourceRoot":"","sources":["../../../../src/modules/user/refreshAuth/refreshAuth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAOjE;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW,yDAErB,OAAO,CAAC,cAAc,CAWxB,CAAC"}
1
+ {"version":3,"file":"refreshAuth.d.ts","sourceRoot":"","sources":["../../../../src/modules/user/refreshAuth/refreshAuth.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AAOjE;;;;;;;;;;GAUG;AACH,eAAO,MAAM,WAAW,yDAErB,OAAO,CAAC,cAAc,CAaxB,CAAC"}
@@ -0,0 +1,27 @@
1
+ import type { WalletBookSchema } from '../../legacyWalletBook/legacyWalletBook.types';
2
+ import type { ConnectionOptionForWalletOption } from '../groupOptionsByWalletOption/groupOptionsByWalletOption';
3
+ type BuildMetaMaskSdkUriOptionsParams = {
4
+ walletBook: WalletBookSchema;
5
+ };
6
+ /**
7
+ * Builds the `metamaskSdkUri`-discriminator catalogue options from a
8
+ * fetched wallet book. The MetaMask SDK URI extension only targets the
9
+ * MetaMask wallet, so the builder iterates the book looking for the
10
+ * entry whose resolved wallet option key is `'metamask'`.
11
+ *
12
+ * Applies the generic `shouldFilterWallet` rules (drops embedded keys +
13
+ * injected-only-without-links entries). Crucially does NOT require WC
14
+ * `sign_v2` support — MetaMask SDK URI is a different protocol from
15
+ * WalletConnect, so the WC-specific filter does not apply here.
16
+ *
17
+ * Emits one `metamaskSdkUri` option per chain the MetaMask SDK URI pairing
18
+ * supports (see {@link METAMASK_SDK_URI_SUPPORTED_CHAINS}) so the picker can
19
+ * offer both the EVM and Solana pairings for the single MetaMask entry.
20
+ *
21
+ * @param params.walletBook - The fetched wallet book.
22
+ * @returns Tagged `metamaskSdkUri` options for MetaMask if eligible, otherwise an empty array.
23
+ * @not-instrumented
24
+ */
25
+ export declare const buildMetaMaskSdkUriOptions: ({ walletBook, }: BuildMetaMaskSdkUriOptionsParams) => ConnectionOptionForWalletOption[];
26
+ export {};
27
+ //# sourceMappingURL=buildMetaMaskSdkUriOptions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildMetaMaskSdkUriOptions.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/buildMetaMaskSdkUriOptions/buildMetaMaskSdkUriOptions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,0DAA0D,CAAC;AAqBhH,KAAK,gCAAgC,GAAG;IACtC,UAAU,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,0BAA0B,oBAEpC,gCAAgC,KAAG,+BAA+B,EAqCpE,CAAC"}
@@ -4,15 +4,18 @@ type BuildWalletConnectOptionsParams = {
4
4
  walletBook: WalletBookSchema;
5
5
  };
6
6
  /**
7
- * Builds the `walletConnect` catalogue options from a fetched wallet book.
8
- * Applies the WalletConnect-specific eligibility filter
7
+ * Builds the `walletConnect`-discriminator catalogue options from a fetched
8
+ * wallet book. Applies the WalletConnect-specific eligibility filter
9
9
  * (`shouldFilterWalletForWalletConnect`) so embedded wallets and entries
10
10
  * without `sign_v2` support are excluded — same surface as
11
11
  * `getWalletConnectCatalog`.
12
12
  *
13
- * Each emitted option carries the wallet's mobile deeplinks. Customers
14
- * combine these with their chain's `connectWithWalletConnect<Chain>` URI via
15
- * `appendWalletConnectUriToDeepLink` to open the wallet's app.
13
+ * Skips the MetaMask wallet entry: MetaMask is steered to its own URI
14
+ * connection extension via `buildMetaMaskSdkUriOptions`. Keeping the two
15
+ * builders separate means each protocol owns its own eligibility rules
16
+ * (WC needs `sign_v2`; MM SDK URI does not), so excluding one
17
+ * discriminator via `excludedConnectionOptionTypes` doesn't accidentally
18
+ * gate the other.
16
19
  *
17
20
  * @param params.walletBook - The fetched wallet book.
18
21
  * @returns Tagged `walletConnect` options paired with their wallet option keys.
@@ -1 +1 @@
1
- {"version":3,"file":"buildWalletConnectOptions.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/buildWalletConnectOptions/buildWalletConnectOptions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,gBAAgB,EAEjB,MAAM,+CAA+C,CAAC;AACvD,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,0DAA0D,CAAC;AAgBhH,KAAK,+BAA+B,GAAG;IACrC,UAAU,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;GAcG;AACH,eAAO,MAAM,yBAAyB,oBAEnC,+BAA+B,KAAG,+BAA+B,EAgCnE,CAAC"}
1
+ {"version":3,"file":"buildWalletConnectOptions.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/buildWalletConnectOptions/buildWalletConnectOptions.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,0DAA0D,CAAC;AAchH,KAAK,+BAA+B,GAAG;IACrC,UAAU,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,yBAAyB,oBAEnC,+BAA+B,KAAG,+BAA+B,EA0CnE,CAAC"}
@@ -15,12 +15,19 @@ type BuildWalletOptionParams = {
15
15
  *
16
16
  * Display merge rules (provider self-announced metadata wins where set):
17
17
  *
18
- * - `name`: `displayOverride.name` ?? wallet book group name ?? bare key.
19
- * - `iconUrl`: `displayOverride.iconUrl` ?? wallet book group sprite URL ?? `''`.
20
- * - `primaryColor`: wallet book group brand color only (providers do not
21
- * ship a primary color in their announcement metadata).
18
+ * - `name`: `displayOverride.name` ?? wallet book group name ?? wallet
19
+ * book wallet name ?? bare key.
20
+ * - `iconUrl`: `displayOverride.iconUrl` ?? wallet book group sprite URL
21
+ * ?? wallet book wallet sprite URL ?? `''`.
22
+ * - `primaryColor`: wallet book group brand color ?? wallet book wallet
23
+ * brand color (providers do not ship a primary color in their
24
+ * announcement metadata).
22
25
  * - `installationUrls`: copied through if present.
23
26
  *
27
+ * The per-wallet fallback handles wallets that exist as individual entries
28
+ * in the book (e.g. Rainbow) rather than as members of a multi-wallet group
29
+ * — those don't get a `walletBook.groups[…]` shell.
30
+ *
24
31
  * Why provider precedence: a registered wallet provider knows its own
25
32
  * brand best (EIP-6963 / Wallet Standard / vendor SDK announcement is the
26
33
  * wallet authoring its own identity). The wallet book fills in fields the
@@ -1 +1 @@
1
- {"version":3,"file":"buildWalletOption.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/buildWalletOption/buildWalletOption.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,kEAAkE,CAAC;AAC1H,OAAO,KAAK,EACV,gBAAgB,EAChB,sBAAsB,EACtB,YAAY,EACb,MAAM,iCAAiC,CAAC;AAEzC,KAAK,uBAAuB,GAAG;IAC7B,iBAAiB,EAAE,sBAAsB,EAAE,CAAC;IAC5C,eAAe,CAAC,EAAE,iCAAiC,CAAC;IACpD,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,UAAU,EAAE,gBAAgB,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,eAAO,MAAM,iBAAiB,2FAM3B,uBAAuB,KAAG,YAe5B,CAAC"}
1
+ {"version":3,"file":"buildWalletOption.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/buildWalletOption/buildWalletOption.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,kEAAkE,CAAC;AAC1H,OAAO,KAAK,EACV,gBAAgB,EAChB,sBAAsB,EACtB,YAAY,EACb,MAAM,iCAAiC,CAAC;AAEzC,KAAK,uBAAuB,GAAG;IAC7B,iBAAiB,EAAE,sBAAsB,EAAE,CAAC;IAC5C,eAAe,CAAC,EAAE,iCAAiC,CAAC;IACpD,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;IACpC,UAAU,EAAE,gBAAgB,CAAC;IAC7B,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,iBAAiB,2FAM3B,uBAAuB,KAAG,YA4B5B,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"buildWithWalletProviderOptions.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/buildWithWalletProviderOptions/buildWithWalletProviderOptions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AACtF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAGxF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,iCAAiC,CAAC;AAE1F;;;;;;GAMG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,uCAAuC,GAAG;IACpD,eAAe,EAAE,iCAAiC,CAAC;IACnD,MAAM,EAAE,kCAAkC,CAAC;IAC3C,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,KAAK,oCAAoC,GAAG;IAC1C,OAAO,EAAE,2BAA2B,EAAE,CAAC;IACvC,UAAU,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,8BAA8B,4BAChB,oCAAoC,UACrD,aAAa,KACpB,uCAAuC,EA0CzC,CAAC"}
1
+ {"version":3,"file":"buildWithWalletProviderOptions.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/buildWithWalletProviderOptions/buildWithWalletProviderOptions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AACzE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AAGxF,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,iCAAiC,CAAC;AAE1F;;;;;;GAMG;AACH,MAAM,MAAM,iCAAiC,GAAG;IAC9C,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,uCAAuC,GAAG;IACpD,eAAe,EAAE,iCAAiC,CAAC;IACnD,MAAM,EAAE,kCAAkC,CAAC;IAC3C,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF,KAAK,oCAAoC,GAAG;IAC1C,OAAO,EAAE,2BAA2B,EAAE,CAAC;IACvC,UAAU,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,8BAA8B,4BAChB,oCAAoC,UACrD,aAAa,KACpB,uCAAuC,EA8CzC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"getConnectionOptionPriority.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/getConnectionOptionPriority/getConnectionOptionPriority.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAiB9E,KAAK,iCAAiC,GAAG;IACvC,MAAM,EAAE,sBAAsB,CAAC;CAChC,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,2BAA2B,gBAErC,iCAAiC,KAAG,MACE,CAAC"}
1
+ {"version":3,"file":"getConnectionOptionPriority.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/getConnectionOptionPriority/getConnectionOptionPriority.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAkB9E,KAAK,iCAAiC,GAAG;IACvC,MAAM,EAAE,sBAAsB,CAAC;CAChC,CAAC;AAEF;;;;;;;GAOG;AACH,eAAO,MAAM,2BAA2B,gBAErC,iCAAiC,KAAG,MACE,CAAC"}
@@ -0,0 +1,35 @@
1
+ import type { InstallationUrls } from '../walletOptionsCatalogue.types';
2
+ type GetInstallationLinkForCurrentPlatformParams = {
3
+ installationUrls: InstallationUrls;
4
+ };
5
+ /**
6
+ * Resolves the {@link InstallationUrls} field that matches the platform
7
+ * the SDK is currently running on:
8
+ *
9
+ * - iOS → `ios`
10
+ * - Android → `android`
11
+ * - Edge → `edge`
12
+ * - Opera → `opera`
13
+ * - Firefox → `firefox`
14
+ * - Safari → `safari`
15
+ * - Chrome (or other Chromium-based browsers) → `chrome`
16
+ *
17
+ * Returns `undefined` when no entry exists for the detected platform —
18
+ * callers typically render a "not available on this device" affordance
19
+ * in that case rather than offering a download targeted at a different
20
+ * browser/OS.
21
+ *
22
+ * Each branch returns exactly the field for the detected platform — no
23
+ * fallback to a different browser's URL. If you'd rather surface every
24
+ * link a wallet's manifest publishes so the user can pick where to
25
+ * install, read `installationUrls` directly instead of going through
26
+ * this helper.
27
+ *
28
+ * @param params.installationUrls - The wallet option's `installationUrls`
29
+ * record (from `getWalletOptionsCatalogue`).
30
+ * @returns The install URL for the detected platform, or `undefined`.
31
+ * @not-instrumented
32
+ */
33
+ export declare const getInstallationLinkForCurrentPlatform: ({ installationUrls, }: GetInstallationLinkForCurrentPlatformParams) => string | undefined;
34
+ export {};
35
+ //# sourceMappingURL=getInstallationLinkForCurrentPlatform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getInstallationLinkForCurrentPlatform.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/getInstallationLinkForCurrentPlatform/getInstallationLinkForCurrentPlatform.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAExE,KAAK,2CAA2C,GAAG;IACjD,gBAAgB,EAAE,gBAAgB,CAAC;CACpC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BG;AACH,eAAO,MAAM,qCAAqC,0BAE/C,2CAA2C,KAAG,MAAM,GAAG,SASzD,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { getInstallationLinkForCurrentPlatform } from './getInstallationLinkForCurrentPlatform';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/getInstallationLinkForCurrentPlatform/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,qCAAqC,EAAE,MAAM,yCAAyC,CAAC"}