@crossmint/wallets-sdk 1.16.0 → 1.18.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 (322) hide show
  1. package/README.md +17 -15
  2. package/dist/api/__tests__/constants.d.cts +1 -1
  3. package/dist/api/__tests__/constants.d.ts +1 -1
  4. package/dist/api/__tests__/test-utils.cjs +1 -1
  5. package/dist/api/__tests__/test-utils.d.cts +1 -1
  6. package/dist/api/__tests__/test-utils.d.ts +1 -1
  7. package/dist/api/__tests__/test-utils.js +1 -1
  8. package/dist/api/client.cjs +1 -1
  9. package/dist/api/client.d.cts +3 -1
  10. package/dist/api/client.d.ts +3 -1
  11. package/dist/api/client.js +1 -1
  12. package/dist/api/gen/index.cjs +1 -1
  13. package/dist/api/gen/index.d.cts +2 -2
  14. package/dist/api/gen/index.d.ts +2 -2
  15. package/dist/api/gen/index.js +1 -1
  16. package/dist/api/gen/sdk.gen.cjs +1 -1
  17. package/dist/api/gen/sdk.gen.d.cts +22 -2
  18. package/dist/api/gen/sdk.gen.d.ts +22 -2
  19. package/dist/api/gen/sdk.gen.js +1 -1
  20. package/dist/api/gen/types.gen.d.cts +4201 -710
  21. package/dist/api/gen/types.gen.d.ts +4201 -710
  22. package/dist/api/index.cjs +1 -1
  23. package/dist/api/index.d.cts +1 -1
  24. package/dist/api/index.d.ts +1 -1
  25. package/dist/api/index.js +1 -1
  26. package/dist/api/types.d.cts +1 -1
  27. package/dist/api/types.d.ts +1 -1
  28. package/dist/chains/adapters/evm.cjs +1 -1
  29. package/dist/chains/adapters/evm.d.cts +1 -1
  30. package/dist/chains/adapters/evm.d.ts +1 -1
  31. package/dist/chains/adapters/evm.js +1 -1
  32. package/dist/chains/adapters/solana.cjs +1 -1
  33. package/dist/chains/adapters/solana.d.cts +1 -1
  34. package/dist/chains/adapters/solana.d.ts +1 -1
  35. package/dist/chains/adapters/solana.js +1 -1
  36. package/dist/chains/adapters/stellar.cjs +1 -1
  37. package/dist/chains/adapters/stellar.d.cts +1 -1
  38. package/dist/chains/adapters/stellar.d.ts +1 -1
  39. package/dist/chains/adapters/stellar.js +1 -1
  40. package/dist/chains/chain-adapter.cjs +1 -1
  41. package/dist/chains/chain-adapter.d.cts +4 -2
  42. package/dist/chains/chain-adapter.d.ts +4 -2
  43. package/dist/chains/chain-adapter.js +1 -1
  44. package/dist/chains/chains.cjs +1 -1
  45. package/dist/chains/chains.d.cts +2 -2
  46. package/dist/chains/chains.d.ts +2 -2
  47. package/dist/chains/chains.js +1 -1
  48. package/dist/chunk-5V2RGAOS.js +1 -0
  49. package/dist/chunk-6PNYLGI4.js +1 -0
  50. package/dist/{chunk-UX2FEVDY.cjs → chunk-7FIAYQ4O.cjs} +1 -1
  51. package/dist/chunk-7PRP6CYJ.cjs +1 -0
  52. package/dist/chunk-7SDHPRH6.js +1 -0
  53. package/dist/{chunk-XFCHACH7.cjs → chunk-AIAYUJJG.cjs} +1 -1
  54. package/dist/chunk-AXFHMPWT.cjs +1 -0
  55. package/dist/chunk-BHLJZVGK.js +1 -0
  56. package/dist/{chunk-HJH2S644.cjs → chunk-BIL7GVBL.cjs} +1 -1
  57. package/dist/chunk-BVFMFBOG.js +1 -0
  58. package/dist/chunk-BZYYVTXK.js +1 -0
  59. package/dist/{chunk-Q6UT242Q.cjs → chunk-DVLQXFLW.cjs} +1 -1
  60. package/dist/{chunk-IU7J7IPE.cjs → chunk-F7DCMK3I.cjs} +1 -1
  61. package/dist/{chunk-5IC6BHP5.js → chunk-FN4NQTKS.js} +1 -1
  62. package/dist/chunk-FYWSZVID.cjs +1 -0
  63. package/dist/{chunk-BHSOWQOR.js → chunk-GC55YCPK.js} +1 -1
  64. package/dist/chunk-GPE7YQZ2.js +1 -0
  65. package/dist/chunk-HCV4M7X2.cjs +1 -0
  66. package/dist/chunk-HUGHRNQ3.js +1 -0
  67. package/dist/{chunk-V3LZ3MNU.js → chunk-IGO2ME4H.js} +1 -1
  68. package/dist/chunk-IN5ZETZE.cjs +1 -0
  69. package/dist/chunk-INPOGMPS.js +1 -0
  70. package/dist/{chunk-24CGMAY3.js → chunk-IQARABFX.js} +1 -1
  71. package/dist/chunk-JAXFDUNN.js +1 -0
  72. package/dist/{chunk-Z4ZDZYZ3.js → chunk-JQIKTIVR.js} +1 -1
  73. package/dist/chunk-JY4KRKZ6.js +1 -0
  74. package/dist/chunk-KSPUJL3Z.js +1 -0
  75. package/dist/{chunk-BJC5DQQ3.cjs → chunk-LVSOX532.cjs} +1 -1
  76. package/dist/chunk-M76VM347.cjs +1 -0
  77. package/dist/chunk-MUOGCO7D.cjs +1 -0
  78. package/dist/{chunk-MJZZHBC2.cjs → chunk-NDYXTEUL.cjs} +1 -1
  79. package/dist/chunk-O673G7YH.cjs +1 -0
  80. package/dist/chunk-OIBCJAF2.cjs +1 -0
  81. package/dist/{chunk-SDXHKREB.cjs → chunk-OMTRYUKH.cjs} +1 -1
  82. package/dist/chunk-OS5IMZ5L.cjs +1 -0
  83. package/dist/chunk-P3P5Q5XX.js +1 -0
  84. package/dist/{chunk-OQFOUCTW.js → chunk-PCRZWMYM.js} +1 -1
  85. package/dist/{chunk-YFNCXOVW.js → chunk-PJAMNLC2.js} +1 -1
  86. package/dist/{chunk-66IZJXGV.js → chunk-PU3WUUJ6.js} +1 -1
  87. package/dist/{chunk-2G4Y25AJ.cjs → chunk-QQDUYSLH.cjs} +1 -1
  88. package/dist/chunk-RE6GCFXZ.js +1 -0
  89. package/dist/chunk-RFBVYUAZ.cjs +1 -0
  90. package/dist/chunk-SH6HXAB2.js +1 -0
  91. package/dist/chunk-SIBFVGGQ.cjs +1 -0
  92. package/dist/chunk-STB2VIIK.cjs +1 -0
  93. package/dist/{chunk-62EHAJRH.js → chunk-T4RCLJ5G.js} +1 -1
  94. package/dist/{chunk-SP5DQZ6D.cjs → chunk-T5EOJ3ZF.cjs} +1 -1
  95. package/dist/{chunk-4R2UUYLC.cjs → chunk-TFAJDUF3.cjs} +1 -1
  96. package/dist/chunk-V37HIVBA.cjs +1 -0
  97. package/dist/{chunk-KVMPBMNG.cjs → chunk-VIOAYLVZ.cjs} +1 -1
  98. package/dist/{chunk-NQ3PROUV.js → chunk-VNFATNQJ.js} +1 -1
  99. package/dist/{chunk-AZAIXRGS.js → chunk-VOFCBB2P.js} +1 -1
  100. package/dist/chunk-VPUAUWI4.js +1 -0
  101. package/dist/chunk-WX6KBOP5.js +1 -0
  102. package/dist/{chunk-U5DLRN5U.cjs → chunk-WY5KEIIJ.cjs} +1 -1
  103. package/dist/chunk-X4GV76CR.js +1 -0
  104. package/dist/chunk-X56YW5CL.js +1 -0
  105. package/dist/{chunk-VHSQUXJK.js → chunk-X7V2C53V.js} +1 -1
  106. package/dist/{chunk-T7DD437D.cjs → chunk-XFUCYR24.cjs} +2 -2
  107. package/dist/chunk-XUWIECBY.cjs +1 -0
  108. package/dist/chunk-YQ4GAIPZ.js +1 -0
  109. package/dist/{chunk-5SREMYFJ.cjs → chunk-ZAIKHHRP.cjs} +1 -1
  110. package/dist/{chunk-62XSK3ZX.cjs → chunk-ZDKIEL5N.cjs} +1 -1
  111. package/dist/chunk-ZHI5V3DM.cjs +1 -0
  112. package/dist/{chunk-53VKI7FJ.cjs → chunk-ZRIMMPXR.cjs} +1 -1
  113. package/dist/{chunk-BL7A7ROX.js → chunk-ZV2UOOBX.js} +1 -1
  114. package/dist/index.cjs +1 -1
  115. package/dist/index.d.cts +2 -2
  116. package/dist/index.d.ts +2 -2
  117. package/dist/index.js +1 -1
  118. package/dist/logger/index.cjs +1 -1
  119. package/dist/logger/index.js +1 -1
  120. package/dist/logger/init.cjs +1 -1
  121. package/dist/logger/init.js +1 -1
  122. package/dist/sdk.cjs +1 -1
  123. package/dist/sdk.d.cts +3 -3
  124. package/dist/sdk.d.ts +3 -3
  125. package/dist/sdk.js +1 -1
  126. package/dist/signers/descriptors/api-key.d.cts +1 -1
  127. package/dist/signers/descriptors/api-key.d.ts +1 -1
  128. package/dist/signers/descriptors/device.d.cts +1 -1
  129. package/dist/signers/descriptors/device.d.ts +1 -1
  130. package/dist/signers/descriptors/email.d.cts +1 -1
  131. package/dist/signers/descriptors/email.d.ts +1 -1
  132. package/dist/signers/descriptors/external-wallet.d.cts +1 -1
  133. package/dist/signers/descriptors/external-wallet.d.ts +1 -1
  134. package/dist/signers/descriptors/index.cjs +1 -1
  135. package/dist/signers/descriptors/index.d.cts +1 -1
  136. package/dist/signers/descriptors/index.d.ts +1 -1
  137. package/dist/signers/descriptors/index.js +1 -1
  138. package/dist/signers/descriptors/passkey.d.cts +1 -1
  139. package/dist/signers/descriptors/passkey.d.ts +1 -1
  140. package/dist/signers/descriptors/phone.d.cts +1 -1
  141. package/dist/signers/descriptors/phone.d.ts +1 -1
  142. package/dist/signers/descriptors/server.cjs +1 -1
  143. package/dist/signers/descriptors/server.d.cts +1 -1
  144. package/dist/signers/descriptors/server.d.ts +1 -1
  145. package/dist/signers/descriptors/server.js +1 -1
  146. package/dist/signers/descriptors/types.d.cts +1 -1
  147. package/dist/signers/descriptors/types.d.ts +1 -1
  148. package/dist/signers/device.d.cts +1 -1
  149. package/dist/signers/device.d.ts +1 -1
  150. package/dist/signers/evm-api-key.d.cts +1 -1
  151. package/dist/signers/evm-api-key.d.ts +1 -1
  152. package/dist/signers/evm-external-wallet.d.cts +1 -1
  153. package/dist/signers/evm-external-wallet.d.ts +1 -1
  154. package/dist/signers/external-wallet-signer.d.cts +1 -1
  155. package/dist/signers/external-wallet-signer.d.ts +1 -1
  156. package/dist/signers/index.cjs +1 -1
  157. package/dist/signers/index.d.cts +1 -1
  158. package/dist/signers/index.d.ts +1 -1
  159. package/dist/signers/index.js +1 -1
  160. package/dist/signers/non-custodial/index.cjs +1 -1
  161. package/dist/signers/non-custodial/index.d.cts +2 -2
  162. package/dist/signers/non-custodial/index.d.ts +2 -2
  163. package/dist/signers/non-custodial/index.js +1 -1
  164. package/dist/signers/non-custodial/ncs-evm-signer.cjs +1 -1
  165. package/dist/signers/non-custodial/ncs-evm-signer.d.cts +1 -1
  166. package/dist/signers/non-custodial/ncs-evm-signer.d.ts +1 -1
  167. package/dist/signers/non-custodial/ncs-evm-signer.js +1 -1
  168. package/dist/signers/non-custodial/ncs-signer.cjs +1 -1
  169. package/dist/signers/non-custodial/ncs-signer.d.cts +6 -3
  170. package/dist/signers/non-custodial/ncs-signer.d.ts +6 -3
  171. package/dist/signers/non-custodial/ncs-signer.js +1 -1
  172. package/dist/signers/non-custodial/ncs-solana-signer.cjs +1 -1
  173. package/dist/signers/non-custodial/ncs-solana-signer.d.cts +2 -2
  174. package/dist/signers/non-custodial/ncs-solana-signer.d.ts +2 -2
  175. package/dist/signers/non-custodial/ncs-solana-signer.js +1 -1
  176. package/dist/signers/non-custodial/ncs-stellar-signer.cjs +1 -1
  177. package/dist/signers/non-custodial/ncs-stellar-signer.d.cts +1 -1
  178. package/dist/signers/non-custodial/ncs-stellar-signer.d.ts +1 -1
  179. package/dist/signers/non-custodial/ncs-stellar-signer.js +1 -1
  180. package/dist/signers/passkey.d.cts +1 -1
  181. package/dist/signers/passkey.d.ts +1 -1
  182. package/dist/signers/server/assemble-server-signer.cjs +1 -1
  183. package/dist/signers/server/assemble-server-signer.d.cts +1 -1
  184. package/dist/signers/server/assemble-server-signer.d.ts +1 -1
  185. package/dist/signers/server/assemble-server-signer.js +1 -1
  186. package/dist/signers/server/evm-server-signer.d.cts +1 -1
  187. package/dist/signers/server/evm-server-signer.d.ts +1 -1
  188. package/dist/signers/server/helpers/derive-server-signer.d.cts +1 -1
  189. package/dist/signers/server/helpers/derive-server-signer.d.ts +1 -1
  190. package/dist/signers/server/helpers/index.d.cts +1 -1
  191. package/dist/signers/server/helpers/index.d.ts +1 -1
  192. package/dist/signers/server/index.cjs +1 -1
  193. package/dist/signers/server/index.d.cts +1 -1
  194. package/dist/signers/server/index.d.ts +1 -1
  195. package/dist/signers/server/index.js +1 -1
  196. package/dist/signers/server/resolver.cjs +1 -1
  197. package/dist/signers/server/resolver.d.cts +1 -1
  198. package/dist/signers/server/resolver.d.ts +1 -1
  199. package/dist/signers/server/resolver.js +1 -1
  200. package/dist/signers/server/solana-server-signer.cjs +1 -1
  201. package/dist/signers/server/solana-server-signer.d.cts +2 -2
  202. package/dist/signers/server/solana-server-signer.d.ts +2 -2
  203. package/dist/signers/server/solana-server-signer.js +1 -1
  204. package/dist/signers/server/stellar-server-signer.d.cts +1 -1
  205. package/dist/signers/server/stellar-server-signer.d.ts +1 -1
  206. package/dist/signers/solana-api-key.d.cts +1 -1
  207. package/dist/signers/solana-api-key.d.ts +1 -1
  208. package/dist/signers/solana-external-wallet.cjs +1 -1
  209. package/dist/signers/solana-external-wallet.d.cts +5 -2
  210. package/dist/signers/solana-external-wallet.d.ts +5 -2
  211. package/dist/signers/solana-external-wallet.js +1 -1
  212. package/dist/signers/solana-version-1.fixture.cjs +1 -0
  213. package/dist/signers/solana-version-1.fixture.d.cts +4 -0
  214. package/dist/signers/solana-version-1.fixture.d.ts +4 -0
  215. package/dist/signers/solana-version-1.fixture.js +1 -0
  216. package/dist/signers/stellar-external-wallet.d.cts +1 -1
  217. package/dist/signers/stellar-external-wallet.d.ts +1 -1
  218. package/dist/signers/types.cjs +1 -1
  219. package/dist/signers/types.d.cts +1 -1
  220. package/dist/signers/types.d.ts +1 -1
  221. package/dist/signers/types.js +1 -1
  222. package/dist/{types-D2ugRtLo.d.ts → types-BzTdj2KC.d.ts} +42 -10
  223. package/dist/{types-r_5ltlhH.d.cts → types-PtseJnku.d.cts} +42 -10
  224. package/dist/utils/constants.cjs +1 -1
  225. package/dist/utils/constants.js +1 -1
  226. package/dist/utils/device-signers/IframeDeviceSignerKeyStorage.cjs +1 -1
  227. package/dist/utils/device-signers/IframeDeviceSignerKeyStorage.js +1 -1
  228. package/dist/utils/device-signers/createDeviceSigner.d.cts +1 -1
  229. package/dist/utils/device-signers/createDeviceSigner.d.ts +1 -1
  230. package/dist/utils/device-signers/index.cjs +1 -1
  231. package/dist/utils/device-signers/index.d.cts +1 -1
  232. package/dist/utils/device-signers/index.d.ts +1 -1
  233. package/dist/utils/device-signers/index.js +1 -1
  234. package/dist/utils/locators.d.cts +1 -1
  235. package/dist/utils/locators.d.ts +1 -1
  236. package/dist/utils/recovery.cjs +1 -1
  237. package/dist/utils/recovery.d.cts +11 -4
  238. package/dist/utils/recovery.d.ts +11 -4
  239. package/dist/utils/recovery.js +1 -1
  240. package/dist/utils/signer-locator.d.cts +1 -1
  241. package/dist/utils/signer-locator.d.ts +1 -1
  242. package/dist/utils/signer-mapping.d.cts +1 -1
  243. package/dist/utils/signer-mapping.d.ts +1 -1
  244. package/dist/wallets/__tests__/test-helpers.cjs +1 -1
  245. package/dist/wallets/__tests__/test-helpers.d.cts +3 -1
  246. package/dist/wallets/__tests__/test-helpers.d.ts +3 -1
  247. package/dist/wallets/__tests__/test-helpers.js +1 -1
  248. package/dist/wallets/evm.cjs +1 -1
  249. package/dist/wallets/evm.d.cts +1 -1
  250. package/dist/wallets/evm.d.ts +1 -1
  251. package/dist/wallets/evm.js +1 -1
  252. package/dist/wallets/services/balance-formatter.cjs +1 -1
  253. package/dist/wallets/services/balance-formatter.d.cts +1 -1
  254. package/dist/wallets/services/balance-formatter.d.ts +1 -1
  255. package/dist/wallets/services/balance-formatter.js +1 -1
  256. package/dist/wallets/services/device-recovery-service.cjs +1 -1
  257. package/dist/wallets/services/device-recovery-service.d.cts +1 -1
  258. package/dist/wallets/services/device-recovery-service.d.ts +1 -1
  259. package/dist/wallets/services/device-recovery-service.js +1 -1
  260. package/dist/wallets/services/operation-poller.cjs +1 -1
  261. package/dist/wallets/services/operation-poller.d.cts +1 -1
  262. package/dist/wallets/services/operation-poller.d.ts +1 -1
  263. package/dist/wallets/services/operation-poller.js +1 -1
  264. package/dist/wallets/services/signer-manager.cjs +1 -1
  265. package/dist/wallets/services/signer-manager.d.cts +19 -4
  266. package/dist/wallets/services/signer-manager.d.ts +19 -4
  267. package/dist/wallets/services/signer-manager.js +1 -1
  268. package/dist/wallets/solana.cjs +1 -1
  269. package/dist/wallets/solana.d.cts +1 -1
  270. package/dist/wallets/solana.d.ts +1 -1
  271. package/dist/wallets/solana.js +1 -1
  272. package/dist/wallets/stellar.cjs +1 -1
  273. package/dist/wallets/stellar.d.cts +1 -1
  274. package/dist/wallets/stellar.d.ts +1 -1
  275. package/dist/wallets/stellar.js +1 -1
  276. package/dist/wallets/types.d.cts +1 -1
  277. package/dist/wallets/types.d.ts +1 -1
  278. package/dist/wallets/wallet-factory.cjs +1 -1
  279. package/dist/wallets/wallet-factory.d.cts +2 -5
  280. package/dist/wallets/wallet-factory.d.ts +2 -5
  281. package/dist/wallets/wallet-factory.js +1 -1
  282. package/dist/wallets/wallet.cjs +1 -1
  283. package/dist/wallets/wallet.d.cts +40 -4
  284. package/dist/wallets/wallet.d.ts +40 -4
  285. package/dist/wallets/wallet.js +1 -1
  286. package/package.json +4 -4
  287. package/dist/chunk-3DK46BDI.cjs +0 -1
  288. package/dist/chunk-3KAXLLXJ.js +0 -1
  289. package/dist/chunk-4KOHNUNP.js +0 -1
  290. package/dist/chunk-5L5MJAFS.cjs +0 -1
  291. package/dist/chunk-63VNTHGQ.cjs +0 -1
  292. package/dist/chunk-6T4GBLXY.js +0 -1
  293. package/dist/chunk-7CUHY3S4.js +0 -1
  294. package/dist/chunk-7HOXBHKP.cjs +0 -1
  295. package/dist/chunk-7KKHT5PF.js +0 -1
  296. package/dist/chunk-A7DA5DSE.js +0 -1
  297. package/dist/chunk-BHHXVRU6.cjs +0 -1
  298. package/dist/chunk-BKN5HSDC.js +0 -1
  299. package/dist/chunk-CXWFJGKI.js +0 -1
  300. package/dist/chunk-D2QNNQ26.cjs +0 -1
  301. package/dist/chunk-D5IIHIEW.cjs +0 -1
  302. package/dist/chunk-DB3TFNM2.cjs +0 -1
  303. package/dist/chunk-DCKFFFPG.js +0 -1
  304. package/dist/chunk-FBOM4U3X.js +0 -1
  305. package/dist/chunk-FUZ2TPGD.js +0 -1
  306. package/dist/chunk-IQ3QQ4M6.js +0 -1
  307. package/dist/chunk-JAWHGOGP.cjs +0 -1
  308. package/dist/chunk-KQFRFHM4.cjs +0 -1
  309. package/dist/chunk-LUUUKDHQ.js +0 -1
  310. package/dist/chunk-LXAEBSEY.cjs +0 -1
  311. package/dist/chunk-NMUHOXYI.js +0 -1
  312. package/dist/chunk-QNM7BGTP.js +0 -1
  313. package/dist/chunk-QPCZFIUV.cjs +0 -1
  314. package/dist/chunk-QV4LLMZM.js +0 -1
  315. package/dist/chunk-QYNWUGXV.js +0 -1
  316. package/dist/chunk-UP6VFZQH.js +0 -1
  317. package/dist/chunk-WJDR3MG5.js +0 -1
  318. package/dist/chunk-Y7P2T5BP.cjs +0 -1
  319. package/dist/chunk-YWN6HKW7.cjs +0 -1
  320. package/dist/chunk-ZHGXG7JM.cjs +0 -1
  321. package/dist/chunk-ZSFPKH2C.js +0 -1
  322. package/dist/chunk-ZUG5ROPF.cjs +0 -1
