@dynamic-labs-sdk/client 1.2.1 → 1.4.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 (209) hide show
  1. package/dist/{InvalidParamError-uluG140m.esm.js → InvalidParamError-BPMi0iWC.esm.js} +55 -6
  2. package/dist/InvalidParamError-BPMi0iWC.esm.js.map +1 -0
  3. package/dist/{InvalidParamError-BYnLW_9s.native.esm.js → InvalidParamError-CDmVW2DS.native.esm.js} +55 -6
  4. package/dist/InvalidParamError-CDmVW2DS.native.esm.js.map +1 -0
  5. package/dist/{InvalidParamError-CEykJlaG.cjs → InvalidParamError-DEmLKJKZ.cjs} +61 -6
  6. package/dist/InvalidParamError-DEmLKJKZ.cjs.map +1 -0
  7. package/dist/{NotWaasWalletAccountError-BNdbbGX7.cjs → NotWaasWalletAccountError-BZsBHRQe.cjs} +6 -4
  8. package/dist/NotWaasWalletAccountError-BZsBHRQe.cjs.map +1 -0
  9. package/dist/{NotWaasWalletAccountError-DmlwWvy0.esm.js → NotWaasWalletAccountError-Chpne8_Q.native.esm.js} +6 -4
  10. package/dist/NotWaasWalletAccountError-Chpne8_Q.native.esm.js.map +1 -0
  11. package/dist/{NotWaasWalletAccountError-33QOxTKa.native.esm.js → NotWaasWalletAccountError-Cntietge.esm.js} +6 -4
  12. package/dist/NotWaasWalletAccountError-Cntietge.esm.js.map +1 -0
  13. package/dist/core.cjs +6 -5
  14. package/dist/core.cjs.map +1 -1
  15. package/dist/core.esm.js +6 -6
  16. package/dist/core.esm.js.map +1 -1
  17. package/dist/core.native.esm.js +6 -6
  18. package/dist/core.native.esm.js.map +1 -1
  19. package/dist/exports/core.d.ts +2 -0
  20. package/dist/exports/core.d.ts.map +1 -1
  21. package/dist/exports/index.d.ts +4 -0
  22. package/dist/exports/index.d.ts.map +1 -1
  23. package/dist/{getNetworkProviderFromNetworkId-CS1GXEp6.esm.js → getNetworkProviderFromNetworkId-CEeFL-gV.esm.js} +72 -16
  24. package/dist/getNetworkProviderFromNetworkId-CEeFL-gV.esm.js.map +1 -0
  25. package/dist/{getNetworkProviderFromNetworkId-a0atbFHU.native.esm.js → getNetworkProviderFromNetworkId-JGrKwBj7.native.esm.js} +72 -16
  26. package/dist/getNetworkProviderFromNetworkId-JGrKwBj7.native.esm.js.map +1 -0
  27. package/dist/{getNetworkProviderFromNetworkId-BOCwNNMm.cjs → getNetworkProviderFromNetworkId-szJOsbQN.cjs} +77 -15
  28. package/dist/getNetworkProviderFromNetworkId-szJOsbQN.cjs.map +1 -0
  29. package/dist/{getSignedSessionId-zHtJOVpY.native.esm.js → getSignedSessionId-B5DikCap.native.esm.js} +3 -3
  30. package/dist/{getSignedSessionId-zHtJOVpY.native.esm.js.map → getSignedSessionId-B5DikCap.native.esm.js.map} +1 -1
  31. package/dist/{getSignedSessionId-D1Oh4604.esm.js → getSignedSessionId-BOx1nFt_.esm.js} +3 -3
  32. package/dist/{getSignedSessionId-D1Oh4604.esm.js.map → getSignedSessionId-BOx1nFt_.esm.js.map} +1 -1
  33. package/dist/{getSignedSessionId-B42gT4xk.cjs → getSignedSessionId-BxOK-Tdo.cjs} +3 -3
  34. package/dist/{getSignedSessionId-B42gT4xk.cjs.map → getSignedSessionId-BxOK-Tdo.cjs.map} +1 -1
  35. package/dist/{getVerifiedCredentialForWalletAccount-B-IhZJuM.cjs → getVerifiedCredentialForWalletAccount-B46O0B48.cjs} +4 -3
  36. package/dist/getVerifiedCredentialForWalletAccount-B46O0B48.cjs.map +1 -0
  37. package/dist/{getVerifiedCredentialForWalletAccount-CEvtJ3xW.native.esm.js → getVerifiedCredentialForWalletAccount-CyykSi-M.native.esm.js} +3 -2
  38. package/dist/getVerifiedCredentialForWalletAccount-CyykSi-M.native.esm.js.map +1 -0
  39. package/dist/{getVerifiedCredentialForWalletAccount-BkaECPL_.esm.js → getVerifiedCredentialForWalletAccount-DzwIoeHm.esm.js} +3 -2
  40. package/dist/getVerifiedCredentialForWalletAccount-DzwIoeHm.esm.js.map +1 -0
  41. package/dist/index.cjs +1028 -85
  42. package/dist/index.cjs.map +1 -1
  43. package/dist/index.esm.js +1027 -86
  44. package/dist/index.esm.js.map +1 -1
  45. package/dist/index.native.esm.js +1027 -86
  46. package/dist/index.native.esm.js.map +1 -1
  47. package/dist/{isMfaRequiredForAction-CJvFP4oN.cjs → isMfaRequiredForAction-6N6JB7wa.cjs} +5 -3
  48. package/dist/isMfaRequiredForAction-6N6JB7wa.cjs.map +1 -0
  49. package/dist/{isMfaRequiredForAction-G7SXCZ5L.esm.js → isMfaRequiredForAction-D9p_du8C.esm.js} +5 -3
  50. package/dist/isMfaRequiredForAction-D9p_du8C.esm.js.map +1 -0
  51. package/dist/{isMfaRequiredForAction-BfabCDxI.native.esm.js → isMfaRequiredForAction-DUvZEpjA.native.esm.js} +5 -3
  52. package/dist/isMfaRequiredForAction-DUvZEpjA.native.esm.js.map +1 -0
  53. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts +1 -0
  54. package/dist/modules/auth/externalAuth/requestExternalAuthElevatedToken/requestExternalAuthElevatedToken.d.ts.map +1 -1
  55. package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts +2 -1
  56. package/dist/modules/auth/passkeys/registerPasskey/registerPasskey.d.ts.map +1 -1
  57. package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts +1 -0
  58. package/dist/modules/auth/passkeys/signInWithPasskey/signInWithPasskey.d.ts.map +1 -1
  59. package/dist/modules/auth/social/oauth/unlinkSocialAccount/unlinkSocialAccount.d.ts +2 -1
  60. package/dist/modules/auth/social/oauth/unlinkSocialAccount/unlinkSocialAccount.d.ts.map +1 -1
  61. package/dist/modules/balances/getBalances/getBalances.d.ts +22 -10
  62. package/dist/modules/balances/getBalances/getBalances.d.ts.map +1 -1
  63. package/dist/modules/captcha/setCaptchaToken/setCaptchaToken.d.ts +2 -1
  64. package/dist/modules/captcha/setCaptchaToken/setCaptchaToken.d.ts.map +1 -1
  65. package/dist/modules/checkout/attachCheckoutTransactionSource/attachCheckoutTransactionSource.d.ts.map +1 -1
  66. package/dist/modules/checkout/broadcastCheckoutTransaction/broadcastCheckoutTransaction.d.ts +1 -1
  67. package/dist/modules/checkout/broadcastCheckoutTransaction/broadcastCheckoutTransaction.d.ts.map +1 -1
  68. package/dist/modules/checkout/cancelCheckoutTransaction/cancelCheckoutTransaction.d.ts +1 -1
  69. package/dist/modules/checkout/cancelCheckoutTransaction/cancelCheckoutTransaction.d.ts.map +1 -1
  70. package/dist/modules/checkout/getCheckoutTransactionQuote/getCheckoutTransactionQuote.d.ts +6 -2
  71. package/dist/modules/checkout/getCheckoutTransactionQuote/getCheckoutTransactionQuote.d.ts.map +1 -1
  72. package/dist/modules/checkout/prepareCheckoutTransaction/prepareCheckoutTransaction.d.ts.map +1 -1
  73. package/dist/modules/checkout/utils/clearCheckoutSessionToken/clearCheckoutSessionToken.d.ts +22 -0
  74. package/dist/modules/checkout/utils/clearCheckoutSessionToken/clearCheckoutSessionToken.d.ts.map +1 -0
  75. package/dist/modules/checkout/utils/clearCheckoutSessionToken/index.d.ts +3 -0
  76. package/dist/modules/checkout/utils/clearCheckoutSessionToken/index.d.ts.map +1 -0
  77. package/dist/modules/checkout/utils/subscribeToCheckoutTransaction/subscribeToCheckoutTransaction.d.ts.map +1 -1
  78. package/dist/modules/checkout/utils/withCheckoutSessionTokenCleanupOn401/index.d.ts +3 -0
  79. package/dist/modules/checkout/utils/withCheckoutSessionTokenCleanupOn401/index.d.ts.map +1 -0
  80. package/dist/modules/checkout/utils/withCheckoutSessionTokenCleanupOn401/withCheckoutSessionTokenCleanupOn401.d.ts +16 -0
  81. package/dist/modules/checkout/utils/withCheckoutSessionTokenCleanupOn401/withCheckoutSessionTokenCleanupOn401.d.ts.map +1 -0
  82. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/shouldFilterWalletForWalletConnect/index.d.ts +2 -0
  83. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/{shouldFilterWallet → shouldFilterWalletForWalletConnect}/index.d.ts.map +1 -1
  84. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/shouldFilterWalletForWalletConnect/shouldFilterWalletForWalletConnect.d.ts +13 -0
  85. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/shouldFilterWalletForWalletConnect/shouldFilterWalletForWalletConnect.d.ts.map +1 -0
  86. package/dist/modules/legacyWalletBook/priorityWalletKeys/priorityWalletKeys.d.ts +10 -0
  87. package/dist/modules/legacyWalletBook/priorityWalletKeys/priorityWalletKeys.d.ts.map +1 -0
  88. package/dist/modules/legacyWalletBook/shouldFilterWallet/index.d.ts +3 -0
  89. package/dist/modules/legacyWalletBook/shouldFilterWallet/index.d.ts.map +1 -0
  90. package/dist/modules/legacyWalletBook/shouldFilterWallet/shouldFilterWallet.d.ts +34 -0
  91. package/dist/modules/legacyWalletBook/shouldFilterWallet/shouldFilterWallet.d.ts.map +1 -0
  92. package/dist/modules/mfa/consumeMfaToken/consumeMfaToken.d.ts +2 -1
  93. package/dist/modules/mfa/consumeMfaToken/consumeMfaToken.d.ts.map +1 -1
  94. package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts +2 -1
  95. package/dist/modules/mfa/createNewMfaRecoveryCodes/createNewMfaRecoveryCodes.d.ts.map +1 -1
  96. package/dist/modules/otp/verifyOTP/verifyOTP.d.ts +2 -1
  97. package/dist/modules/otp/verifyOTP/verifyOTP.d.ts.map +1 -1
  98. package/dist/modules/user/refreshAuth/refreshAuth.d.ts +2 -1
  99. package/dist/modules/user/refreshAuth/refreshAuth.d.ts.map +1 -1
  100. package/dist/modules/walletOptionsCatalogue/buildInAppBrowserOptions/buildInAppBrowserOptions.d.ts +22 -0
  101. package/dist/modules/walletOptionsCatalogue/buildInAppBrowserOptions/buildInAppBrowserOptions.d.ts.map +1 -0
  102. package/dist/modules/walletOptionsCatalogue/buildInAppBrowserOptions/getInAppBrowserUrl/getInAppBrowserUrl.d.ts +18 -0
  103. package/dist/modules/walletOptionsCatalogue/buildInAppBrowserOptions/getInAppBrowserUrl/getInAppBrowserUrl.d.ts.map +1 -0
  104. package/dist/modules/walletOptionsCatalogue/buildInAppBrowserOptions/getInAppBrowserUrl/index.d.ts +2 -0
  105. package/dist/modules/walletOptionsCatalogue/buildInAppBrowserOptions/getInAppBrowserUrl/index.d.ts.map +1 -0
  106. package/dist/modules/walletOptionsCatalogue/buildInAppBrowserOptions/index.d.ts +2 -0
  107. package/dist/modules/walletOptionsCatalogue/buildInAppBrowserOptions/index.d.ts.map +1 -0
  108. package/dist/modules/walletOptionsCatalogue/buildInstallationUrls/buildInstallationUrls.d.ts +21 -0
  109. package/dist/modules/walletOptionsCatalogue/buildInstallationUrls/buildInstallationUrls.d.ts.map +1 -0
  110. package/dist/modules/walletOptionsCatalogue/buildInstallationUrlsByWalletOptionKey/buildInstallationUrlsByWalletOptionKey.d.ts +27 -0
  111. package/dist/modules/walletOptionsCatalogue/buildInstallationUrlsByWalletOptionKey/buildInstallationUrlsByWalletOptionKey.d.ts.map +1 -0
  112. package/dist/modules/walletOptionsCatalogue/buildUriDeeplinkOptions/buildUriDeeplinkOptions.d.ts +28 -0
  113. package/dist/modules/walletOptionsCatalogue/buildUriDeeplinkOptions/buildUriDeeplinkOptions.d.ts.map +1 -0
  114. package/dist/modules/walletOptionsCatalogue/buildUriDeeplinkOptions/index.d.ts +2 -0
  115. package/dist/modules/walletOptionsCatalogue/buildUriDeeplinkOptions/index.d.ts.map +1 -0
  116. package/dist/modules/walletOptionsCatalogue/buildUriDeeplinkOptions/resolveUriConnectionType/index.d.ts +2 -0
  117. package/dist/modules/walletOptionsCatalogue/buildUriDeeplinkOptions/resolveUriConnectionType/index.d.ts.map +1 -0
  118. package/dist/modules/walletOptionsCatalogue/buildUriDeeplinkOptions/resolveUriConnectionType/resolveUriConnectionType.d.ts +17 -0
  119. package/dist/modules/walletOptionsCatalogue/buildUriDeeplinkOptions/resolveUriConnectionType/resolveUriConnectionType.d.ts.map +1 -0
  120. package/dist/modules/walletOptionsCatalogue/buildWalletOption/buildWalletOption.d.ts +39 -0
  121. package/dist/modules/walletOptionsCatalogue/buildWalletOption/buildWalletOption.d.ts.map +1 -0
  122. package/dist/modules/walletOptionsCatalogue/buildWithWalletProviderOptions/buildWithWalletProviderOptions.d.ts +54 -0
  123. package/dist/modules/walletOptionsCatalogue/buildWithWalletProviderOptions/buildWithWalletProviderOptions.d.ts.map +1 -0
  124. package/dist/modules/walletOptionsCatalogue/classifyWithWalletProviderSource/classifyWithWalletProviderSource.d.ts +31 -0
  125. package/dist/modules/walletOptionsCatalogue/classifyWithWalletProviderSource/classifyWithWalletProviderSource.d.ts.map +1 -0
  126. package/dist/modules/walletOptionsCatalogue/compareByRelevance/compareByRelevance.d.ts +18 -0
  127. package/dist/modules/walletOptionsCatalogue/compareByRelevance/compareByRelevance.d.ts.map +1 -0
  128. package/dist/modules/walletOptionsCatalogue/excludedWalletOptionKeys/excludedWalletOptionKeys.d.ts +15 -0
  129. package/dist/modules/walletOptionsCatalogue/excludedWalletOptionKeys/excludedWalletOptionKeys.d.ts.map +1 -0
  130. package/dist/modules/walletOptionsCatalogue/findWalletOptionKeyForProviderKey/findByNameMatch/findByNameMatch.d.ts +21 -0
  131. package/dist/modules/walletOptionsCatalogue/findWalletOptionKeyForProviderKey/findByNameMatch/findByNameMatch.d.ts.map +1 -0
  132. package/dist/modules/walletOptionsCatalogue/findWalletOptionKeyForProviderKey/findWalletOptionKeyForProviderKey.d.ts +44 -0
  133. package/dist/modules/walletOptionsCatalogue/findWalletOptionKeyForProviderKey/findWalletOptionKeyForProviderKey.d.ts.map +1 -0
  134. package/dist/modules/walletOptionsCatalogue/findWalletOptionKeyForProviderKey/resolveWalletOptionKey/resolveWalletOptionKey.d.ts +20 -0
  135. package/dist/modules/walletOptionsCatalogue/findWalletOptionKeyForProviderKey/resolveWalletOptionKey/resolveWalletOptionKey.d.ts.map +1 -0
  136. package/dist/modules/walletOptionsCatalogue/getConnectionOptionPriority/getConnectionOptionPriority.d.ts +15 -0
  137. package/dist/modules/walletOptionsCatalogue/getConnectionOptionPriority/getConnectionOptionPriority.d.ts.map +1 -0
  138. package/dist/modules/walletOptionsCatalogue/getPriorityIndex/getPriorityIndex.d.ts +16 -0
  139. package/dist/modules/walletOptionsCatalogue/getPriorityIndex/getPriorityIndex.d.ts.map +1 -0
  140. package/dist/modules/walletOptionsCatalogue/getWalletOptionsCatalogue/getWalletOptionsCatalogue.d.ts +14 -0
  141. package/dist/modules/walletOptionsCatalogue/getWalletOptionsCatalogue/getWalletOptionsCatalogue.d.ts.map +1 -0
  142. package/dist/modules/walletOptionsCatalogue/groupOptionsByWalletOption/groupOptionsByWalletOption.d.ts +49 -0
  143. package/dist/modules/walletOptionsCatalogue/groupOptionsByWalletOption/groupOptionsByWalletOption.d.ts.map +1 -0
  144. package/dist/modules/walletOptionsCatalogue/hasAnyConnectionOption/hasAnyConnectionOption.d.ts +18 -0
  145. package/dist/modules/walletOptionsCatalogue/hasAnyConnectionOption/hasAnyConnectionOption.d.ts.map +1 -0
  146. package/dist/modules/walletOptionsCatalogue/hasInstalledProvider/hasInstalledProvider.d.ts +18 -0
  147. package/dist/modules/walletOptionsCatalogue/hasInstalledProvider/hasInstalledProvider.d.ts.map +1 -0
  148. package/dist/modules/walletOptionsCatalogue/normalizeWalletDisplayName/normalizeWalletDisplayName.d.ts +23 -0
  149. package/dist/modules/walletOptionsCatalogue/normalizeWalletDisplayName/normalizeWalletDisplayName.d.ts.map +1 -0
  150. package/dist/modules/walletOptionsCatalogue/resolveWalletBookWalletOptionKey/resolveWalletBookWalletOptionKey.d.ts +22 -0
  151. package/dist/modules/walletOptionsCatalogue/resolveWalletBookWalletOptionKey/resolveWalletBookWalletOptionKey.d.ts.map +1 -0
  152. package/dist/modules/walletOptionsCatalogue/sortConnectionOptions/sortConnectionOptions.d.ts +20 -0
  153. package/dist/modules/walletOptionsCatalogue/sortConnectionOptions/sortConnectionOptions.d.ts.map +1 -0
  154. package/dist/modules/walletOptionsCatalogue/sortWalletOptions/sortWalletOptions.d.ts +34 -0
  155. package/dist/modules/walletOptionsCatalogue/sortWalletOptions/sortWalletOptions.d.ts.map +1 -0
  156. package/dist/modules/walletOptionsCatalogue/walletOptionsCatalogue.types.d.ts +152 -0
  157. package/dist/modules/walletOptionsCatalogue/walletOptionsCatalogue.types.d.ts.map +1 -0
  158. package/dist/modules/wallets/connectWithWalletProvider/connectWithWalletProvider.d.ts +1 -1
  159. package/dist/modules/wallets/connectWithWalletProvider/connectWithWalletProvider.d.ts.map +1 -1
  160. package/dist/modules/wallets/reconcileWalletAccountsAgainstClient/index.d.ts +2 -0
  161. package/dist/modules/wallets/reconcileWalletAccountsAgainstClient/index.d.ts.map +1 -0
  162. package/dist/modules/wallets/reconcileWalletAccountsAgainstClient/reconcileWalletAccountsAgainstClient.d.ts +25 -0
  163. package/dist/modules/wallets/reconcileWalletAccountsAgainstClient/reconcileWalletAccountsAgainstClient.d.ts.map +1 -0
  164. package/dist/modules/wallets/utils/stripChainSuffix/stripChainSuffix.d.ts +20 -0
  165. package/dist/modules/wallets/utils/stripChainSuffix/stripChainSuffix.d.ts.map +1 -0
  166. package/dist/modules/wallets/walletProviderRegistry/createWalletProviderRegistry/createWalletProviderRegistry.d.ts.map +1 -1
  167. package/dist/modules/wallets/walletProviderRegistry/index.d.ts +1 -1
  168. package/dist/modules/wallets/walletProviderRegistry/index.d.ts.map +1 -1
  169. package/dist/modules/wallets/walletProviderRegistry/walletProviderRegistry.types.d.ts +19 -0
  170. package/dist/modules/wallets/walletProviderRegistry/walletProviderRegistry.types.d.ts.map +1 -1
  171. package/dist/modules/wallets/walletProviderUriConnection.types.d.ts +23 -0
  172. package/dist/modules/wallets/walletProviderUriConnection.types.d.ts.map +1 -0
  173. package/dist/services/instrumentation/connectLoggerToInstrumentation/connectLoggerToInstrumentation.d.ts.map +1 -1
  174. package/dist/services/instrumentation/constants.d.ts +22 -0
  175. package/dist/services/instrumentation/constants.d.ts.map +1 -1
  176. package/dist/services/instrumentation/scrubParameters/scrubParameters.d.ts.map +1 -1
  177. package/dist/tsconfig.lib.tsbuildinfo +1 -1
  178. package/dist/utils/appendConnectionUriToDeeplink/appendConnectionUriToDeeplink.d.ts +29 -0
  179. package/dist/utils/appendConnectionUriToDeeplink/appendConnectionUriToDeeplink.d.ts.map +1 -0
  180. package/dist/utils/appendConnectionUriToDeeplink/index.d.ts +2 -0
  181. package/dist/utils/appendConnectionUriToDeeplink/index.d.ts.map +1 -0
  182. package/dist/waas.cjs +6 -5
  183. package/dist/waas.cjs.map +1 -1
  184. package/dist/waas.esm.js +5 -4
  185. package/dist/waas.esm.js.map +1 -1
  186. package/dist/waas.native.esm.js +5 -4
  187. package/dist/waas.native.esm.js.map +1 -1
  188. package/dist/waasCore.cjs +4 -4
  189. package/dist/waasCore.esm.js +3 -3
  190. package/dist/waasCore.native.esm.js +3 -3
  191. package/package.json +3 -3
  192. package/dist/InvalidParamError-BYnLW_9s.native.esm.js.map +0 -1
  193. package/dist/InvalidParamError-CEykJlaG.cjs.map +0 -1
  194. package/dist/InvalidParamError-uluG140m.esm.js.map +0 -1
  195. package/dist/NotWaasWalletAccountError-33QOxTKa.native.esm.js.map +0 -1
  196. package/dist/NotWaasWalletAccountError-BNdbbGX7.cjs.map +0 -1
  197. package/dist/NotWaasWalletAccountError-DmlwWvy0.esm.js.map +0 -1
  198. package/dist/getNetworkProviderFromNetworkId-BOCwNNMm.cjs.map +0 -1
  199. package/dist/getNetworkProviderFromNetworkId-CS1GXEp6.esm.js.map +0 -1
  200. package/dist/getNetworkProviderFromNetworkId-a0atbFHU.native.esm.js.map +0 -1
  201. package/dist/getVerifiedCredentialForWalletAccount-B-IhZJuM.cjs.map +0 -1
  202. package/dist/getVerifiedCredentialForWalletAccount-BkaECPL_.esm.js.map +0 -1
  203. package/dist/getVerifiedCredentialForWalletAccount-CEvtJ3xW.native.esm.js.map +0 -1
  204. package/dist/isMfaRequiredForAction-BfabCDxI.native.esm.js.map +0 -1
  205. package/dist/isMfaRequiredForAction-CJvFP4oN.cjs.map +0 -1
  206. package/dist/isMfaRequiredForAction-G7SXCZ5L.esm.js.map +0 -1
  207. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/shouldFilterWallet/index.d.ts +0 -2
  208. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/shouldFilterWallet/shouldFilterWallet.d.ts +0 -21
  209. package/dist/modules/legacyWalletBook/getWalletConnectCatalog/shouldFilterWallet/shouldFilterWallet.d.ts.map +0 -1
