@crossmint/wallets-sdk 1.16.0 → 1.17.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 (299) 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 +1 -1
  10. package/dist/api/client.d.ts +1 -1
  11. package/dist/api/client.js +1 -1
  12. package/dist/api/index.cjs +1 -1
  13. package/dist/api/index.d.cts +1 -1
  14. package/dist/api/index.d.ts +1 -1
  15. package/dist/api/index.js +1 -1
  16. package/dist/api/types.d.cts +1 -1
  17. package/dist/api/types.d.ts +1 -1
  18. package/dist/chains/adapters/evm.cjs +1 -1
  19. package/dist/chains/adapters/evm.d.cts +1 -1
  20. package/dist/chains/adapters/evm.d.ts +1 -1
  21. package/dist/chains/adapters/evm.js +1 -1
  22. package/dist/chains/adapters/solana.cjs +1 -1
  23. package/dist/chains/adapters/solana.d.cts +1 -1
  24. package/dist/chains/adapters/solana.d.ts +1 -1
  25. package/dist/chains/adapters/solana.js +1 -1
  26. package/dist/chains/adapters/stellar.cjs +1 -1
  27. package/dist/chains/adapters/stellar.d.cts +1 -1
  28. package/dist/chains/adapters/stellar.d.ts +1 -1
  29. package/dist/chains/adapters/stellar.js +1 -1
  30. package/dist/chains/chain-adapter.cjs +1 -1
  31. package/dist/chains/chain-adapter.d.cts +4 -2
  32. package/dist/chains/chain-adapter.d.ts +4 -2
  33. package/dist/chains/chain-adapter.js +1 -1
  34. package/dist/chains/chains.cjs +1 -1
  35. package/dist/chains/chains.js +1 -1
  36. package/dist/{chunk-5IC6BHP5.js → chunk-2KMXYKU6.js} +1 -1
  37. package/dist/{chunk-KVMPBMNG.cjs → chunk-2QCYHRPX.cjs} +1 -1
  38. package/dist/chunk-3NAV25KH.js +1 -0
  39. package/dist/{chunk-IU7J7IPE.cjs → chunk-4HOB7SBT.cjs} +1 -1
  40. package/dist/{chunk-4R2UUYLC.cjs → chunk-4JR5AF3R.cjs} +1 -1
  41. package/dist/{chunk-2G4Y25AJ.cjs → chunk-52EJ53LP.cjs} +1 -1
  42. package/dist/{chunk-BHHXVRU6.cjs → chunk-5X66U2JL.cjs} +1 -1
  43. package/dist/{chunk-JAWHGOGP.cjs → chunk-6BNGRRNH.cjs} +1 -1
  44. package/dist/{chunk-66IZJXGV.js → chunk-6M2N2ULU.js} +1 -1
  45. package/dist/{chunk-ZSFPKH2C.js → chunk-7ER4XMKQ.js} +1 -1
  46. package/dist/{chunk-UX2FEVDY.cjs → chunk-7FIAYQ4O.cjs} +1 -1
  47. package/dist/chunk-7RC4ESQH.cjs +1 -0
  48. package/dist/{chunk-ZUG5ROPF.cjs → chunk-7SRQ77HY.cjs} +1 -1
  49. package/dist/chunk-A3NUC7CS.js +1 -0
  50. package/dist/chunk-AA2XAWEU.cjs +1 -0
  51. package/dist/chunk-ABOMDBIJ.js +1 -0
  52. package/dist/chunk-AF6NBGQT.js +1 -0
  53. package/dist/chunk-AXFHMPWT.cjs +1 -0
  54. package/dist/{chunk-HJH2S644.cjs → chunk-BIL7GVBL.cjs} +1 -1
  55. package/dist/chunk-BK4RGDMJ.cjs +1 -0
  56. package/dist/{chunk-BL7A7ROX.js → chunk-BTTVP3MP.js} +1 -1
  57. package/dist/chunk-BZYYVTXK.js +1 -0
  58. package/dist/{chunk-V3LZ3MNU.js → chunk-C2LINO2L.js} +1 -1
  59. package/dist/chunk-C2QJ3WKC.js +1 -0
  60. package/dist/{chunk-BJC5DQQ3.cjs → chunk-DWUBPIYD.cjs} +1 -1
  61. package/dist/{chunk-Z4ZDZYZ3.js → chunk-F7ERKXXH.js} +1 -1
  62. package/dist/chunk-HCV4M7X2.cjs +1 -0
  63. package/dist/chunk-HGH3VTQM.cjs +1 -0
  64. package/dist/{chunk-62EHAJRH.js → chunk-HHIMK2FC.js} +1 -1
  65. package/dist/chunk-HXNRP6QX.js +1 -0
  66. package/dist/{chunk-AZAIXRGS.js → chunk-INUEMQPG.js} +1 -1
  67. package/dist/{chunk-24CGMAY3.js → chunk-IQARABFX.js} +1 -1
  68. package/dist/chunk-JAXFDUNN.js +1 -0
  69. package/dist/{chunk-NMUHOXYI.js → chunk-JGLNAY5C.js} +1 -1
  70. package/dist/chunk-JY4KRKZ6.js +1 -0
  71. package/dist/chunk-K4KSI3GM.js +1 -0
  72. package/dist/{chunk-NQ3PROUV.js → chunk-L7DGQX3V.js} +1 -1
  73. package/dist/{chunk-62XSK3ZX.cjs → chunk-LJRWHLTK.cjs} +1 -1
  74. package/dist/{chunk-XFCHACH7.cjs → chunk-M42AKAZK.cjs} +1 -1
  75. package/dist/chunk-MDAPK5FG.js +1 -0
  76. package/dist/chunk-NB6EQOHP.cjs +1 -0
  77. package/dist/{chunk-UP6VFZQH.js → chunk-NUCKXAQL.js} +1 -1
  78. package/dist/chunk-NWFQRNBN.cjs +1 -0
  79. package/dist/chunk-NZHMWFOO.js +1 -0
  80. package/dist/chunk-P3P5Q5XX.js +1 -0
  81. package/dist/{chunk-OQFOUCTW.js → chunk-PCRZWMYM.js} +1 -1
  82. package/dist/{chunk-SDXHKREB.cjs → chunk-PZRFDTBH.cjs} +1 -1
  83. package/dist/chunk-STB2VIIK.cjs +1 -0
  84. package/dist/chunk-TA5VIPMH.cjs +1 -0
  85. package/dist/{chunk-5SREMYFJ.cjs → chunk-TDI66D63.cjs} +1 -1
  86. package/dist/{chunk-Q6UT242Q.cjs → chunk-TLCSIHPP.cjs} +1 -1
  87. package/dist/chunk-TWYVUVLB.js +1 -0
  88. package/dist/chunk-UY7L4D4M.cjs +1 -0
  89. package/dist/{chunk-BHSOWQOR.js → chunk-V5D6CUMS.js} +1 -1
  90. package/dist/{chunk-53VKI7FJ.cjs → chunk-W222P6C6.cjs} +1 -1
  91. package/dist/{chunk-SP5DQZ6D.cjs → chunk-W3BYSI7F.cjs} +1 -1
  92. package/dist/{chunk-7HOXBHKP.cjs → chunk-WIKKXJH7.cjs} +1 -1
  93. package/dist/chunk-WP4GRRR2.js +1 -0
  94. package/dist/{chunk-U5DLRN5U.cjs → chunk-WY5KEIIJ.cjs} +1 -1
  95. package/dist/{chunk-VHSQUXJK.js → chunk-X7V2C53V.js} +1 -1
  96. package/dist/{chunk-T7DD437D.cjs → chunk-XFUCYR24.cjs} +2 -2
  97. package/dist/{chunk-QNM7BGTP.js → chunk-YKRLB374.js} +1 -1
  98. package/dist/chunk-ZATY4PKV.cjs +1 -0
  99. package/dist/{chunk-YFNCXOVW.js → chunk-ZMU6KU3L.js} +1 -1
  100. package/dist/index.cjs +1 -1
  101. package/dist/index.d.cts +2 -2
  102. package/dist/index.d.ts +2 -2
  103. package/dist/index.js +1 -1
  104. package/dist/logger/index.cjs +1 -1
  105. package/dist/logger/index.js +1 -1
  106. package/dist/logger/init.cjs +1 -1
  107. package/dist/logger/init.js +1 -1
  108. package/dist/sdk.cjs +1 -1
  109. package/dist/sdk.d.cts +3 -3
  110. package/dist/sdk.d.ts +3 -3
  111. package/dist/sdk.js +1 -1
  112. package/dist/signers/descriptors/api-key.d.cts +1 -1
  113. package/dist/signers/descriptors/api-key.d.ts +1 -1
  114. package/dist/signers/descriptors/device.d.cts +1 -1
  115. package/dist/signers/descriptors/device.d.ts +1 -1
  116. package/dist/signers/descriptors/email.d.cts +1 -1
  117. package/dist/signers/descriptors/email.d.ts +1 -1
  118. package/dist/signers/descriptors/external-wallet.d.cts +1 -1
  119. package/dist/signers/descriptors/external-wallet.d.ts +1 -1
  120. package/dist/signers/descriptors/index.cjs +1 -1
  121. package/dist/signers/descriptors/index.d.cts +1 -1
  122. package/dist/signers/descriptors/index.d.ts +1 -1
  123. package/dist/signers/descriptors/index.js +1 -1
  124. package/dist/signers/descriptors/passkey.d.cts +1 -1
  125. package/dist/signers/descriptors/passkey.d.ts +1 -1
  126. package/dist/signers/descriptors/phone.d.cts +1 -1
  127. package/dist/signers/descriptors/phone.d.ts +1 -1
  128. package/dist/signers/descriptors/server.cjs +1 -1
  129. package/dist/signers/descriptors/server.d.cts +1 -1
  130. package/dist/signers/descriptors/server.d.ts +1 -1
  131. package/dist/signers/descriptors/server.js +1 -1
  132. package/dist/signers/descriptors/types.d.cts +1 -1
  133. package/dist/signers/descriptors/types.d.ts +1 -1
  134. package/dist/signers/device.d.cts +1 -1
  135. package/dist/signers/device.d.ts +1 -1
  136. package/dist/signers/evm-api-key.d.cts +1 -1
  137. package/dist/signers/evm-api-key.d.ts +1 -1
  138. package/dist/signers/evm-external-wallet.d.cts +1 -1
  139. package/dist/signers/evm-external-wallet.d.ts +1 -1
  140. package/dist/signers/external-wallet-signer.d.cts +1 -1
  141. package/dist/signers/external-wallet-signer.d.ts +1 -1
  142. package/dist/signers/index.cjs +1 -1
  143. package/dist/signers/index.d.cts +1 -1
  144. package/dist/signers/index.d.ts +1 -1
  145. package/dist/signers/index.js +1 -1
  146. package/dist/signers/non-custodial/index.cjs +1 -1
  147. package/dist/signers/non-custodial/index.d.cts +2 -2
  148. package/dist/signers/non-custodial/index.d.ts +2 -2
  149. package/dist/signers/non-custodial/index.js +1 -1
  150. package/dist/signers/non-custodial/ncs-evm-signer.cjs +1 -1
  151. package/dist/signers/non-custodial/ncs-evm-signer.d.cts +1 -1
  152. package/dist/signers/non-custodial/ncs-evm-signer.d.ts +1 -1
  153. package/dist/signers/non-custodial/ncs-evm-signer.js +1 -1
  154. package/dist/signers/non-custodial/ncs-signer.cjs +1 -1
  155. package/dist/signers/non-custodial/ncs-signer.d.cts +5 -2
  156. package/dist/signers/non-custodial/ncs-signer.d.ts +5 -2
  157. package/dist/signers/non-custodial/ncs-signer.js +1 -1
  158. package/dist/signers/non-custodial/ncs-solana-signer.cjs +1 -1
  159. package/dist/signers/non-custodial/ncs-solana-signer.d.cts +2 -2
  160. package/dist/signers/non-custodial/ncs-solana-signer.d.ts +2 -2
  161. package/dist/signers/non-custodial/ncs-solana-signer.js +1 -1
  162. package/dist/signers/non-custodial/ncs-stellar-signer.cjs +1 -1
  163. package/dist/signers/non-custodial/ncs-stellar-signer.d.cts +1 -1
  164. package/dist/signers/non-custodial/ncs-stellar-signer.d.ts +1 -1
  165. package/dist/signers/non-custodial/ncs-stellar-signer.js +1 -1
  166. package/dist/signers/passkey.d.cts +1 -1
  167. package/dist/signers/passkey.d.ts +1 -1
  168. package/dist/signers/server/assemble-server-signer.cjs +1 -1
  169. package/dist/signers/server/assemble-server-signer.d.cts +1 -1
  170. package/dist/signers/server/assemble-server-signer.d.ts +1 -1
  171. package/dist/signers/server/assemble-server-signer.js +1 -1
  172. package/dist/signers/server/evm-server-signer.d.cts +1 -1
  173. package/dist/signers/server/evm-server-signer.d.ts +1 -1
  174. package/dist/signers/server/helpers/derive-server-signer.d.cts +1 -1
  175. package/dist/signers/server/helpers/derive-server-signer.d.ts +1 -1
  176. package/dist/signers/server/helpers/index.d.cts +1 -1
  177. package/dist/signers/server/helpers/index.d.ts +1 -1
  178. package/dist/signers/server/index.cjs +1 -1
  179. package/dist/signers/server/index.d.cts +1 -1
  180. package/dist/signers/server/index.d.ts +1 -1
  181. package/dist/signers/server/index.js +1 -1
  182. package/dist/signers/server/resolver.cjs +1 -1
  183. package/dist/signers/server/resolver.d.cts +1 -1
  184. package/dist/signers/server/resolver.d.ts +1 -1
  185. package/dist/signers/server/resolver.js +1 -1
  186. package/dist/signers/server/solana-server-signer.cjs +1 -1
  187. package/dist/signers/server/solana-server-signer.d.cts +2 -2
  188. package/dist/signers/server/solana-server-signer.d.ts +2 -2
  189. package/dist/signers/server/solana-server-signer.js +1 -1
  190. package/dist/signers/server/stellar-server-signer.d.cts +1 -1
  191. package/dist/signers/server/stellar-server-signer.d.ts +1 -1
  192. package/dist/signers/solana-api-key.d.cts +1 -1
  193. package/dist/signers/solana-api-key.d.ts +1 -1
  194. package/dist/signers/solana-external-wallet.cjs +1 -1
  195. package/dist/signers/solana-external-wallet.d.cts +5 -2
  196. package/dist/signers/solana-external-wallet.d.ts +5 -2
  197. package/dist/signers/solana-external-wallet.js +1 -1
  198. package/dist/signers/solana-version-1.fixture.cjs +1 -0
  199. package/dist/signers/solana-version-1.fixture.d.cts +4 -0
  200. package/dist/signers/solana-version-1.fixture.d.ts +4 -0
  201. package/dist/signers/solana-version-1.fixture.js +1 -0
  202. package/dist/signers/stellar-external-wallet.d.cts +1 -1
  203. package/dist/signers/stellar-external-wallet.d.ts +1 -1
  204. package/dist/signers/types.cjs +1 -1
  205. package/dist/signers/types.d.cts +1 -1
  206. package/dist/signers/types.d.ts +1 -1
  207. package/dist/signers/types.js +1 -1
  208. package/dist/{types-r_5ltlhH.d.cts → types-B4kzDRWb.d.cts} +20 -9
  209. package/dist/{types-D2ugRtLo.d.ts → types-Bxb54lGe.d.ts} +20 -9
  210. package/dist/utils/constants.cjs +1 -1
  211. package/dist/utils/constants.js +1 -1
  212. package/dist/utils/device-signers/IframeDeviceSignerKeyStorage.cjs +1 -1
  213. package/dist/utils/device-signers/IframeDeviceSignerKeyStorage.js +1 -1
  214. package/dist/utils/device-signers/createDeviceSigner.d.cts +1 -1
  215. package/dist/utils/device-signers/createDeviceSigner.d.ts +1 -1
  216. package/dist/utils/device-signers/index.cjs +1 -1
  217. package/dist/utils/device-signers/index.d.cts +1 -1
  218. package/dist/utils/device-signers/index.d.ts +1 -1
  219. package/dist/utils/device-signers/index.js +1 -1
  220. package/dist/utils/locators.d.cts +1 -1
  221. package/dist/utils/locators.d.ts +1 -1
  222. package/dist/utils/recovery.cjs +1 -1
  223. package/dist/utils/recovery.d.cts +11 -4
  224. package/dist/utils/recovery.d.ts +11 -4
  225. package/dist/utils/recovery.js +1 -1
  226. package/dist/utils/signer-locator.d.cts +1 -1
  227. package/dist/utils/signer-locator.d.ts +1 -1
  228. package/dist/utils/signer-mapping.d.cts +1 -1
  229. package/dist/utils/signer-mapping.d.ts +1 -1
  230. package/dist/wallets/__tests__/test-helpers.cjs +1 -1
  231. package/dist/wallets/__tests__/test-helpers.d.cts +1 -1
  232. package/dist/wallets/__tests__/test-helpers.d.ts +1 -1
  233. package/dist/wallets/__tests__/test-helpers.js +1 -1
  234. package/dist/wallets/evm.cjs +1 -1
  235. package/dist/wallets/evm.d.cts +1 -1
  236. package/dist/wallets/evm.d.ts +1 -1
  237. package/dist/wallets/evm.js +1 -1
  238. package/dist/wallets/services/balance-formatter.cjs +1 -1
  239. package/dist/wallets/services/balance-formatter.d.cts +1 -1
  240. package/dist/wallets/services/balance-formatter.d.ts +1 -1
  241. package/dist/wallets/services/balance-formatter.js +1 -1
  242. package/dist/wallets/services/device-recovery-service.cjs +1 -1
  243. package/dist/wallets/services/device-recovery-service.d.cts +1 -1
  244. package/dist/wallets/services/device-recovery-service.d.ts +1 -1
  245. package/dist/wallets/services/device-recovery-service.js +1 -1
  246. package/dist/wallets/services/operation-poller.cjs +1 -1
  247. package/dist/wallets/services/operation-poller.d.cts +1 -1
  248. package/dist/wallets/services/operation-poller.d.ts +1 -1
  249. package/dist/wallets/services/operation-poller.js +1 -1
  250. package/dist/wallets/services/signer-manager.cjs +1 -1
  251. package/dist/wallets/services/signer-manager.d.cts +1 -1
  252. package/dist/wallets/services/signer-manager.d.ts +1 -1
  253. package/dist/wallets/services/signer-manager.js +1 -1
  254. package/dist/wallets/solana.cjs +1 -1
  255. package/dist/wallets/solana.d.cts +1 -1
  256. package/dist/wallets/solana.d.ts +1 -1
  257. package/dist/wallets/solana.js +1 -1
  258. package/dist/wallets/stellar.cjs +1 -1
  259. package/dist/wallets/stellar.d.cts +1 -1
  260. package/dist/wallets/stellar.d.ts +1 -1
  261. package/dist/wallets/stellar.js +1 -1
  262. package/dist/wallets/types.d.cts +1 -1
  263. package/dist/wallets/types.d.ts +1 -1
  264. package/dist/wallets/wallet-factory.cjs +1 -1
  265. package/dist/wallets/wallet-factory.d.cts +2 -5
  266. package/dist/wallets/wallet-factory.d.ts +2 -5
  267. package/dist/wallets/wallet-factory.js +1 -1
  268. package/dist/wallets/wallet.cjs +1 -1
  269. package/dist/wallets/wallet.d.cts +1 -1
  270. package/dist/wallets/wallet.d.ts +1 -1
  271. package/dist/wallets/wallet.js +1 -1
  272. package/package.json +4 -4
  273. package/dist/chunk-3DK46BDI.cjs +0 -1
  274. package/dist/chunk-3KAXLLXJ.js +0 -1
  275. package/dist/chunk-4KOHNUNP.js +0 -1
  276. package/dist/chunk-5L5MJAFS.cjs +0 -1
  277. package/dist/chunk-63VNTHGQ.cjs +0 -1
  278. package/dist/chunk-6T4GBLXY.js +0 -1
  279. package/dist/chunk-7CUHY3S4.js +0 -1
  280. package/dist/chunk-7KKHT5PF.js +0 -1
  281. package/dist/chunk-A7DA5DSE.js +0 -1
  282. package/dist/chunk-BKN5HSDC.js +0 -1
  283. package/dist/chunk-CXWFJGKI.js +0 -1
  284. package/dist/chunk-D2QNNQ26.cjs +0 -1
  285. package/dist/chunk-D5IIHIEW.cjs +0 -1
  286. package/dist/chunk-DB3TFNM2.cjs +0 -1
  287. package/dist/chunk-DCKFFFPG.js +0 -1
  288. package/dist/chunk-FBOM4U3X.js +0 -1
  289. package/dist/chunk-FUZ2TPGD.js +0 -1
  290. package/dist/chunk-IQ3QQ4M6.js +0 -1
  291. package/dist/chunk-KQFRFHM4.cjs +0 -1
  292. package/dist/chunk-LUUUKDHQ.js +0 -1
  293. package/dist/chunk-LXAEBSEY.cjs +0 -1
  294. package/dist/chunk-QPCZFIUV.cjs +0 -1
  295. package/dist/chunk-QYNWUGXV.js +0 -1
  296. package/dist/chunk-WJDR3MG5.js +0 -1
  297. package/dist/chunk-Y7P2T5BP.cjs +0 -1
  298. package/dist/chunk-YWN6HKW7.cjs +0 -1
  299. package/dist/chunk-ZHGXG7JM.cjs +0 -1