@@ -1,5 +1,5 @@
1
1
  import { Chain } from '../../chains/chains.js';
2
- import { t as ServerSignerConfig, Q as DerivedServerSigner, al as ApiSourcedServerSignerConfig, an as ServerSignerLocator } from '../../types-D2ugRtLo.js';
2
+ import { x as ServerSignerConfig, Z as DerivedServerSigner, ar as ApiSourcedServerSignerConfig, at as ServerSignerLocator } from '../../types-BzTdj2KC.js';
3
3
  import '@crossmint/common-sdk-base';
4
4
  import 'viem';
5
5
  import '../../api/gen/types.gen.js';
@@ -1 +1 @@
1
- import{a}from"../../chunk-OQFOUCTW.js";import"../../chunk-L52GDMSH.js";import"../../chunk-24CGMAY3.js";import"../../chunk-QM3BB4E2.js";import"../../chunk-TSJUK3ED.js";import"../../chunk-IQ3QQ4M6.js";import"../../chunk-GXUPHO44.js";import"../../chunk-277G6KNG.js";import"../../chunk-FJPAMX7L.js";import"../../chunk-E3H6RZHM.js";import"../../chunk-EM3D5Q3A.js";import"../../chunk-DCKFFFPG.js";import"../../chunk-OQZTL6ZG.js";import"../../chunk-NU7VF7MC.js";export{a as ServerSignerResolver};
1
+ import{a}from"../../chunk-PCRZWMYM.js";import"../../chunk-L52GDMSH.js";import"../../chunk-IQARABFX.js";import"../../chunk-QM3BB4E2.js";import"../../chunk-TSJUK3ED.js";import"../../chunk-JY4KRKZ6.js";import"../../chunk-GXUPHO44.js";import"../../chunk-277G6KNG.js";import"../../chunk-FJPAMX7L.js";import"../../chunk-E3H6RZHM.js";import"../../chunk-EM3D5Q3A.js";import"../../chunk-P3P5Q5XX.js";import"../../chunk-OQZTL6ZG.js";import"../../chunk-NU7VF7MC.js";export{a as ServerSignerResolver};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkHJH2S644cjs = require('../../chunk-HJH2S644.cjs');require('../../chunk-LWA3SX6Z.cjs');require('../../chunk-DSIFRRBS.cjs');exports.SolanaServerSigner = _chunkHJH2S644cjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkBIL7GVBLcjs = require('../../chunk-BIL7GVBL.cjs');require('../../chunk-LWA3SX6Z.cjs');require('../../chunk-DSIFRRBS.cjs');exports.SolanaServerSigner = _chunkBIL7GVBLcjs.a;
@@ -1,4 +1,4 @@
1
- import { w as SignerAdapter, ay as ServerInternalSignerConfig } from '../../types-r_5ltlhH.cjs';
1
+ import { F as SignerAdapter, aE as ServerInternalSignerConfig } from '../../types-PtseJnku.cjs';
2
2
  import 'viem';
