@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.
- package/dist/api/client.cjs +10 -1
- package/dist/api/client.js +10 -1
- package/dist/api/gen/client.gen.cjs +7 -1
- package/dist/api/gen/client.gen.js +7 -1
- package/dist/api/gen/index.cjs +179 -1
- package/dist/api/gen/index.js +179 -1
- package/dist/api/gen/sdk.gen.cjs +178 -1
- package/dist/api/gen/sdk.gen.js +178 -1
- package/dist/api/gen/types.gen.js +1 -1
- package/dist/api/index.cjs +12 -1
- package/dist/api/index.js +12 -1
- package/dist/api/types.js +1 -1
- package/dist/chains/chains.cjs +9 -1
- package/dist/chains/chains.js +9 -1
- package/dist/chains/definitions/story.cjs +7 -1
- package/dist/chains/definitions/story.js +7 -1
- package/dist/chains/definitions/storyTestnet.cjs +7 -1
- package/dist/chains/definitions/storyTestnet.js +7 -1
- package/dist/chunk-2T5HHKUI.js +19 -0
- package/dist/chunk-34FDYDOM.cjs +87 -0
- package/dist/chunk-3U6UAYOV.js +25 -0
- package/dist/chunk-454RYNSZ.js +80 -0
- package/dist/chunk-455NK5LB.js +0 -0
- package/dist/chunk-55V4VMTX.cjs +25 -0
- package/dist/chunk-5BP6CVYY.cjs +58 -0
- package/dist/chunk-5YR2ILEW.js +69 -0
- package/dist/chunk-6G7ZWCCG.js +247 -0
- package/dist/chunk-7ECQJFYM.cjs +63 -0
- package/dist/chunk-7JFVG4IY.js +59 -0
- package/dist/chunk-AL77JANE.js +36 -0
- package/dist/chunk-B6JOIWRH.cjs +289 -0
- package/dist/chunk-BSC55MYK.cjs +43 -0
- package/dist/chunk-CCIGWTAO.cjs +1 -0
- package/dist/chunk-CHGPNMRL.cjs +36 -0
- package/dist/chunk-CL44FTXR.js +289 -0
- package/dist/chunk-CN2GVFBU.cjs +138 -0
- package/dist/chunk-DQCXGBZM.js +59 -0
- package/dist/chunk-E3OS753T.js +175 -0
- package/dist/chunk-EYJQSDDI.js +43 -0
- package/dist/chunk-F6E3ZDRG.cjs +175 -0
- package/dist/chunk-FPMW7Q5O.js +55 -0
- package/dist/chunk-G3LEJR3P.cjs +53 -0
- package/dist/chunk-G5NYLGM5.cjs +55 -0
- package/dist/chunk-GLRDLJS5.js +92 -0
- package/dist/chunk-GNF2U7IX.cjs +69 -0
- package/dist/chunk-GQIZWD4F.cjs +301 -0
- package/dist/chunk-HYKMSBCT.cjs +75 -0
- package/dist/chunk-IVNYZDI5.cjs +73 -0
- package/dist/chunk-K3HFAPSV.js +73 -0
- package/dist/chunk-KS63YEQ4.js +138 -0
- package/dist/chunk-KT3CVXFG.js +9 -0
- package/dist/chunk-LGONZW4W.cjs +629 -0
- package/dist/chunk-LHYSCUKJ.cjs +16 -0
- package/dist/chunk-LKAO2MV2.cjs +80 -0
- package/dist/chunk-LLFD22UQ.cjs +36 -0
- package/dist/chunk-MZBFXUHT.js +63 -0
- package/dist/chunk-NIBKCMQ2.cjs +19 -0
- package/dist/chunk-OKXSUK63.js +87 -0
- package/dist/chunk-R2OY54EJ.cjs +59 -0
- package/dist/chunk-RAWKXOHR.js +53 -0
- package/dist/chunk-RBHGZDDX.cjs +58 -0
- package/dist/chunk-RHR6P2KP.cjs +15 -0
- package/dist/chunk-RTRDZB52.js +778 -0
- package/dist/chunk-S5YXROL6.js +301 -0
- package/dist/chunk-SGINWAB6.js +155 -0
- package/dist/chunk-TK3EUCQ4.cjs +59 -0
- package/dist/chunk-TOHXQVLS.js +58 -0
- package/dist/chunk-UKBWSQ7R.js +629 -0
- package/dist/chunk-UMGB3Q7I.cjs +92 -0
- package/dist/chunk-V3QJQUT7.cjs +778 -0
- package/dist/chunk-WC7T2CR4.js +44 -0
- package/dist/chunk-WJUPOCKJ.js +15 -0
- package/dist/chunk-WQVJM3PG.js +16 -0
- package/dist/chunk-XC2V34TS.cjs +155 -0
- package/dist/chunk-XRA5GFH3.js +75 -0
- package/dist/chunk-YBA7WO32.cjs +44 -0
- package/dist/chunk-ZP4ZZCIE.js +58 -0
- package/dist/chunk-ZT7EGOCI.cjs +9 -0
- package/dist/chunk-ZTGRDOOH.js +36 -0
- package/dist/chunk-ZZJ7U5G3.cjs +247 -0
- package/dist/index.cjs +57 -1
- package/dist/index.js +57 -1
- package/dist/logger/index.cjs +11 -0
- package/dist/logger/index.d.cts +2 -0
- package/dist/logger/index.d.ts +2 -0
- package/dist/logger/index.js +11 -0
- package/dist/logger/init.cjs +10 -0
- package/dist/logger/init.d.cts +15 -0
- package/dist/logger/init.d.ts +15 -0
- package/dist/logger/init.js +10 -0
- package/dist/sdk.cjs +33 -1
- package/dist/sdk.js +33 -1
- package/dist/signers/evm-api-key.cjs +7 -1
- package/dist/signers/evm-api-key.js +7 -1
- package/dist/signers/evm-external-wallet.cjs +7 -1
- package/dist/signers/evm-external-wallet.js +7 -1
- package/dist/signers/index.cjs +21 -1
- package/dist/signers/index.js +21 -1
- package/dist/signers/non-custodial/index.cjs +24 -1
- package/dist/signers/non-custodial/index.js +24 -1
- package/dist/signers/non-custodial/ncs-evm-signer.cjs +10 -1
- package/dist/signers/non-custodial/ncs-evm-signer.js +10 -1
- package/dist/signers/non-custodial/ncs-iframe-manager.cjs +7 -1
- package/dist/signers/non-custodial/ncs-iframe-manager.js +7 -1
- package/dist/signers/non-custodial/ncs-signer.cjs +11 -1
- package/dist/signers/non-custodial/ncs-signer.js +11 -1
- package/dist/signers/non-custodial/ncs-solana-signer.cjs +10 -1
- package/dist/signers/non-custodial/ncs-solana-signer.js +10 -1
- package/dist/signers/non-custodial/ncs-stellar-signer.cjs +10 -1
- package/dist/signers/non-custodial/ncs-stellar-signer.js +10 -1
- package/dist/signers/passkey.cjs +7 -1
- package/dist/signers/passkey.js +7 -1
- package/dist/signers/solana-api-key.cjs +7 -1
- package/dist/signers/solana-api-key.js +7 -1
- package/dist/signers/solana-external-wallet.cjs +8 -1
- package/dist/signers/solana-external-wallet.js +8 -1
- package/dist/signers/stellar-external-wallet.cjs +7 -1
- package/dist/signers/stellar-external-wallet.js +7 -1
- package/dist/signers/types.cjs +9 -1
- package/dist/signers/types.js +9 -1
- package/dist/utils/constants.cjs +13 -1
- package/dist/utils/constants.js +13 -1
- package/dist/utils/errors.cjs +55 -1
- package/dist/utils/errors.js +55 -1
- package/dist/utils/signer-validation.cjs +10 -1
- package/dist/utils/signer-validation.d.cts +7 -1
- package/dist/utils/signer-validation.d.ts +7 -1
- package/dist/utils/signer-validation.js +10 -1
- package/dist/wallets/evm.cjs +20 -1
- package/dist/wallets/evm.js +20 -1
- package/dist/wallets/solana.cjs +18 -1
- package/dist/wallets/solana.js +18 -1
- package/dist/wallets/stellar.cjs +17 -1
- package/dist/wallets/stellar.js +17 -1
- package/dist/wallets/wallet-factory.cjs +27 -1
- package/dist/wallets/wallet-factory.js +27 -1
- package/dist/wallets/wallet.cjs +16 -1
- package/dist/wallets/wallet.js +16 -1
- package/package.json +6 -5
- package/dist/chunk-2SHDBC47.js +0 -1
- package/dist/chunk-2XVV7Z43.cjs +0 -1
- package/dist/chunk-2YH3NVVK.cjs +0 -1
- package/dist/chunk-3APSOOE3.js +0 -1
- package/dist/chunk-3SW6AJSG.cjs +0 -1
- package/dist/chunk-4KXOWU5E.cjs +0 -1
- package/dist/chunk-5M7IRODB.js +0 -1
- package/dist/chunk-5QIW67NU.cjs +0 -1
- package/dist/chunk-6PVKL5RC.js +0 -1
- package/dist/chunk-7HTB7WKD.cjs +0 -1
- package/dist/chunk-7JIPYRKX.js +0 -1
- package/dist/chunk-BQZES4ST.js +0 -1
- package/dist/chunk-BW7YYVZE.js +0 -1
- package/dist/chunk-C3T63EC7.cjs +0 -1
- package/dist/chunk-CXTC3YDL.cjs +0 -1
- package/dist/chunk-DV6ZRFKV.js +0 -1
- package/dist/chunk-DX7VVXY5.cjs +0 -1
- package/dist/chunk-FATVK26C.js +0 -1
- package/dist/chunk-GEY574TH.cjs +0 -1
- package/dist/chunk-GKZFI322.js +0 -1
- package/dist/chunk-H4T4IXCF.js +0 -1
- package/dist/chunk-HJ5EDMTA.js +0 -1
- package/dist/chunk-HPHVJ6BA.cjs +0 -1
- package/dist/chunk-HQAKCIYM.js +0 -1
- package/dist/chunk-HRSVFJND.cjs +0 -1
- package/dist/chunk-IGBQEAD5.js +0 -1
- package/dist/chunk-IR5WN6FQ.cjs +0 -1
- package/dist/chunk-JUSY5XEE.js +0 -1
- package/dist/chunk-KFJLRIY7.js +0 -1
- package/dist/chunk-KKQBZXFE.js +0 -1
- package/dist/chunk-KO6QYKDX.cjs +0 -1
- package/dist/chunk-KRV3IXJU.cjs +0 -1
- package/dist/chunk-LW6JSI4J.js +0 -1
- package/dist/chunk-M2UBZY5S.cjs +0 -1
- package/dist/chunk-M4TOGGLV.cjs +0 -1
- package/dist/chunk-MQP5VZCA.cjs +0 -1
- package/dist/chunk-NP32UO2G.cjs +0 -1
- package/dist/chunk-O4FVTK7X.cjs +0 -1
- package/dist/chunk-P6JJHAAV.js +0 -1
- package/dist/chunk-PONCGT2H.cjs +0 -1
- package/dist/chunk-PSXRNSOE.js +0 -1
- package/dist/chunk-QMXG67T3.cjs +0 -1
- package/dist/chunk-RJZV72YF.js +0 -1
- package/dist/chunk-S3DYQVRD.js +0 -1
- package/dist/chunk-SLG7HGGL.js +0 -1
- package/dist/chunk-STYSP6KL.cjs +0 -1
- package/dist/chunk-UBOWSXW3.js +0 -1
- package/dist/chunk-UNBXKCNN.js +0 -1
- package/dist/chunk-VY634F3J.js +0 -1
- package/dist/chunk-WQP2FSVI.js +0 -1
- package/dist/chunk-WYYAPI4G.cjs +0 -1
- package/dist/chunk-WZFHEUWT.cjs +0 -1
- package/dist/chunk-XALFCQKD.cjs +0 -1
- package/dist/chunk-YWPTI2QO.cjs +0 -1
- package/dist/chunk-YWXQIFVZ.js +0 -3
- package/dist/chunk-YZ4HRYSL.cjs +0 -1
- package/dist/chunk-Z54LVUDS.js +0 -1
- package/dist/chunk-ZWMB3QLR.cjs +0 -3
package/dist/api/gen/sdk.gen.js
CHANGED
|
@@ -1 +1,178 @@
|
|
|
1
|
-
import{
|
|
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";
|
package/dist/api/index.cjs
CHANGED
|
@@ -1 +1,12 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('../chunk-6HXIZLEQ.cjs');
|
|
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";
|
|
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";
|
package/dist/chains/chains.cjs
CHANGED
|
@@ -1 +1,9 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
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;
|
package/dist/chains/chains.js
CHANGED
|
@@ -1 +1,9 @@
|
|
|
1
|
-
import{
|
|
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});
|
|
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
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
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;
|
|
@@ -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
|
+
};
|