@@ -1 +1 @@
1
- import{a}from"../../chunk-UP6VFZQH.js";import"../../chunk-A7DA5DSE.js";import"../../chunk-IHMMTMFG.js";import"../../chunk-DCKFFFPG.js";import"../../chunk-455NK5LB.js";import"../../chunk-AZAIXRGS.js";import"../../chunk-FUZ2TPGD.js";import"../../chunk-NU7VF7MC.js";export{a as StellarNonCustodialSigner};
1
+ import{a}from"../../chunk-NUCKXAQL.js";import"../../chunk-K4KSI3GM.js";import"../../chunk-IHMMTMFG.js";import"../../chunk-P3P5Q5XX.js";import"../../chunk-455NK5LB.js";import"../../chunk-INUEMQPG.js";import"../../chunk-MDAPK5FG.js";import"../../chunk-NU7VF7MC.js";export{a as StellarNonCustodialSigner};
@@ -1,4 +1,4 @@
1
- import { w as SignerAdapter, _ as PasskeyInternalSignerConfig, P as PasskeySignerLocator, $ as PasskeySignResult } from '../types-r_5ltlhH.cjs';
1
+ import { w as SignerAdapter, $ as PasskeyInternalSignerConfig, P as PasskeySignerLocator, a0 as PasskeySignResult } from '../types-B4kzDRWb.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, _ as PasskeyInternalSignerConfig, P as PasskeySignerLocator, $ as PasskeySignResult } from '../types-D2ugRtLo.js';
1
+ import { w as SignerAdapter, $ as PasskeyInternalSignerConfig, P as PasskeySignerLocator, a0 as PasskeySignResult } from '../types-Bxb54lGe.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 _chunkUX2FEVDYcjs = require('../../chunk-UX2FEVDY.cjs');require('../../chunk-IGRPHTXZ.cjs');require('../../chunk-Q66YRLSW.cjs');require('../../chunk-HJH2S644.cjs');require('../../chunk-2D6B7AZ6.cjs');require('../../chunk-VMDJJX7P.cjs');require('../../chunk-LWA3SX6Z.cjs');require('../../chunk-2YZQ4YYU.cjs');require('../../chunk-5FH7WFWL.cjs');require('../../chunk-ENU3EKBG.cjs');require('../../chunk-DSIFRRBS.cjs');exports.assembleServerSigner = _chunkUX2FEVDYcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunk7FIAYQ4Ocjs = require('../../chunk-7FIAYQ4O.cjs');require('../../chunk-IGRPHTXZ.cjs');require('../../chunk-Q66YRLSW.cjs');require('../../chunk-BIL7GVBL.cjs');require('../../chunk-2D6B7AZ6.cjs');require('../../chunk-VMDJJX7P.cjs');require('../../chunk-LWA3SX6Z.cjs');require('../../chunk-2YZQ4YYU.cjs');require('../../chunk-5FH7WFWL.cjs');require('../../chunk-ENU3EKBG.cjs');require('../../chunk-DSIFRRBS.cjs');exports.assembleServerSigner = _chunk7FIAYQ4Ocjs.a;
@@ -1,5 +1,5 @@
1
1
  import { Chain } from '../../chains/chains.cjs';