3
3
  import '../../api/gen/types.gen.cjs';
4
4
  import 'ox';
@@ -21,7 +21,7 @@ declare class SolanaServerSigner implements SignerAdapter<"server"> {
21
21
  signMessage(message: string): Promise<{
22
22
  signature: string;
23
23
  }>;
24
- signTransaction(transaction: string): Promise<{
24
+ signTransaction(message: string): Promise<{
25
25
  signature: string;
26
26
  }>;
27
27
  }
@@ -1,4 +1,4 @@
1
- import { w as SignerAdapter, ay as ServerInternalSignerConfig } from '../../types-D2ugRtLo.js';
1
+ import { F as SignerAdapter, aE as ServerInternalSignerConfig } from '../../types-BzTdj2KC.js';
2
2
  import 'viem';
3
3
  import '../../api/gen/types.gen.js';
4
4
  import 'ox';
@@ -21,7 +21,7 @@ declare class SolanaServerSigner implements SignerAdapter<"server"> {
21
21
  signMessage(message: string): Promise<{
22
22
  signature: string;
23
23
  }>;
24
- signTransaction(transaction: string): Promise<{
24
+ signTransaction(message: string): Promise<{
25
25
  signature: string;
26
26
  }>;
27
27
  }
@@ -1 +1 @@
1
- import{a}from"../../chunk-IQ3QQ4M6.js";import"../../chunk-FJPAMX7L.js";import"../../chunk-NU7VF7MC.js";export{a as SolanaServerSigner};
1
+ import{a}from"../../chunk-JY4KRKZ6.js";import"../../chunk-FJPAMX7L.js";import"../../chunk-NU7VF7MC.js";export{a as SolanaServerSigner};
@@ -1,4 +1,4 @@
1
- import { w as SignerAdapter, ay as ServerInternalSignerConfig } from '../../types-r_5ltlhH.cjs';
1
+ import { F as SignerAdapter, aE as ServerInternalSignerConfig } from '../../types-PtseJnku.cjs';
2
2
  import 'viem';
3
3
  import '../../api/gen/types.gen.cjs';
4
4
  import 'ox';
@@ -1,4 +1,4 @@
1
- import { w as SignerAdapter, ay as ServerInternalSignerConfig } from '../../types-D2ugRtLo.js';
1
+ import { F as SignerAdapter, aE as ServerInternalSignerConfig } from '../../types-BzTdj2KC.js';
2
2
  import 'viem';
3
3
  import '../../api/gen/types.gen.js';
4
4
  import 'ox';
@@ -1,4 +1,4 @@
1
- import { w as SignerAdapter, X as ApiKeyInternalSignerConfig, a as ApiKeySignerLocator } from '../types-r_5ltlhH.cjs';
1
+ import { F as SignerAdapter, a0 as ApiKeyInternalSignerConfig, c as ApiKeySignerLocator } from '../types-PtseJnku.cjs';
2
2
  import 'viem';
3
3
  import '../api/gen/types.gen.cjs';
4
4
  import 'ox';
@@ -1,4 +1,4 @@
1
- import { w as SignerAdapter, X as ApiKeyInternalSignerConfig, a as ApiKeySignerLocator } from '../types-D2ugRtLo.js';
1
+ import { F as SignerAdapter, a0 as ApiKeyInternalSignerConfig, c as ApiKeySignerLocator } from '../types-BzTdj2KC.js';
2
2
  import 'viem';
3
3
  import '../api/gen/types.gen.js';
4
4
  import 'ox';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkLXAEBSEYcjs = require('../chunk-LXAEBSEY.cjs');require('../chunk-SCEPJO4Q.cjs');require('../chunk-VS6I4S7X.cjs');require('../chunk-DSIFRRBS.cjs');exports.SolanaExternalWalletSigner = _chunkLXAEBSEYcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSTB2VIIKcjs = require('../chunk-STB2VIIK.cjs');require('../chunk-SCEPJO4Q.cjs');require('../chunk-VS6I4S7X.cjs');require('../chunk-DSIFRRBS.cjs');exports.SolanaExternalWalletSigner = _chunkSTB2VIIKcjs.a;
@@ -1,4 +1,4 @@
1
- import { Y as ExternalWalletInternalSignerConfig } from '../types-r_5ltlhH.cjs';
1
+ import { a1 as ExternalWalletInternalSignerConfig } from '../types-PtseJnku.cjs';
2
2
  import { SolanaChain } from '../chains/chains.cjs';
3
3
  import { ExternalWalletSigner } from './external-wallet-signer.cjs';
4
4
  import 'viem';
@@ -13,8 +13,11 @@ import '../utils/device-signers/DeviceSignerKeyStorage.cjs';
13
13
 
14
14
  declare class SolanaExternalWalletSigner extends ExternalWalletSigner<SolanaChain> {
15
15
  private onSign?;
16
+ private onSignBytes?;
16
17
  constructor(config: ExternalWalletInternalSignerConfig<SolanaChain>);
17
- signMessage(): Promise<never>;
18
+ signMessage(message: string): Promise<{
19
+ signature: string;
20
+ }>;
18
21
  signTransaction(transaction: string): Promise<{
19
22
  signature: string;
20
23
  }>;
@@ -1,4 +1,4 @@
1
- import { Y as ExternalWalletInternalSignerConfig } from '../types-D2ugRtLo.js';
1
+ import { a1 as ExternalWalletInternalSignerConfig } from '../types-BzTdj2KC.js';
2
2
  import { SolanaChain } from '../chains/chains.js';
3
3
  import { ExternalWalletSigner } from './external-wallet-signer.js';
4
4
  import 'viem';
@@ -13,8 +13,11 @@ import '../utils/device-signers/DeviceSignerKeyStorage.js';
13
13
 
14
14
  declare class SolanaExternalWalletSigner extends ExternalWalletSigner<SolanaChain> {
15
15
  private onSign?;
16
+ private onSignBytes?;
16
17
  constructor(config: ExternalWalletInternalSignerConfig<SolanaChain>);
17
- signMessage(): Promise<never>;
18
+ signMessage(message: string): Promise<{
19
+ signature: string;
20
+ }>;
18
21
  signTransaction(transaction: string): Promise<{
19
22
  signature: string;
20
23
  }>;
@@ -1 +1 @@
1
- import{a}from"../chunk-7KKHT5PF.js";import"../chunk-2YLRFJ66.js";import"../chunk-KOHPRJDP.js";import"../chunk-NU7VF7MC.js";export{a as SolanaExternalWalletSigner};
1
+ import{a}from"../chunk-JAXFDUNN.js";import"../chunk-2YLRFJ66.js";import"../chunk-KOHPRJDP.js";import"../chunk-NU7VF7MC.js";export{a as SolanaExternalWalletSigner};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-DSIFRRBS.cjs');var u="SfLpKWvLbWyWadgKR9DqWd5MUujMg9jw59zoubdiwjFcnbXn2n23vQophPSKwcwbArNgocjyc1uVu9f35qPtR4jqBwUJu2o4vbhDMHp7FCyEUaQ7mMsH3FuSUGSZ5nkBMoaXh3Tu6zFuNzy42w5hEytYwpT6h6oXCUzdD8DP2rie8gSz7gHM9zKHTZCev7opza73P5mbsRrDXC8HuMNtPiUSi2qRounF",S= exports.VERSION_1_PREFIX =129;exports.VERSION_1_MESSAGE = u; exports.VERSION_1_PREFIX = S;
@@ -0,0 +1,4 @@
1
+ declare const VERSION_1_MESSAGE = "SfLpKWvLbWyWadgKR9DqWd5MUujMg9jw59zoubdiwjFcnbXn2n23vQophPSKwcwbArNgocjyc1uVu9f35qPtR4jqBwUJu2o4vbhDMHp7FCyEUaQ7mMsH3FuSUGSZ5nkBMoaXh3Tu6zFuNzy42w5hEytYwpT6h6oXCUzdD8DP2rie8gSz7gHM9zKHTZCev7opza73P5mbsRrDXC8HuMNtPiUSi2qRounF";
2
+ declare const VERSION_1_PREFIX = 129;
3
+
4
+ export { VERSION_1_MESSAGE, VERSION_1_PREFIX };
@@ -0,0 +1,4 @@
1
+ declare const VERSION_1_MESSAGE = "SfLpKWvLbWyWadgKR9DqWd5MUujMg9jw59zoubdiwjFcnbXn2n23vQophPSKwcwbArNgocjyc1uVu9f35qPtR4jqBwUJu2o4vbhDMHp7FCyEUaQ7mMsH3FuSUGSZ5nkBMoaXh3Tu6zFuNzy42w5hEytYwpT6h6oXCUzdD8DP2rie8gSz7gHM9zKHTZCev7opza73P5mbsRrDXC8HuMNtPiUSi2qRounF";
2
+ declare const VERSION_1_PREFIX = 129;
3
+
4
+ export { VERSION_1_MESSAGE, VERSION_1_PREFIX };
@@ -0,0 +1 @@
1
+ import"../chunk-NU7VF7MC.js";var S="SfLpKWvLbWyWadgKR9DqWd5MUujMg9jw59zoubdiwjFcnbXn2n23vQophPSKwcwbArNgocjyc1uVu9f35qPtR4jqBwUJu2o4vbhDMHp7FCyEUaQ7mMsH3FuSUGSZ5nkBMoaXh3Tu6zFuNzy42w5hEytYwpT6h6oXCUzdD8DP2rie8gSz7gHM9zKHTZCev7opza73P5mbsRrDXC8HuMNtPiUSi2qRounF",M=129;export{S as VERSION_1_MESSAGE,M as VERSION_1_PREFIX};
@@ -1,4 +1,4 @@
1
- import { Y as ExternalWalletInternalSignerConfig } from '../types-r_5ltlhH.cjs';
1
+ import { a1 as ExternalWalletInternalSignerConfig } from '../types-PtseJnku.cjs';
2
2
  import { StellarChain } from '../chains/chains.cjs';
3
3
  import { ExternalWalletSigner } from './external-wallet-signer.cjs';
4
4
  import 'viem';
@@ -1,4 +1,4 @@
1
- import { Y as ExternalWalletInternalSignerConfig } from '../types-D2ugRtLo.js';
1
+ import { a1 as ExternalWalletInternalSignerConfig } from '../types-BzTdj2KC.js';
2
2
  import { StellarChain } from '../chains/chains.js';
3
3
  import { ExternalWalletSigner } from './external-wallet-signer.js';
4
4
  import 'viem';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkQPCZFIUVcjs = require('../chunk-QPCZFIUV.cjs');require('../chunk-DSIFRRBS.cjs');exports.AuthRejectedError = _chunkQPCZFIUVcjs.a; exports.KeyExportError = _chunkQPCZFIUVcjs.d; exports.OnboardingSessionExpiredError = _chunkQPCZFIUVcjs.e; exports.OtpValidationError = _chunkQPCZFIUVcjs.b; exports.SignerStatusError = _chunkQPCZFIUVcjs.c; exports.isApiSourcedServerSignerConfig = _chunkQPCZFIUVcjs.f; exports.isExportableSignerAdapter = _chunkQPCZFIUVcjs.g;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkHCV4M7X2cjs = require('../chunk-HCV4M7X2.cjs');require('../chunk-DSIFRRBS.cjs');exports.AuthRejectedError = _chunkHCV4M7X2cjs.a; exports.KeyExportError = _chunkHCV4M7X2cjs.e; exports.OnboardingSessionExpiredError = _chunkHCV4M7X2cjs.f; exports.OtpValidationError = _chunkHCV4M7X2cjs.b; exports.SignerAuthenticationError = _chunkHCV4M7X2cjs.c; exports.SignerStatusError = _chunkHCV4M7X2cjs.d; exports.isApiSourcedServerSignerConfig = _chunkHCV4M7X2cjs.g; exports.isExportableSignerAdapter = _chunkHCV4M7X2cjs.h;
@@ -3,7 +3,7 @@ import '@crossmint/client-sdk-window';
3
3
  import '@crossmint/client-signers';
4
4
  export { EvmExternalWalletSignerConfig, ExternalWalletSignerConfig, SolanaExternalWalletSignerConfig, StellarExternalWalletSignerConfig } from '@crossmint/common-sdk-base';
5
5
  import '../chains/chains.cjs';
6
- export { X as ApiKeyInternalSignerConfig, b1 as ApiKeySignerConfig, a as ApiKeySignerLocator, al as ApiSourcedServerSignerConfig, d as AuthRejectedError, ax as BaseSignResult, b2 as BaseSignerConfig, Q as DerivedServerSigner, U as DeviceInternalSignerConfig, V as DeviceSignResult, D as DeviceSignerConfig, g as DeviceSignerLocator, av as EmailInternalSignerConfig, h as EmailSignerConfig, i as EmailSignerLocator, j as ExportSignerTEEConnection, k as ExportableSignerAdapter, Y as ExternalWalletInternalSignerConfig, l as ExternalWalletRegistrationConfig, m as ExternalWalletSignerConfigForChain, n as ExternalWalletSignerLocator, Z as InternalSignerConfig, K as KeyExportError, b3 as NonCustodialSignerType, O as OnboardingSessionExpiredError, o as OtpValidationError, _ as PasskeyInternalSignerConfig, $ as PasskeySignResult, a1 as PasskeySignerConfig, P as PasskeySignerLocator, aw as PhoneInternalSignerConfig, p as PhoneSignerConfig, q as PhoneSignerLocator, R as RecoverySignerConfigForChain, ay as ServerInternalSignerConfig, t as ServerSignerConfig, an as ServerSignerLocator, w as SignerAdapter, x as SignerConfigForChain, y as SignerLocator, F as SignerStatusError, b4 as isApiSourcedServerSignerConfig, N as isExportableSignerAdapter } from '../types-r_5ltlhH.cjs';
6
+ export { a0 as ApiKeyInternalSignerConfig, b9 as ApiKeySignerConfig, c as ApiKeySignerLocator, ar as ApiSourcedServerSignerConfig, f as AuthRejectedError, aD as BaseSignResult, ba as BaseSignerConfig, Z as DerivedServerSigner, _ as DeviceInternalSignerConfig, $ as DeviceSignResult, D as DeviceSignerConfig, i as DeviceSignerLocator, aB as EmailInternalSignerConfig, j as EmailSignerConfig, k as EmailSignerLocator, l as ExportSignerTEEConnection, m as ExportableSignerAdapter, a1 as ExternalWalletInternalSignerConfig, n as ExternalWalletRegistrationConfig, o as ExternalWalletSignerConfigForChain, p as ExternalWalletSignerLocator, a2 as InternalSignerConfig, K as KeyExportError, bb as NonCustodialSignerType, O as OnboardingSessionExpiredError, q as OtpValidationError, a3 as PasskeyInternalSignerConfig, a4 as PasskeySignResult, a7 as PasskeySignerConfig, P as PasskeySignerLocator, aC as PhoneInternalSignerConfig, r as PhoneSignerConfig, s as PhoneSignerLocator, R as RecoverySignerConfigForChain, aE as ServerInternalSignerConfig, x as ServerSignerConfig, at as ServerSignerLocator, F as SignerAdapter, G as SignerAuthenticationError, H as SignerConfigForChain, I as SignerLocator, L as SignerStatusError, bc as isApiSourcedServerSignerConfig, Y as isExportableSignerAdapter } from '../types-PtseJnku.cjs';
7
7
  import 'viem';
8
8
  import '../api/gen/types.gen.cjs';
9
9
  import '@solana/web3.js';
@@ -3,7 +3,7 @@ import '@crossmint/client-sdk-window';
3
3
  import '@crossmint/client-signers';
4
4
  export { EvmExternalWalletSignerConfig, ExternalWalletSignerConfig, SolanaExternalWalletSignerConfig, StellarExternalWalletSignerConfig } from '@crossmint/common-sdk-base';
5
5
  import '../chains/chains.js';
6
- export { X as ApiKeyInternalSignerConfig, b1 as ApiKeySignerConfig, a as ApiKeySignerLocator, al as ApiSourcedServerSignerConfig, d as AuthRejectedError, ax as BaseSignResult, b2 as BaseSignerConfig, Q as DerivedServerSigner, U as DeviceInternalSignerConfig, V as DeviceSignResult, D as DeviceSignerConfig, g as DeviceSignerLocator, av as EmailInternalSignerConfig, h as EmailSignerConfig, i as EmailSignerLocator, j as ExportSignerTEEConnection, k as ExportableSignerAdapter, Y as ExternalWalletInternalSignerConfig, l as ExternalWalletRegistrationConfig, m as ExternalWalletSignerConfigForChain, n as ExternalWalletSignerLocator, Z as InternalSignerConfig, K as KeyExportError, b3 as NonCustodialSignerType, O as OnboardingSessionExpiredError, o as OtpValidationError, _ as PasskeyInternalSignerConfig, $ as PasskeySignResult, a1 as PasskeySignerConfig, P as PasskeySignerLocator, aw as PhoneInternalSignerConfig, p as PhoneSignerConfig, q as PhoneSignerLocator, R as RecoverySignerConfigForChain, ay as ServerInternalSignerConfig, t as ServerSignerConfig, an as ServerSignerLocator, w as SignerAdapter, x as SignerConfigForChain, y as SignerLocator, F as SignerStatusError, b4 as isApiSourcedServerSignerConfig, N as isExportableSignerAdapter } from '../types-D2ugRtLo.js';
6
+ export { a0 as ApiKeyInternalSignerConfig, b9 as ApiKeySignerConfig, c as ApiKeySignerLocator, ar as ApiSourcedServerSignerConfig, f as AuthRejectedError, aD as BaseSignResult, ba as BaseSignerConfig, Z as DerivedServerSigner, _ as DeviceInternalSignerConfig, $ as DeviceSignResult, D as DeviceSignerConfig, i as DeviceSignerLocator, aB as EmailInternalSignerConfig, j as EmailSignerConfig, k as EmailSignerLocator, l as ExportSignerTEEConnection, m as ExportableSignerAdapter, a1 as ExternalWalletInternalSignerConfig, n as ExternalWalletRegistrationConfig, o as ExternalWalletSignerConfigForChain, p as ExternalWalletSignerLocator, a2 as InternalSignerConfig, K as KeyExportError, bb as NonCustodialSignerType, O as OnboardingSessionExpiredError, q as OtpValidationError, a3 as PasskeyInternalSignerConfig, a4 as PasskeySignResult, a7 as PasskeySignerConfig, P as PasskeySignerLocator, aC as PhoneInternalSignerConfig, r as PhoneSignerConfig, s as PhoneSignerLocator, R as RecoverySignerConfigForChain, aE as ServerInternalSignerConfig, x as ServerSignerConfig, at as ServerSignerLocator, F as SignerAdapter, G as SignerAuthenticationError, H as SignerConfigForChain, I as SignerLocator, L as SignerStatusError, bc as isApiSourcedServerSignerConfig, Y as isExportableSignerAdapter } from '../types-BzTdj2KC.js';
7
7
  import 'viem';
8
8
  import '../api/gen/types.gen.js';
9
9
  import '@solana/web3.js';
@@ -1 +1 @@
1
- import{a,b,c,d,e,f,g}from"../chunk-DCKFFFPG.js";import"../chunk-NU7VF7MC.js";export{a as AuthRejectedError,d as KeyExportError,e as OnboardingSessionExpiredError,b as OtpValidationError,c as SignerStatusError,f as isApiSourcedServerSignerConfig,g as isExportableSignerAdapter};
1
+ import{a,b,c,d,e,f,g,h}from"../chunk-P3P5Q5XX.js";import"../chunk-NU7VF7MC.js";export{a as AuthRejectedError,e as KeyExportError,f as OnboardingSessionExpiredError,b as OtpValidationError,c as SignerAuthenticationError,d as SignerStatusError,g as isApiSourcedServerSignerConfig,h as isExportableSignerAdapter};
@@ -1,10 +1,10 @@
1
1
  import { TypedDataDefinition, TypedData, Address } from 'viem';
2
- import { WalletBalanceV20250609ResponseDto, CreateWalletV2025DtoClass, WalletV2025ResponseDtoClass, WalletV1Alpha2ErrorDto, CreateTransactionV2025DtoClass, WalletsTransactionV2025ResponseDtoClass, WalletV1Alpha2TransactionErrorDto, SubmitApprovalV2025Dto, WalletsV2025ControllerSubmitApprovals2Error, WalletsV2025ControllerGetTransaction2Error, CreateSignatureV2025Dto, WalletsSignatureV2025ResponseDto, WalletsV2025ControllerCreateSignatureRequest2Error, WalletsV2025ControllerSubmitSignatureApprovals2Error, WalletsV2025ControllerGetSignature2Error, WalletsMultipleTransactionV2025ResponseDto, WalletsV2025ControllerGetTransactionsWithoutChain2Error, WalletsActivityResponseUnstableDto, BalanceV20250609ControllerGetBalanceForLocator2Error, FundWalletAmountDto, BalanceControllerFundWallet4Responses, BalanceControllerFundWallet4Error, CreateSignerV2025InputDtoClass, DelegatedSignerV2025DtoClass, WalletsV2025ControllerCreateDelegatedSigner2Error, WalletsV2025ControllerGetDelegatedSigner2Error, SendTokenDto, WalletsSendTokenControllerSendToken2Response } from './api/gen/types.gen.js';
2
+ import { WalletBalanceV20250609ResponseDto, CreateWalletV2025DtoClass, WalletV2025ResponseDtoClass, WalletV1Alpha2ErrorDto, CreateTransactionV2025DtoClass, WalletsTransactionV2025ResponseDtoClass, WalletV1Alpha2TransactionErrorDto, SubmitApprovalV2025Dto, WalletsV2025ControllerSubmitApprovals2Error, WalletsV2025ControllerGetTransaction2Error, CreateSignatureV2025Dto, WalletsSignatureV2025ResponseDto, WalletsV2025ControllerCreateSignatureRequest2Error, WalletsV2025ControllerSubmitSignatureApprovals2Error, WalletsV2025ControllerGetSignature2Error, WalletsMultipleTransactionV2025ResponseDto, WalletsV2025ControllerGetTransactionsWithoutChain2Error, WalletsActivityResponseUnstableDto, BalanceV20250609ControllerGetBalanceForLocator2Error, FundWalletAmountDto, BalanceControllerFundWallet4Responses, BalanceControllerFundWallet4Error, CreateSignerV2025InputDtoClass, DelegatedSignerV2025DtoClass, WalletsV2025ControllerCreateDelegatedSigner2Error, AddRecoveryMethodsV2025DtoClass, AddRecoveryMethodsResponseV2025DtoClass, WalletsV2025ControllerGetDelegatedSigner2Error, SendTokenDto, WalletsSendTokenControllerSendToken2Response } from './api/gen/types.gen.js';
3
3
  import { WebAuthnP256 } from 'ox';
4
4
  import { HandshakeParent } from '@crossmint/client-sdk-window';
5
5
  import { signerOutboundEvents, signerInboundEvents, exportSignerOutboundEvents, exportSignerInboundEvents } from '@crossmint/client-signers';
6
6
  import { SolanaExternalWalletSignerConfig, StellarExternalWalletSignerConfig, EvmExternalWalletSignerConfig, Crossmint } from '@crossmint/common-sdk-base';
7
- import { Chain, StellarChain, SolanaChain, EVMSmartWalletChain } from './chains/chains.js';
7
+ import { Chain, StellarChain, EVMSmartWalletChain, SolanaChain } from './chains/chains.js';
8
8
  import { VersionedTransaction, Keypair } from '@solana/web3.js';
9
9
  import { Abi } from 'abitype';
10
10
  import { DeviceSignerKeyStorage } from './utils/device-signers/DeviceSignerKeyStorage.js';
@@ -41,6 +41,16 @@ type RemoveSignerReturnType = {
41
41
  transactionId: string;
42
42
  status?: "success";
43
43
  };
44
+ type AddRecoveryMethodOptions = PrepareOnly;
45
+ type RemoveRecoveryMethodOptions = PrepareOnly;
46
+ type AddRecoveryMethodReturnType = {
47
+ transactionId: string;
48
+ status?: "success";
49
+ };
50
+ type RemoveRecoveryMethodReturnType = {
51
+ transactionId: string;
52
+ status?: "success";
53
+ };
44
54
  type SignMessageInput = {
45
55
  message: string;
46
56
  options?: SignatureInputOptions;
@@ -183,14 +193,17 @@ type WalletArgsFor<C extends Chain> = {
183
193
  };
184
194
  /** A signer that can be used as a recovery signer. Device signers cannot be recovery signers. */
185
195
  type RecoverySignerConfigFor<C extends Chain> = Exclude<SignerConfigForChain<C>, DeviceSignerConfig>;
186
- /**
187
- * Solana and Stellar accept a list of recovery signers, each able to authorize on its own.
188
- * Other chains accept a single recovery signer until their backend DTO supports a list.
189
- */
190
- type RecoveryCreateArg<C extends Chain> = C extends SolanaChain | StellarChain ? RecoverySignerConfigFor<C> | Array<RecoverySignerConfigFor<C>> : RecoverySignerConfigFor<C>;
191
196
  type WalletCreateArgs<C extends Chain> = WalletArgsFor<C> & {
192
- /** Recovery signer, or list of recovery signers on Solana and Stellar. */
193
- recovery: RecoveryCreateArg<C>;
197
+ /**
198
+ * @deprecated Use `recoveryMethods`. Still accepted: a single recovery method, or a list, which is treated
199
+ * exactly like `recoveryMethods`. Pass either `recovery` or `recoveryMethods`, not both.
200
+ */
201
+ recovery?: RecoverySignerConfigFor<C> | Array<RecoverySignerConfigFor<C>>;
202
+ /**
203
+ * Recovery methods, each able to authorize on its own. Only Solana and Stellar accept more than one.
204
+ * Required unless the deprecated `recovery` is passed.
205
+ */
206
+ recoveryMethods?: Array<RecoverySignerConfigFor<C>>;
194
207
  /** Signers to register on the wallet during creation. */
195
208
  signers?: Array<SignerConfigForChain<C> | ExternalWalletRegistrationConfig>;
196
209
  alias?: string;
@@ -285,6 +298,14 @@ declare class OtpValidationError extends Error {
285
298
  readonly code: string | undefined;
286
299
  constructor(message: string, code?: string);
287
300
  }
301
+ /**
302
+ * Thrown when the signer backend rejects the request's credentials (missing, empty or expired JWT).
303
+ * Distinct from `OtpValidationError`: the OTP flow never ran, the user must re-authenticate with the app first.
304
+ */
305
+ declare class SignerAuthenticationError extends Error {
306
+ readonly code: string | undefined;
307
+ constructor(message: string, code?: string);
308
+ }
288
309
  declare class SignerStatusError extends Error {
289
310
  readonly code: string | undefined;
290
311
  constructor(message: string, code?: string);
@@ -503,6 +524,17 @@ type RemoveSignerParams = {
503
524
  };
504
525
  type RemoveSignerResponse = WalletsTransactionV2025ResponseDtoClass | WalletsV2025ControllerCreateDelegatedSigner2Error;
505
526
  type GetSignerResponse = DelegatedSignerV2025DtoClass | WalletsV2025ControllerGetDelegatedSigner2Error;
527
+ type RegisterRecoveryMethodParams = {
528
+ recoveryMethods: AddRecoveryMethodsV2025DtoClass["recoveryMethods"];
529
+ approver: AddRecoveryMethodsV2025DtoClass["approver"];
530
+ chain?: RegisterSignerChain;
531
+ };
532
+ type RegisterRecoveryMethodResponse = AddRecoveryMethodsResponseV2025DtoClass | WalletsV2025ControllerCreateDelegatedSigner2Error;
533
+ type RemoveRecoveryMethodParams = {
534
+ approver: AddRecoveryMethodsV2025DtoClass["approver"];
535
+ chain?: RegisterSignerChain;
536
+ };
537
+ type RemoveRecoveryMethodResponse = WalletsTransactionV2025ResponseDtoClass | WalletsV2025ControllerCreateDelegatedSigner2Error;
506
538
  type GetSignersResponse = Array<DelegatedSignerV2025DtoClass> | WalletsV2025ControllerGetDelegatedSigner2Error;
507
539
  type Signer = DelegatedSignerV2025DtoClass;
508
540
  type SendParams = SendTokenDto;
@@ -513,4 +545,4 @@ type EvmWalletLocator = `me:evm:${WalletType}` | Address;
513
545
  type SolanaWalletLocator = `me:solana:${WalletType}` | SolanaAddress;
514
546
  type WalletLocator = EvmWalletLocator | SolanaWalletLocator;
515
547
 
516
- export { type PasskeySignResult as $, type AddSignerOptions as A, type Balances as B, type Callbacks as C, type DeviceSignerConfig as D, type EVMTransactionInput as E, SignerStatusError as F, type SolanaTransactionInput as G, type TransferScope as H, type Transfers as I, type WalletCreateArgs as J, KeyExportError as K, type WalletOptions as L, type WalletPlugin as M, isExportableSignerAdapter as N, OnboardingSessionExpiredError as O, type PasskeySignerLocator as P, type DerivedServerSigner as Q, type RecoverySignerConfigForChain as R, type Scope as S, type Transaction as T, type DeviceInternalSignerConfig as U, type DeviceSignResult as V, type WalletArgsFor as W, type ApiKeyInternalSignerConfig as X, type ExternalWalletInternalSignerConfig as Y, type InternalSignerConfig as Z, type PasskeyInternalSignerConfig as _, type ApiKeySignerLocator as a, type SignerInput as a$, type UserLocator as a0, type PasskeySignerConfig as a1, type Signer as a2, type PendingSignerOperation as a3, type PrepareOnly as a4, type SignMessageInput as a5, type SignTypedDataInput as a6, type TransactionInputOptions as a7, type FundWalletResponse as a8, type GetTransactionsResponse as a9, type GetWalletResponse as aA, type CreateTransactionParams as aB, type CreateTransactionResponse as aC, type ApproveTransactionParams as aD, type ApproveTransactionResponse as aE, type CreateSignatureParams as aF, type CreateSignatureResponse as aG, type ApproveSignatureParams as aH, type GetSignatureResponse as aI, type GetTransfersResponse as aJ, type GetBalanceResponse as aK, type FundWalletParams as aL, type RemoveSignerParams as aM, type RemoveSignerResponse as aN, type SendParams as aO, type CreateTransactionSuccessResponse as aP, type GetSignersResponse as aQ, type GetWalletSuccessResponse as aR, type RecoverySignerConfig as aS, type Approval as aT, type DeviceSignerDescriptor as aU, type FormattedEVMTransaction as aV, type PendingApproval as aW, type RecoveryCreateArg as aX, type RecoverySignerConfigFor as aY, type SendTokenTransactionType as aZ, type SignatureInputOptions as a_, type GetTransactionSuccessResponse as aa, type SendTokenTransactionOptions as ab, type ApproveResult as ac, type AddSignerReturnType as ad, type RemoveSignerReturnType as ae, type WalletLocator as af, type ApproveSignatureResponse as ag, type StellarTransactionInput as ah, type UpgradeOptions as ai, type MigrateOptions as aj, type GetSignerResponse as ak, type ApiSourcedServerSignerConfig as al, type RegisterSignerParams as am, type ServerSignerLocator as an, type RegisterSignerChain as ao, type RegisterSignerResponse as ap, type TokenBalance as aq, type GetTransactionResponse as ar, type SendResponse as as, type CreateWalletResponse as at, type CreateWalletParams as au, type EmailInternalSignerConfig as av, type PhoneInternalSignerConfig as aw, type BaseSignResult as ax, type ServerInternalSignerConfig as ay, type GetBalanceSuccessResponse as az, type ApproveOptions as b, type StellarWalletPlugin as b0, type ApiKeySignerConfig as b1, type BaseSignerConfig as b2, type NonCustodialSignerType as b3, isApiSourcedServerSignerConfig as b4, type ApproveParams as c, AuthRejectedError as d, type ClientSideWalletArgsFor as e, type ClientSideWalletCreateArgs as f, type DeviceSignerLocator as g, type EmailSignerConfig as h, type EmailSignerLocator as i, type ExportSignerTEEConnection as j, type ExportableSignerAdapter as k, type ExternalWalletRegistrationConfig as l, type ExternalWalletSignerConfigForChain as m, type ExternalWalletSignerLocator as n, OtpValidationError as o, type PhoneSignerConfig as p, type PhoneSignerLocator as q, type RegisterSignerPasskeyParams as r, type RemoveSignerOptions as s, type ServerSignerConfig as t, type Signature as u, type Signer$1 as v, type SignerAdapter as w, type SignerConfigForChain as x, type SignerLocator as y, type SignerStatus as z };
548
+ export { type DeviceSignResult as $, type AddRecoveryMethodOptions as A, type Balances as B, type Callbacks as C, type DeviceSignerConfig as D, type EVMTransactionInput as E, type SignerAdapter as F, SignerAuthenticationError as G, type SignerConfigForChain as H, type SignerLocator as I, type SignerStatus as J, KeyExportError as K, SignerStatusError as L, type SolanaTransactionInput as M, type TransferScope as N, OnboardingSessionExpiredError as O, type PasskeySignerLocator as P, type Transfers as Q, type RecoverySignerConfigForChain as R, type Scope as S, type Transaction as T, type WalletCreateArgs as U, type WalletOptions as V, type WalletArgsFor as W, type WalletPlugin as X, isExportableSignerAdapter as Y, type DerivedServerSigner as Z, type DeviceInternalSignerConfig as _, type AddRecoveryMethodReturnType as a, type GetWalletSuccessResponse as a$, type ApiKeyInternalSignerConfig as a0, type ExternalWalletInternalSignerConfig as a1, type InternalSignerConfig as a2, type PasskeyInternalSignerConfig as a3, type PasskeySignResult as a4, type UserLocator as a5, type RecoverySignerConfigFor as a6, type PasskeySignerConfig as a7, type Signer as a8, type PendingSignerOperation as a9, type CreateWalletParams as aA, type EmailInternalSignerConfig as aB, type PhoneInternalSignerConfig as aC, type BaseSignResult as aD, type ServerInternalSignerConfig as aE, type GetBalanceSuccessResponse as aF, type GetWalletResponse as aG, type CreateTransactionParams as aH, type CreateTransactionResponse as aI, type ApproveTransactionParams as aJ, type ApproveTransactionResponse as aK, type CreateSignatureParams as aL, type CreateSignatureResponse as aM, type ApproveSignatureParams as aN, type GetSignatureResponse as aO, type GetTransfersResponse as aP, type GetBalanceResponse as aQ, type FundWalletParams as aR, type RemoveSignerParams as aS, type RemoveSignerResponse as aT, type RegisterRecoveryMethodParams as aU, type RegisterRecoveryMethodResponse as aV, type RemoveRecoveryMethodParams as aW, type RemoveRecoveryMethodResponse as aX, type SendParams as aY, type CreateTransactionSuccessResponse as aZ, type GetSignersResponse as a_, type PrepareOnly as aa, type SignMessageInput as ab, type SignTypedDataInput as ac, type FundWalletResponse as ad, type GetTransactionsResponse as ae, type GetTransactionSuccessResponse as af, type SendTokenTransactionOptions as ag, type ApproveResult as ah, type AddSignerReturnType as ai, type RemoveSignerReturnType as aj, type WalletLocator as ak, type ApproveSignatureResponse as al, type TransactionInputOptions as am, type StellarTransactionInput as an, type UpgradeOptions as ao, type MigrateOptions as ap, type GetSignerResponse as aq, type ApiSourcedServerSignerConfig as ar, type RegisterSignerParams as as, type ServerSignerLocator as at, type RegisterSignerChain as au, type RegisterSignerResponse as av, type TokenBalance as aw, type GetTransactionResponse as ax, type SendResponse as ay, type CreateWalletResponse as az, type AddSignerOptions as b, type RecoverySignerConfig as b0, type Approval as b1, type DeviceSignerDescriptor as b2, type FormattedEVMTransaction as b3, type PendingApproval as b4, type SendTokenTransactionType as b5, type SignatureInputOptions as b6, type SignerInput as b7, type StellarWalletPlugin as b8, type ApiKeySignerConfig as b9, type BaseSignerConfig as ba, type NonCustodialSignerType as bb, isApiSourcedServerSignerConfig as bc, type ApiKeySignerLocator as c, type ApproveOptions as d, type ApproveParams as e, AuthRejectedError as f, type ClientSideWalletArgsFor as g, type ClientSideWalletCreateArgs as h, type DeviceSignerLocator as i, type EmailSignerConfig as j, type EmailSignerLocator as k, type ExportSignerTEEConnection as l, type ExportableSignerAdapter as m, type ExternalWalletRegistrationConfig as n, type ExternalWalletSignerConfigForChain as o, type ExternalWalletSignerLocator as p, OtpValidationError as q, type PhoneSignerConfig as r, type PhoneSignerLocator as s, type RegisterSignerPasskeyParams as t, type RemoveRecoveryMethodOptions as u, type RemoveRecoveryMethodReturnType as v, type RemoveSignerOptions as w, type ServerSignerConfig as x, type Signature as y, type Signer$1 as z };
@@ -1,10 +1,10 @@
1
1
  import { TypedDataDefinition, TypedData, Address } from 'viem';
2
- import { WalletBalanceV20250609ResponseDto, CreateWalletV2025DtoClass, WalletV2025ResponseDtoClass, WalletV1Alpha2ErrorDto, CreateTransactionV2025DtoClass, WalletsTransactionV2025ResponseDtoClass, WalletV1Alpha2TransactionErrorDto, SubmitApprovalV2025Dto, WalletsV2025ControllerSubmitApprovals2Error, WalletsV2025ControllerGetTransaction2Error, CreateSignatureV2025Dto, WalletsSignatureV2025ResponseDto, WalletsV2025ControllerCreateSignatureRequest2Error, WalletsV2025ControllerSubmitSignatureApprovals2Error, WalletsV2025ControllerGetSignature2Error, WalletsMultipleTransactionV2025ResponseDto, WalletsV2025ControllerGetTransactionsWithoutChain2Error, WalletsActivityResponseUnstableDto, BalanceV20250609ControllerGetBalanceForLocator2Error, FundWalletAmountDto, BalanceControllerFundWallet4Responses, BalanceControllerFundWallet4Error, CreateSignerV2025InputDtoClass, DelegatedSignerV2025DtoClass, WalletsV2025ControllerCreateDelegatedSigner2Error, WalletsV2025ControllerGetDelegatedSigner2Error, SendTokenDto, WalletsSendTokenControllerSendToken2Response } from './api/gen/types.gen.cjs';
2
+ import { WalletBalanceV20250609ResponseDto, CreateWalletV2025DtoClass, WalletV2025ResponseDtoClass, WalletV1Alpha2ErrorDto, CreateTransactionV2025DtoClass, WalletsTransactionV2025ResponseDtoClass, WalletV1Alpha2TransactionErrorDto, SubmitApprovalV2025Dto, WalletsV2025ControllerSubmitApprovals2Error, WalletsV2025ControllerGetTransaction2Error, CreateSignatureV2025Dto, WalletsSignatureV2025ResponseDto, WalletsV2025ControllerCreateSignatureRequest2Error, WalletsV2025ControllerSubmitSignatureApprovals2Error, WalletsV2025ControllerGetSignature2Error, WalletsMultipleTransactionV2025ResponseDto, WalletsV2025ControllerGetTransactionsWithoutChain2Error, WalletsActivityResponseUnstableDto, BalanceV20250609ControllerGetBalanceForLocator2Error, FundWalletAmountDto, BalanceControllerFundWallet4Responses, BalanceControllerFundWallet4Error, CreateSignerV2025InputDtoClass, DelegatedSignerV2025DtoClass, WalletsV2025ControllerCreateDelegatedSigner2Error, AddRecoveryMethodsV2025DtoClass, AddRecoveryMethodsResponseV2025DtoClass, WalletsV2025ControllerGetDelegatedSigner2Error, SendTokenDto, WalletsSendTokenControllerSendToken2Response } from './api/gen/types.gen.cjs';
3
3
  import { WebAuthnP256 } from 'ox';
4
4
  import { HandshakeParent } from '@crossmint/client-sdk-window';
5
5
  import { signerOutboundEvents, signerInboundEvents, exportSignerOutboundEvents, exportSignerInboundEvents } from '@crossmint/client-signers';
6
6
  import { SolanaExternalWalletSignerConfig, StellarExternalWalletSignerConfig, EvmExternalWalletSignerConfig, Crossmint } from '@crossmint/common-sdk-base';
7
- import { Chain, StellarChain, SolanaChain, EVMSmartWalletChain } from './chains/chains.cjs';
7
+ import { Chain, StellarChain, EVMSmartWalletChain, SolanaChain } from './chains/chains.cjs';
8
8
  import { VersionedTransaction, Keypair } from '@solana/web3.js';
9
9
  import { Abi } from 'abitype';
10
10
  import { DeviceSignerKeyStorage } from './utils/device-signers/DeviceSignerKeyStorage.cjs';
@@ -41,6 +41,16 @@ type RemoveSignerReturnType = {
41
41
  transactionId: string;
42
42
  status?: "success";
43
43
  };
44
+ type AddRecoveryMethodOptions = PrepareOnly;
45
+ type RemoveRecoveryMethodOptions = PrepareOnly;
46
+ type AddRecoveryMethodReturnType = {
47
+ transactionId: string;
48
+ status?: "success";
49
+ };
50
+ type RemoveRecoveryMethodReturnType = {
51
+ transactionId: string;
52
+ status?: "success";
53
+ };
44
54
  type SignMessageInput = {
45
55
  message: string;
46
56
  options?: SignatureInputOptions;
@@ -183,14 +193,17 @@ type WalletArgsFor<C extends Chain> = {
183
193
  };
184
194
  /** A signer that can be used as a recovery signer. Device signers cannot be recovery signers. */
185
195
  type RecoverySignerConfigFor<C extends Chain> = Exclude<SignerConfigForChain<C>, DeviceSignerConfig>;
186
- /**
187
- * Solana and Stellar accept a list of recovery signers, each able to authorize on its own.
188
- * Other chains accept a single recovery signer until their backend DTO supports a list.
189
- */
190
- type RecoveryCreateArg<C extends Chain> = C extends SolanaChain | StellarChain ? RecoverySignerConfigFor<C> | Array<RecoverySignerConfigFor<C>> : RecoverySignerConfigFor<C>;
191
196
  type WalletCreateArgs<C extends Chain> = WalletArgsFor<C> & {
192
- /** Recovery signer, or list of recovery signers on Solana and Stellar. */
193
- recovery: RecoveryCreateArg<C>;
197
+ /**
198
+ * @deprecated Use `recoveryMethods`. Still accepted: a single recovery method, or a list, which is treated
199
+ * exactly like `recoveryMethods`. Pass either `recovery` or `recoveryMethods`, not both.
200
+ */
201
+ recovery?: RecoverySignerConfigFor<C> | Array<RecoverySignerConfigFor<C>>;
202
+ /**
203
+ * Recovery methods, each able to authorize on its own. Only Solana and Stellar accept more than one.
204
+ * Required unless the deprecated `recovery` is passed.
205
+ */
206
+ recoveryMethods?: Array<RecoverySignerConfigFor<C>>;
194
207
  /** Signers to register on the wallet during creation. */
195
208
  signers?: Array<SignerConfigForChain<C> | ExternalWalletRegistrationConfig>;
196
209
  alias?: string;
@@ -285,6 +298,14 @@ declare class OtpValidationError extends Error {
285
298
  readonly code: string | undefined;
286
299
  constructor(message: string, code?: string);
287
300
  }
301
+ /**
302
+ * Thrown when the signer backend rejects the request's credentials (missing, empty or expired JWT).
303
+ * Distinct from `OtpValidationError`: the OTP flow never ran, the user must re-authenticate with the app first.
304
+ */
305
+ declare class SignerAuthenticationError extends Error {
306
+ readonly code: string | undefined;
307
+ constructor(message: string, code?: string);
308
+ }
288
309
  declare class SignerStatusError extends Error {
289
310
  readonly code: string | undefined;
290
311
  constructor(message: string, code?: string);
@@ -503,6 +524,17 @@ type RemoveSignerParams = {
503
524
  };
504
525
  type RemoveSignerResponse = WalletsTransactionV2025ResponseDtoClass | WalletsV2025ControllerCreateDelegatedSigner2Error;
505
526
  type GetSignerResponse = DelegatedSignerV2025DtoClass | WalletsV2025ControllerGetDelegatedSigner2Error;
527
+ type RegisterRecoveryMethodParams = {
528
+ recoveryMethods: AddRecoveryMethodsV2025DtoClass["recoveryMethods"];
529
+ approver: AddRecoveryMethodsV2025DtoClass["approver"];
530
+ chain?: RegisterSignerChain;
531
+ };
532
+ type RegisterRecoveryMethodResponse = AddRecoveryMethodsResponseV2025DtoClass | WalletsV2025ControllerCreateDelegatedSigner2Error;
533
+ type RemoveRecoveryMethodParams = {
534
+ approver: AddRecoveryMethodsV2025DtoClass["approver"];
535
+ chain?: RegisterSignerChain;
536
+ };
537
+ type RemoveRecoveryMethodResponse = WalletsTransactionV2025ResponseDtoClass | WalletsV2025ControllerCreateDelegatedSigner2Error;
506
538
  type GetSignersResponse = Array<DelegatedSignerV2025DtoClass> | WalletsV2025ControllerGetDelegatedSigner2Error;
507
539
  type Signer = DelegatedSignerV2025DtoClass;
508
540
  type SendParams = SendTokenDto;
@@ -513,4 +545,4 @@ type EvmWalletLocator = `me:evm:${WalletType}` | Address;
513
545
  type SolanaWalletLocator = `me:solana:${WalletType}` | SolanaAddress;
514
546
  type WalletLocator = EvmWalletLocator | SolanaWalletLocator;
515
547
 
516
- export { type PasskeySignResult as $, type AddSignerOptions as A, type Balances as B, type Callbacks as C, type DeviceSignerConfig as D, type EVMTransactionInput as E, SignerStatusError as F, type SolanaTransactionInput as G, type TransferScope as H, type Transfers as I, type WalletCreateArgs as J, KeyExportError as K, type WalletOptions as L, type WalletPlugin as M, isExportableSignerAdapter as N, OnboardingSessionExpiredError as O, type PasskeySignerLocator as P, type DerivedServerSigner as Q, type RecoverySignerConfigForChain as R, type Scope as S, type Transaction as T, type DeviceInternalSignerConfig as U, type DeviceSignResult as V, type WalletArgsFor as W, type ApiKeyInternalSignerConfig as X, type ExternalWalletInternalSignerConfig as Y, type InternalSignerConfig as Z, type PasskeyInternalSignerConfig as _, type ApiKeySignerLocator as a, type SignerInput as a$, type UserLocator as a0, type PasskeySignerConfig as a1, type Signer as a2, type PendingSignerOperation as a3, type PrepareOnly as a4, type SignMessageInput as a5, type SignTypedDataInput as a6, type TransactionInputOptions as a7, type FundWalletResponse as a8, type GetTransactionsResponse as a9, type GetWalletResponse as aA, type CreateTransactionParams as aB, type CreateTransactionResponse as aC, type ApproveTransactionParams as aD, type ApproveTransactionResponse as aE, type CreateSignatureParams as aF, type CreateSignatureResponse as aG, type ApproveSignatureParams as aH, type GetSignatureResponse as aI, type GetTransfersResponse as aJ, type GetBalanceResponse as aK, type FundWalletParams as aL, type RemoveSignerParams as aM, type RemoveSignerResponse as aN, type SendParams as aO, type CreateTransactionSuccessResponse as aP, type GetSignersResponse as aQ, type GetWalletSuccessResponse as aR, type RecoverySignerConfig as aS, type Approval as aT, type DeviceSignerDescriptor as aU, type FormattedEVMTransaction as aV, type PendingApproval as aW, type RecoveryCreateArg as aX, type RecoverySignerConfigFor as aY, type SendTokenTransactionType as aZ, type SignatureInputOptions as a_, type GetTransactionSuccessResponse as aa, type SendTokenTransactionOptions as ab, type ApproveResult as ac, type AddSignerReturnType as ad, type RemoveSignerReturnType as ae, type WalletLocator as af, type ApproveSignatureResponse as ag, type StellarTransactionInput as ah, type UpgradeOptions as ai, type MigrateOptions as aj, type GetSignerResponse as ak, type ApiSourcedServerSignerConfig as al, type RegisterSignerParams as am, type ServerSignerLocator as an, type RegisterSignerChain as ao, type RegisterSignerResponse as ap, type TokenBalance as aq, type GetTransactionResponse as ar, type SendResponse as as, type CreateWalletResponse as at, type CreateWalletParams as au, type EmailInternalSignerConfig as av, type PhoneInternalSignerConfig as aw, type BaseSignResult as ax, type ServerInternalSignerConfig as ay, type GetBalanceSuccessResponse as az, type ApproveOptions as b, type StellarWalletPlugin as b0, type ApiKeySignerConfig as b1, type BaseSignerConfig as b2, type NonCustodialSignerType as b3, isApiSourcedServerSignerConfig as b4, type ApproveParams as c, AuthRejectedError as d, type ClientSideWalletArgsFor as e, type ClientSideWalletCreateArgs as f, type DeviceSignerLocator as g, type EmailSignerConfig as h, type EmailSignerLocator as i, type ExportSignerTEEConnection as j, type ExportableSignerAdapter as k, type ExternalWalletRegistrationConfig as l, type ExternalWalletSignerConfigForChain as m, type ExternalWalletSignerLocator as n, OtpValidationError as o, type PhoneSignerConfig as p, type PhoneSignerLocator as q, type RegisterSignerPasskeyParams as r, type RemoveSignerOptions as s, type ServerSignerConfig as t, type Signature as u, type Signer$1 as v, type SignerAdapter as w, type SignerConfigForChain as x, type SignerLocator as y, type SignerStatus as z };
548
+ export { type DeviceSignResult as $, type AddRecoveryMethodOptions as A, type Balances as B, type Callbacks as C, type DeviceSignerConfig as D, type EVMTransactionInput as E, type SignerAdapter as F, SignerAuthenticationError as G, type SignerConfigForChain as H, type SignerLocator as I, type SignerStatus as J, KeyExportError as K, SignerStatusError as L, type SolanaTransactionInput as M, type TransferScope as N, OnboardingSessionExpiredError as O, type PasskeySignerLocator as P, type Transfers as Q, type RecoverySignerConfigForChain as R, type Scope as S, type Transaction as T, type WalletCreateArgs as U, type WalletOptions as V, type WalletArgsFor as W, type WalletPlugin as X, isExportableSignerAdapter as Y, type DerivedServerSigner as Z, type DeviceInternalSignerConfig as _, type AddRecoveryMethodReturnType as a, type GetWalletSuccessResponse as a$, type ApiKeyInternalSignerConfig as a0, type ExternalWalletInternalSignerConfig as a1, type InternalSignerConfig as a2, type PasskeyInternalSignerConfig as a3, type PasskeySignResult as a4, type UserLocator as a5, type RecoverySignerConfigFor as a6, type PasskeySignerConfig as a7, type Signer as a8, type PendingSignerOperation as a9, type CreateWalletParams as aA, type EmailInternalSignerConfig as aB, type PhoneInternalSignerConfig as aC, type BaseSignResult as aD, type ServerInternalSignerConfig as aE, type GetBalanceSuccessResponse as aF, type GetWalletResponse as aG, type CreateTransactionParams as aH, type CreateTransactionResponse as aI, type ApproveTransactionParams as aJ, type ApproveTransactionResponse as aK, type CreateSignatureParams as aL, type CreateSignatureResponse as aM, type ApproveSignatureParams as aN, type GetSignatureResponse as aO, type GetTransfersResponse as aP, type GetBalanceResponse as aQ, type FundWalletParams as aR, type RemoveSignerParams as aS, type RemoveSignerResponse as aT, type RegisterRecoveryMethodParams as aU, type RegisterRecoveryMethodResponse as aV, type RemoveRecoveryMethodParams as aW, type RemoveRecoveryMethodResponse as aX, type SendParams as aY, type CreateTransactionSuccessResponse as aZ, type GetSignersResponse as a_, type PrepareOnly as aa, type SignMessageInput as ab, type SignTypedDataInput as ac, type FundWalletResponse as ad, type GetTransactionsResponse as ae, type GetTransactionSuccessResponse as af, type SendTokenTransactionOptions as ag, type ApproveResult as ah, type AddSignerReturnType as ai, type RemoveSignerReturnType as aj, type WalletLocator as ak, type ApproveSignatureResponse as al, type TransactionInputOptions as am, type StellarTransactionInput as an, type UpgradeOptions as ao, type MigrateOptions as ap, type GetSignerResponse as aq, type ApiSourcedServerSignerConfig as ar, type RegisterSignerParams as as, type ServerSignerLocator as at, type RegisterSignerChain as au, type RegisterSignerResponse as av, type TokenBalance as aw, type GetTransactionResponse as ax, type SendResponse as ay, type CreateWalletResponse as az, type AddSignerOptions as b, type RecoverySignerConfig as b0, type Approval as b1, type DeviceSignerDescriptor as b2, type FormattedEVMTransaction as b3, type PendingApproval as b4, type SendTokenTransactionType as b5, type SignatureInputOptions as b6, type SignerInput as b7, type StellarWalletPlugin as b8, type ApiKeySignerConfig as b9, type BaseSignerConfig as ba, type NonCustodialSignerType as bb, isApiSourcedServerSignerConfig as bc, type ApiKeySignerLocator as c, type ApproveOptions as d, type ApproveParams as e, AuthRejectedError as f, type ClientSideWalletArgsFor as g, type ClientSideWalletCreateArgs as h, type DeviceSignerLocator as i, type EmailSignerConfig as j, type EmailSignerLocator as k, type ExportSignerTEEConnection as l, type ExportableSignerAdapter as m, type ExternalWalletRegistrationConfig as n, type ExternalWalletSignerConfigForChain as o, type ExternalWalletSignerLocator as p, OtpValidationError as q, type PhoneSignerConfig as r, type PhoneSignerLocator as s, type RegisterSignerPasskeyParams as t, type RemoveRecoveryMethodOptions as u, type RemoveRecoveryMethodReturnType as v, type RemoveSignerOptions as w, type ServerSignerConfig as x, type Signature as y, type Signer$1 as z };
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkXFCHACH7cjs = require('../chunk-XFCHACH7.cjs');require('../chunk-DSIFRRBS.cjs');exports.SDK_NAME = _chunkXFCHACH7cjs.c; exports.SDK_VERSION = _chunkXFCHACH7cjs.b; exports.STATUS_POLLING_INTERVAL_MS = _chunkXFCHACH7cjs.d; exports.WALLETS_SERVICE = _chunkXFCHACH7cjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkAIAYUJJGcjs = require('../chunk-AIAYUJJG.cjs');require('../chunk-DSIFRRBS.cjs');exports.SDK_NAME = _chunkAIAYUJJGcjs.c; exports.SDK_VERSION = _chunkAIAYUJJGcjs.b; exports.STATUS_POLLING_INTERVAL_MS = _chunkAIAYUJJGcjs.d; exports.WALLETS_SERVICE = _chunkAIAYUJJGcjs.a;
@@ -1 +1 @@
1
- import{a,b,c,d}from"../chunk-FUZ2TPGD.js";import"../chunk-NU7VF7MC.js";export{c as SDK_NAME,b as SDK_VERSION,d as STATUS_POLLING_INTERVAL_MS,a as WALLETS_SERVICE};
1
+ import{a,b,c,d}from"../chunk-BVFMFBOG.js";import"../chunk-NU7VF7MC.js";export{c as SDK_NAME,b as SDK_VERSION,d as STATUS_POLLING_INTERVAL_MS,a as WALLETS_SERVICE};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkSDXHKREBcjs = require('../../chunk-SDXHKREB.cjs');require('../../chunk-3VYGTPRF.cjs');require('../../chunk-GSNFNRH2.cjs');require('../../chunk-VS6I4S7X.cjs');require('../../chunk-CCIGWTAO.cjs');require('../../chunk-SP5DQZ6D.cjs');require('../../chunk-XFCHACH7.cjs');require('../../chunk-DSIFRRBS.cjs');exports.IframeDeviceSignerKeyStorage = _chunkSDXHKREBcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkOMTRYUKHcjs = require('../../chunk-OMTRYUKH.cjs');require('../../chunk-GSNFNRH2.cjs');require('../../chunk-3VYGTPRF.cjs');require('../../chunk-VS6I4S7X.cjs');require('../../chunk-CCIGWTAO.cjs');require('../../chunk-T5EOJ3ZF.cjs');require('../../chunk-AIAYUJJG.cjs');require('../../chunk-DSIFRRBS.cjs');exports.IframeDeviceSignerKeyStorage = _chunkOMTRYUKHcjs.a;
@@ -1 +1 @@
1
- import{a}from"../../chunk-V3LZ3MNU.js";import"../../chunk-IOSADDL5.js";import"../../chunk-NZXYWQE5.js";import"../../chunk-KOHPRJDP.js";import"../../chunk-455NK5LB.js";import"../../chunk-AZAIXRGS.js";import"../../chunk-FUZ2TPGD.js";import"../../chunk-NU7VF7MC.js";export{a as IframeDeviceSignerKeyStorage};
1
+ import{a}from"../../chunk-IGO2ME4H.js";import"../../chunk-NZXYWQE5.js";import"../../chunk-IOSADDL5.js";import"../../chunk-KOHPRJDP.js";import"../../chunk-455NK5LB.js";import"../../chunk-VOFCBB2P.js";import"../../chunk-BVFMFBOG.js";import"../../chunk-NU7VF7MC.js";export{a as IframeDeviceSignerKeyStorage};
@@ -1,5 +1,5 @@
1
1
  import { DeviceSignerKeyStorage } from './DeviceSignerKeyStorage.cjs';
2
- import { D as DeviceSignerConfig } from '../../types-r_5ltlhH.cjs';
2
+ import { D as DeviceSignerConfig } from '../../types-PtseJnku.cjs';
3
3
  import 'viem';
4
4
  import '../../api/gen/types.gen.cjs';
5
5
  import 'ox';
@@ -1,5 +1,5 @@
1
1
  import { DeviceSignerKeyStorage } from './DeviceSignerKeyStorage.js';
2
- import { D as DeviceSignerConfig } from '../../types-D2ugRtLo.js';
2
+ import { D as DeviceSignerConfig } from '../../types-BzTdj2KC.js';
3
3
  import 'viem';
4
4
  import '../../api/gen/types.gen.js';
5
5
  import 'ox';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-CUHDOBKN.cjs');var _chunkSDXHKREBcjs = require('../../chunk-SDXHKREB.cjs');var _chunk3VYGTPRFcjs = require('../../chunk-3VYGTPRF.cjs');var _chunkGMU3ZYLScjs = require('../../chunk-GMU3ZYLS.cjs');require('../../chunk-GSNFNRH2.cjs');require('../../chunk-VS6I4S7X.cjs');require('../../chunk-CCIGWTAO.cjs');require('../../chunk-SP5DQZ6D.cjs');require('../../chunk-XFCHACH7.cjs');require('../../chunk-DSIFRRBS.cjs');exports.DeviceSignerKeyStorage = _chunk3VYGTPRFcjs.a; exports.IframeDeviceSignerKeyStorage = _chunkSDXHKREBcjs.a; exports.createDeviceSigner = _chunkGMU3ZYLScjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-CUHDOBKN.cjs');var _chunkOMTRYUKHcjs = require('../../chunk-OMTRYUKH.cjs');require('../../chunk-GSNFNRH2.cjs');var _chunk3VYGTPRFcjs = require('../../chunk-3VYGTPRF.cjs');var _chunkGMU3ZYLScjs = require('../../chunk-GMU3ZYLS.cjs');require('../../chunk-VS6I4S7X.cjs');require('../../chunk-CCIGWTAO.cjs');require('../../chunk-T5EOJ3ZF.cjs');require('../../chunk-AIAYUJJG.cjs');require('../../chunk-DSIFRRBS.cjs');exports.DeviceSignerKeyStorage = _chunk3VYGTPRFcjs.a; exports.IframeDeviceSignerKeyStorage = _chunkOMTRYUKHcjs.a; exports.createDeviceSigner = _chunkGMU3ZYLScjs.a;
@@ -1,7 +1,7 @@
1
1
  export { BiometricPolicy, DeviceSignerKeyStorage } from './DeviceSignerKeyStorage.cjs';
2
2
  export { BiometricRequestHandler, IframeDeviceSignerKeyStorage } from './IframeDeviceSignerKeyStorage.cjs';
3
3
  export { createDeviceSigner } from './createDeviceSigner.cjs';
4
- import '../../types-r_5ltlhH.cjs';
4
+ import '../../types-PtseJnku.cjs';
5
5
  import 'viem';
6
6
  import '../../api/gen/types.gen.cjs';
7
7
  import 'ox';
@@ -1,7 +1,7 @@
1
1
  export { BiometricPolicy, DeviceSignerKeyStorage } from './DeviceSignerKeyStorage.js';
2
2
  export { BiometricRequestHandler, IframeDeviceSignerKeyStorage } from './IframeDeviceSignerKeyStorage.js';
3
3
  export { createDeviceSigner } from './createDeviceSigner.js';
4
- import '../../types-D2ugRtLo.js';
4
+ import '../../types-BzTdj2KC.js';
5
5
  import 'viem';
6
6
  import '../../api/gen/types.gen.js';
7
7
  import 'ox';
@@ -1 +1 @@
1
- import"../../chunk-TOAFCAVT.js";import{a as b}from"../../chunk-V3LZ3MNU.js";import{a}from"../../chunk-IOSADDL5.js";import{a as c}from"../../chunk-5LNDUSMZ.js";import"../../chunk-NZXYWQE5.js";import"../../chunk-KOHPRJDP.js";import"../../chunk-455NK5LB.js";import"../../chunk-AZAIXRGS.js";import"../../chunk-FUZ2TPGD.js";import"../../chunk-NU7VF7MC.js";export{a as DeviceSignerKeyStorage,b as IframeDeviceSignerKeyStorage,c as createDeviceSigner};
1
+ import"../../chunk-TOAFCAVT.js";import{a as b}from"../../chunk-IGO2ME4H.js";import"../../chunk-NZXYWQE5.js";import{a}from"../../chunk-IOSADDL5.js";import{a as c}from"../../chunk-5LNDUSMZ.js";import"../../chunk-KOHPRJDP.js";import"../../chunk-455NK5LB.js";import"../../chunk-VOFCBB2P.js";import"../../chunk-BVFMFBOG.js";import"../../chunk-NU7VF7MC.js";export{a as DeviceSignerKeyStorage,b as IframeDeviceSignerKeyStorage,c as createDeviceSigner};
@@ -1,4 +1,4 @@
1
- import { a0 as UserLocator } from '../types-r_5ltlhH.cjs';
1
+ import { a5 as UserLocator } from '../types-PtseJnku.cjs';
2
2
  import 'viem';
3
3
  import '../api/gen/types.gen.cjs';
4
4
  import 'ox';
@@ -1,4 +1,4 @@
1
- import { a0 as UserLocator } from '../types-D2ugRtLo.js';
1
+ import { a5 as UserLocator } from '../types-BzTdj2KC.js';
2
2
  import 'viem';
3
3
  import '../api/gen/types.gen.js';
4
4
  import 'ox';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk3DK46BDIcjs = require('../chunk-3DK46BDI.cjs');require('../chunk-DSIFRRBS.cjs');exports.toRecoverySignerList = _chunk3DK46BDIcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkMUOGCO7Dcjs = require('../chunk-MUOGCO7D.cjs');require('../chunk-VS6I4S7X.cjs');require('../chunk-CCIGWTAO.cjs');require('../chunk-T5EOJ3ZF.cjs');require('../chunk-AIAYUJJG.cjs');require('../chunk-DSIFRRBS.cjs');exports.hasRecoveryMethodList = _chunkMUOGCO7Dcjs.b; exports.recoveryMethodsFromCreateArgs = _chunkMUOGCO7Dcjs.a;
@@ -1,5 +1,5 @@
1
1
  import { Chain } from '../chains/chains.cjs';
2
- import { J as WalletCreateArgs, R as RecoverySignerConfigForChain } from '../types-r_5ltlhH.cjs';
2
+ import { U as WalletCreateArgs, a6 as RecoverySignerConfigFor } from '../types-PtseJnku.cjs';
3
3
  import '@crossmint/common-sdk-base';
4
4
  import 'viem';
5
5
  import '../api/gen/types.gen.cjs';
@@ -10,7 +10,14 @@ import '@solana/web3.js';
10
10
  import 'abitype';
11
11
  import './device-signers/DeviceSignerKeyStorage.cjs';
12
12
 
13
- /** Normalizes the single-or-list `recovery` wallet creation argument into a list. */
14
- declare function toRecoverySignerList<C extends Chain>(recovery?: WalletCreateArgs<C>["recovery"]): Array<RecoverySignerConfigForChain<C>>;
13
+ /**
14
+ * Reads and normalizes the recovery methods from creation args.
15
+ *
16
+ * `recoveryMethods` is the source of truth. The deprecated `recovery` is routed to it: a single method becomes a
17
+ * one-entry list, and a list is used as is, so pre-1.17 callers keep working.
18
+ */
19
+ declare function recoveryMethodsFromCreateArgs<C extends Chain>(args: Pick<WalletCreateArgs<C>, "recovery" | "recoveryMethods">): Array<RecoverySignerConfigFor<C>>;
20
+ /** True when the caller supplied a list of recovery methods, through `recoveryMethods` or a list under the deprecated `recovery`. */
21
+ declare function hasRecoveryMethodList<C extends Chain>(args: Pick<WalletCreateArgs<C>, "recovery" | "recoveryMethods">): boolean;
15
22
 
16
- export { toRecoverySignerList };
23
+ export { hasRecoveryMethodList, recoveryMethodsFromCreateArgs };
@@ -1,5 +1,5 @@
1
1
  import { Chain } from '../chains/chains.js';
2
- import { J as WalletCreateArgs, R as RecoverySignerConfigForChain } from '../types-D2ugRtLo.js';
2
+ import { U as WalletCreateArgs, a6 as RecoverySignerConfigFor } from '../types-BzTdj2KC.js';
3
3
  import '@crossmint/common-sdk-base';
4
4
  import 'viem';
5
5
  import '../api/gen/types.gen.js';
@@ -10,7 +10,14 @@ import '@solana/web3.js';
10
10
  import 'abitype';
11
11
  import './device-signers/DeviceSignerKeyStorage.js';
12
12
 
13
- /** Normalizes the single-or-list `recovery` wallet creation argument into a list. */
14
- declare function toRecoverySignerList<C extends Chain>(recovery?: WalletCreateArgs<C>["recovery"]): Array<RecoverySignerConfigForChain<C>>;
13
+ /**
14
+ * Reads and normalizes the recovery methods from creation args.
15
+ *
16
+ * `recoveryMethods` is the source of truth. The deprecated `recovery` is routed to it: a single method becomes a
17
+ * one-entry list, and a list is used as is, so pre-1.17 callers keep working.
18
+ */
19
+ declare function recoveryMethodsFromCreateArgs<C extends Chain>(args: Pick<WalletCreateArgs<C>, "recovery" | "recoveryMethods">): Array<RecoverySignerConfigFor<C>>;
20
+ /** True when the caller supplied a list of recovery methods, through `recoveryMethods` or a list under the deprecated `recovery`. */
21
+ declare function hasRecoveryMethodList<C extends Chain>(args: Pick<WalletCreateArgs<C>, "recovery" | "recoveryMethods">): boolean;
15
22
 
16
- export { toRecoverySignerList };
23
+ export { hasRecoveryMethodList, recoveryMethodsFromCreateArgs };