@crossmint/wallets-sdk 0.18.3 → 0.18.4
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 +9 -1
- package/dist/api/client.js +9 -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 +11 -1
- package/dist/api/index.js +11 -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-2DHIAP2S.js +58 -0
- package/dist/chunk-2T5HHKUI.js +19 -0
- package/dist/chunk-2VOEAAFA.cjs +200 -0
- package/dist/chunk-3U6UAYOV.js +25 -0
- package/dist/chunk-4BMNDPJ4.cjs +92 -0
- package/dist/chunk-4QGBVHV3.js +629 -0
- package/dist/chunk-55V4VMTX.cjs +25 -0
- package/dist/chunk-5H5YHSCK.js +200 -0
- package/dist/chunk-7ECQJFYM.cjs +63 -0
- package/dist/chunk-7GHQBCRV.cjs +57 -0
- package/dist/chunk-7JFVG4IY.js +59 -0
- package/dist/chunk-7QL5JVK4.js +262 -0
- package/dist/chunk-AJCWEEWH.js +73 -0
- package/dist/chunk-AL77JANE.js +36 -0
- package/dist/chunk-BAHU3KZE.cjs +75 -0
- package/dist/chunk-BAULM7A2.js +289 -0
- package/dist/chunk-BFAU2NL6.js +175 -0
- package/dist/chunk-BSC55MYK.cjs +43 -0
- package/dist/chunk-CHGPNMRL.cjs +36 -0
- package/dist/chunk-CN2GVFBU.cjs +138 -0
- package/dist/chunk-COVOGZ4S.js +80 -0
- package/dist/chunk-DPERJZBG.js +63 -0
- package/dist/chunk-DQCXGBZM.js +59 -0
- package/dist/chunk-E4LJ7252.cjs +289 -0
- package/dist/chunk-EM6H7EUU.cjs +80 -0
- package/dist/chunk-EYJQSDDI.js +43 -0
- package/dist/chunk-FAGFW4AR.js +16 -0
- package/dist/chunk-FK23BDCU.js +87 -0
- package/dist/chunk-FPMW7Q5O.js +55 -0
- package/dist/chunk-G5NYLGM5.cjs +55 -0
- package/dist/chunk-HHDDI3CS.js +75 -0
- package/dist/chunk-HNRM45KF.cjs +87 -0
- package/dist/chunk-JICSSJOK.js +57 -0
- package/dist/chunk-KS63YEQ4.js +138 -0
- package/dist/chunk-KT3CVXFG.js +9 -0
- package/dist/chunk-LLFD22UQ.cjs +36 -0
- package/dist/chunk-MPGPBFUZ.cjs +16 -0
- package/dist/chunk-MYKPHXUR.cjs +629 -0
- package/dist/chunk-MZBFXUHT.js +63 -0
- package/dist/chunk-NIBKCMQ2.cjs +19 -0
- package/dist/chunk-OD5RGQ4Z.js +92 -0
- package/dist/chunk-PSPNZEG4.cjs +175 -0
- package/dist/chunk-R2OY54EJ.cjs +59 -0
- package/dist/chunk-RHR6P2KP.cjs +15 -0
- package/dist/chunk-RSPJPRQW.cjs +262 -0
- package/dist/chunk-RTRDZB52.js +778 -0
- package/dist/chunk-SG7WIZLK.cjs +63 -0
- package/dist/chunk-SGINWAB6.js +155 -0
- package/dist/chunk-TK3EUCQ4.cjs +59 -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-XC2V34TS.cjs +155 -0
- package/dist/chunk-XH3ARVJG.cjs +58 -0
- package/dist/chunk-YBA7WO32.cjs +44 -0
- package/dist/chunk-YOJETSLN.cjs +73 -0
- package/dist/chunk-ZT7EGOCI.cjs +9 -0
- package/dist/chunk-ZTGRDOOH.js +36 -0
- package/dist/index.cjs +55 -1
- package/dist/index.js +55 -1
- package/dist/sdk.cjs +31 -1
- package/dist/sdk.js +31 -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 +8 -1
- package/dist/utils/signer-validation.js +8 -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 +25 -1
- package/dist/wallets/wallet-factory.js +25 -1
- package/dist/wallets/wallet.cjs +16 -1
- package/dist/wallets/wallet.js +16 -1
- package/package.json +2 -2
- 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,11 @@
|
|
|
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 _chunk2VOEAAFAcjs = require('../chunk-2VOEAAFA.cjs');
|
|
5
|
+
require('../chunk-MPGPBFUZ.cjs');
|
|
6
|
+
require('../chunk-XC2V34TS.cjs');
|
|
7
|
+
require('../chunk-ECAM5KTH.cjs');
|
|
8
|
+
require('../chunk-G5NYLGM5.cjs');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
exports.ApiClient = _chunk2VOEAAFAcjs.ApiClient;
|
package/dist/api/index.js
CHANGED
|
@@ -1 +1,11 @@
|
|
|
1
|
-
import"../chunk-5IFDVB4Y.js";
|
|
1
|
+
import "../chunk-5IFDVB4Y.js";
|
|
2
|
+
import {
|
|
3
|
+
ApiClient
|
|
4
|
+
} from "../chunk-5H5YHSCK.js";
|
|
5
|
+
import "../chunk-FAGFW4AR.js";
|
|
6
|
+
import "../chunk-SGINWAB6.js";
|
|
7
|
+
import "../chunk-KBJA7JDT.js";
|
|
8
|
+
import "../chunk-FPMW7Q5O.js";
|
|
9
|
+
export {
|
|
10
|
+
ApiClient
|
|
11
|
+
};
|
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,58 @@
|
|
|
1
|
+
import {
|
|
2
|
+
SolanaNonCustodialSigner
|
|
3
|
+
} from "./chunk-HHDDI3CS.js";
|
|
4
|
+
import {
|
|
5
|
+
StellarNonCustodialSigner
|
|
6
|
+
} from "./chunk-AJCWEEWH.js";
|
|
7
|
+
import {
|
|
8
|
+
EVMNonCustodialSigner
|
|
9
|
+
} from "./chunk-COVOGZ4S.js";
|
|
10
|
+
import {
|
|
11
|
+
PasskeySigner
|
|
12
|
+
} from "./chunk-EYJQSDDI.js";
|
|
13
|
+
import {
|
|
14
|
+
SolanaApiKeySigner
|
|
15
|
+
} from "./chunk-ZTGRDOOH.js";
|
|
16
|
+
import {
|
|
17
|
+
SolanaExternalWalletSigner
|
|
18
|
+
} from "./chunk-DQCXGBZM.js";
|
|
19
|
+
import {
|
|
20
|
+
StellarExternalWalletSigner
|
|
21
|
+
} from "./chunk-WC7T2CR4.js";
|
|
22
|
+
import {
|
|
23
|
+
EVMApiKeySigner
|
|
24
|
+
} from "./chunk-AL77JANE.js";
|
|
25
|
+
import {
|
|
26
|
+
EVMExternalWalletSigner
|
|
27
|
+
} from "./chunk-MZBFXUHT.js";
|
|
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 SolanaNonCustodialSigner(config);
|
|
36
|
+
}
|
|
37
|
+
if (chain === "stellar") {
|
|
38
|
+
return new StellarNonCustodialSigner(config);
|
|
39
|
+
}
|
|
40
|
+
return new EVMNonCustodialSigner(config);
|
|
41
|
+
case "api-key":
|
|
42
|
+
return chain === "solana" ? new SolanaApiKeySigner(config) : new EVMApiKeySigner(config);
|
|
43
|
+
case "external-wallet":
|
|
44
|
+
if (chain === "solana") {
|
|
45
|
+
return new SolanaExternalWalletSigner(config);
|
|
46
|
+
}
|
|
47
|
+
if (chain === "stellar") {
|
|
48
|
+
return new StellarExternalWalletSigner(config);
|
|
49
|
+
}
|
|
50
|
+
return new EVMExternalWalletSigner(config);
|
|
51
|
+
case "passkey":
|
|
52
|
+
return new PasskeySigner(config);
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
export {
|
|
57
|
+
assembleSigner
|
|
58
|
+
};
|
|
@@ -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,200 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var _chunkMPGPBFUZcjs = require('./chunk-MPGPBFUZ.cjs');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
var _chunkXC2V34TScjs = require('./chunk-XC2V34TS.cjs');
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
var _chunkG5NYLGM5cjs = require('./chunk-G5NYLGM5.cjs');
|
|
11
|
+
|
|
12
|
+
// src/api/client.ts
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
var _commonsdkbase = require('@crossmint/common-sdk-base');
|
|
18
|
+
var ApiClient = class extends _commonsdkbase.CrossmintApiClient {
|
|
19
|
+
constructor(crossmint) {
|
|
20
|
+
super(crossmint, {
|
|
21
|
+
internalConfig: {
|
|
22
|
+
sdkMetadata: { name: _chunkMPGPBFUZcjs.SDK_NAME, version: _chunkMPGPBFUZcjs.SDK_VERSION }
|
|
23
|
+
}
|
|
24
|
+
});
|
|
25
|
+
this.apiPrefix = "api/2025-06-09/wallets";
|
|
26
|
+
this.legacyApiPrefix = "api/2022-06-09/wallets";
|
|
27
|
+
}
|
|
28
|
+
createWallet(params) {
|
|
29
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
30
|
+
const path = this.isServerSide ? `${this.apiPrefix}` : `${this.apiPrefix}/me`;
|
|
31
|
+
const response = yield this.post(path, {
|
|
32
|
+
body: JSON.stringify(params),
|
|
33
|
+
headers: this.headers
|
|
34
|
+
});
|
|
35
|
+
return response.json();
|
|
36
|
+
});
|
|
37
|
+
}
|
|
38
|
+
getWallet(locator) {
|
|
39
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
40
|
+
const response = yield this.get(`${this.apiPrefix}/${locator}`, {
|
|
41
|
+
headers: this.headers
|
|
42
|
+
});
|
|
43
|
+
return response.json();
|
|
44
|
+
});
|
|
45
|
+
}
|
|
46
|
+
createTransaction(walletLocator, params) {
|
|
47
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
48
|
+
const response = yield this.post(`${this.apiPrefix}/${walletLocator}/transactions`, {
|
|
49
|
+
body: JSON.stringify(params),
|
|
50
|
+
headers: this.headers
|
|
51
|
+
});
|
|
52
|
+
return response.json();
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
approveTransaction(walletLocator, transactionId, params) {
|
|
56
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
57
|
+
const response = yield this.post(`${this.apiPrefix}/${walletLocator}/transactions/${transactionId}/approvals`, {
|
|
58
|
+
body: JSON.stringify(params),
|
|
59
|
+
headers: this.headers
|
|
60
|
+
});
|
|
61
|
+
return response.json();
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
getTransaction(walletLocator, transactionId) {
|
|
65
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
66
|
+
const response = yield this.get(`${this.apiPrefix}/${walletLocator}/transactions/${transactionId}`, {
|
|
67
|
+
headers: this.headers
|
|
68
|
+
});
|
|
69
|
+
return response.json();
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
createSignature(walletLocator, params) {
|
|
73
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
74
|
+
const response = yield this.post(`${this.apiPrefix}/${walletLocator}/signatures`, {
|
|
75
|
+
body: JSON.stringify(params),
|
|
76
|
+
headers: this.headers
|
|
77
|
+
});
|
|
78
|
+
return response.json();
|
|
79
|
+
});
|
|
80
|
+
}
|
|
81
|
+
approveSignature(walletLocator, signatureId, params) {
|
|
82
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
83
|
+
const response = yield this.post(`${this.apiPrefix}/${walletLocator}/signatures/${signatureId}/approvals`, {
|
|
84
|
+
body: JSON.stringify(params),
|
|
85
|
+
headers: this.headers
|
|
86
|
+
});
|
|
87
|
+
return response.json();
|
|
88
|
+
});
|
|
89
|
+
}
|
|
90
|
+
getSignature(walletLocator, signatureId) {
|
|
91
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
92
|
+
const response = yield this.get(`${this.apiPrefix}/${walletLocator}/signatures/${signatureId}`, {
|
|
93
|
+
headers: this.headers
|
|
94
|
+
});
|
|
95
|
+
return response.json();
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
getTransactions(walletLocator) {
|
|
99
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
100
|
+
const response = yield this.get(`${this.apiPrefix}/${walletLocator}/transactions`, {
|
|
101
|
+
headers: this.headers
|
|
102
|
+
});
|
|
103
|
+
return response.json();
|
|
104
|
+
});
|
|
105
|
+
}
|
|
106
|
+
experimental_getNfts(params) {
|
|
107
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
108
|
+
const queryParams = new URLSearchParams();
|
|
109
|
+
queryParams.append("page", params.page.toString());
|
|
110
|
+
queryParams.append("perPage", params.perPage.toString());
|
|
111
|
+
const identifier = `${params.chain}:${params.address}`;
|
|
112
|
+
const response = yield this.get(`${this.apiPrefix}/${identifier}/nfts?${queryParams.toString()}`, {
|
|
113
|
+
headers: this.headers
|
|
114
|
+
});
|
|
115
|
+
return response.json();
|
|
116
|
+
});
|
|
117
|
+
}
|
|
118
|
+
experimental_activity(walletLocator, params) {
|
|
119
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
120
|
+
let legacyLocator = walletLocator;
|
|
121
|
+
if (!this.isServerSide) {
|
|
122
|
+
legacyLocator = `me:${params.chain === "solana" ? "solana-smart-wallet" : "evm-smart-wallet"}`;
|
|
123
|
+
}
|
|
124
|
+
const queryParams = new URLSearchParams();
|
|
125
|
+
queryParams.append("chain", params.chain.toString());
|
|
126
|
+
const response = yield this.get(`${this.legacyApiPrefix}/${legacyLocator}/activity?${queryParams.toString()}`, {
|
|
127
|
+
headers: this.headers
|
|
128
|
+
});
|
|
129
|
+
return response.json();
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
getBalance(walletLocator, params) {
|
|
133
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
134
|
+
const queryParams = new URLSearchParams();
|
|
135
|
+
queryParams.append("tokens", params.tokens.join(","));
|
|
136
|
+
queryParams.append("chains", params.chains.join(","));
|
|
137
|
+
const response = yield this.get(`${this.apiPrefix}/${walletLocator}/balances?${queryParams.toString()}`, {
|
|
138
|
+
headers: this.headers
|
|
139
|
+
});
|
|
140
|
+
return response.json();
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
fundWallet(walletLocator, params) {
|
|
144
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
145
|
+
if (this.environment === _commonsdkbase.APIKeyEnvironmentPrefix.PRODUCTION) {
|
|
146
|
+
throw new Error("Funding wallets is only supported in staging environment");
|
|
147
|
+
}
|
|
148
|
+
const response = yield this.post(`api/v1-alpha2/wallets/${walletLocator}/balances`, {
|
|
149
|
+
body: JSON.stringify(params),
|
|
150
|
+
headers: this.headers
|
|
151
|
+
});
|
|
152
|
+
return response.json();
|
|
153
|
+
});
|
|
154
|
+
}
|
|
155
|
+
registerSigner(walletLocator, params) {
|
|
156
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
157
|
+
const response = yield this.post(`${this.apiPrefix}/${walletLocator}/signers`, {
|
|
158
|
+
body: JSON.stringify(params),
|
|
159
|
+
headers: this.headers
|
|
160
|
+
});
|
|
161
|
+
return response.json();
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
getSigner(walletLocator, signer) {
|
|
165
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
166
|
+
const response = yield this.get(`${this.apiPrefix}/${walletLocator}/signers/${signer}`, {
|
|
167
|
+
headers: this.headers
|
|
168
|
+
});
|
|
169
|
+
return response.json();
|
|
170
|
+
});
|
|
171
|
+
}
|
|
172
|
+
send(walletLocator, tokenLocator, params) {
|
|
173
|
+
return _chunkG5NYLGM5cjs.__async.call(void 0, this, null, function* () {
|
|
174
|
+
const response = yield this.post(`${this.apiPrefix}/${walletLocator}/tokens/${tokenLocator}/transfers`, {
|
|
175
|
+
body: JSON.stringify(params),
|
|
176
|
+
headers: this.headers
|
|
177
|
+
});
|
|
178
|
+
return response.json();
|
|
179
|
+
});
|
|
180
|
+
}
|
|
181
|
+
get isServerSide() {
|
|
182
|
+
return this.parsedAPIKey.usageOrigin === _commonsdkbase.APIKeyUsageOrigin.SERVER;
|
|
183
|
+
}
|
|
184
|
+
get environment() {
|
|
185
|
+
if (!this.parsedAPIKey.isValid) {
|
|
186
|
+
throw new (0, _chunkXC2V34TScjs.InvalidApiKeyError)("Invalid API key");
|
|
187
|
+
}
|
|
188
|
+
return this.parsedAPIKey.environment;
|
|
189
|
+
}
|
|
190
|
+
get headers() {
|
|
191
|
+
const headers = {
|
|
192
|
+
"Content-Type": "application/json"
|
|
193
|
+
};
|
|
194
|
+
return headers;
|
|
195
|
+
}
|
|
196
|
+
};
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
|
|
200
|
+
exports.ApiClient = ApiClient;
|
|
@@ -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
|
+
};
|