2
- import { ay as ServerInternalSignerConfig, w as SignerAdapter } from '../../types-r_5ltlhH.cjs';
2
+ import { aA as ServerInternalSignerConfig, w as SignerAdapter } from '../../types-B4kzDRWb.cjs';
3
3
  import '@crossmint/common-sdk-base';
4
4
  import 'viem';
5
5
  import '../../api/gen/types.gen.cjs';
@@ -1,5 +1,5 @@
1
1
  import { Chain } from '../../chains/chains.js';
2
- import { ay as ServerInternalSignerConfig, w as SignerAdapter } from '../../types-D2ugRtLo.js';
2
+ import { aA as ServerInternalSignerConfig, w as SignerAdapter } from '../../types-Bxb54lGe.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-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-OQZTL6ZG.js";import"../../chunk-NU7VF7MC.js";export{a as assembleServerSigner};
1
+ import{a}from"../../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-OQZTL6ZG.js";import"../../chunk-NU7VF7MC.js";export{a as assembleServerSigner};
@@ -1,4 +1,4 @@
1
- import { w as SignerAdapter, ay as ServerInternalSignerConfig } from '../../types-r_5ltlhH.cjs';
1
+ import { w as SignerAdapter, aA as ServerInternalSignerConfig } from '../../types-B4kzDRWb.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 { w as SignerAdapter, aA as ServerInternalSignerConfig } from '../../types-Bxb54lGe.js';
2
2
  import 'viem';
