@crossmint/wallets-sdk 0.18.3 → 0.18.6

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 (197) hide show
  1. package/dist/api/client.cjs +10 -1
  2. package/dist/api/client.js +10 -1
  3. package/dist/api/gen/client.gen.cjs +7 -1
  4. package/dist/api/gen/client.gen.js +7 -1
  5. package/dist/api/gen/index.cjs +179 -1
  6. package/dist/api/gen/index.js +179 -1
  7. package/dist/api/gen/sdk.gen.cjs +178 -1
  8. package/dist/api/gen/sdk.gen.js +178 -1
  9. package/dist/api/gen/types.gen.js +1 -1
  10. package/dist/api/index.cjs +12 -1
  11. package/dist/api/index.js +12 -1
  12. package/dist/api/types.js +1 -1
  13. package/dist/chains/chains.cjs +9 -1
  14. package/dist/chains/chains.js +9 -1
  15. package/dist/chains/definitions/story.cjs +7 -1
  16. package/dist/chains/definitions/story.js +7 -1
  17. package/dist/chains/definitions/storyTestnet.cjs +7 -1
  18. package/dist/chains/definitions/storyTestnet.js +7 -1
  19. package/dist/chunk-2T5HHKUI.js +19 -0
  20. package/dist/chunk-34FDYDOM.cjs +87 -0
  21. package/dist/chunk-3U6UAYOV.js +25 -0
  22. package/dist/chunk-454RYNSZ.js +80 -0
  23. package/dist/chunk-455NK5LB.js +0 -0
  24. package/dist/chunk-55V4VMTX.cjs +25 -0
  25. package/dist/chunk-5BP6CVYY.cjs +58 -0
  26. package/dist/chunk-5YR2ILEW.js +69 -0
  27. package/dist/chunk-6G7ZWCCG.js +247 -0
  28. package/dist/chunk-7ECQJFYM.cjs +63 -0
  29. package/dist/chunk-7JFVG4IY.js +59 -0
  30. package/dist/chunk-AL77JANE.js +36 -0
  31. package/dist/chunk-B6JOIWRH.cjs +289 -0
  32. package/dist/chunk-BSC55MYK.cjs +43 -0
  33. package/dist/chunk-CCIGWTAO.cjs +1 -0
  34. package/dist/chunk-CHGPNMRL.cjs +36 -0
  35. package/dist/chunk-CL44FTXR.js +289 -0
  36. package/dist/chunk-CN2GVFBU.cjs +138 -0
  37. package/dist/chunk-DQCXGBZM.js +59 -0
  38. package/dist/chunk-E3OS753T.js +175 -0
  39. package/dist/chunk-EYJQSDDI.js +43 -0
  40. package/dist/chunk-F6E3ZDRG.cjs +175 -0
  41. package/dist/chunk-FPMW7Q5O.js +55 -0
  42. package/dist/chunk-G3LEJR3P.cjs +53 -0
  43. package/dist/chunk-G5NYLGM5.cjs +55 -0
  44. package/dist/chunk-GLRDLJS5.js +92 -0
  45. package/dist/chunk-GNF2U7IX.cjs +69 -0
  46. package/dist/chunk-GQIZWD4F.cjs +301 -0
  47. package/dist/chunk-HYKMSBCT.cjs +75 -0
  48. package/dist/chunk-IVNYZDI5.cjs +73 -0
  49. package/dist/chunk-K3HFAPSV.js +73 -0
  50. package/dist/chunk-KS63YEQ4.js +138 -0
  51. package/dist/chunk-KT3CVXFG.js +9 -0
  52. package/dist/chunk-LGONZW4W.cjs +629 -0
  53. package/dist/chunk-LHYSCUKJ.cjs +16 -0
  54. package/dist/chunk-LKAO2MV2.cjs +80 -0
  55. package/dist/chunk-LLFD22UQ.cjs +36 -0
  56. package/dist/chunk-MZBFXUHT.js +63 -0
  57. package/dist/chunk-NIBKCMQ2.cjs +19 -0
  58. package/dist/chunk-OKXSUK63.js +87 -0
  59. package/dist/chunk-R2OY54EJ.cjs +59 -0
  60. package/dist/chunk-RAWKXOHR.js +53 -0
  61. package/dist/chunk-RBHGZDDX.cjs +58 -0
  62. package/dist/chunk-RHR6P2KP.cjs +15 -0
  63. package/dist/chunk-RTRDZB52.js +778 -0
  64. package/dist/chunk-S5YXROL6.js +301 -0
  65. package/dist/chunk-SGINWAB6.js +155 -0
  66. package/dist/chunk-TK3EUCQ4.cjs +59 -0
  67. package/dist/chunk-TOHXQVLS.js +58 -0
  68. package/dist/chunk-UKBWSQ7R.js +629 -0
  69. package/dist/chunk-UMGB3Q7I.cjs +92 -0
  70. package/dist/chunk-V3QJQUT7.cjs +778 -0
  71. package/dist/chunk-WC7T2CR4.js +44 -0
  72. package/dist/chunk-WJUPOCKJ.js +15 -0
  73. package/dist/chunk-WQVJM3PG.js +16 -0
  74. package/dist/chunk-XC2V34TS.cjs +155 -0
  75. package/dist/chunk-XRA5GFH3.js +75 -0
  76. package/dist/chunk-YBA7WO32.cjs +44 -0
  77. package/dist/chunk-ZP4ZZCIE.js +58 -0
  78. package/dist/chunk-ZT7EGOCI.cjs +9 -0
  79. package/dist/chunk-ZTGRDOOH.js +36 -0
  80. package/dist/chunk-ZZJ7U5G3.cjs +247 -0
  81. package/dist/index.cjs +57 -1
  82. package/dist/index.js +57 -1
  83. package/dist/logger/index.cjs +11 -0
  84. package/dist/logger/index.d.cts +2 -0
  85. package/dist/logger/index.d.ts +2 -0
  86. package/dist/logger/index.js +11 -0
  87. package/dist/logger/init.cjs +10 -0
  88. package/dist/logger/init.d.cts +15 -0
  89. package/dist/logger/init.d.ts +15 -0
  90. package/dist/logger/init.js +10 -0
  91. package/dist/sdk.cjs +33 -1
  92. package/dist/sdk.js +33 -1
  93. package/dist/signers/evm-api-key.cjs +7 -1
  94. package/dist/signers/evm-api-key.js +7 -1
  95. package/dist/signers/evm-external-wallet.cjs +7 -1
  96. package/dist/signers/evm-external-wallet.js +7 -1
  97. package/dist/signers/index.cjs +21 -1
  98. package/dist/signers/index.js +21 -1
  99. package/dist/signers/non-custodial/index.cjs +24 -1
  100. package/dist/signers/non-custodial/index.js +24 -1
  101. package/dist/signers/non-custodial/ncs-evm-signer.cjs +10 -1
  102. package/dist/signers/non-custodial/ncs-evm-signer.js +10 -1
  103. package/dist/signers/non-custodial/ncs-iframe-manager.cjs +7 -1
  104. package/dist/signers/non-custodial/ncs-iframe-manager.js +7 -1
  105. package/dist/signers/non-custodial/ncs-signer.cjs +11 -1
  106. package/dist/signers/non-custodial/ncs-signer.js +11 -1
  107. package/dist/signers/non-custodial/ncs-solana-signer.cjs +10 -1
  108. package/dist/signers/non-custodial/ncs-solana-signer.js +10 -1
  109. package/dist/signers/non-custodial/ncs-stellar-signer.cjs +10 -1
  110. package/dist/signers/non-custodial/ncs-stellar-signer.js +10 -1
  111. package/dist/signers/passkey.cjs +7 -1
  112. package/dist/signers/passkey.js +7 -1
  113. package/dist/signers/solana-api-key.cjs +7 -1
  114. package/dist/signers/solana-api-key.js +7 -1
  115. package/dist/signers/solana-external-wallet.cjs +8 -1
  116. package/dist/signers/solana-external-wallet.js +8 -1
  117. package/dist/signers/stellar-external-wallet.cjs +7 -1
  118. package/dist/signers/stellar-external-wallet.js +7 -1
  119. package/dist/signers/types.cjs +9 -1
  120. package/dist/signers/types.js +9 -1
  121. package/dist/utils/constants.cjs +13 -1
  122. package/dist/utils/constants.js +13 -1
  123. package/dist/utils/errors.cjs +55 -1
  124. package/dist/utils/errors.js +55 -1
  125. package/dist/utils/signer-validation.cjs +10 -1
  126. package/dist/utils/signer-validation.d.cts +7 -1
  127. package/dist/utils/signer-validation.d.ts +7 -1
  128. package/dist/utils/signer-validation.js +10 -1
  129. package/dist/wallets/evm.cjs +20 -1
  130. package/dist/wallets/evm.js +20 -1
  131. package/dist/wallets/solana.cjs +18 -1
  132. package/dist/wallets/solana.js +18 -1
  133. package/dist/wallets/stellar.cjs +17 -1
  134. package/dist/wallets/stellar.js +17 -1
  135. package/dist/wallets/wallet-factory.cjs +27 -1
  136. package/dist/wallets/wallet-factory.js +27 -1
  137. package/dist/wallets/wallet.cjs +16 -1
  138. package/dist/wallets/wallet.js +16 -1
  139. package/package.json +6 -5
  140. package/dist/chunk-2SHDBC47.js +0 -1
  141. package/dist/chunk-2XVV7Z43.cjs +0 -1
  142. package/dist/chunk-2YH3NVVK.cjs +0 -1
  143. package/dist/chunk-3APSOOE3.js +0 -1
  144. package/dist/chunk-3SW6AJSG.cjs +0 -1
  145. package/dist/chunk-4KXOWU5E.cjs +0 -1
  146. package/dist/chunk-5M7IRODB.js +0 -1
  147. package/dist/chunk-5QIW67NU.cjs +0 -1
  148. package/dist/chunk-6PVKL5RC.js +0 -1
  149. package/dist/chunk-7HTB7WKD.cjs +0 -1
  150. package/dist/chunk-7JIPYRKX.js +0 -1
  151. package/dist/chunk-BQZES4ST.js +0 -1
  152. package/dist/chunk-BW7YYVZE.js +0 -1
  153. package/dist/chunk-C3T63EC7.cjs +0 -1
  154. package/dist/chunk-CXTC3YDL.cjs +0 -1
  155. package/dist/chunk-DV6ZRFKV.js +0 -1
  156. package/dist/chunk-DX7VVXY5.cjs +0 -1
  157. package/dist/chunk-FATVK26C.js +0 -1
  158. package/dist/chunk-GEY574TH.cjs +0 -1
  159. package/dist/chunk-GKZFI322.js +0 -1
  160. package/dist/chunk-H4T4IXCF.js +0 -1
  161. package/dist/chunk-HJ5EDMTA.js +0 -1
  162. package/dist/chunk-HPHVJ6BA.cjs +0 -1
  163. package/dist/chunk-HQAKCIYM.js +0 -1
  164. package/dist/chunk-HRSVFJND.cjs +0 -1
  165. package/dist/chunk-IGBQEAD5.js +0 -1
  166. package/dist/chunk-IR5WN6FQ.cjs +0 -1
  167. package/dist/chunk-JUSY5XEE.js +0 -1
  168. package/dist/chunk-KFJLRIY7.js +0 -1
  169. package/dist/chunk-KKQBZXFE.js +0 -1
  170. package/dist/chunk-KO6QYKDX.cjs +0 -1
  171. package/dist/chunk-KRV3IXJU.cjs +0 -1
  172. package/dist/chunk-LW6JSI4J.js +0 -1
  173. package/dist/chunk-M2UBZY5S.cjs +0 -1
  174. package/dist/chunk-M4TOGGLV.cjs +0 -1
  175. package/dist/chunk-MQP5VZCA.cjs +0 -1
  176. package/dist/chunk-NP32UO2G.cjs +0 -1
  177. package/dist/chunk-O4FVTK7X.cjs +0 -1
  178. package/dist/chunk-P6JJHAAV.js +0 -1
  179. package/dist/chunk-PONCGT2H.cjs +0 -1
  180. package/dist/chunk-PSXRNSOE.js +0 -1
  181. package/dist/chunk-QMXG67T3.cjs +0 -1
  182. package/dist/chunk-RJZV72YF.js +0 -1
  183. package/dist/chunk-S3DYQVRD.js +0 -1
  184. package/dist/chunk-SLG7HGGL.js +0 -1
  185. package/dist/chunk-STYSP6KL.cjs +0 -1
  186. package/dist/chunk-UBOWSXW3.js +0 -1
  187. package/dist/chunk-UNBXKCNN.js +0 -1
  188. package/dist/chunk-VY634F3J.js +0 -1
  189. package/dist/chunk-WQP2FSVI.js +0 -1
  190. package/dist/chunk-WYYAPI4G.cjs +0 -1
  191. package/dist/chunk-WZFHEUWT.cjs +0 -1
  192. package/dist/chunk-XALFCQKD.cjs +0 -1
  193. package/dist/chunk-YWPTI2QO.cjs +0 -1
  194. package/dist/chunk-YWXQIFVZ.js +0 -3
  195. package/dist/chunk-YZ4HRYSL.cjs +0 -1
  196. package/dist/chunk-Z54LVUDS.js +0 -1
  197. package/dist/chunk-ZWMB3QLR.cjs +0 -3