@@ -0,0 +1,22 @@
1
+ import type { WalletBookSchema } from '../../legacyWalletBook/legacyWalletBook.types';
2
+ import type { ConnectionOptionForWalletOption } from '../groupOptionsByWalletOption/groupOptionsByWalletOption';
3
+ type BuildInAppBrowserOptionsParams = {
4
+ walletBook: WalletBookSchema;
5
+ };
6
+ /**
7
+ * Builds the `inAppBrowser` catalogue options from the wallet book. A wallet
8
+ * qualifies when it exposes a mobile in-app-browser URL — typically a
9
+ * `cb_url={{encodedDappURI}}`-style template the customer fills in with the
10
+ * current page URL before opening.
11
+ *
12
+ * Reuses the generic `shouldFilterWallet` rules — embedded sign-in methods
13
+ * and injected-only wallets are dropped — so the catalogue's notion of
14
+ * "external wallet" stays consistent across option types.
15
+ *
16
+ * @param params.walletBook - The fetched wallet book.
17
+ * @returns Tagged `inAppBrowser` options paired with their wallet option keys.
18
+ * @not-instrumented
19
+ */
20
+ export declare const buildInAppBrowserOptions: ({ walletBook, }: BuildInAppBrowserOptionsParams) => ConnectionOptionForWalletOption[];
21
+ export {};
22
+ //# sourceMappingURL=buildInAppBrowserOptions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildInAppBrowserOptions.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/buildInAppBrowserOptions/buildInAppBrowserOptions.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAEtF,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,0DAA0D,CAAC;AAIhH,KAAK,8BAA8B,GAAG;IACpC,UAAU,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,wBAAwB,oBAElC,8BAA8B,KAAG,+BAA+B,EAyBlE,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { WalletBookSchema } from '../../../legacyWalletBook/legacyWalletBook.types';
2
+ type GetInAppBrowserUrlParams = {
3
+ wallet: WalletBookSchema['wallets'][string];
4
+ };
5
+ /**
6
+ * Returns the wallet's in-app browser URL template, preferring the v2
7
+ * field. `inAppBrowser` is deprecated but some wallet book entries
8
+ * still carry only the v1 value, so it acts as a fallback. Trailing
9
+ * `?? undefined` collapses the schema's `string | null` typing down to
10
+ * the `string | undefined` return contract.
11
+ *
12
+ * @param params.wallet - The wallet book wallet entry.
13
+ * @returns The in-app browser URL, or `undefined` if neither field is set.
14
+ * @not-instrumented
15
+ */
16
+ export declare const getInAppBrowserUrl: ({ wallet, }: GetInAppBrowserUrlParams) => string | undefined;
17
+ export {};
18
+ //# sourceMappingURL=getInAppBrowserUrl.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getInAppBrowserUrl.d.ts","sourceRoot":"","sources":["../../../../../src/modules/walletOptionsCatalogue/buildInAppBrowserOptions/getInAppBrowserUrl/getInAppBrowserUrl.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AAEzF,KAAK,wBAAwB,GAAG;IAC9B,MAAM,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;CAC7C,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,kBAAkB,gBAE5B,wBAAwB,KAAG,MAAM,GAAG,SACoC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { getInAppBrowserUrl } from './getInAppBrowserUrl';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/walletOptionsCatalogue/buildInAppBrowserOptions/getInAppBrowserUrl/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { buildInAppBrowserOptions } from './buildInAppBrowserOptions';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/buildInAppBrowserOptions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { WalletSchema } from '../../legacyWalletBook/legacyWalletBook.types';
2
+ import type { InstallationUrls } from '../walletOptionsCatalogue.types';
3
+ type BuildInstallationUrlsParams = {
4
+ wallet: WalletSchema;
5
+ };
6
+ /**
7
+ * Builds the install/download URL bag for a wallet book entry. Returns the
8
+ * concrete URLs assembled from each store's ID field — Play Store, App
9
+ * Store, Chrome Web Store, Firefox Add-ons, Edge Add-ons — plus the wallet's
10
+ * own `desktop.universal` / `desktop.native` URLs when set.
11
+ *
12
+ * Fields the wallet book does not carry are left undefined; callers should
13
+ * skip emitting an installation option for a wallet whose URL bag is empty.
14
+ *
15
+ * @param params.wallet - The wallet book entry.
16
+ * @returns The URL bag, omitting fields the wallet does not provide.
17
+ * @not-instrumented
18
+ */
19
+ export declare const buildInstallationUrls: ({ wallet, }: BuildInstallationUrlsParams) => InstallationUrls;
20
+ export {};
21
+ //# sourceMappingURL=buildInstallationUrls.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildInstallationUrls.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/buildInstallationUrls/buildInstallationUrls.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+CAA+C,CAAC;AAClF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAYxE,KAAK,2BAA2B,GAAG;IACjC,MAAM,EAAE,YAAY,CAAC;CACtB,CAAC;AAEF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,qBAAqB,gBAE/B,2BAA2B,KAAG,gBAoBhC,CAAC"}
@@ -0,0 +1,27 @@
1
+ import type { WalletBookSchema } from '../../legacyWalletBook/legacyWalletBook.types';
2
+ import type { InstallationUrls } from '../walletOptionsCatalogue.types';
3
+ type BuildInstallationUrlsByWalletOptionKeyParams = {
4
+ walletBook: WalletBookSchema;
5
+ };
6
+ /**
7
+ * Collects install / download URLs for every wallet book entry that has
8
+ * at least one installable surface, keyed by the wallet option key the
9
+ * wallet groups under. The catalogue assembly step merges this map into
10
+ * the per-key wallet option shell so `WalletOption.installationUrls` is
11
+ * populated alongside (or instead of) `connectionOptions`.
12
+ *
13
+ * First-seen URLs win when multiple wallet book entries resolve to the
14
+ * same wallet option key — wallet book authors put the most accurate
15
+ * install links on the canonical entry, so the first-seen one is the
16
+ * right pick.
17
+ *
18
+ * Reuses the generic `shouldFilterWallet` rules so embedded wallets do
19
+ * not appear here either — they're not user-installable products.
20
+ *
21
+ * @param params.walletBook - The fetched wallet book.
22
+ * @returns A map from wallet option key to its install URL bag.
23
+ * @not-instrumented
24
+ */
25
+ export declare const buildInstallationUrlsByWalletOptionKey: ({ walletBook, }: BuildInstallationUrlsByWalletOptionKeyParams) => Map<string, InstallationUrls>;
26
+ export {};
27
+ //# sourceMappingURL=buildInstallationUrlsByWalletOptionKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildInstallationUrlsByWalletOptionKey.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/buildInstallationUrlsByWalletOptionKey/buildInstallationUrlsByWalletOptionKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAItF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAcxE,KAAK,4CAA4C,GAAG;IAClD,UAAU,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;;;;;GAkBG;AACH,eAAO,MAAM,sCAAsC,oBAEhD,4CAA4C,KAAG,GAAG,CACnD,MAAM,EACN,gBAAgB,CA0BjB,CAAC"}
@@ -0,0 +1,28 @@
1
+ import type { WalletBookSchema } from '../../legacyWalletBook/legacyWalletBook.types';
2
+ import type { ConnectionOptionForWalletOption } from '../groupOptionsByWalletOption/groupOptionsByWalletOption';
3
+ type BuildUriDeeplinkOptionsParams = {
4
+ walletBook: WalletBookSchema;
5
+ };
6
+ /**
7
+ * Builds the URI-deeplink catalogue options from a fetched wallet book.
8
+ * Applies the WalletConnect-specific eligibility filter
9
+ * (`shouldFilterWalletForWalletConnect`) so embedded wallets and entries
10
+ * without `sign_v2` support are excluded — same surface as
11
+ * `getWalletConnectCatalog`.
12
+ *
13
+ * Each emitted option carries the wallet's mobile deeplinks. Customers
14
+ * combine these with their chain's connection URI via
15
+ * `appendConnectionUriToDeeplink` to open the wallet's app:
16
+ *
17
+ * - `'walletConnect'`: mint via `connectWithWalletConnect<Chain>`.
18
+ * - `'metamaskSdkUri'`: mint via `connectWithMetaMaskUriEvm` or
19
+ * `connectWithMetaMaskUriSolana`. Emitted only for the MetaMask
20
+ * wallet entry — see `resolveUriConnectionType`.
21
+ *
22
+ * @param params.walletBook - The fetched wallet book.
23
+ * @returns Tagged options paired with their wallet option keys.
24
+ * @not-instrumented
25
+ */
26
+ export declare const buildUriDeeplinkOptions: ({ walletBook, }: BuildUriDeeplinkOptionsParams) => ConnectionOptionForWalletOption[];
27
+ export {};
28
+ //# sourceMappingURL=buildUriDeeplinkOptions.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"buildUriDeeplinkOptions.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/buildUriDeeplinkOptions/buildUriDeeplinkOptions.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EACV,gBAAgB,EAEjB,MAAM,+CAA+C,CAAC;AACvD,OAAO,KAAK,EAAE,+BAA+B,EAAE,MAAM,0DAA0D,CAAC;AAiBhH,KAAK,6BAA6B,GAAG;IACnC,UAAU,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAEF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,uBAAuB,oBAEjC,6BAA6B,KAAG,+BAA+B,EAgCjE,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { buildUriDeeplinkOptions } from './buildUriDeeplinkOptions';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/buildUriDeeplinkOptions/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,uBAAuB,EAAE,MAAM,2BAA2B,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { resolveUriConnectionType } from './resolveUriConnectionType';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/walletOptionsCatalogue/buildUriDeeplinkOptions/resolveUriConnectionType/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC"}
@@ -0,0 +1,17 @@
1
+ type ResolveUriConnectionTypeParams = {
2
+ walletOptionKey: string;
3
+ };
4
+ /**
5
+ * Picks the connection-option `type` discriminator for a wallet-book-
6
+ * derived URI deeplink option. MetaMask is steered toward its own
7
+ * MetaMask SDK URI connection extension (`metamaskSdkUri`) so we route
8
+ * customers off generic WalletConnect for that wallet; every other
9
+ * wallet uses the standard `walletConnect` discriminator.
10
+ *
11
+ * @param params.walletOptionKey - The resolved wallet option key.
12
+ * @returns The connection-option discriminator to emit.
13
+ * @not-instrumented
14
+ */
15
+ export declare const resolveUriConnectionType: ({ walletOptionKey, }: ResolveUriConnectionTypeParams) => "metamaskSdkUri" | "walletConnect";
16
+ export {};
17
+ //# sourceMappingURL=resolveUriConnectionType.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveUriConnectionType.d.ts","sourceRoot":"","sources":["../../../../../src/modules/walletOptionsCatalogue/buildUriDeeplinkOptions/resolveUriConnectionType/resolveUriConnectionType.ts"],"names":[],"mappings":"AAAA,KAAK,8BAA8B,GAAG;IACpC,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,eAAO,MAAM,wBAAwB,yBAElC,8BAA8B,KAAG,gBAAgB,GAAG,eACc,CAAC"}
@@ -0,0 +1,39 @@
1
+ import type { WalletBookSchema } from '../../legacyWalletBook/legacyWalletBook.types';
2
+ import type { WithWalletProviderDisplayOverride } from '../buildWithWalletProviderOptions/buildWithWalletProviderOptions';
3
+ import type { InstallationUrls, WalletConnectionOption, WalletOption } from '../walletOptionsCatalogue.types';
4
+ type BuildWalletOptionParams = {
5
+ connectionOptions: WalletConnectionOption[];
6
+ displayOverride?: WithWalletProviderDisplayOverride;
7
+ installationUrls?: InstallationUrls;
8
+ walletBook: WalletBookSchema;
9
+ walletOptionKey: string;
10
+ };
11
+ /**
12
+ * Assembles a `WalletOption` for a resolved wallet option key, populated
13
+ * with the connection options the transformers produced for it plus an
14
+ * optional install / download URL bag.
15
+ *
16
+ * Display merge rules (provider self-announced metadata wins where set):
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).
22
+ * - `installationUrls`: copied through if present.
23
+ *
24
+ * Why provider precedence: a registered wallet provider knows its own
25
+ * brand best (EIP-6963 / Wallet Standard / vendor SDK announcement is the
26
+ * wallet authoring its own identity). The wallet book fills in fields the
27
+ * announcement does not carry — currently only `primaryColor`.
28
+ *
29
+ * @param params.connectionOptions - The connections to attach to this wallet option.
30
+ * @param [params.displayOverride] - Provider-announced display info that overrides the wallet book's name and iconUrl.
31
+ * @param [params.installationUrls] - Install/download URL bag for this wallet.
32
+ * @param params.walletBook - The fetched wallet book.
33
+ * @param params.walletOptionKey - The wallet option key.
34
+ * @returns The constructed wallet option.
35
+ * @not-instrumented
36
+ */
37
+ export declare const buildWalletOption: ({ connectionOptions, displayOverride, installationUrls, walletBook, walletOptionKey, }: BuildWalletOptionParams) => WalletOption;
38
+ export {};
39
+ //# sourceMappingURL=buildWalletOption.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,54 @@
1
+ import type { DynamicClient } from '../../../client/types/DynamicClient';
2
+ import type { WalletBookSchema } from '../../legacyWalletBook/legacyWalletBook.types';
3
+ import type { WalletProviderRegistryEntry } from '../../wallets/walletProviderRegistry';
4
+ import type { WithWalletProviderConnectionOption } from '../walletOptionsCatalogue.types';
5
+ /**
6
+ * Display override sourced from a registered wallet provider's announced
7
+ * metadata (EIP-6963 / Wallet Standard / vendor SDK). The outer
8
+ * transformer applies these on top of any wallet book group entry — the
9
+ * provider knows its own brand best, so `name` + `iconUrl` here win
10
+ * over the wallet book's values when both exist.
11
+ */
12
+ export type WithWalletProviderDisplayOverride = {
13
+ iconUrl: string;
14
+ name: string;
15
+ };
16
+ /**
17
+ * One `WithWalletProviderConnectionOption` paired with the wallet option
18
+ * key it should be bucketed under, plus the provider's self-announced
19
+ * display metadata. The outer transformer groups by `walletOptionKey` and
20
+ * uses `displayOverride` to build the wallet option shell, with provider
21
+ * precedence over the wallet book's display fields.
22
+ */
23
+ export type WithWalletProviderOptionForWalletOption = {
24
+ displayOverride: WithWalletProviderDisplayOverride;
25
+ option: WithWalletProviderConnectionOption;
26
+ walletOptionKey: string;
27
+ };
28
+ type BuildWithWalletProviderOptionsParams = {
29
+ entries: WalletProviderRegistryEntry[];
30
+ walletBook: WalletBookSchema;
31
+ };
32
+ /**
33
+ * Converts each registered wallet provider entry into a
34
+ * `WithWalletProviderConnectionOption` paired with its target wallet
35
+ * option key and the provider's display override. Every classifiable
36
+ * entry surfaces in the catalogue; the outer transformer uses the
37
+ * carried `displayOverride` to override any wallet book branding for
38
+ * that key (provider self-announcement wins over book).
39
+ *
40
+ * Entries whose registration priority is not recognised by
41
+ * `classifyWithWalletProviderSource` are dropped from the catalogue and
42
+ * an error is logged so Datadog surfaces the unknown registration path —
43
+ * in production this should never happen, every chain extension is
44
+ * expected to register with one of the documented priorities.
45
+ *
46
+ * @param params.entries - Snapshot of the registry's entries.
47
+ * @param params.walletBook - The fetched wallet book.
48
+ * @param client - The Dynamic client (used for logging unclassifiable entries).
49
+ * @returns An array of tagged options, in input order.
50
+ * @not-instrumented
51
+ */
52
+ export declare const buildWithWalletProviderOptions: ({ entries, walletBook }: BuildWithWalletProviderOptionsParams, client: DynamicClient) => WithWalletProviderOptionForWalletOption[];
53
+ export {};
54
+ //# sourceMappingURL=buildWithWalletProviderOptions.d.ts.map
@@ -0,0 +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"}
@@ -0,0 +1,31 @@
1
+ import type { WalletProviderRegistryEntry } from '../../wallets/walletProviderRegistry';
2
+ import type { WithWalletProviderSource } from '../walletOptionsCatalogue.types';
3
+ type ClassifyWithWalletProviderSourceParams = {
4
+ entry: WalletProviderRegistryEntry;
5
+ };
6
+ /**
7
+ * Maps a registered wallet provider's registration priority to the
8
+ * `WithWalletProviderSource` value that should appear on its catalogue option.
9
+ *
10
+ * Priority mapping (set by each chain extension when it calls
11
+ * `registry.register`):
12
+ *
13
+ * - `WALLET_SDK` → `'sdk'` — branded SDKs wrapped by chain extensions
14
+ * (Base Account via `@base-org/account`, MetaMask Connect, …).
15
+ * - `WALLET_SELF_ANNOUNCEMENT_STANDARD` → `'selfAnnounced'` — in-page
16
+ * self-announcement standards (EIP-6963 on EVM, Wallet Standard on
17
+ * Solana / Sui / …).
18
+ * - `WINDOW_INJECT` → `'windowInjected'` — legacy `window.*` injection.
19
+ *
20
+ * Returns `undefined` for providers whose registration priority does not
21
+ * correspond to a connectable external-wallet source — callers filter these
22
+ * out before emitting catalogue options.
23
+ *
24
+ * @param params.entry - The registry entry to classify.
25
+ * @returns The matching source, or `undefined` if this entry should not
26
+ * surface a `withWalletProvider` option.
27
+ * @not-instrumented
28
+ */
29
+ export declare const classifyWithWalletProviderSource: ({ entry, }: ClassifyWithWalletProviderSourceParams) => WithWalletProviderSource | undefined;
30
+ export {};
31
+ //# sourceMappingURL=classifyWithWalletProviderSource.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"classifyWithWalletProviderSource.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/classifyWithWalletProviderSource/classifyWithWalletProviderSource.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,2BAA2B,EAAE,MAAM,sCAAsC,CAAC;AACxF,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,iCAAiC,CAAC;AAEhF,KAAK,sCAAsC,GAAG;IAC5C,KAAK,EAAE,2BAA2B,CAAC;CACpC,CAAC;AAGF;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,eAAO,MAAM,gCAAgC,eAE1C,sCAAsC,KACrC,wBAAwB,GACxB,SAgBH,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { WalletOption } from '../walletOptionsCatalogue.types';
2
+ type CompareByRelevanceParams = {
3
+ a: WalletOption;
4
+ b: WalletOption;
5
+ };
6
+ /**
7
+ * Compares two wallet options for relevance ordering: priority-list index
8
+ * first, then alphabetical-by-name as the tie-break. Suitable for passing
9
+ * straight to `Array.prototype.sort`.
10
+ *
11
+ * @param params.a - First wallet option.
12
+ * @param params.b - Second wallet option.
13
+ * @returns Negative when `a` ranks first, positive when `b` ranks first.
14
+ * @not-instrumented
15
+ */
16
+ export declare const compareByRelevance: ({ a, b, }: CompareByRelevanceParams) => number;
17
+ export {};
18
+ //# sourceMappingURL=compareByRelevance.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"compareByRelevance.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/compareByRelevance/compareByRelevance.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAEpE,KAAK,wBAAwB,GAAG;IAC9B,CAAC,EAAE,YAAY,CAAC;IAChB,CAAC,EAAE,YAAY,CAAC;CACjB,CAAC;AAEF;;;;;;;;;GASG;AACH,eAAO,MAAM,kBAAkB,cAG5B,wBAAwB,KAAG,MAS7B,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Wallet option keys `getWalletOptionsCatalogue` drops before returning.
3
+ * Curated, product-level suppression.
4
+ *
5
+ * Example: Base Account SDK is the recommended entry point for
6
+ * Coinbase-managed users, so the legacy Coinbase Wallet entries are
7
+ * suppressed in favor of the SDK-backed `baseaccount` tile. Both the
8
+ * wallet book group key (`coinbase`) and the normalized display-name
9
+ * key (`coinbasewallet`) are listed so suppression holds regardless of
10
+ * how the resolver lands on a key.
11
+ *
12
+ * Used in: `getWalletOptionsCatalogue`.
13
+ */
14
+ export declare const EXCLUDED_WALLET_OPTION_KEYS: ReadonlySet<string>;
15
+ //# sourceMappingURL=excludedWalletOptionKeys.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"excludedWalletOptionKeys.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/excludedWalletOptionKeys/excludedWalletOptionKeys.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,2BAA2B,EAAE,WAAW,CAAC,MAAM,CAG1D,CAAC"}
@@ -0,0 +1,21 @@
1
+ import type { WalletBookSchema } from '../../../legacyWalletBook/legacyWalletBook.types';
2
+ type FindByNameMatchParams = {
3
+ candidate: string;
4
+ walletBook: WalletBookSchema;
5
+ };
6
+ /**
7
+ * Looks for a wallet book entry whose `name` or `shortName` normalizes to
8
+ * the same string as `candidate`. Used as a fallback by
9
+ * `findWalletOptionKeyForProviderKey` for providers whose
10
+ * `walletProviderKey` strips down to a value that does not match any
11
+ * `walletBook.wallets` key directly (e.g. an extension whose display name
12
+ * happens to match the wallet's `shortName` instead of its book key).
13
+ *
14
+ * @param params.candidate - The lowercased, chain-suffix-stripped candidate.
15
+ * @param params.walletBook - The fetched wallet book.
16
+ * @returns The matching wallet book wallet key, or `undefined`.
17
+ * @not-instrumented
18
+ */
19
+ export declare const findByNameMatch: ({ candidate, walletBook, }: FindByNameMatchParams) => string | undefined;
20
+ export {};
21
+ //# sourceMappingURL=findByNameMatch.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"findByNameMatch.d.ts","sourceRoot":"","sources":["../../../../../src/modules/walletOptionsCatalogue/findWalletOptionKeyForProviderKey/findByNameMatch/findByNameMatch.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AAEzF,KAAK,qBAAqB,GAAG;IAC3B,SAAS,EAAE,MAAM,CAAC;IAClB,UAAU,EAAE,gBAAgB,CAAC;CAC9B,CAAC;AAKF;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,eAAe,+BAGzB,qBAAqB,KAAG,MAAM,GAAG,SAWnC,CAAC"}
@@ -0,0 +1,44 @@
1
+ import type { Chain } from '../../chain';
2
+ import type { WalletBookSchema } from '../../legacyWalletBook/legacyWalletBook.types';
3
+ import type { WalletProvider } from '../../wallets/walletProvider/walletProvider.types';
4
+ type FindWalletOptionKeyForProviderKeyParams = {
5
+ chain: Chain;
6
+ walletBook: WalletBookSchema;
7
+ walletProvider: WalletProvider;
8
+ };
9
+ /**
10
+ * Resolves a registered wallet provider to the wallet option key it should
11
+ * be bucketed under. Always returns a key — providers with no wallet book
12
+ * match fall back to their self-announced `metadata.displayName`, so the
13
+ * catalogue surfaces them as self-described tiles instead of silently
14
+ * dropping them.
15
+ *
16
+ * Resolution order (each step short-circuits on first hit):
17
+ *
18
+ * 1. **Direct wallet book lookup with chain suffix** — try
19
+ * `walletBook.wallets[normalizedWalletNameWithChain]` as-is. Wallet
20
+ * book entries are inconsistent about whether they keep the chain
21
+ * suffix (e.g. `metamaskevm`) or strip it (e.g. `metamask`), so try
22
+ * the suffixed form first.
23
+ * 2. **Direct wallet book lookup without chain suffix** — strip the
24
+ * suffix and retry.
25
+ * 3. **Name match heuristic with chain suffix** — scan
26
+ * `walletBook.wallets` for an entry whose normalized `name` or
27
+ * `shortName` equals the suffixed candidate.
28
+ * 4. **Name match heuristic without chain suffix** — same scan on the
29
+ * stripped candidate.
30
+ * 5. **Display-name fallback** — derive a stable key from
31
+ * `walletProvider.metadata.displayName` via
32
+ * {@link normalizeWalletDisplayName}. Multi-chain registrations of the
33
+ * same self-described wallet (e.g. Phantom on EVM and Solana) collapse
34
+ * onto the same tile because each announces the same display name.
35
+ *
36
+ * @param params.chain - The provider's chain (used to strip the suffix).
37
+ * @param params.walletBook - The fetched wallet book.
38
+ * @param params.walletProvider - The registered wallet provider.
39
+ * @returns The wallet option key for this provider.
40
+ * @not-instrumented
41
+ */
42
+ export declare const findWalletOptionKeyForProviderKey: ({ chain, walletBook, walletProvider, }: FindWalletOptionKeyForProviderKeyParams) => string;
43
+ export {};
44
+ //# sourceMappingURL=findWalletOptionKeyForProviderKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"findWalletOptionKeyForProviderKey.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/findWalletOptionKeyForProviderKey/findWalletOptionKeyForProviderKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,+CAA+C,CAAC;AAGtF,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mDAAmD,CAAC;AAKxF,KAAK,uCAAuC,GAAG;IAC7C,KAAK,EAAE,KAAK,CAAC;IACb,UAAU,EAAE,gBAAgB,CAAC;IAC7B,cAAc,EAAE,cAAc,CAAC;CAChC,CAAC;AAEF;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AACH,eAAO,MAAM,iCAAiC,2CAI3C,uCAAuC,KAAG,MAoC5C,CAAC"}
@@ -0,0 +1,20 @@
1
+ import type { WalletBookSchema } from '../../../legacyWalletBook/legacyWalletBook.types';
2
+ type ResolveWalletOptionKeyParams = {
3
+ fallback: string;
4
+ wallet: WalletBookSchema['wallets'][string];
5
+ };
6
+ /**
7
+ * Picks the wallet option (group) key for a wallet book wallet. The wallet
8
+ * book carries the group association under a few different field names
9
+ * (`group`, `chainGroup`, `walletGroup`) depending on the wallet's
10
+ * provenance — this helper centralises the lookup. When none of those
11
+ * fields are set, the wallet key itself acts as its own wallet option key.
12
+ *
13
+ * @param params.fallback - Wallet key to return if no group field is set.
14
+ * @param params.wallet - The wallet book wallet entry.
15
+ * @returns The resolved wallet option key.
16
+ * @not-instrumented
17
+ */
18
+ export declare const resolveWalletOptionKey: ({ fallback, wallet, }: ResolveWalletOptionKeyParams) => string;
19
+ export {};
20
+ //# sourceMappingURL=resolveWalletOptionKey.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveWalletOptionKey.d.ts","sourceRoot":"","sources":["../../../../../src/modules/walletOptionsCatalogue/findWalletOptionKeyForProviderKey/resolveWalletOptionKey/resolveWalletOptionKey.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kDAAkD,CAAC;AAEzF,KAAK,4BAA4B,GAAG;IAClC,QAAQ,EAAE,MAAM,CAAC;IACjB,MAAM,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC,MAAM,CAAC,CAAC;CAC7C,CAAC;AAEF;;;;;;;;;;;GAWG;AACH,eAAO,MAAM,sBAAsB,0BAGhC,4BAA4B,KAAG,MACmC,CAAC"}
@@ -0,0 +1,15 @@
1
+ import type { WalletConnectionOption } from '../walletOptionsCatalogue.types';
2
+ type GetConnectionOptionPriorityParams = {
3
+ option: WalletConnectionOption;
4
+ };
5
+ /**
6
+ * Returns the numeric priority of a `WalletConnectionOption` for sorting.
7
+ * Lower numbers rank first.
8
+ *
9
+ * @param params.option - The connection option to inspect.
10
+ * @returns The numeric priority — lower is better.
11
+ * @not-instrumented
12
+ */
13
+ export declare const getConnectionOptionPriority: ({ option, }: GetConnectionOptionPriorityParams) => number;
14
+ export {};
15
+ //# sourceMappingURL=getConnectionOptionPriority.d.ts.map
@@ -0,0 +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;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,16 @@
1
+ import type { WalletOption } from '../walletOptionsCatalogue.types';
2
+ type GetPriorityIndexParams = {
3
+ walletOption: WalletOption;
4
+ };
5
+ /**
6
+ * Returns the index of a wallet option in `PRIORITY_WALLET_KEYS`, or
7
+ * `Number.POSITIVE_INFINITY` when the wallet is not in the hand-curated
8
+ * priority list. Lower index = higher priority.
9
+ *
10
+ * @param params.walletOption - The wallet option to inspect.
11
+ * @returns Numeric priority index — lower is better.
12
+ * @not-instrumented
13
+ */
14
+ export declare const getPriorityIndex: ({ walletOption, }: GetPriorityIndexParams) => number;
15
+ export {};
16
+ //# sourceMappingURL=getPriorityIndex.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getPriorityIndex.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/getPriorityIndex/getPriorityIndex.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,iCAAiC,CAAC;AAEpE,KAAK,sBAAsB,GAAG;IAC5B,YAAY,EAAE,YAAY,CAAC;CAC5B,CAAC;AAEF;;;;;;;;GAQG;AACH,eAAO,MAAM,gBAAgB,sBAE1B,sBAAsB,KAAG,MAI3B,CAAC"}
@@ -0,0 +1,14 @@
1
+ import type { GetWalletOptionsCatalogueParams, WalletOptionsCatalogue } from '../walletOptionsCatalogue.types';
2
+ /**
3
+ * Returns the catalogue of external wallet options a user can sign in
4
+ * with through this client. Always includes installed wallet providers;
5
+ * pass `includeMobileOptions: true` to additionally surface
6
+ * WalletConnect, in-app-browser, and install links.
7
+ *
8
+ * @param [params] - Inclusion flag + ordering preference.
9
+ * @param [client] - The Dynamic client instance. Only required when using multiple Dynamic clients.
10
+ * @returns A promise that resolves to the wallet options catalogue.
11
+ * @not-instrumented
12
+ */
13
+ export declare const getWalletOptionsCatalogue: (params?: GetWalletOptionsCatalogueParams, client?: import("../../../exports").DynamicClient) => Promise<WalletOptionsCatalogue>;
14
+ //# sourceMappingURL=getWalletOptionsCatalogue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getWalletOptionsCatalogue.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/getWalletOptionsCatalogue/getWalletOptionsCatalogue.ts"],"names":[],"mappings":"AAcA,OAAO,KAAK,EACV,+BAA+B,EAG/B,sBAAsB,EACvB,MAAM,iCAAiC,CAAC;AAIzC;;;;;;;;;;GAUG;AACH,eAAO,MAAM,yBAAyB,YAC5B,+BAA+B,wDAEtC,OAAO,CAAC,sBAAsB,CA6DhC,CAAC"}
@@ -0,0 +1,49 @@
1
+ import type { WithWalletProviderDisplayOverride } from '../buildWithWalletProviderOptions/buildWithWalletProviderOptions';
2
+ import type { WalletConnectionOption } from '../walletOptionsCatalogue.types';
3
+ /**
4
+ * A `connectionOption` tagged with the wallet option key it belongs under.
5
+ * Transformer outputs produce these; the catalogue groups them by
6
+ * `walletOptionKey` before building wallet option shells.
7
+ *
8
+ * `displayOverride` is set only by the `withWalletProvider` transformer,
9
+ * carrying the provider's self-announced `name` + `iconUrl`. The shell
10
+ * builder applies it on top of any wallet book entry — provider
11
+ * metadata wins over book branding.
12
+ */
13
+ export type ConnectionOptionForWalletOption = {
14
+ displayOverride?: WithWalletProviderDisplayOverride;
15
+ option: WalletConnectionOption;
16
+ walletOptionKey: string;
17
+ };
18
+ /**
19
+ * Bucket of grouped options for a single wallet option key, plus the
20
+ * first-seen display override (if any). Returned by
21
+ * `groupOptionsByWalletOption` for the catalogue to feed into the shell
22
+ * builder.
23
+ */
24
+ export type GroupedWalletOption = {
25
+ connectionOptions: WalletConnectionOption[];
26
+ displayOverride?: WithWalletProviderDisplayOverride;
27
+ };
28
+ type GroupOptionsByWalletOptionParams = {
29
+ options: ConnectionOptionForWalletOption[];
30
+ };
31
+ /**
32
+ * Buckets tagged connection options by their wallet option key. Preserves
33
+ * first-seen order so that the caller's choice of
34
+ * `walletOptionOrdering: 'relevance'` naturally inherits the upstream input
35
+ * order (wallet book order for walletConnect/inAppBrowser/installation,
36
+ * registry order for withWalletProvider).
37
+ *
38
+ * Carries through the first-seen `displayOverride` per wallet option
39
+ * key, so the shell builder can apply provider-announced metadata on
40
+ * top of any wallet book entry.
41
+ *
42
+ * @param params.options - The tagged options to group.
43
+ * @returns A map from wallet option key to its grouped option bucket,
44
+ * iterable in first-seen order.
45
+ * @not-instrumented
46
+ */
47
+ export declare const groupOptionsByWalletOption: ({ options, }: GroupOptionsByWalletOptionParams) => Map<string, GroupedWalletOption>;
48
+ export {};
49
+ //# sourceMappingURL=groupOptionsByWalletOption.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"groupOptionsByWalletOption.d.ts","sourceRoot":"","sources":["../../../../src/modules/walletOptionsCatalogue/groupOptionsByWalletOption/groupOptionsByWalletOption.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iCAAiC,EAAE,MAAM,kEAAkE,CAAC;AAC1H,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAE9E;;;;;;;;;GASG;AACH,MAAM,MAAM,+BAA+B,GAAG;IAC5C,eAAe,CAAC,EAAE,iCAAiC,CAAC;IACpD,MAAM,EAAE,sBAAsB,CAAC;IAC/B,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC;AAEF;;;;;GAKG;AACH,MAAM,MAAM,mBAAmB,GAAG;IAChC,iBAAiB,EAAE,sBAAsB,EAAE,CAAC;IAC5C,eAAe,CAAC,EAAE,iCAAiC,CAAC;CACrD,CAAC;AAEF,KAAK,gCAAgC,GAAG;IACtC,OAAO,EAAE,+BAA+B,EAAE,CAAC;CAC5C,CAAC;AAEF;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,0BAA0B,iBAEpC,gCAAgC,KAAG,GAAG,CAAC,MAAM,EAAE,mBAAmB,CAoBpE,CAAC"}
@@ -0,0 +1,18 @@
1
+ import type { WalletOption } from '../walletOptionsCatalogue.types';
2
+ type HasAnyConnectionOptionParams = {
3
+ walletOption: WalletOption;
4
+ };
5
+ /**
6
+ * True when the wallet option has at least one connection — i.e. the user
7
+ * can sign in right now. Install-only wallet options surface in the
8
+ * catalogue too (they carry `installationUrls`) but have an empty
9
+ * `connectionOptions` array; this predicate distinguishes them from
10
+ * actually connectable wallets in the relevance sort.
11
+ *
12
+ * @param params.walletOption - The wallet option to inspect.
13
+ * @returns True when `connectionOptions` is non-empty.
14
+ * @not-instrumented
15
+ */
16
+ export declare const hasAnyConnectionOption: ({ walletOption, }: HasAnyConnectionOptionParams) => boolean;
17
+ export {};
18
+ //# sourceMappingURL=hasAnyConnectionOption.d.ts.map