3
3
  import '../../api/gen/types.gen.js';
4
4
  import 'ox';
@@ -1,5 +1,5 @@
1
1
  import { Chain } from '../../../chains/chains.cjs';
2
- import { t as ServerSignerConfig, Q as DerivedServerSigner } from '../../../types-r_5ltlhH.cjs';
2
+ import { t as ServerSignerConfig, U as DerivedServerSigner } from '../../../types-B4kzDRWb.cjs';
3
3
  import '@crossmint/common-sdk-base';
4
4
  import 'viem';
5
5
  import '../../../api/gen/types.gen.cjs';
@@ -1,5 +1,5 @@
1
1
  import { Chain } from '../../../chains/chains.js';
2
- import { t as ServerSignerConfig, Q as DerivedServerSigner } from '../../../types-D2ugRtLo.js';
2
+ import { t as ServerSignerConfig, U as DerivedServerSigner } from '../../../types-Bxb54lGe.js';
3
3
  import '@crossmint/common-sdk-base';
4
4
  import 'viem';
5
5
  import '../../../api/gen/types.gen.js';
@@ -1,4 +1,4 @@
1
- export { Q as DerivedServerSigner } from '../../../types-r_5ltlhH.cjs';
1
+ export { U as DerivedServerSigner } from '../../../types-B4kzDRWb.cjs';
2
2
  export { deriveServerSignerAddress, deriveServerSignerCandidates, deriveServerSignerDetails } from './derive-server-signer.cjs';