@@ -1 +1,178 @@
1
- import{$,A,Aa,B,Ba,C,Ca,D,Da,E,Ea,F,Fa,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z,_,a,aa,b,ba,c,ca,d,da,e,ea,f,fa,g,ga,h,ha,i,ia,j,ja,k,ka,l,la,m,ma,n,na,o,oa,p,pa,q,qa,r,ra,s,sa,t,ta,u,ua,v,va,w,wa,x,xa,y,ya,z,za}from"../../chunk-7JIPYRKX.js";import"../../chunk-5M7IRODB.js";import"../../chunk-BW7YYVZE.js";export{x as balanceControllerFundWallet2,w as balanceControllerGetBalanceForLocator2,F as balanceUnstableControllerGetBalanceForLocator2,da as balanceV20250609ControllerGetBalanceForLocator2,D as walletActivityUnstableControllerGetMeWalletActivity2,G as walletActivityUnstableControllerGetWalletActivity2,Ea as walletNftControllerGetNftsFromWallet4,C as walletsSendTokenControllerSendMeToken2,E as walletsSendTokenControllerSendToken2,L as walletsSendTokenV2025ControllerSendMeToken2,Y as walletsSendTokenV2025ControllerSendToken2,xa as walletsV1ControllerCreateDelegatedSigner4,r as walletsV1ControllerCreateDelegatedSigner5,la as walletsV1ControllerCreateMeDelegatedSigner4,f as walletsV1ControllerCreateMeDelegatedSigner5,oa as walletsV1ControllerCreateMeSignatureRequest4,i as walletsV1ControllerCreateMeSignatureRequest5,ja as walletsV1ControllerCreateMeTransaction4,d as walletsV1ControllerCreateMeTransaction5,ra as walletsV1ControllerCreateMeWallet4,l as walletsV1ControllerCreateMeWallet5,Ba as walletsV1ControllerCreateSignatureRequest4,v as walletsV1ControllerCreateSignatureRequest5,va as walletsV1ControllerCreateTransaction4,p as walletsV1ControllerCreateTransaction5,Fa as walletsV1ControllerCreateWallet4,A as walletsV1ControllerCreateWallet5,Aa as walletsV1ControllerGetAllSignatures4,u as walletsV1ControllerGetAllSignatures5,wa as walletsV1ControllerGetDelegatedSigner4,q as walletsV1ControllerGetDelegatedSigner5,ka as walletsV1ControllerGetMeDelegatedSigner4,e as walletsV1ControllerGetMeDelegatedSigner5,na as walletsV1ControllerGetMeSignature4,h as walletsV1ControllerGetMeSignature5,ha as walletsV1ControllerGetMeTransaction4,b as walletsV1ControllerGetMeTransaction5,ia as walletsV1ControllerGetMeTransactionsWithoutChain4,c as walletsV1ControllerGetMeTransactionsWithoutChain5,qa as walletsV1ControllerGetMeWallet4,k as walletsV1ControllerGetMeWallet5,pa as walletsV1ControllerGetMeWalletActivity4,j as walletsV1ControllerGetMeWalletActivity5,za as walletsV1ControllerGetSignature4,t as walletsV1ControllerGetSignature5,ta as walletsV1ControllerGetTransaction4,n as walletsV1ControllerGetTransaction5,ua as walletsV1ControllerGetTransactionsWithoutChain4,o as walletsV1ControllerGetTransactionsWithoutChain5,Ca as walletsV1ControllerGetWalletActivity4,y as walletsV1ControllerGetWalletActivity5,Da as walletsV1ControllerGetWalletByLocator4,z as walletsV1ControllerGetWalletByLocator5,sa as walletsV1ControllerSubmitApprovals4,m as walletsV1ControllerSubmitApprovals5,ga as walletsV1ControllerSubmitMeApprovals4,a as walletsV1ControllerSubmitMeApprovals5,ma as walletsV1ControllerSubmitMeSignatureApprovals4,g as walletsV1ControllerSubmitMeSignatureApprovals5,ya as walletsV1ControllerSubmitSignatureApprovals4,s as walletsV1ControllerSubmitSignatureApprovals5,_ as walletsV2025ControllerCreateDelegatedSigner2,N as walletsV2025ControllerCreateMeDelegatedSigner2,R as walletsV2025ControllerCreateMeSignatureRequest2,K as walletsV2025ControllerCreateMeTransaction2,T as walletsV2025ControllerCreateMeWallet2,ca as walletsV2025ControllerCreateSignatureRequest2,X as walletsV2025ControllerCreateTransaction2,fa as walletsV2025ControllerCreateWallet2,ba as walletsV2025ControllerGetAllSignatures2,Z as walletsV2025ControllerGetDelegatedSigner2,M as walletsV2025ControllerGetMeDelegatedSigner2,P as walletsV2025ControllerGetMeSignature2,Q as walletsV2025ControllerGetMeSignatures2,I as walletsV2025ControllerGetMeTransaction2,J as walletsV2025ControllerGetMeTransactionsWithoutChain2,S as walletsV2025ControllerGetMeWallet2,aa as walletsV2025ControllerGetSignature2,V as walletsV2025ControllerGetTransaction2,W as walletsV2025ControllerGetTransactionsWithoutChain2,ea as walletsV2025ControllerGetWalletByLocator2,U as walletsV2025ControllerSubmitApprovals2,H as walletsV2025ControllerSubmitMeApprovals2,O as walletsV2025ControllerSubmitMeSignatureApprovals2,$ as walletsV2025ControllerSubmitSignatureApprovals2,B as walletsVerifyRecipientControllerVerifyWalletOwnership2};
1
+ import {
2
+ balanceControllerFundWallet2,
3
+ balanceControllerGetBalanceForLocator2,
4
+ balanceUnstableControllerGetBalanceForLocator2,
5
+ balanceV20250609ControllerGetBalanceForLocator2,
6
+ walletActivityUnstableControllerGetMeWalletActivity2,
7
+ walletActivityUnstableControllerGetWalletActivity2,
8
+ walletNftControllerGetNftsFromWallet4,
9
+ walletsSendTokenControllerSendMeToken2,
10
+ walletsSendTokenControllerSendToken2,
11
+ walletsSendTokenV2025ControllerSendMeToken2,
12
+ walletsSendTokenV2025ControllerSendToken2,
13
+ walletsV1ControllerCreateDelegatedSigner4,
14
+ walletsV1ControllerCreateDelegatedSigner5,
15
+ walletsV1ControllerCreateMeDelegatedSigner4,
16
+ walletsV1ControllerCreateMeDelegatedSigner5,
17
+ walletsV1ControllerCreateMeSignatureRequest4,
18
+ walletsV1ControllerCreateMeSignatureRequest5,
19
+ walletsV1ControllerCreateMeTransaction4,
20
+ walletsV1ControllerCreateMeTransaction5,
21
+ walletsV1ControllerCreateMeWallet4,
22
+ walletsV1ControllerCreateMeWallet5,
23
+ walletsV1ControllerCreateSignatureRequest4,
24
+ walletsV1ControllerCreateSignatureRequest5,
25
+ walletsV1ControllerCreateTransaction4,
26
+ walletsV1ControllerCreateTransaction5,
27
+ walletsV1ControllerCreateWallet4,
28
+ walletsV1ControllerCreateWallet5,
29
+ walletsV1ControllerGetAllSignatures4,
30
+ walletsV1ControllerGetAllSignatures5,
31
+ walletsV1ControllerGetDelegatedSigner4,
32
+ walletsV1ControllerGetDelegatedSigner5,
33
+ walletsV1ControllerGetMeDelegatedSigner4,
34
+ walletsV1ControllerGetMeDelegatedSigner5,
35
+ walletsV1ControllerGetMeSignature4,
36
+ walletsV1ControllerGetMeSignature5,
37
+ walletsV1ControllerGetMeTransaction4,
38
+ walletsV1ControllerGetMeTransaction5,
39
+ walletsV1ControllerGetMeTransactionsWithoutChain4,
40
+ walletsV1ControllerGetMeTransactionsWithoutChain5,
41
+ walletsV1ControllerGetMeWallet4,
42
+ walletsV1ControllerGetMeWallet5,
43
+ walletsV1ControllerGetMeWalletActivity4,
44
+ walletsV1ControllerGetMeWalletActivity5,
45
+ walletsV1ControllerGetSignature4,
46
+ walletsV1ControllerGetSignature5,
47
+ walletsV1ControllerGetTransaction4,
48
+ walletsV1ControllerGetTransaction5,
49
+ walletsV1ControllerGetTransactionsWithoutChain4,
50
+ walletsV1ControllerGetTransactionsWithoutChain5,
51
+ walletsV1ControllerGetWalletActivity4,
52
+ walletsV1ControllerGetWalletActivity5,
53
+ walletsV1ControllerGetWalletByLocator4,
54
+ walletsV1ControllerGetWalletByLocator5,
55
+ walletsV1ControllerSubmitApprovals4,
56
+ walletsV1ControllerSubmitApprovals5,
57
+ walletsV1ControllerSubmitMeApprovals4,
58
+ walletsV1ControllerSubmitMeApprovals5,
59
+ walletsV1ControllerSubmitMeSignatureApprovals4,
60
+ walletsV1ControllerSubmitMeSignatureApprovals5,
61
+ walletsV1ControllerSubmitSignatureApprovals4,
62
+ walletsV1ControllerSubmitSignatureApprovals5,
63
+ walletsV2025ControllerCreateDelegatedSigner2,
64
+ walletsV2025ControllerCreateMeDelegatedSigner2,
65
+ walletsV2025ControllerCreateMeSignatureRequest2,
66
+ walletsV2025ControllerCreateMeTransaction2,
67
+ walletsV2025ControllerCreateMeWallet2,
68
+ walletsV2025ControllerCreateSignatureRequest2,
69
+ walletsV2025ControllerCreateTransaction2,
70
+ walletsV2025ControllerCreateWallet2,
71
+ walletsV2025ControllerGetAllSignatures2,
72
+ walletsV2025ControllerGetDelegatedSigner2,
73
+ walletsV2025ControllerGetMeDelegatedSigner2,
74
+ walletsV2025ControllerGetMeSignature2,
75
+ walletsV2025ControllerGetMeSignatures2,
76
+ walletsV2025ControllerGetMeTransaction2,
77
+ walletsV2025ControllerGetMeTransactionsWithoutChain2,
78
+ walletsV2025ControllerGetMeWallet2,
79
+ walletsV2025ControllerGetSignature2,
80
+ walletsV2025ControllerGetTransaction2,
81
+ walletsV2025ControllerGetTransactionsWithoutChain2,
82
+ walletsV2025ControllerGetWalletByLocator2,
83
+ walletsV2025ControllerSubmitApprovals2,
84
+ walletsV2025ControllerSubmitMeApprovals2,
85
+ walletsV2025ControllerSubmitMeSignatureApprovals2,
86
+ walletsV2025ControllerSubmitSignatureApprovals2,
87
+ walletsVerifyRecipientControllerVerifyWalletOwnership2
88
+ } from "../../chunk-RTRDZB52.js";
89
+ import "../../chunk-KT3CVXFG.js";
90
+ import "../../chunk-FPMW7Q5O.js";
91
+ export {
92
+ balanceControllerFundWallet2,
93
+ balanceControllerGetBalanceForLocator2,
94
+ balanceUnstableControllerGetBalanceForLocator2,
95
+ balanceV20250609ControllerGetBalanceForLocator2,
96
+ walletActivityUnstableControllerGetMeWalletActivity2,
97
+ walletActivityUnstableControllerGetWalletActivity2,
98
+ walletNftControllerGetNftsFromWallet4,
99
+ walletsSendTokenControllerSendMeToken2,
100
+ walletsSendTokenControllerSendToken2,
101
+ walletsSendTokenV2025ControllerSendMeToken2,
102
+ walletsSendTokenV2025ControllerSendToken2,
103
+ walletsV1ControllerCreateDelegatedSigner4,
104
+ walletsV1ControllerCreateDelegatedSigner5,
105
+ walletsV1ControllerCreateMeDelegatedSigner4,
106
+ walletsV1ControllerCreateMeDelegatedSigner5,
107
+ walletsV1ControllerCreateMeSignatureRequest4,
108
+ walletsV1ControllerCreateMeSignatureRequest5,
109
+ walletsV1ControllerCreateMeTransaction4,
110
+ walletsV1ControllerCreateMeTransaction5,
111
+ walletsV1ControllerCreateMeWallet4,
112
+ walletsV1ControllerCreateMeWallet5,
113
+ walletsV1ControllerCreateSignatureRequest4,
114
+ walletsV1ControllerCreateSignatureRequest5,
115
+ walletsV1ControllerCreateTransaction4,
116
+ walletsV1ControllerCreateTransaction5,
117
+ walletsV1ControllerCreateWallet4,
118
+ walletsV1ControllerCreateWallet5,
119
+ walletsV1ControllerGetAllSignatures4,
120
+ walletsV1ControllerGetAllSignatures5,
121
+ walletsV1ControllerGetDelegatedSigner4,
122
+ walletsV1ControllerGetDelegatedSigner5,
123
+ walletsV1ControllerGetMeDelegatedSigner4,
124
+ walletsV1ControllerGetMeDelegatedSigner5,
125
+ walletsV1ControllerGetMeSignature4,
126
+ walletsV1ControllerGetMeSignature5,
127
+ walletsV1ControllerGetMeTransaction4,
128
+ walletsV1ControllerGetMeTransaction5,
129
+ walletsV1ControllerGetMeTransactionsWithoutChain4,
130
+ walletsV1ControllerGetMeTransactionsWithoutChain5,
131
+ walletsV1ControllerGetMeWallet4,
132
+ walletsV1ControllerGetMeWallet5,
133
+ walletsV1ControllerGetMeWalletActivity4,
134
+ walletsV1ControllerGetMeWalletActivity5,
135
+ walletsV1ControllerGetSignature4,
136
+ walletsV1ControllerGetSignature5,
137
+ walletsV1ControllerGetTransaction4,
138
+ walletsV1ControllerGetTransaction5,
139
+ walletsV1ControllerGetTransactionsWithoutChain4,
140
+ walletsV1ControllerGetTransactionsWithoutChain5,
141
+ walletsV1ControllerGetWalletActivity4,
142
+ walletsV1ControllerGetWalletActivity5,
143
+ walletsV1ControllerGetWalletByLocator4,
144
+ walletsV1ControllerGetWalletByLocator5,
145
+ walletsV1ControllerSubmitApprovals4,
146
+ walletsV1ControllerSubmitApprovals5,
147
+ walletsV1ControllerSubmitMeApprovals4,
148
+ walletsV1ControllerSubmitMeApprovals5,
149
+ walletsV1ControllerSubmitMeSignatureApprovals4,
150
+ walletsV1ControllerSubmitMeSignatureApprovals5,
151
+ walletsV1ControllerSubmitSignatureApprovals4,
152
+ walletsV1ControllerSubmitSignatureApprovals5,
153
+ walletsV2025ControllerCreateDelegatedSigner2,
154
+ walletsV2025ControllerCreateMeDelegatedSigner2,
155
+ walletsV2025ControllerCreateMeSignatureRequest2,
156
+ walletsV2025ControllerCreateMeTransaction2,
157
+ walletsV2025ControllerCreateMeWallet2,
158
+ walletsV2025ControllerCreateSignatureRequest2,
159
+ walletsV2025ControllerCreateTransaction2,
160
+ walletsV2025ControllerCreateWallet2,
161
+ walletsV2025ControllerGetAllSignatures2,
162
+ walletsV2025ControllerGetDelegatedSigner2,
163
+ walletsV2025ControllerGetMeDelegatedSigner2,
164
+ walletsV2025ControllerGetMeSignature2,
165
+ walletsV2025ControllerGetMeSignatures2,
166
+ walletsV2025ControllerGetMeTransaction2,
167
+ walletsV2025ControllerGetMeTransactionsWithoutChain2,
168
+ walletsV2025ControllerGetMeWallet2,
169
+ walletsV2025ControllerGetSignature2,
170
+ walletsV2025ControllerGetTransaction2,
171
+ walletsV2025ControllerGetTransactionsWithoutChain2,
172
+ walletsV2025ControllerGetWalletByLocator2,
173
+ walletsV2025ControllerSubmitApprovals2,
174
+ walletsV2025ControllerSubmitMeApprovals2,
175
+ walletsV2025ControllerSubmitMeSignatureApprovals2,
176
+ walletsV2025ControllerSubmitSignatureApprovals2,
177
+ walletsVerifyRecipientControllerVerifyWalletOwnership2
178
+ };
@@ -1 +1 @@
1
- import"../../chunk-YMRXMNME.js";
1
+ import "../../chunk-YMRXMNME.js";
@@ -1 +1,12 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-6HXIZLEQ.cjs');var _chunk7HTB7WKDcjs = require('../chunk-7HTB7WKD.cjs');require('../chunk-3SW6AJSG.cjs');require('../chunk-O4FVTK7X.cjs');require('../chunk-ECAM5KTH.cjs');require('../chunk-XALFCQKD.cjs');exports.ApiClient = _chunk7HTB7WKDcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-6HXIZLEQ.cjs');
2
+
3
+
4
+ var _chunkZZJ7U5G3cjs = require('../chunk-ZZJ7U5G3.cjs');
5
+ require('../chunk-XC2V34TS.cjs');
6
+ require('../chunk-ECAM5KTH.cjs');
7
+ require('../chunk-G3LEJR3P.cjs');
8
+ require('../chunk-LHYSCUKJ.cjs');
9
+ require('../chunk-G5NYLGM5.cjs');
10
+
11
+
12
+ exports.ApiClient = _chunkZZJ7U5G3cjs.ApiClient;
package/dist/api/index.js CHANGED
@@ -1 +1,12 @@
1
- import"../chunk-5IFDVB4Y.js";import{a}from"../chunk-DV6ZRFKV.js";import"../chunk-Z54LVUDS.js";import"../chunk-PSXRNSOE.js";import"../chunk-KBJA7JDT.js";import"../chunk-BW7YYVZE.js";export{a as ApiClient};
1
+ import "../chunk-5IFDVB4Y.js";
2
+ import {
3
+ ApiClient
4
+ } from "../chunk-6G7ZWCCG.js";
5
+ import "../chunk-SGINWAB6.js";
6
+ import "../chunk-KBJA7JDT.js";
7
+ import "../chunk-RAWKXOHR.js";
8
+ import "../chunk-WQVJM3PG.js";
9
+ import "../chunk-FPMW7Q5O.js";
10
+ export {
11
+ ApiClient
12
+ };
package/dist/api/types.js CHANGED
@@ -1 +1 @@
1
- import"../chunk-KBJA7JDT.js";
1
+ import "../chunk-KBJA7JDT.js";
@@ -1 +1,9 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkWZFHEUWTcjs = require('../chunk-WZFHEUWT.cjs');require('../chunk-IR5WN6FQ.cjs');require('../chunk-GEY574TH.cjs');require('../chunk-XALFCQKD.cjs');exports.toViemChain = _chunkWZFHEUWTcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkCN2GVFBUcjs = require('../chunk-CN2GVFBU.cjs');
4
+ require('../chunk-NIBKCMQ2.cjs');
5
+ require('../chunk-55V4VMTX.cjs');
6
+ require('../chunk-G5NYLGM5.cjs');
7
+
8
+
9
+ exports.toViemChain = _chunkCN2GVFBUcjs.toViemChain;
@@ -1 +1,9 @@
1
- import{a}from"../chunk-RJZV72YF.js";import"../chunk-KKQBZXFE.js";import"../chunk-S3DYQVRD.js";import"../chunk-BW7YYVZE.js";export{a as toViemChain};
1
+ import {
2
+ toViemChain
3
+ } from "../chunk-KS63YEQ4.js";
4
+ import "../chunk-2T5HHKUI.js";
5
+ import "../chunk-3U6UAYOV.js";
6
+ import "../chunk-FPMW7Q5O.js";
7
+ export {
8
+ toViemChain
9
+ };
@@ -1 +1,7 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkIR5WN6FQcjs = require('../../chunk-IR5WN6FQ.cjs');require('../../chunk-XALFCQKD.cjs');exports.story = _chunkIR5WN6FQcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkNIBKCMQ2cjs = require('../../chunk-NIBKCMQ2.cjs');
4
+ require('../../chunk-G5NYLGM5.cjs');
5
+
6
+
7
+ exports.story = _chunkNIBKCMQ2cjs.story;
@@ -1 +1,7 @@
1
- import{a}from"../../chunk-KKQBZXFE.js";import"../../chunk-BW7YYVZE.js";export{a as story};
1
+ import {
2
+ story
3
+ } from "../../chunk-2T5HHKUI.js";
4
+ import "../../chunk-FPMW7Q5O.js";
5
+ export {
6
+ story
7
+ };
@@ -1 +1,7 @@
1
- "use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkGEY574THcjs = require('../../chunk-GEY574TH.cjs');require('../../chunk-XALFCQKD.cjs');exports.storyTestnet = _chunkGEY574THcjs.a;
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunk55V4VMTXcjs = require('../../chunk-55V4VMTX.cjs');
4
+ require('../../chunk-G5NYLGM5.cjs');
5
+
6
+
7
+ exports.storyTestnet = _chunk55V4VMTXcjs.storyTestnet;
@@ -1 +1,7 @@
1
- import{a}from"../../chunk-S3DYQVRD.js";import"../../chunk-BW7YYVZE.js";export{a as storyTestnet};
1
+ import {
2
+ storyTestnet
3
+ } from "../../chunk-3U6UAYOV.js";
4
+ import "../../chunk-FPMW7Q5O.js";
5
+ export {
6
+ storyTestnet
7
+ };
@@ -0,0 +1,19 @@
1
+ // src/chains/definitions/story.ts
2
+ import { defineChain } from "viem";
3
+ var story = defineChain({
4
+ id: 1514,
5
+ name: "Story",
6
+ nativeCurrency: {
7
+ decimals: 18,
8
+ name: "IP Token",
9
+ symbol: "IP"
10
+ },
11
+ rpcUrls: {
12
+ default: { http: ["https://mainnet.storyrpc.io"] }
13
+ },
14
+ testnet: false
15
+ });
16
+
17
+ export {
18
+ story
19
+ };
@@ -0,0 +1,87 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkLGONZW4Wcjs = require('./chunk-LGONZW4W.cjs');
4
+
5
+
6
+ var _chunkXC2V34TScjs = require('./chunk-XC2V34TS.cjs');
7
+
8
+
9
+ var _chunkG5NYLGM5cjs = require('./chunk-G5NYLGM5.cjs');
10
+
11
+ // src/wallets/stellar.ts
12
+ var _commonsdkbase = require('@crossmint/common-sdk-base');
13
+ var StellarWallet = class _StellarWallet extends _chunkLGONZW4Wcjs.Wallet {
14
+ constructor(wallet) {
15
+ super(
16
+ {
17
+ chain: wallet.chain,
18
+ address: wallet.address,
19
+ owner: wallet.owner,
20
+ signer: wallet.signer,
21
+ options: _chunkLGONZW4Wcjs.Wallet.getOptions(wallet),
22
+ alias: wallet.alias
23
+ },
24
+ _chunkLGONZW4Wcjs.Wallet.getApiClient(wallet)
25
+ );
26
+ }
27
+ static from(wallet) {
28
+ if (!_commonsdkbase.isValidStellarAddress.call(void 0, wallet.address)) {
29
+ throw new Error("Wallet is not a Stellar wallet");
30
+ }
31
+ return new _StellarWallet(wallet);
32
+ }
33
+ sendTransaction(params) {
34
+ return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
35
+ var _a;
36
+ yield this.preAuthIfNeeded();
37
+ const createdTransaction = yield this.createTransaction(params);
38
+ if ((_a = params.options) == null ? void 0 : _a.experimental_prepareOnly) {
39
+ return {
40
+ hash: void 0,
41
+ explorerLink: void 0,
42
+ transactionId: createdTransaction.id
43
+ };
44
+ }
45
+ const options = {};
46
+ return yield this.approveTransactionAndWait(createdTransaction.id, options);
47
+ });
48
+ }
49
+ createTransaction(params) {
50
+ return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
51
+ var _a;
52
+ const { contractId, options } = params;
53
+ const signer = (_a = options == null ? void 0 : options.experimental_signer) != null ? _a : this.signer.locator();
54
+ let transaction;
55
+ if ("transaction" in params) {
56
+ transaction = {
57
+ type: "serialized-transaction",
58
+ serializedTransaction: params.transaction,
59
+ contractId
60
+ };
61
+ } else {
62
+ const { method, memo, args } = params;
63
+ transaction = {
64
+ type: "contract-call",
65
+ contractId,
66
+ method,
67
+ memo: memo != null ? { type: "text", value: memo } : void 0,
68
+ args
69
+ };
70
+ }
71
+ const transactionCreationResponse = yield this.apiClient.createTransaction(this.walletLocator, {
72
+ params: {
73
+ transaction,
74
+ signer
75
+ }
76
+ });
77
+ if ("error" in transactionCreationResponse) {
78
+ throw new (0, _chunkXC2V34TScjs.TransactionNotCreatedError)(JSON.stringify(transactionCreationResponse));
79
+ }
80
+ return transactionCreationResponse;
81
+ });
82
+ }
83
+ };
84
+
85
+
86
+
87
+ exports.StellarWallet = StellarWallet;
@@ -0,0 +1,25 @@
1
+ // src/chains/definitions/storyTestnet.ts
2
+ import { defineChain } from "viem";
3
+ var storyTestnet = defineChain({
4
+ id: 1513,
5
+ name: "Story Testnet",
6
+ nativeCurrency: {
7
+ decimals: 18,
8
+ name: "IP",
9
+ symbol: "IP"
10
+ },
11
+ rpcUrls: {
12
+ default: { http: ["https://testnet.storyrpc.io"] }
13
+ },
14
+ blockExplorers: {
15
+ default: {
16
+ name: "Story Testnet Explorer",
17
+ url: "https://testnet.storyscan.xyz"
18
+ }
19
+ },
20
+ testnet: true
21
+ });
22
+
23
+ export {
24
+ storyTestnet
25
+ };
@@ -0,0 +1,80 @@
1
+ import {
2
+ DEFAULT_EVENT_OPTIONS,
3
+ NonCustodialSigner
4
+ } from "./chunk-CL44FTXR.js";
5
+ import {
6
+ __async
7
+ } from "./chunk-FPMW7Q5O.js";
8
+
9
+ // src/signers/non-custodial/ncs-evm-signer.ts
10
+ import { PersonalMessage } from "ox";
11
+ import { isHex, toHex } from "viem";
12
+ var EVMNonCustodialSigner = class _EVMNonCustodialSigner extends NonCustodialSigner {
13
+ constructor(config) {
14
+ super(config);
15
+ }
16
+ signMessage(message) {
17
+ return __async(this, null, function* () {
18
+ const messageRaw = isHex(message) ? message : toHex(message);
19
+ const messageToSign = PersonalMessage.getSignPayload(messageRaw);
20
+ return yield this.sign(messageToSign);
21
+ });
22
+ }
23
+ signTransaction(transaction) {
24
+ return __async(this, null, function* () {
25
+ return yield this.sign(transaction);
26
+ });
27
+ }
28
+ sign(raw) {
29
+ return __async(this, null, function* () {
30
+ var _a;
31
+ yield this.handleAuthRequired();
32
+ const jwt = this.getJwtOrThrow();
33
+ const hexString = raw.replace("0x", "");
34
+ const res = yield (_a = this.config.clientTEEConnection) == null ? void 0 : _a.sendAction({
35
+ event: "request:sign",
36
+ responseEvent: "response:sign",
37
+ data: {
38
+ authData: {
39
+ jwt,
40
+ apiKey: this.config.crossmint.apiKey
41
+ },
42
+ data: {
43
+ keyType: "secp256k1",
44
+ bytes: hexString,
45
+ encoding: "hex"
46
+ }
47
+ },
48
+ options: DEFAULT_EVENT_OPTIONS
49
+ });
50
+ if ((res == null ? void 0 : res.status) === "error") {
51
+ throw new Error(res.error);
52
+ }
53
+ if ((res == null ? void 0 : res.signature) == null) {
54
+ throw new Error("Failed to sign transaction");
55
+ }
56
+ _EVMNonCustodialSigner.verifyPublicKeyFormat(res.publicKey);
57
+ return { signature: res.signature.bytes };
58
+ });
59
+ }
60
+ static verifyPublicKeyFormat(publicKey) {
61
+ if (publicKey == null) {
62
+ throw new Error("No public key found");
63
+ }
64
+ if (publicKey.encoding !== "hex" || publicKey.keyType !== "secp256k1" || publicKey.bytes == null) {
65
+ throw new Error(
66
+ "Not supported. Expected public key to be in hex encoding and secp256k1 key type. Got: " + JSON.stringify(publicKey)
67
+ );
68
+ }
69
+ }
70
+ getChainKeyParams() {
71
+ return {
72
+ scheme: "secp256k1",
73
+ encoding: "hex"
74
+ };
75
+ }
76
+ };
77
+
78
+ export {
79
+ EVMNonCustodialSigner
80
+ };
File without changes
@@ -0,0 +1,25 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});// src/chains/definitions/storyTestnet.ts
2
+ var _viem = require('viem');
3
+ var storyTestnet = _viem.defineChain.call(void 0, {
4
+ id: 1513,
5
+ name: "Story Testnet",
6
+ nativeCurrency: {
7
+ decimals: 18,
8
+ name: "IP",
9
+ symbol: "IP"
10
+ },
11
+ rpcUrls: {
12
+ default: { http: ["https://testnet.storyrpc.io"] }
13
+ },
14
+ blockExplorers: {
15
+ default: {
16
+ name: "Story Testnet Explorer",
17
+ url: "https://testnet.storyscan.xyz"
18
+ }
19
+ },
20
+ testnet: true
21
+ });
22
+
23
+
24
+
25
+ exports.storyTestnet = storyTestnet;
@@ -0,0 +1,58 @@
1
+ "use strict";Object.defineProperty(exports, "__esModule", {value: true});
2
+
3
+ var _chunkLKAO2MV2cjs = require('./chunk-LKAO2MV2.cjs');
4
+
5
+
6
+ var _chunkHYKMSBCTcjs = require('./chunk-HYKMSBCT.cjs');
7
+
8
+
9
+ var _chunkIVNYZDI5cjs = require('./chunk-IVNYZDI5.cjs');
10
+
11
+
12
+ var _chunkCHGPNMRLcjs = require('./chunk-CHGPNMRL.cjs');
13
+
14
+
15
+ var _chunk7ECQJFYMcjs = require('./chunk-7ECQJFYM.cjs');
16
+
17
+
18
+ var _chunkBSC55MYKcjs = require('./chunk-BSC55MYK.cjs');
19
+
20
+
21
+ var _chunkLLFD22UQcjs = require('./chunk-LLFD22UQ.cjs');
22
+
23
+
24
+ var _chunkR2OY54EJcjs = require('./chunk-R2OY54EJ.cjs');
25
+
26
+
27
+ var _chunkYBA7WO32cjs = require('./chunk-YBA7WO32.cjs');
28
+
29
+ // src/signers/index.ts
30
+ function assembleSigner(chain, config) {
31
+ switch (config.type) {
32
+ case "email":
33
+ case "phone":
34
+ if (chain === "solana") {
35
+ return new (0, _chunkHYKMSBCTcjs.SolanaNonCustodialSigner)(config);
36
+ }
37
+ if (chain === "stellar") {
38
+ return new (0, _chunkIVNYZDI5cjs.StellarNonCustodialSigner)(config);
39
+ }
40
+ return new (0, _chunkLKAO2MV2cjs.EVMNonCustodialSigner)(config);
41
+ case "api-key":
42
+ return chain === "solana" ? new (0, _chunkLLFD22UQcjs.SolanaApiKeySigner)(config) : new (0, _chunkCHGPNMRLcjs.EVMApiKeySigner)(config);
43
+ case "external-wallet":
44
+ if (chain === "solana") {
45
+ return new (0, _chunkR2OY54EJcjs.SolanaExternalWalletSigner)(config);
46
+ }
47
+ if (chain === "stellar") {
48
+ return new (0, _chunkYBA7WO32cjs.StellarExternalWalletSigner)(config);
49
+ }
50
+ return new (0, _chunk7ECQJFYMcjs.EVMExternalWalletSigner)(config);
51
+ case "passkey":
52
+ return new (0, _chunkBSC55MYKcjs.PasskeySigner)(config);
53
+ }
54
+ }
55
+
56
+
57
+
58
+ exports.assembleSigner = assembleSigner;
@@ -0,0 +1,69 @@
1
+ import {
2
+ WalletFactory
3
+ } from "./chunk-S5YXROL6.js";
4
+ import {
5
+ ApiClient
6
+ } from "./chunk-6G7ZWCCG.js";
7
+ import {
8
+ initWalletsLogger,
9
+ walletsLogger
10
+ } from "./chunk-RAWKXOHR.js";
11
+ import {
12
+ __async
13
+ } from "./chunk-FPMW7Q5O.js";
14
+
15
+ // src/sdk.ts
16
+ import { createCrossmint } from "@crossmint/common-sdk-base";
17
+ var CrossmintWallets = class _CrossmintWallets {
18
+ constructor(crossmint) {
19
+ initWalletsLogger(crossmint.apiKey);
20
+ const apiClient = new ApiClient(crossmint);
21
+ this.walletFactory = new WalletFactory(apiClient);
22
+ walletsLogger.info("wallets.sdk.initialized");
23
+ }
24
+ /**
25
+ * Initialize the Wallets SDK
26
+ * @param crossmint - Crossmint data (use `createCrossmint` to initialize)
27
+ * @returns A new CrossmintWallets instance
28
+ */
29
+ static from(crossmint) {
30
+ return new _CrossmintWallets(crossmint);
31
+ }
32
+ /**
33
+ * Get or create a wallet, can only be called on the client side
34
+ * @param args - Wallet data
35
+ * @param options - Wallet options
36
+ * @returns An existing wallet or a new wallet
37
+ */
38
+ getOrCreateWallet(options) {
39
+ return __async(this, null, function* () {
40
+ return yield this.walletFactory.getOrCreateWallet(options);
41
+ });
42
+ }
43
+ /**
44
+ * Get an existing wallet by its locator, can only be called on the server side
45
+ * @param walletLocator - Wallet locator
46
+ * @param options - Wallet options
47
+ * @returns A wallet if found, throws WalletNotAvailableError if not found
48
+ */
49
+ getWallet(walletLocator, options) {
50
+ return __async(this, null, function* () {
51
+ return yield this.walletFactory.getWallet(walletLocator, options);
52
+ });
53
+ }
54
+ /**
55
+ * Create a new wallet, can only be called on the server side
56
+ * @param options - Wallet options
57
+ * @returns A new wallet
58
+ */
59
+ createWallet(options) {
60
+ return __async(this, null, function* () {
61
+ return yield this.walletFactory.createWallet(options);
62
+ });
63
+ }
64
+ };
65
+
66
+ export {
67
+ createCrossmint,
68
+ CrossmintWallets
69
+ };