3
3
  export { getChainType } from './get-chain-type.cjs';
4
4
  import 'viem';
@@ -1,4 +1,4 @@
1
- export { Q as DerivedServerSigner } from '../../../types-D2ugRtLo.js';
1
+ export { U as DerivedServerSigner } from '../../../types-Bxb54lGe.js';
2
2
  export { deriveServerSignerAddress, deriveServerSignerCandidates, deriveServerSignerDetails } from './derive-server-signer.js';
3
3
  export { getChainType } from './get-chain-type.js';
4
4
  import 'viem';
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-5IC7UWND.cjs');var _chunkUX2FEVDYcjs = require('../../chunk-UX2FEVDY.cjs');require('../../chunk-IGRPHTXZ.cjs');var _chunkQ66YRLSWcjs = require('../../chunk-Q66YRLSW.cjs');var _chunkHJH2S644cjs = require('../../chunk-HJH2S644.cjs');var _chunk2D6B7AZ6cjs = require('../../chunk-2D6B7AZ6.cjs');var _chunkVMDJJX7Pcjs = require('../../chunk-VMDJJX7P.cjs');require('../../chunk-LWA3SX6Z.cjs');require('../../chunk-2YZQ4YYU.cjs');require('../../chunk-5FH7WFWL.cjs');require('../../chunk-ENU3EKBG.cjs');require('../../chunk-DSIFRRBS.cjs');exports.EVMServerSigner = _chunkVMDJJX7Pcjs.a; exports.SolanaServerSigner = _chunkHJH2S644cjs.a; exports.StellarServerSigner = _chunk2D6B7AZ6cjs.a; exports.assembleServerSigner = _chunkUX2FEVDYcjs.a; exports.deriveServerSignerAddress = _chunkQ66YRLSWcjs.a; exports.deriveServerSignerCandidates = _chunkQ66YRLSWcjs.c; exports.deriveServerSignerDetails = _chunkQ66YRLSWcjs.b;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../../chunk-5IC7UWND.cjs');var _chunk7FIAYQ4Ocjs = require('../../chunk-7FIAYQ4O.cjs');require('../../chunk-IGRPHTXZ.cjs');var _chunkQ66YRLSWcjs = require('../../chunk-Q66YRLSW.cjs');var _chunkBIL7GVBLcjs = require('../../chunk-BIL7GVBL.cjs');var _chunk2D6B7AZ6cjs = require('../../chunk-2D6B7AZ6.cjs');var _chunkVMDJJX7Pcjs = require('../../chunk-VMDJJX7P.cjs');require('../../chunk-LWA3SX6Z.cjs');require('../../chunk-2YZQ4YYU.cjs');require('../../chunk-5FH7WFWL.cjs');require('../../chunk-ENU3EKBG.cjs');require('../../chunk-DSIFRRBS.cjs');exports.EVMServerSigner = _chunkVMDJJX7Pcjs.a; exports.SolanaServerSigner = _chunkBIL7GVBLcjs.a; exports.StellarServerSigner = _chunk2D6B7AZ6cjs.a; exports.assembleServerSigner = _chunk7FIAYQ4Ocjs.a; exports.deriveServerSignerAddress = _chunkQ66YRLSWcjs.a; exports.deriveServerSignerCandidates = _chunkQ66YRLSWcjs.c; exports.deriveServerSignerDetails = _chunkQ66YRLSWcjs.b;
@@ -2,7 +2,7 @@ export { assembleServerSigner } from './assemble-server-signer.cjs';
2
2
  export { EVMServerSigner } from './evm-server-signer.cjs';
3
3
  export { SolanaServerSigner } from './solana-server-signer.cjs';
4
4
  export { StellarServerSigner } from './stellar-server-signer.cjs';
5
- export { Q as DerivedServerSigner } from '../../types-r_5ltlhH.cjs';
5
+ export { U as DerivedServerSigner } from '../../types-B4kzDRWb.cjs';
6
6
  export { deriveServerSignerAddress, deriveServerSignerCandidates, deriveServerSignerDetails } from './helpers/derive-server-signer.cjs';
7
7
  import '../../chains/chains.cjs';
8
8
  import '@crossmint/common-sdk-base';
@@ -2,7 +2,7 @@ export { assembleServerSigner } from './assemble-server-signer.js';
2
2
  export { EVMServerSigner } from './evm-server-signer.js';
3
3
  export { SolanaServerSigner } from './solana-server-signer.js';
4
4
  export { StellarServerSigner } from './stellar-server-signer.js';
5
- export { Q as DerivedServerSigner } from '../../types-D2ugRtLo.js';
5
+ export { U as DerivedServerSigner } from '../../types-Bxb54lGe.js';
6
6
  export { deriveServerSignerAddress, deriveServerSignerCandidates, deriveServerSignerDetails } from './helpers/derive-server-signer.js';
7
7
  import '../../chains/chains.js';
8
8
  import '@crossmint/common-sdk-base';
@@ -1 +1 @@
1
- import"../../chunk-L52GDMSH.js";import{a as g}from"../../chunk-24CGMAY3.js";import"../../chunk-QM3BB4E2.js";import{a,b,c}from"../../chunk-TSJUK3ED.js";import{a as e}from"../../chunk-IQ3QQ4M6.js";import{a as f}from"../../chunk-GXUPHO44.js";import{a as d}from"../../chunk-277G6KNG.js";import"../../chunk-FJPAMX7L.js";import"../../chunk-E3H6RZHM.js";import"../../chunk-EM3D5Q3A.js";import"../../chunk-OQZTL6ZG.js";import"../../chunk-NU7VF7MC.js";export{d as EVMServerSigner,e as SolanaServerSigner,f as StellarServerSigner,g as assembleServerSigner,a as deriveServerSignerAddress,c as deriveServerSignerCandidates,b as deriveServerSignerDetails};
1
+ import"../../chunk-L52GDMSH.js";import{a as g}from"../../chunk-IQARABFX.js";import"../../chunk-QM3BB4E2.js";import{a,b,c}from"../../chunk-TSJUK3ED.js";import{a as e}from"../../chunk-JY4KRKZ6.js";import{a as f}from"../../chunk-GXUPHO44.js";import{a as d}from"../../chunk-277G6KNG.js";import"../../chunk-FJPAMX7L.js";import"../../chunk-E3H6RZHM.js";import"../../chunk-EM3D5Q3A.js";import"../../chunk-OQZTL6ZG.js";import"../../chunk-NU7VF7MC.js";export{d as EVMServerSigner,e as SolanaServerSigner,f as StellarServerSigner,g as assembleServerSigner,a as deriveServerSignerAddress,c as deriveServerSignerCandidates,b as deriveServerSignerDetails};
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkU5DLRN5Ucjs = require('../../chunk-U5DLRN5U.cjs');require('../../chunk-5IC7UWND.cjs');require('../../chunk-UX2FEVDY.cjs');require('../../chunk-IGRPHTXZ.cjs');require('../../chunk-Q66YRLSW.cjs');require('../../chunk-HJH2S644.cjs');require('../../chunk-2D6B7AZ6.cjs');require('../../chunk-VMDJJX7P.cjs');require('../../chunk-LWA3SX6Z.cjs');require('../../chunk-2YZQ4YYU.cjs');require('../../chunk-5FH7WFWL.cjs');require('../../chunk-QPCZFIUV.cjs');require('../../chunk-ENU3EKBG.cjs');require('../../chunk-DSIFRRBS.cjs');exports.ServerSignerResolver = _chunkU5DLRN5Ucjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWY5KEIIJcjs = require('../../chunk-WY5KEIIJ.cjs');require('../../chunk-5IC7UWND.cjs');require('../../chunk-7FIAYQ4O.cjs');require('../../chunk-IGRPHTXZ.cjs');require('../../chunk-Q66YRLSW.cjs');require('../../chunk-BIL7GVBL.cjs');require('../../chunk-2D6B7AZ6.cjs');require('../../chunk-VMDJJX7P.cjs');require('../../chunk-LWA3SX6Z.cjs');require('../../chunk-2YZQ4YYU.cjs');require('../../chunk-5FH7WFWL.cjs');require('../../chunk-HCV4M7X2.cjs');require('../../chunk-ENU3EKBG.cjs');require('../../chunk-DSIFRRBS.cjs');exports.ServerSignerResolver = _chunkWY5KEIIJcjs.a;
@@ -1,5 +1,5 @@
1
1
  import { Chain } from '../../chains/chains.cjs';
2
- import { t as ServerSignerConfig, Q as DerivedServerSigner, al as ApiSourcedServerSignerConfig, an as ServerSignerLocator } from '../../types-r_5ltlhH.cjs';
2
+ import { t as ServerSignerConfig, U as DerivedServerSigner, an as ApiSourcedServerSignerConfig, ap as ServerSignerLocator } from '../../types-B4kzDRWb.cjs';
3
3
  import '@crossmint/common-sdk-base';
4
4
  import 'viem';
5
5
  import '../../api/gen/types.gen.cjs';
@@ -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 { t as ServerSignerConfig, U as DerivedServerSigner, an as ApiSourcedServerSignerConfig, ap as ServerSignerLocator } from '../../types-Bxb54lGe.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 { w as SignerAdapter, aA as ServerInternalSignerConfig } from '../../types-B4kzDRWb.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 { w as SignerAdapter, aA as ServerInternalSignerConfig } from '../../types-Bxb54lGe.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 { w as SignerAdapter, aA as ServerInternalSignerConfig } from '../../types-B4kzDRWb.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 { w as SignerAdapter, aA as ServerInternalSignerConfig } from '../../types-Bxb54lGe.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 { w as SignerAdapter, Y as ApiKeyInternalSignerConfig, a as ApiKeySignerLocator } from '../types-B4kzDRWb.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 { w as SignerAdapter, Y as ApiKeyInternalSignerConfig, a as ApiKeySignerLocator } from '../types-Bxb54lGe.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 { Z as ExternalWalletInternalSignerConfig } from '../types-B4kzDRWb.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 { Z as ExternalWalletInternalSignerConfig } from '../types-Bxb54lGe.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 { Z as ExternalWalletInternalSignerConfig } from '../types-B4kzDRWb.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 { Z as ExternalWalletInternalSignerConfig } from '../types-Bxb54lGe.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 { Y as ApiKeyInternalSignerConfig, b1 as ApiKeySignerConfig, a as ApiKeySignerLocator, an as ApiSourcedServerSignerConfig, d as AuthRejectedError, az as BaseSignResult, b2 as BaseSignerConfig, U as DerivedServerSigner, V as DeviceInternalSignerConfig, X as DeviceSignResult, D as DeviceSignerConfig, g as DeviceSignerLocator, ax as EmailInternalSignerConfig, h as EmailSignerConfig, i as EmailSignerLocator, j as ExportSignerTEEConnection, k as ExportableSignerAdapter, Z as ExternalWalletInternalSignerConfig, l as ExternalWalletRegistrationConfig, m as ExternalWalletSignerConfigForChain, n as ExternalWalletSignerLocator, _ as InternalSignerConfig, K as KeyExportError, b3 as NonCustodialSignerType, O as OnboardingSessionExpiredError, o as OtpValidationError, $ as PasskeyInternalSignerConfig, a0 as PasskeySignResult, a3 as PasskeySignerConfig, P as PasskeySignerLocator, ay as PhoneInternalSignerConfig, p as PhoneSignerConfig, q as PhoneSignerLocator, R as RecoverySignerConfigForChain, aA as ServerInternalSignerConfig, t as ServerSignerConfig, ap as ServerSignerLocator, w as SignerAdapter, x as SignerAuthenticationError, y as SignerConfigForChain, z as SignerLocator, G as SignerStatusError, b4 as isApiSourcedServerSignerConfig, Q as isExportableSignerAdapter } from '../types-B4kzDRWb.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 { Y as ApiKeyInternalSignerConfig, b1 as ApiKeySignerConfig, a as ApiKeySignerLocator, an as ApiSourcedServerSignerConfig, d as AuthRejectedError, az as BaseSignResult, b2 as BaseSignerConfig, U as DerivedServerSigner, V as DeviceInternalSignerConfig, X as DeviceSignResult, D as DeviceSignerConfig, g as DeviceSignerLocator, ax as EmailInternalSignerConfig, h as EmailSignerConfig, i as EmailSignerLocator, j as ExportSignerTEEConnection, k as ExportableSignerAdapter, Z as ExternalWalletInternalSignerConfig, l as ExternalWalletRegistrationConfig, m as ExternalWalletSignerConfigForChain, n as ExternalWalletSignerLocator, _ as InternalSignerConfig, K as KeyExportError, b3 as NonCustodialSignerType, O as OnboardingSessionExpiredError, o as OtpValidationError, $ as PasskeyInternalSignerConfig, a0 as PasskeySignResult, a3 as PasskeySignerConfig, P as PasskeySignerLocator, ay as PhoneInternalSignerConfig, p as PhoneSignerConfig, q as PhoneSignerLocator, R as RecoverySignerConfigForChain, aA as ServerInternalSignerConfig, t as ServerSignerConfig, ap as ServerSignerLocator, w as SignerAdapter, x as SignerAuthenticationError, y as SignerConfigForChain, z as SignerLocator, G as SignerStatusError, b4 as isApiSourcedServerSignerConfig, Q as isExportableSignerAdapter } from '../types-Bxb54lGe.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};
@@ -4,7 +4,7 @@ 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';
@@ -183,14 +183,17 @@ type WalletArgsFor<C extends Chain> = {
183
183
  };
184
184
  /** A signer that can be used as a recovery signer. Device signers cannot be recovery signers. */
185
185
  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
186
  type WalletCreateArgs<C extends Chain> = WalletArgsFor<C> & {
192
- /** Recovery signer, or list of recovery signers on Solana and Stellar. */
193
- recovery: RecoveryCreateArg<C>;
187
+ /**
188
+ * @deprecated Use `recoveryMethods`. Still accepted: a single recovery method, or a list, which is treated
189
+ * exactly like `recoveryMethods`. Pass either `recovery` or `recoveryMethods`, not both.
190
+ */
191
+ recovery?: RecoverySignerConfigFor<C> | Array<RecoverySignerConfigFor<C>>;
192
+ /**
193
+ * Recovery methods, each able to authorize on its own. Only Solana and Stellar accept more than one.
194
+ * Required unless the deprecated `recovery` is passed.
195
+ */
196
+ recoveryMethods?: Array<RecoverySignerConfigFor<C>>;
194
197
  /** Signers to register on the wallet during creation. */
195
198
  signers?: Array<SignerConfigForChain<C> | ExternalWalletRegistrationConfig>;
196
199
  alias?: string;
@@ -285,6 +288,14 @@ declare class OtpValidationError extends Error {
285
288
  readonly code: string | undefined;
286
289
  constructor(message: string, code?: string);
287
290
  }
291
+ /**
292
+ * Thrown when the signer backend rejects the request's credentials (missing, empty or expired JWT).
293
+ * Distinct from `OtpValidationError`: the OTP flow never ran, the user must re-authenticate with the app first.
294
+ */
295
+ declare class SignerAuthenticationError extends Error {
296
+ readonly code: string | undefined;
297
+ constructor(message: string, code?: string);
298
+ }
288
299
  declare class SignerStatusError extends Error {
289
300
  readonly code: string | undefined;
290
301
  constructor(message: string, code?: string);
@@ -513,4 +524,4 @@ type EvmWalletLocator = `me:evm:${WalletType}` | Address;
513
524
  type SolanaWalletLocator = `me:solana:${WalletType}` | SolanaAddress;
514
525
  type WalletLocator = EvmWalletLocator | SolanaWalletLocator;
515
526
 
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 };
527
+ export { type PasskeyInternalSignerConfig as $, type AddSignerOptions as A, type Balances as B, type Callbacks as C, type DeviceSignerConfig as D, type EVMTransactionInput as E, type SignerStatus as F, SignerStatusError as G, type SolanaTransactionInput as H, type TransferScope as I, type Transfers as J, KeyExportError as K, type WalletCreateArgs as L, type WalletOptions as M, type WalletPlugin as N, OnboardingSessionExpiredError as O, type PasskeySignerLocator as P, isExportableSignerAdapter as Q, type RecoverySignerConfigForChain as R, type Scope as S, type Transaction as T, type DerivedServerSigner as U, type DeviceInternalSignerConfig as V, type WalletArgsFor as W, type DeviceSignResult as X, type ApiKeyInternalSignerConfig as Y, type ExternalWalletInternalSignerConfig as Z, type InternalSignerConfig as _, type ApiKeySignerLocator as a, type SignerInput as a$, type PasskeySignResult as a0, type UserLocator as a1, type RecoverySignerConfigFor as a2, type PasskeySignerConfig as a3, type Signer as a4, type PendingSignerOperation as a5, type PrepareOnly as a6, type SignMessageInput as a7, type SignTypedDataInput as a8, type FundWalletResponse as a9, type ServerInternalSignerConfig as aA, type GetBalanceSuccessResponse as aB, type GetWalletResponse as aC, type CreateTransactionParams as aD, type CreateTransactionResponse as aE, type ApproveTransactionParams as aF, type ApproveTransactionResponse as aG, type CreateSignatureParams as aH, type CreateSignatureResponse as aI, type ApproveSignatureParams as aJ, type GetSignatureResponse as aK, type GetTransfersResponse as aL, type GetBalanceResponse as aM, type FundWalletParams as aN, type RemoveSignerParams as aO, type RemoveSignerResponse as aP, type SendParams as aQ, type CreateTransactionSuccessResponse as aR, type GetSignersResponse as aS, type GetWalletSuccessResponse as aT, type RecoverySignerConfig as aU, type Approval as aV, type DeviceSignerDescriptor as aW, type FormattedEVMTransaction as aX, type PendingApproval as aY, type SendTokenTransactionType as aZ, type SignatureInputOptions as a_, type GetTransactionsResponse as aa, type GetTransactionSuccessResponse as ab, type SendTokenTransactionOptions as ac, type ApproveResult as ad, type AddSignerReturnType as ae, type RemoveSignerReturnType as af, type WalletLocator as ag, type ApproveSignatureResponse as ah, type TransactionInputOptions as ai, type StellarTransactionInput as aj, type UpgradeOptions as ak, type MigrateOptions as al, type GetSignerResponse as am, type ApiSourcedServerSignerConfig as an, type RegisterSignerParams as ao, type ServerSignerLocator as ap, type RegisterSignerChain as aq, type RegisterSignerResponse as ar, type TokenBalance as as, type GetTransactionResponse as at, type SendResponse as au, type CreateWalletResponse as av, type CreateWalletParams as aw, type EmailInternalSignerConfig as ax, type PhoneInternalSignerConfig as ay, type BaseSignResult 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, SignerAuthenticationError as x, type SignerConfigForChain as y, type SignerLocator as z };
@@ -4,7 +4,7 @@ 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';
@@ -183,14 +183,17 @@ type WalletArgsFor<C extends Chain> = {
183
183
  };
184
184
  /** A signer that can be used as a recovery signer. Device signers cannot be recovery signers. */
185
185
  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
186
  type WalletCreateArgs<C extends Chain> = WalletArgsFor<C> & {
192
- /** Recovery signer, or list of recovery signers on Solana and Stellar. */
193
- recovery: RecoveryCreateArg<C>;
187
+ /**
188
+ * @deprecated Use `recoveryMethods`. Still accepted: a single recovery method, or a list, which is treated
189
+ * exactly like `recoveryMethods`. Pass either `recovery` or `recoveryMethods`, not both.
190
+ */
191
+ recovery?: RecoverySignerConfigFor<C> | Array<RecoverySignerConfigFor<C>>;
192
+ /**
193
+ * Recovery methods, each able to authorize on its own. Only Solana and Stellar accept more than one.
194
+ * Required unless the deprecated `recovery` is passed.
195
+ */
196
+ recoveryMethods?: Array<RecoverySignerConfigFor<C>>;
194
197
  /** Signers to register on the wallet during creation. */
195
198
  signers?: Array<SignerConfigForChain<C> | ExternalWalletRegistrationConfig>;
196
199
  alias?: string;
@@ -285,6 +288,14 @@ declare class OtpValidationError extends Error {
285
288
  readonly code: string | undefined;
286
289
  constructor(message: string, code?: string);
287
290
  }
291
+ /**
292
+ * Thrown when the signer backend rejects the request's credentials (missing, empty or expired JWT).
293
+ * Distinct from `OtpValidationError`: the OTP flow never ran, the user must re-authenticate with the app first.
294
+ */
295
+ declare class SignerAuthenticationError extends Error {
296
+ readonly code: string | undefined;
297
+ constructor(message: string, code?: string);
298
+ }
288
299
  declare class SignerStatusError extends Error {
289
300
  readonly code: string | undefined;
290
301
  constructor(message: string, code?: string);
@@ -513,4 +524,4 @@ type EvmWalletLocator = `me:evm:${WalletType}` | Address;
513
524
  type SolanaWalletLocator = `me:solana:${WalletType}` | SolanaAddress;
514
525
  type WalletLocator = EvmWalletLocator | SolanaWalletLocator;
515
526
 
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 };
527
+ export { type PasskeyInternalSignerConfig as $, type AddSignerOptions as A, type Balances as B, type Callbacks as C, type DeviceSignerConfig as D, type EVMTransactionInput as E, type SignerStatus as F, SignerStatusError as G, type SolanaTransactionInput as H, type TransferScope as I, type Transfers as J, KeyExportError as K, type WalletCreateArgs as L, type WalletOptions as M, type WalletPlugin as N, OnboardingSessionExpiredError as O, type PasskeySignerLocator as P, isExportableSignerAdapter as Q, type RecoverySignerConfigForChain as R, type Scope as S, type Transaction as T, type DerivedServerSigner as U, type DeviceInternalSignerConfig as V, type WalletArgsFor as W, type DeviceSignResult as X, type ApiKeyInternalSignerConfig as Y, type ExternalWalletInternalSignerConfig as Z, type InternalSignerConfig as _, type ApiKeySignerLocator as a, type SignerInput as a$, type PasskeySignResult as a0, type UserLocator as a1, type RecoverySignerConfigFor as a2, type PasskeySignerConfig as a3, type Signer as a4, type PendingSignerOperation as a5, type PrepareOnly as a6, type SignMessageInput as a7, type SignTypedDataInput as a8, type FundWalletResponse as a9, type ServerInternalSignerConfig as aA, type GetBalanceSuccessResponse as aB, type GetWalletResponse as aC, type CreateTransactionParams as aD, type CreateTransactionResponse as aE, type ApproveTransactionParams as aF, type ApproveTransactionResponse as aG, type CreateSignatureParams as aH, type CreateSignatureResponse as aI, type ApproveSignatureParams as aJ, type GetSignatureResponse as aK, type GetTransfersResponse as aL, type GetBalanceResponse as aM, type FundWalletParams as aN, type RemoveSignerParams as aO, type RemoveSignerResponse as aP, type SendParams as aQ, type CreateTransactionSuccessResponse as aR, type GetSignersResponse as aS, type GetWalletSuccessResponse as aT, type RecoverySignerConfig as aU, type Approval as aV, type DeviceSignerDescriptor as aW, type FormattedEVMTransaction as aX, type PendingApproval as aY, type SendTokenTransactionType as aZ, type SignatureInputOptions as a_, type GetTransactionsResponse as aa, type GetTransactionSuccessResponse as ab, type SendTokenTransactionOptions as ac, type ApproveResult as ad, type AddSignerReturnType as ae, type RemoveSignerReturnType as af, type WalletLocator as ag, type ApproveSignatureResponse as ah, type TransactionInputOptions as ai, type StellarTransactionInput as aj, type UpgradeOptions as ak, type MigrateOptions as al, type GetSignerResponse as am, type ApiSourcedServerSignerConfig as an, type RegisterSignerParams as ao, type ServerSignerLocator as ap, type RegisterSignerChain as aq, type RegisterSignerResponse as ar, type TokenBalance as as, type GetTransactionResponse as at, type SendResponse as au, type CreateWalletResponse as av, type CreateWalletParams as aw, type EmailInternalSignerConfig as ax, type PhoneInternalSignerConfig as ay, type BaseSignResult 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, SignerAuthenticationError as x, type SignerConfigForChain as y, type SignerLocator 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 _chunkM42AKAZKcjs = require('../chunk-M42AKAZK.cjs');require('../chunk-DSIFRRBS.cjs');exports.SDK_NAME = _chunkM42AKAZKcjs.c; exports.SDK_VERSION = _chunkM42AKAZKcjs.b; exports.STATUS_POLLING_INTERVAL_MS = _chunkM42AKAZKcjs.d; exports.WALLETS_SERVICE = _chunkM42AKAZKcjs.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-MDAPK5FG.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 _chunkPZRFDTBHcjs = require('../../chunk-PZRFDTBH.cjs');require('../../chunk-GSNFNRH2.cjs');require('../../chunk-3VYGTPRF.cjs');require('../../chunk-VS6I4S7X.cjs');require('../../chunk-CCIGWTAO.cjs');require('../../chunk-W3BYSI7F.cjs');require('../../chunk-M42AKAZK.cjs');require('../../chunk-DSIFRRBS.cjs');exports.IframeDeviceSignerKeyStorage = _chunkPZRFDTBHcjs.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-C2LINO2L.js";import"../../chunk-NZXYWQE5.js";import"../../chunk-IOSADDL5.js";import"../../chunk-KOHPRJDP.js";import"../../chunk-455NK5LB.js";import"../../chunk-INUEMQPG.js";import"../../chunk-MDAPK5FG.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-B4kzDRWb.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-Bxb54lGe.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 _chunkPZRFDTBHcjs = require('../../chunk-PZRFDTBH.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-W3BYSI7F.cjs');require('../../chunk-M42AKAZK.cjs');require('../../chunk-DSIFRRBS.cjs');exports.DeviceSignerKeyStorage = _chunk3VYGTPRFcjs.a; exports.IframeDeviceSignerKeyStorage = _chunkPZRFDTBHcjs.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-B4kzDRWb.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-Bxb54lGe.js';
5
5
  import 'viem';
6
6
  import '../../api/gen/types.gen.js';
7
7
  import 'ox';