@crossmint/client-sdk-react-ui 1.18.5 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-GQLIGUBY.js → chunk-3PNYQDB7.js} +1 -1
- package/dist/{chunk-L7JAEZCV.cjs → chunk-3U4DUXCZ.cjs} +1 -1
- package/dist/{chunk-V2WMZKFX.cjs → chunk-4TGJU3VH.cjs} +1 -1
- package/dist/{chunk-KQCJQPUJ.cjs → chunk-5BBICHQJ.cjs} +1 -1
- package/dist/{chunk-I5EQ5MTB.cjs → chunk-5M3ETGDC.cjs} +1 -1
- package/dist/{chunk-PKSYEN4A.js → chunk-6CQCQDCK.js} +1 -1
- package/dist/{chunk-FN52YJ2P.js → chunk-6EBZA4GD.js} +1 -1
- package/dist/chunk-7NARAT45.js +1 -0
- package/dist/chunk-7YHGBWRD.js +1 -0
- package/dist/{chunk-ATDAMGJT.cjs → chunk-7ZTBHHNG.cjs} +1 -1
- package/dist/{chunk-UF6GUOSJ.js → chunk-BELSHF4F.js} +1 -1
- package/dist/chunk-C22ZEFQD.js +1 -0
- package/dist/{chunk-SZV6UWHL.cjs → chunk-CSF66UDE.cjs} +1 -1
- package/dist/chunk-EAYBW3VK.cjs +2 -0
- package/dist/{chunk-LGI44G6N.js → chunk-FAJRFKR5.js} +1 -1
- package/dist/{chunk-3EHTAERE.js → chunk-GSRCJNUT.js} +1 -1
- package/dist/chunk-HCJCJ4R4.cjs +6 -0
- package/dist/chunk-IOYFNS7R.js +1 -0
- package/dist/chunk-IQ7CQQXG.cjs +1 -0
- package/dist/{chunk-OTURSGPE.cjs → chunk-IQFPBQMT.cjs} +1 -1
- package/dist/{chunk-N65GIM5A.js → chunk-JOMJPVZA.js} +1 -1
- package/dist/{chunk-YRTV73YT.js → chunk-KQYG3HIW.js} +1 -1
- package/dist/chunk-LOA5MXSU.js +2 -0
- package/dist/chunk-LYUOGA56.cjs +1 -0
- package/dist/chunk-MGOO4VMI.js +6 -0
- package/dist/{chunk-LXFQMWWW.cjs → chunk-MQN4F7L2.cjs} +1 -1
- package/dist/{chunk-KB2BC5MF.js → chunk-Q3GERFHB.js} +1 -1
- package/dist/{chunk-J6YZ5NIK.cjs → chunk-QHXTUWMF.cjs} +1 -1
- package/dist/chunk-QUO652MG.cjs +1 -0
- package/dist/chunk-RB7BW66E.js +1 -0
- package/dist/chunk-RML5QI3S.cjs +1 -0
- package/dist/{chunk-5REOBY7Q.cjs → chunk-S73UKDNP.cjs} +1 -1
- package/dist/{chunk-BE3O2H3E.js → chunk-WQB5GPWX.js} +1 -1
- package/dist/{chunk-RFDA6N5C.cjs → chunk-XAHOCPVO.cjs} +1 -1
- package/dist/components/CrossmintNFTCollectionView.cjs +1 -1
- package/dist/components/CrossmintNFTCollectionView.js +1 -1
- package/dist/components/CrossmintNFTDetail.cjs +1 -1
- package/dist/components/CrossmintNFTDetail.js +1 -1
- package/dist/components/auth/AuthForm.cjs +1 -1
- package/dist/components/auth/AuthForm.js +1 -1
- package/dist/components/auth/AuthFormBackButton.cjs +1 -1
- package/dist/components/auth/AuthFormBackButton.js +1 -1
- package/dist/components/auth/AuthFormDialog.cjs +1 -1
- package/dist/components/auth/AuthFormDialog.js +1 -1
- package/dist/components/auth/EmbeddedAuthForm.cjs +1 -1
- package/dist/components/auth/EmbeddedAuthForm.js +1 -1
- package/dist/components/auth/PasskeyPrompt.cjs +1 -1
- package/dist/components/auth/PasskeyPrompt.js +1 -1
- package/dist/components/auth/methods/email/EmailAuthFlow.cjs +1 -1
- package/dist/components/auth/methods/email/EmailAuthFlow.js +1 -1
- package/dist/components/auth/methods/email/EmailOTPInput.cjs +1 -1
- package/dist/components/auth/methods/email/EmailOTPInput.js +1 -1
- package/dist/components/auth/methods/email/EmailSignIn.cjs +1 -1
- package/dist/components/auth/methods/email/EmailSignIn.js +1 -1
- package/dist/components/auth/methods/farcaster/FarcasterSignIn.cjs +1 -1
- package/dist/components/auth/methods/farcaster/FarcasterSignIn.js +1 -1
- package/dist/components/auth/methods/google/ContinueWithGoogle.cjs +1 -1
- package/dist/components/auth/methods/google/ContinueWithGoogle.js +1 -1
- package/dist/components/auth/methods/google/GoogleSignIn.cjs +1 -1
- package/dist/components/auth/methods/google/GoogleSignIn.js +1 -1
- package/dist/components/auth/methods/twitter/TwitterSignIn.cjs +1 -1
- package/dist/components/auth/methods/twitter/TwitterSignIn.js +1 -1
- package/dist/components/auth/methods/web3/Web3AuthFlow.cjs +1 -1
- package/dist/components/auth/methods/web3/Web3AuthFlow.js +1 -1
- package/dist/components/auth/methods/web3/Web3AuthFlowButton.cjs +1 -1
- package/dist/components/auth/methods/web3/Web3AuthFlowButton.js +1 -1
- package/dist/components/auth/methods/web3/Web3Connectors.cjs +1 -1
- package/dist/components/auth/methods/web3/Web3Connectors.js +1 -1
- package/dist/components/common/Divider.cjs +1 -1
- package/dist/components/common/Divider.js +1 -1
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.cjs +1 -1
- package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js +1 -1
- package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.cjs +1 -1
- package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.js +1 -1
- package/dist/components/embed/v3/index.cjs +1 -1
- package/dist/components/embed/v3/index.js +1 -1
- package/dist/components/hosted/CrossmintPayButton_DEPRECATED.cjs +1 -1
- package/dist/components/hosted/CrossmintPayButton_DEPRECATED.js +1 -1
- package/dist/components/hosted/index.cjs +1 -1
- package/dist/components/hosted/index.js +1 -1
- package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.cjs +1 -1
- package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.js +1 -1
- package/dist/components/hosted/v3/index.cjs +1 -1
- package/dist/components/hosted/v3/index.js +1 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/signers/EmailInput.cjs +1 -0
- package/dist/components/signers/EmailInput.d.cts +12 -0
- package/dist/components/signers/EmailInput.d.ts +12 -0
- package/dist/components/signers/EmailInput.js +1 -0
- package/dist/components/signers/EmailOTPInput.cjs +1 -0
- package/dist/components/signers/EmailOTPInput.d.cts +13 -0
- package/dist/components/signers/EmailOTPInput.d.ts +13 -0
- package/dist/components/signers/EmailOTPInput.js +1 -0
- package/dist/components/signers/EmailSignersDialog.cjs +1 -0
- package/dist/components/signers/EmailSignersDialog.d.cts +18 -0
- package/dist/components/signers/EmailSignersDialog.d.ts +18 -0
- package/dist/components/signers/EmailSignersDialog.js +1 -0
- package/dist/consts/version.cjs +1 -1
- package/dist/consts/version.js +1 -1
- package/dist/hooks/index.cjs +1 -1
- package/dist/hooks/index.js +1 -1
- package/dist/hooks/useAuth.cjs +1 -1
- package/dist/hooks/useAuth.js +1 -1
- package/dist/hooks/useCrossmintAuth.cjs +1 -1
- package/dist/hooks/useCrossmintAuth.js +1 -1
- package/dist/hooks/useCrossmintCheckout.cjs +1 -1
- package/dist/hooks/useCrossmintCheckout.js +1 -1
- package/dist/hooks/useOAuthWindowListener.cjs +1 -1
- package/dist/hooks/useOAuthWindowListener.js +1 -1
- package/dist/hooks/useSignerInvisibleIFrame.cjs +1 -0
- package/dist/hooks/useSignerInvisibleIFrame.d.cts +450 -0
- package/dist/hooks/useSignerInvisibleIFrame.d.ts +450 -0
- package/dist/hooks/useSignerInvisibleIFrame.js +1 -0
- package/dist/hooks/useWallet.cjs +1 -1
- package/dist/hooks/useWallet.d.cts +16 -0
- package/dist/hooks/useWallet.d.ts +16 -0
- package/dist/hooks/useWallet.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/providers/CrossmintAuthProvider.cjs +1 -1
- package/dist/providers/CrossmintAuthProvider.js +1 -1
- package/dist/providers/CrossmintWalletProvider.cjs +1 -1
- package/dist/providers/CrossmintWalletProvider.d.cts +6 -1
- package/dist/providers/CrossmintWalletProvider.d.ts +6 -1
- package/dist/providers/CrossmintWalletProvider.js +1 -1
- package/dist/providers/auth/AuthFormProvider.cjs +1 -1
- package/dist/providers/auth/AuthFormProvider.js +1 -1
- package/dist/providers/auth/web3/DynamicWeb3WalletConnect.cjs +1 -1
- package/dist/providers/auth/web3/DynamicWeb3WalletConnect.js +1 -1
- package/dist/providers/index.cjs +1 -1
- package/dist/providers/index.js +1 -1
- package/dist/providers/signers/CrossmintSignerProvider.cjs +1 -0
- package/dist/providers/signers/CrossmintSignerProvider.d.cts +25 -0
- package/dist/providers/signers/CrossmintSignerProvider.d.ts +25 -0
- package/dist/providers/signers/CrossmintSignerProvider.js +1 -0
- package/dist/types/auth.d.cts +1 -0
- package/dist/types/auth.d.ts +1 -0
- package/dist/utils/createCrossmintApiClient.cjs +1 -1
- package/dist/utils/createCrossmintApiClient.js +1 -1
- package/dist/utils/errorUtils.cjs +1 -0
- package/dist/utils/errorUtils.d.cts +6 -0
- package/dist/utils/errorUtils.d.ts +6 -0
- package/dist/utils/errorUtils.js +1 -0
- package/package.json +5 -4
- package/dist/chunk-3WVCUHA6.js +0 -6
- package/dist/chunk-EEZBBJJL.js +0 -1
- package/dist/chunk-L6UXIP23.cjs +0 -6
|
@@ -0,0 +1,450 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as zod from 'zod';
|
|
3
|
+
import { IFrameWindow } from '@crossmint/client-sdk-window';
|
|
4
|
+
|
|
5
|
+
declare function useSignerIFrameWindow(): React.MutableRefObject<IFrameWindow<{
|
|
6
|
+
readonly "response:create-signer": zod.ZodUnion<[zod.ZodObject<{
|
|
7
|
+
status: zod.ZodLiteral<"error">;
|
|
8
|
+
error: zod.ZodString;
|
|
9
|
+
code: zod.ZodOptional<zod.ZodString>;
|
|
10
|
+
data: zod.ZodOptional<zod.ZodAny>;
|
|
11
|
+
}, "strip", zod.ZodTypeAny, {
|
|
12
|
+
status: "error";
|
|
13
|
+
error: string;
|
|
14
|
+
code?: string | undefined;
|
|
15
|
+
data?: any;
|
|
16
|
+
}, {
|
|
17
|
+
status: "error";
|
|
18
|
+
error: string;
|
|
19
|
+
code?: string | undefined;
|
|
20
|
+
data?: any;
|
|
21
|
+
}>, zod.ZodObject<{
|
|
22
|
+
address: zod.ZodOptional<zod.ZodString>;
|
|
23
|
+
status: zod.ZodLiteral<"success">;
|
|
24
|
+
}, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
25
|
+
status: "success";
|
|
26
|
+
address?: string | undefined;
|
|
27
|
+
}, {
|
|
28
|
+
status: "success";
|
|
29
|
+
address?: string | undefined;
|
|
30
|
+
}>]>;
|
|
31
|
+
readonly "response:get-attestation": zod.ZodUnion<[zod.ZodObject<{
|
|
32
|
+
status: zod.ZodLiteral<"error">;
|
|
33
|
+
error: zod.ZodString;
|
|
34
|
+
code: zod.ZodOptional<zod.ZodString>;
|
|
35
|
+
data: zod.ZodOptional<zod.ZodAny>;
|
|
36
|
+
}, "strip", zod.ZodTypeAny, {
|
|
37
|
+
status: "error";
|
|
38
|
+
error: string;
|
|
39
|
+
code?: string | undefined;
|
|
40
|
+
data?: any;
|
|
41
|
+
}, {
|
|
42
|
+
status: "error";
|
|
43
|
+
error: string;
|
|
44
|
+
code?: string | undefined;
|
|
45
|
+
data?: any;
|
|
46
|
+
}>, zod.ZodObject<{
|
|
47
|
+
attestationDocument: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
|
|
48
|
+
status: zod.ZodLiteral<"success">;
|
|
49
|
+
}, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
50
|
+
status: "success";
|
|
51
|
+
attestationDocument: Record<string, any>;
|
|
52
|
+
}, {
|
|
53
|
+
status: "success";
|
|
54
|
+
attestationDocument: Record<string, any>;
|
|
55
|
+
}>]>;
|
|
56
|
+
readonly "response:sign-message": zod.ZodUnion<[zod.ZodObject<{
|
|
57
|
+
status: zod.ZodLiteral<"error">;
|
|
58
|
+
error: zod.ZodString;
|
|
59
|
+
code: zod.ZodOptional<zod.ZodString>;
|
|
60
|
+
data: zod.ZodOptional<zod.ZodAny>;
|
|
61
|
+
}, "strip", zod.ZodTypeAny, {
|
|
62
|
+
status: "error";
|
|
63
|
+
error: string;
|
|
64
|
+
code?: string | undefined;
|
|
65
|
+
data?: any;
|
|
66
|
+
}, {
|
|
67
|
+
status: "error";
|
|
68
|
+
error: string;
|
|
69
|
+
code?: string | undefined;
|
|
70
|
+
data?: any;
|
|
71
|
+
}>, zod.ZodObject<{
|
|
72
|
+
signature: zod.ZodString;
|
|
73
|
+
publicKey: zod.ZodString;
|
|
74
|
+
status: zod.ZodLiteral<"success">;
|
|
75
|
+
}, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
76
|
+
status: "success";
|
|
77
|
+
signature: string;
|
|
78
|
+
publicKey: string;
|
|
79
|
+
}, {
|
|
80
|
+
status: "success";
|
|
81
|
+
signature: string;
|
|
82
|
+
publicKey: string;
|
|
83
|
+
}>]>;
|
|
84
|
+
readonly "response:sign-transaction": zod.ZodUnion<[zod.ZodObject<{
|
|
85
|
+
status: zod.ZodLiteral<"error">;
|
|
86
|
+
error: zod.ZodString;
|
|
87
|
+
code: zod.ZodOptional<zod.ZodString>;
|
|
88
|
+
data: zod.ZodOptional<zod.ZodAny>;
|
|
89
|
+
}, "strip", zod.ZodTypeAny, {
|
|
90
|
+
status: "error";
|
|
91
|
+
error: string;
|
|
92
|
+
code?: string | undefined;
|
|
93
|
+
data?: any;
|
|
94
|
+
}, {
|
|
95
|
+
status: "error";
|
|
96
|
+
error: string;
|
|
97
|
+
code?: string | undefined;
|
|
98
|
+
data?: any;
|
|
99
|
+
}>, zod.ZodObject<{
|
|
100
|
+
signature: zod.ZodString;
|
|
101
|
+
publicKey: zod.ZodString;
|
|
102
|
+
status: zod.ZodLiteral<"success">;
|
|
103
|
+
}, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
104
|
+
status: "success";
|
|
105
|
+
signature: string;
|
|
106
|
+
publicKey: string;
|
|
107
|
+
}, {
|
|
108
|
+
status: "success";
|
|
109
|
+
signature: string;
|
|
110
|
+
publicKey: string;
|
|
111
|
+
}>]>;
|
|
112
|
+
readonly "response:send-otp": zod.ZodUnion<[zod.ZodObject<{
|
|
113
|
+
status: zod.ZodLiteral<"error">;
|
|
114
|
+
error: zod.ZodString;
|
|
115
|
+
code: zod.ZodOptional<zod.ZodString>;
|
|
116
|
+
data: zod.ZodOptional<zod.ZodAny>;
|
|
117
|
+
}, "strip", zod.ZodTypeAny, {
|
|
118
|
+
status: "error";
|
|
119
|
+
error: string;
|
|
120
|
+
code?: string | undefined;
|
|
121
|
+
data?: any;
|
|
122
|
+
}, {
|
|
123
|
+
status: "error";
|
|
124
|
+
error: string;
|
|
125
|
+
code?: string | undefined;
|
|
126
|
+
data?: any;
|
|
127
|
+
}>, zod.ZodObject<{
|
|
128
|
+
address: zod.ZodString;
|
|
129
|
+
status: zod.ZodLiteral<"success">;
|
|
130
|
+
}, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
131
|
+
status: "success";
|
|
132
|
+
address: string;
|
|
133
|
+
}, {
|
|
134
|
+
status: "success";
|
|
135
|
+
address: string;
|
|
136
|
+
}>]>;
|
|
137
|
+
readonly "response:get-public-key": zod.ZodUnion<[zod.ZodObject<{
|
|
138
|
+
status: zod.ZodLiteral<"error">;
|
|
139
|
+
error: zod.ZodString;
|
|
140
|
+
code: zod.ZodOptional<zod.ZodString>;
|
|
141
|
+
data: zod.ZodOptional<zod.ZodAny>;
|
|
142
|
+
}, "strip", zod.ZodTypeAny, {
|
|
143
|
+
status: "error";
|
|
144
|
+
error: string;
|
|
145
|
+
code?: string | undefined;
|
|
146
|
+
data?: any;
|
|
147
|
+
}, {
|
|
148
|
+
status: "error";
|
|
149
|
+
error: string;
|
|
150
|
+
code?: string | undefined;
|
|
151
|
+
data?: any;
|
|
152
|
+
}>, zod.ZodObject<{
|
|
153
|
+
publicKey: zod.ZodString;
|
|
154
|
+
status: zod.ZodLiteral<"success">;
|
|
155
|
+
}, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
156
|
+
status: "success";
|
|
157
|
+
publicKey: string;
|
|
158
|
+
}, {
|
|
159
|
+
status: "success";
|
|
160
|
+
publicKey: string;
|
|
161
|
+
}>]>;
|
|
162
|
+
readonly "response:sign": zod.ZodUnion<[zod.ZodObject<{
|
|
163
|
+
status: zod.ZodLiteral<"error">;
|
|
164
|
+
error: zod.ZodString;
|
|
165
|
+
code: zod.ZodOptional<zod.ZodString>;
|
|
166
|
+
data: zod.ZodOptional<zod.ZodAny>;
|
|
167
|
+
}, "strip", zod.ZodTypeAny, {
|
|
168
|
+
status: "error";
|
|
169
|
+
error: string;
|
|
170
|
+
code?: string | undefined;
|
|
171
|
+
data?: any;
|
|
172
|
+
}, {
|
|
173
|
+
status: "error";
|
|
174
|
+
error: string;
|
|
175
|
+
code?: string | undefined;
|
|
176
|
+
data?: any;
|
|
177
|
+
}>, zod.ZodObject<{
|
|
178
|
+
signature: zod.ZodString;
|
|
179
|
+
publicKey: zod.ZodString;
|
|
180
|
+
status: zod.ZodLiteral<"success">;
|
|
181
|
+
}, zod.UnknownKeysParam, zod.ZodTypeAny, {
|
|
182
|
+
status: "success";
|
|
183
|
+
signature: string;
|
|
184
|
+
publicKey: string;
|
|
185
|
+
}, {
|
|
186
|
+
status: "success";
|
|
187
|
+
signature: string;
|
|
188
|
+
publicKey: string;
|
|
189
|
+
}>]>;
|
|
190
|
+
}, {
|
|
191
|
+
readonly "request:create-signer": zod.ZodObject<{
|
|
192
|
+
authData: zod.ZodObject<{
|
|
193
|
+
jwt: zod.ZodString;
|
|
194
|
+
apiKey: zod.ZodString;
|
|
195
|
+
}, "strip", zod.ZodTypeAny, {
|
|
196
|
+
jwt: string;
|
|
197
|
+
apiKey: string;
|
|
198
|
+
}, {
|
|
199
|
+
jwt: string;
|
|
200
|
+
apiKey: string;
|
|
201
|
+
}>;
|
|
202
|
+
data: zod.ZodObject<{
|
|
203
|
+
authId: zod.ZodString;
|
|
204
|
+
chainLayer: zod.ZodEnum<["solana", "evm"]>;
|
|
205
|
+
}, "strip", zod.ZodTypeAny, {
|
|
206
|
+
authId: string;
|
|
207
|
+
chainLayer: "solana" | "evm";
|
|
208
|
+
}, {
|
|
209
|
+
authId: string;
|
|
210
|
+
chainLayer: "solana" | "evm";
|
|
211
|
+
}>;
|
|
212
|
+
}, "strip", zod.ZodTypeAny, {
|
|
213
|
+
authData: {
|
|
214
|
+
jwt: string;
|
|
215
|
+
apiKey: string;
|
|
216
|
+
};
|
|
217
|
+
data: {
|
|
218
|
+
authId: string;
|
|
219
|
+
chainLayer: "solana" | "evm";
|
|
220
|
+
};
|
|
221
|
+
}, {
|
|
222
|
+
authData: {
|
|
223
|
+
jwt: string;
|
|
224
|
+
apiKey: string;
|
|
225
|
+
};
|
|
226
|
+
data: {
|
|
227
|
+
authId: string;
|
|
228
|
+
chainLayer: "solana" | "evm";
|
|
229
|
+
};
|
|
230
|
+
}>;
|
|
231
|
+
readonly "request:get-attestation": zod.ZodObject<{
|
|
232
|
+
challenge: zod.ZodString;
|
|
233
|
+
}, "strip", zod.ZodTypeAny, {
|
|
234
|
+
challenge: string;
|
|
235
|
+
}, {
|
|
236
|
+
challenge: string;
|
|
237
|
+
}>;
|
|
238
|
+
readonly "request:sign-message": zod.ZodObject<{
|
|
239
|
+
authData: zod.ZodObject<{
|
|
240
|
+
jwt: zod.ZodString;
|
|
241
|
+
apiKey: zod.ZodString;
|
|
242
|
+
}, "strip", zod.ZodTypeAny, {
|
|
243
|
+
jwt: string;
|
|
244
|
+
apiKey: string;
|
|
245
|
+
}, {
|
|
246
|
+
jwt: string;
|
|
247
|
+
apiKey: string;
|
|
248
|
+
}>;
|
|
249
|
+
data: zod.ZodObject<{
|
|
250
|
+
chainLayer: zod.ZodEnum<["solana", "evm"]>;
|
|
251
|
+
message: zod.ZodString;
|
|
252
|
+
encoding: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["base58"]>>>;
|
|
253
|
+
}, "strip", zod.ZodTypeAny, {
|
|
254
|
+
message: string;
|
|
255
|
+
chainLayer: "solana" | "evm";
|
|
256
|
+
encoding: "base58";
|
|
257
|
+
}, {
|
|
258
|
+
message: string;
|
|
259
|
+
chainLayer: "solana" | "evm";
|
|
260
|
+
encoding?: "base58" | undefined;
|
|
261
|
+
}>;
|
|
262
|
+
}, "strip", zod.ZodTypeAny, {
|
|
263
|
+
authData: {
|
|
264
|
+
jwt: string;
|
|
265
|
+
apiKey: string;
|
|
266
|
+
};
|
|
267
|
+
data: {
|
|
268
|
+
message: string;
|
|
269
|
+
chainLayer: "solana" | "evm";
|
|
270
|
+
encoding: "base58";
|
|
271
|
+
};
|
|
272
|
+
}, {
|
|
273
|
+
authData: {
|
|
274
|
+
jwt: string;
|
|
275
|
+
apiKey: string;
|
|
276
|
+
};
|
|
277
|
+
data: {
|
|
278
|
+
message: string;
|
|
279
|
+
chainLayer: "solana" | "evm";
|
|
280
|
+
encoding?: "base58" | undefined;
|
|
281
|
+
};
|
|
282
|
+
}>;
|
|
283
|
+
readonly "request:sign-transaction": zod.ZodObject<{
|
|
284
|
+
authData: zod.ZodObject<{
|
|
285
|
+
jwt: zod.ZodString;
|
|
286
|
+
apiKey: zod.ZodString;
|
|
287
|
+
}, "strip", zod.ZodTypeAny, {
|
|
288
|
+
jwt: string;
|
|
289
|
+
apiKey: string;
|
|
290
|
+
}, {
|
|
291
|
+
jwt: string;
|
|
292
|
+
apiKey: string;
|
|
293
|
+
}>;
|
|
294
|
+
data: zod.ZodObject<{
|
|
295
|
+
transaction: zod.ZodString;
|
|
296
|
+
chainLayer: zod.ZodEnum<["solana", "evm"]>;
|
|
297
|
+
encoding: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["base58"]>>>;
|
|
298
|
+
}, "strip", zod.ZodTypeAny, {
|
|
299
|
+
chainLayer: "solana" | "evm";
|
|
300
|
+
encoding: "base58";
|
|
301
|
+
transaction: string;
|
|
302
|
+
}, {
|
|
303
|
+
chainLayer: "solana" | "evm";
|
|
304
|
+
transaction: string;
|
|
305
|
+
encoding?: "base58" | undefined;
|
|
306
|
+
}>;
|
|
307
|
+
}, "strip", zod.ZodTypeAny, {
|
|
308
|
+
authData: {
|
|
309
|
+
jwt: string;
|
|
310
|
+
apiKey: string;
|
|
311
|
+
};
|
|
312
|
+
data: {
|
|
313
|
+
chainLayer: "solana" | "evm";
|
|
314
|
+
encoding: "base58";
|
|
315
|
+
transaction: string;
|
|
316
|
+
};
|
|
317
|
+
}, {
|
|
318
|
+
authData: {
|
|
319
|
+
jwt: string;
|
|
320
|
+
apiKey: string;
|
|
321
|
+
};
|
|
322
|
+
data: {
|
|
323
|
+
chainLayer: "solana" | "evm";
|
|
324
|
+
transaction: string;
|
|
325
|
+
encoding?: "base58" | undefined;
|
|
326
|
+
};
|
|
327
|
+
}>;
|
|
328
|
+
readonly "request:send-otp": zod.ZodObject<{
|
|
329
|
+
authData: zod.ZodObject<{
|
|
330
|
+
jwt: zod.ZodString;
|
|
331
|
+
apiKey: zod.ZodString;
|
|
332
|
+
}, "strip", zod.ZodTypeAny, {
|
|
333
|
+
jwt: string;
|
|
334
|
+
apiKey: string;
|
|
335
|
+
}, {
|
|
336
|
+
jwt: string;
|
|
337
|
+
apiKey: string;
|
|
338
|
+
}>;
|
|
339
|
+
data: zod.ZodObject<{
|
|
340
|
+
encryptedOtp: zod.ZodString;
|
|
341
|
+
chainLayer: zod.ZodEnum<["solana", "evm"]>;
|
|
342
|
+
}, "strip", zod.ZodTypeAny, {
|
|
343
|
+
chainLayer: "solana" | "evm";
|
|
344
|
+
encryptedOtp: string;
|
|
345
|
+
}, {
|
|
346
|
+
chainLayer: "solana" | "evm";
|
|
347
|
+
encryptedOtp: string;
|
|
348
|
+
}>;
|
|
349
|
+
}, "strip", zod.ZodTypeAny, {
|
|
350
|
+
authData: {
|
|
351
|
+
jwt: string;
|
|
352
|
+
apiKey: string;
|
|
353
|
+
};
|
|
354
|
+
data: {
|
|
355
|
+
chainLayer: "solana" | "evm";
|
|
356
|
+
encryptedOtp: string;
|
|
357
|
+
};
|
|
358
|
+
}, {
|
|
359
|
+
authData: {
|
|
360
|
+
jwt: string;
|
|
361
|
+
apiKey: string;
|
|
362
|
+
};
|
|
363
|
+
data: {
|
|
364
|
+
chainLayer: "solana" | "evm";
|
|
365
|
+
encryptedOtp: string;
|
|
366
|
+
};
|
|
367
|
+
}>;
|
|
368
|
+
readonly "request:get-public-key": zod.ZodObject<{
|
|
369
|
+
authData: zod.ZodObject<{
|
|
370
|
+
jwt: zod.ZodString;
|
|
371
|
+
apiKey: zod.ZodString;
|
|
372
|
+
}, "strip", zod.ZodTypeAny, {
|
|
373
|
+
jwt: string;
|
|
374
|
+
apiKey: string;
|
|
375
|
+
}, {
|
|
376
|
+
jwt: string;
|
|
377
|
+
apiKey: string;
|
|
378
|
+
}>;
|
|
379
|
+
data: zod.ZodObject<{
|
|
380
|
+
chainLayer: zod.ZodEnum<["solana", "evm"]>;
|
|
381
|
+
}, "strip", zod.ZodTypeAny, {
|
|
382
|
+
chainLayer: "solana" | "evm";
|
|
383
|
+
}, {
|
|
384
|
+
chainLayer: "solana" | "evm";
|
|
385
|
+
}>;
|
|
386
|
+
}, "strip", zod.ZodTypeAny, {
|
|
387
|
+
authData: {
|
|
388
|
+
jwt: string;
|
|
389
|
+
apiKey: string;
|
|
390
|
+
};
|
|
391
|
+
data: {
|
|
392
|
+
chainLayer: "solana" | "evm";
|
|
393
|
+
};
|
|
394
|
+
}, {
|
|
395
|
+
authData: {
|
|
396
|
+
jwt: string;
|
|
397
|
+
apiKey: string;
|
|
398
|
+
};
|
|
399
|
+
data: {
|
|
400
|
+
chainLayer: "solana" | "evm";
|
|
401
|
+
};
|
|
402
|
+
}>;
|
|
403
|
+
readonly "request:sign": zod.ZodObject<{
|
|
404
|
+
authData: zod.ZodObject<{
|
|
405
|
+
jwt: zod.ZodString;
|
|
406
|
+
apiKey: zod.ZodString;
|
|
407
|
+
}, "strip", zod.ZodTypeAny, {
|
|
408
|
+
jwt: string;
|
|
409
|
+
apiKey: string;
|
|
410
|
+
}, {
|
|
411
|
+
jwt: string;
|
|
412
|
+
apiKey: string;
|
|
413
|
+
}>;
|
|
414
|
+
data: zod.ZodObject<{
|
|
415
|
+
keyType: zod.ZodEnum<["secp256k1", "ed25519"]>;
|
|
416
|
+
bytes: zod.ZodString;
|
|
417
|
+
encoding: zod.ZodDefault<zod.ZodOptional<zod.ZodEnum<["base58"]>>>;
|
|
418
|
+
}, "strip", zod.ZodTypeAny, {
|
|
419
|
+
encoding: "base58";
|
|
420
|
+
keyType: "secp256k1" | "ed25519";
|
|
421
|
+
bytes: string;
|
|
422
|
+
}, {
|
|
423
|
+
keyType: "secp256k1" | "ed25519";
|
|
424
|
+
bytes: string;
|
|
425
|
+
encoding?: "base58" | undefined;
|
|
426
|
+
}>;
|
|
427
|
+
}, "strip", zod.ZodTypeAny, {
|
|
428
|
+
authData: {
|
|
429
|
+
jwt: string;
|
|
430
|
+
apiKey: string;
|
|
431
|
+
};
|
|
432
|
+
data: {
|
|
433
|
+
encoding: "base58";
|
|
434
|
+
keyType: "secp256k1" | "ed25519";
|
|
435
|
+
bytes: string;
|
|
436
|
+
};
|
|
437
|
+
}, {
|
|
438
|
+
authData: {
|
|
439
|
+
jwt: string;
|
|
440
|
+
apiKey: string;
|
|
441
|
+
};
|
|
442
|
+
data: {
|
|
443
|
+
keyType: "secp256k1" | "ed25519";
|
|
444
|
+
bytes: string;
|
|
445
|
+
encoding?: "base58" | undefined;
|
|
446
|
+
};
|
|
447
|
+
}>;
|
|
448
|
+
}> | null>;
|
|
449
|
+
|
|
450
|
+
export { useSignerIFrameWindow };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-IOYFNS7R.js";import"../chunk-PXDN3KFO.js";export{a as useSignerIFrameWindow};
|
package/dist/hooks/useWallet.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkHCJCJ4R4cjs = require('../chunk-HCJCJ4R4.cjs');require('../chunk-QUO652MG.cjs');require('../chunk-BR77Q3PK.cjs');require('../chunk-PZ3KXKJD.cjs');require('../chunk-AHD64NAJ.cjs');require('../chunk-RML5QI3S.cjs');require('../chunk-EAYBW3VK.cjs');require('../chunk-3U4DUXCZ.cjs');require('../chunk-HLGNSXEQ.cjs');require('../chunk-WMBBIP2C.cjs');require('../chunk-HG5ML6KX.cjs');require('../chunk-2BOQSASO.cjs');require('../chunk-Z2FGFHRQ.cjs');require('../chunk-WABJHG6B.cjs');require('../chunk-FASRTACD.cjs');require('../chunk-LYUOGA56.cjs');require('../chunk-GARYGAY7.cjs');require('../chunk-JNLQRLIC.cjs');require('../chunk-QYQERFYL.cjs');require('../chunk-E65EGG73.cjs');require('../chunk-TM7WDKYR.cjs');require('../chunk-VI6TW7JT.cjs');require('../chunk-TWX7ZBKZ.cjs');require('../chunk-FQ246XXN.cjs');require('../chunk-ZBQCXWMD.cjs');require('../chunk-TXOVDTYK.cjs');require('../chunk-IQ7CQQXG.cjs');require('../chunk-NRN4WNQL.cjs');require('../chunk-YXF74MVI.cjs');require('../chunk-I4GMMHQR.cjs');require('../chunk-SRQAQHYK.cjs');require('../chunk-7ZTBHHNG.cjs');require('../chunk-4TGJU3VH.cjs');require('../chunk-GPQZG7HC.cjs');require('../chunk-WHRHGJWN.cjs');require('../chunk-PZUWRGVP.cjs');require('../chunk-S73UKDNP.cjs');require('../chunk-2WSEHVNP.cjs');exports.useWallet = _chunkHCJCJ4R4cjs.f;
|
|
@@ -15,6 +15,10 @@ declare function useWallet(): ({
|
|
|
15
15
|
}>;
|
|
16
16
|
createPasskeySigner: (name: string, promptType?: "create-wallet" | "transaction" | "not-supported" | "create-wallet-error" | "transaction-error") => Promise<PasskeySigner | null>;
|
|
17
17
|
clearWallet: () => void;
|
|
18
|
+
experimental_getOrCreateWalletWithRecoveryKey?: (args: {
|
|
19
|
+
type: "solana-smart-wallet";
|
|
20
|
+
email: string;
|
|
21
|
+
}) => Promise<void>;
|
|
18
22
|
passkeySigner?: PasskeySigner;
|
|
19
23
|
}) | ({
|
|
20
24
|
status: "loading-error";
|
|
@@ -28,6 +32,10 @@ declare function useWallet(): ({
|
|
|
28
32
|
}>;
|
|
29
33
|
createPasskeySigner: (name: string, promptType?: "create-wallet" | "transaction" | "not-supported" | "create-wallet-error" | "transaction-error") => Promise<PasskeySigner | null>;
|
|
30
34
|
clearWallet: () => void;
|
|
35
|
+
experimental_getOrCreateWalletWithRecoveryKey?: (args: {
|
|
36
|
+
type: "solana-smart-wallet";
|
|
37
|
+
email: string;
|
|
38
|
+
}) => Promise<void>;
|
|
31
39
|
passkeySigner?: PasskeySigner;
|
|
32
40
|
}) | ({
|
|
33
41
|
status: "loaded";
|
|
@@ -41,6 +49,10 @@ declare function useWallet(): ({
|
|
|
41
49
|
}>;
|
|
42
50
|
createPasskeySigner: (name: string, promptType?: "create-wallet" | "transaction" | "not-supported" | "create-wallet-error" | "transaction-error") => Promise<PasskeySigner | null>;
|
|
43
51
|
clearWallet: () => void;
|
|
52
|
+
experimental_getOrCreateWalletWithRecoveryKey?: (args: {
|
|
53
|
+
type: "solana-smart-wallet";
|
|
54
|
+
email: string;
|
|
55
|
+
}) => Promise<void>;
|
|
44
56
|
passkeySigner?: PasskeySigner;
|
|
45
57
|
}) | ({
|
|
46
58
|
status: "loaded";
|
|
@@ -54,6 +66,10 @@ declare function useWallet(): ({
|
|
|
54
66
|
}>;
|
|
55
67
|
createPasskeySigner: (name: string, promptType?: "create-wallet" | "transaction" | "not-supported" | "create-wallet-error" | "transaction-error") => Promise<PasskeySigner | null>;
|
|
56
68
|
clearWallet: () => void;
|
|
69
|
+
experimental_getOrCreateWalletWithRecoveryKey?: (args: {
|
|
70
|
+
type: "solana-smart-wallet";
|
|
71
|
+
email: string;
|
|
72
|
+
}) => Promise<void>;
|
|
57
73
|
passkeySigner?: PasskeySigner;
|
|
58
74
|
});
|
|
59
75
|
|
|
@@ -15,6 +15,10 @@ declare function useWallet(): ({
|
|
|
15
15
|
}>;
|
|
16
16
|
createPasskeySigner: (name: string, promptType?: "create-wallet" | "transaction" | "not-supported" | "create-wallet-error" | "transaction-error") => Promise<PasskeySigner | null>;
|
|
17
17
|
clearWallet: () => void;
|
|
18
|
+
experimental_getOrCreateWalletWithRecoveryKey?: (args: {
|
|
19
|
+
type: "solana-smart-wallet";
|
|
20
|
+
email: string;
|
|
21
|
+
}) => Promise<void>;
|
|
18
22
|
passkeySigner?: PasskeySigner;
|
|
19
23
|
}) | ({
|
|
20
24
|
status: "loading-error";
|
|
@@ -28,6 +32,10 @@ declare function useWallet(): ({
|
|
|
28
32
|
}>;
|
|
29
33
|
createPasskeySigner: (name: string, promptType?: "create-wallet" | "transaction" | "not-supported" | "create-wallet-error" | "transaction-error") => Promise<PasskeySigner | null>;
|
|
30
34
|
clearWallet: () => void;
|
|
35
|
+
experimental_getOrCreateWalletWithRecoveryKey?: (args: {
|
|
36
|
+
type: "solana-smart-wallet";
|
|
37
|
+
email: string;
|
|
38
|
+
}) => Promise<void>;
|
|
31
39
|
passkeySigner?: PasskeySigner;
|
|
32
40
|
}) | ({
|
|
33
41
|
status: "loaded";
|
|
@@ -41,6 +49,10 @@ declare function useWallet(): ({
|
|
|
41
49
|
}>;
|
|
42
50
|
createPasskeySigner: (name: string, promptType?: "create-wallet" | "transaction" | "not-supported" | "create-wallet-error" | "transaction-error") => Promise<PasskeySigner | null>;
|
|
43
51
|
clearWallet: () => void;
|
|
52
|
+
experimental_getOrCreateWalletWithRecoveryKey?: (args: {
|
|
53
|
+
type: "solana-smart-wallet";
|
|
54
|
+
email: string;
|
|
55
|
+
}) => Promise<void>;
|
|
44
56
|
passkeySigner?: PasskeySigner;
|
|
45
57
|
}) | ({
|
|
46
58
|
status: "loaded";
|
|
@@ -54,6 +66,10 @@ declare function useWallet(): ({
|
|
|
54
66
|
}>;
|
|
55
67
|
createPasskeySigner: (name: string, promptType?: "create-wallet" | "transaction" | "not-supported" | "create-wallet-error" | "transaction-error") => Promise<PasskeySigner | null>;
|
|
56
68
|
clearWallet: () => void;
|
|
69
|
+
experimental_getOrCreateWalletWithRecoveryKey?: (args: {
|
|
70
|
+
type: "solana-smart-wallet";
|
|
71
|
+
email: string;
|
|
72
|
+
}) => Promise<void>;
|
|
57
73
|
passkeySigner?: PasskeySigner;
|
|
58
74
|
});
|
|
59
75
|
|
package/dist/hooks/useWallet.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{f as a}from"../chunk-MGOO4VMI.js";import"../chunk-7YHGBWRD.js";import"../chunk-JSNUJJQJ.js";import"../chunk-4KDASQO6.js";import"../chunk-LD3MRJ3F.js";import"../chunk-RB7BW66E.js";import"../chunk-LOA5MXSU.js";import"../chunk-JOMJPVZA.js";import"../chunk-EMXNIC4M.js";import"../chunk-UDQUVZUQ.js";import"../chunk-VHNBXIOC.js";import"../chunk-2VBA64WU.js";import"../chunk-TNCETEEL.js";import"../chunk-NBJIJZGO.js";import"../chunk-BFHQZOV3.js";import"../chunk-C22ZEFQD.js";import"../chunk-ZZYJ6XM2.js";import"../chunk-RZG2PAKA.js";import"../chunk-OOLXYAO7.js";import"../chunk-WW6GUXHG.js";import"../chunk-SFDQPSSP.js";import"../chunk-77PBG2JJ.js";import"../chunk-HVZ5M3FY.js";import"../chunk-H34D6PAN.js";import"../chunk-JPJKOERH.js";import"../chunk-VWL76U5G.js";import"../chunk-IOYFNS7R.js";import"../chunk-UAFW3OWA.js";import"../chunk-VLDE23JX.js";import"../chunk-C3JRTLQP.js";import"../chunk-E4TBJMOO.js";import"../chunk-6CQCQDCK.js";import"../chunk-3PNYQDB7.js";import"../chunk-ROJ6HFVK.js";import"../chunk-VB5DXNMG.js";import"../chunk-UILJI3DM.js";import"../chunk-7NARAT45.js";import"../chunk-PXDN3KFO.js";export{a as useWallet};
|
package/dist/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-S73E6EBO.cjs');require('./chunk-2VQLMU5A.cjs');var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});require('./chunk-S73E6EBO.cjs');require('./chunk-2VQLMU5A.cjs');var _chunkIQFPBQMTcjs = require('./chunk-IQFPBQMT.cjs');require('./chunk-CSF66UDE.cjs');require('./chunk-QLPV72AE.cjs');var _chunkDQD3L5EOcjs = require('./chunk-DQD3L5EO.cjs');require('./chunk-5IFQJPBE.cjs');require('./chunk-NFLGT52C.cjs');require('./chunk-NZQIZ4ZY.cjs');require('./chunk-IMV35JZB.cjs');require('./chunk-EUXGP4IN.cjs');require('./chunk-XUT4N66R.cjs');require('./chunk-3EQVCVCE.cjs');var _chunk5BBICHQJcjs = require('./chunk-5BBICHQJ.cjs');require('./chunk-56YL3XJW.cjs');require('./chunk-KI4HRYHD.cjs');var _chunkMQN4F7L2cjs = require('./chunk-MQN4F7L2.cjs');require('./chunk-O5J2ZIJ6.cjs');var _chunkQHXTUWMFcjs = require('./chunk-QHXTUWMF.cjs');require('./chunk-W4UPIFFS.cjs');require('./chunk-X5BBXO27.cjs');var _chunkXAHOCPVOcjs = require('./chunk-XAHOCPVO.cjs');var _chunk5M3ETGDCcjs = require('./chunk-5M3ETGDC.cjs');var _chunkHCJCJ4R4cjs = require('./chunk-HCJCJ4R4.cjs');require('./chunk-QUO652MG.cjs');require('./chunk-BR77Q3PK.cjs');require('./chunk-PZ3KXKJD.cjs');require('./chunk-AHD64NAJ.cjs');require('./chunk-RML5QI3S.cjs');require('./chunk-EAYBW3VK.cjs');require('./chunk-3U4DUXCZ.cjs');require('./chunk-HLGNSXEQ.cjs');require('./chunk-WMBBIP2C.cjs');require('./chunk-HG5ML6KX.cjs');require('./chunk-2BOQSASO.cjs');require('./chunk-Z2FGFHRQ.cjs');require('./chunk-WABJHG6B.cjs');require('./chunk-FASRTACD.cjs');require('./chunk-LYUOGA56.cjs');require('./chunk-GARYGAY7.cjs');require('./chunk-JNLQRLIC.cjs');require('./chunk-QYQERFYL.cjs');require('./chunk-E65EGG73.cjs');require('./chunk-TM7WDKYR.cjs');require('./chunk-VI6TW7JT.cjs');require('./chunk-TWX7ZBKZ.cjs');require('./chunk-FQ246XXN.cjs');require('./chunk-ZBQCXWMD.cjs');require('./chunk-TXOVDTYK.cjs');require('./chunk-IQ7CQQXG.cjs');require('./chunk-NRN4WNQL.cjs');require('./chunk-YXF74MVI.cjs');require('./chunk-I4GMMHQR.cjs');require('./chunk-SRQAQHYK.cjs');var _chunk7ZTBHHNGcjs = require('./chunk-7ZTBHHNG.cjs');require('./chunk-4TGJU3VH.cjs');var _chunkGPQZG7HCcjs = require('./chunk-GPQZG7HC.cjs');require('./chunk-WHRHGJWN.cjs');require('./chunk-PZUWRGVP.cjs');require('./chunk-S73UKDNP.cjs');require('./chunk-2WSEHVNP.cjs');var _clientsdkbase = require('@crossmint/client-sdk-base');var _walletssdk = require('@crossmint/wallets-sdk');exports.AuthContext = _chunkHCJCJ4R4cjs.A; exports.CrossmintAuthProvider = _chunkHCJCJ4R4cjs.B; exports.CrossmintCheckoutProvider = _chunk7ZTBHHNGcjs.a; exports.CrossmintEmbeddedCheckout = _chunkIQFPBQMTcjs.a; exports.CrossmintEvents = _clientsdkbase.CrossmintEvents; exports.CrossmintHostedCheckout = _chunk5BBICHQJcjs.a; exports.CrossmintNFTCollectionView = _chunkXAHOCPVOcjs.a; exports.CrossmintNFTDetail = _chunk5M3ETGDCcjs.a; exports.CrossmintPayButton_DEPRECATED = _chunkMQN4F7L2cjs.a; exports.CrossmintPaymentElement_DEPRECATED = _chunkDQD3L5EOcjs.a; exports.CrossmintProvider = _chunkGPQZG7HCcjs.a; exports.CrossmintWalletProvider = _chunkHCJCJ4R4cjs.e; exports.EmbeddedAuthForm = _chunkQHXTUWMFcjs.a; exports.WalletContext = _chunkHCJCJ4R4cjs.d; exports.isValidEVMChain = _walletssdk.isValidEVMChain; exports.useAuth = _chunkHCJCJ4R4cjs.C; exports.useCrossmint = _chunkGPQZG7HCcjs.b; exports.useCrossmintCheckout = _chunk7ZTBHHNGcjs.b; exports.useCrossmintEvents = _clientsdkbase.useCrossmintEvents; exports.useWallet = _chunkHCJCJ4R4cjs.f;
|
package/dist/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-3BUVHV54.js";import"./chunk-72MMCJ2E.js";import{a as C}from"./chunk-
|
|
1
|
+
import"./chunk-3BUVHV54.js";import"./chunk-72MMCJ2E.js";import{a as C}from"./chunk-BELSHF4F.js";import"./chunk-Q3GERFHB.js";import"./chunk-5X3MPD2V.js";import{a as r}from"./chunk-2ZIM34DD.js";import"./chunk-RYQRCUKB.js";import"./chunk-QASKWI5Y.js";import"./chunk-4IHRWQWT.js";import"./chunk-JGM3G5E2.js";import"./chunk-IAJBYU5C.js";import"./chunk-WHFUW3W3.js";import"./chunk-NB7AJIPT.js";import{a as n}from"./chunk-KQYG3HIW.js";import"./chunk-EA7H4AXL.js";import"./chunk-KFL42A3A.js";import{a as o}from"./chunk-WQB5GPWX.js";import"./chunk-72P3JMXX.js";import{a as M}from"./chunk-FAJRFKR5.js";import"./chunk-DGZQUCSD.js";import"./chunk-2POV64LQ.js";import{a as t}from"./chunk-6EBZA4GD.js";import{a as e}from"./chunk-GSRCJNUT.js";import{A as f,B as x,C as E,d as l,e as i,f as y}from"./chunk-MGOO4VMI.js";import"./chunk-7YHGBWRD.js";import"./chunk-JSNUJJQJ.js";import"./chunk-4KDASQO6.js";import"./chunk-LD3MRJ3F.js";import"./chunk-RB7BW66E.js";import"./chunk-LOA5MXSU.js";import"./chunk-JOMJPVZA.js";import"./chunk-EMXNIC4M.js";import"./chunk-UDQUVZUQ.js";import"./chunk-VHNBXIOC.js";import"./chunk-2VBA64WU.js";import"./chunk-TNCETEEL.js";import"./chunk-NBJIJZGO.js";import"./chunk-BFHQZOV3.js";import"./chunk-C22ZEFQD.js";import"./chunk-ZZYJ6XM2.js";import"./chunk-RZG2PAKA.js";import"./chunk-OOLXYAO7.js";import"./chunk-WW6GUXHG.js";import"./chunk-SFDQPSSP.js";import"./chunk-77PBG2JJ.js";import"./chunk-HVZ5M3FY.js";import"./chunk-H34D6PAN.js";import"./chunk-JPJKOERH.js";import"./chunk-VWL76U5G.js";import"./chunk-IOYFNS7R.js";import"./chunk-UAFW3OWA.js";import"./chunk-VLDE23JX.js";import"./chunk-C3JRTLQP.js";import"./chunk-E4TBJMOO.js";import{a as p,b as m}from"./chunk-6CQCQDCK.js";import"./chunk-3PNYQDB7.js";import{a,b as s}from"./chunk-ROJ6HFVK.js";import"./chunk-VB5DXNMG.js";import"./chunk-UILJI3DM.js";import"./chunk-7NARAT45.js";import"./chunk-PXDN3KFO.js";import{CrossmintEvents as u,useCrossmintEvents as b}from"@crossmint/client-sdk-base";import{isValidEVMChain as B}from"@crossmint/wallets-sdk";export{f as AuthContext,x as CrossmintAuthProvider,p as CrossmintCheckoutProvider,C as CrossmintEmbeddedCheckout,u as CrossmintEvents,n as CrossmintHostedCheckout,t as CrossmintNFTCollectionView,e as CrossmintNFTDetail,o as CrossmintPayButton_DEPRECATED,r as CrossmintPaymentElement_DEPRECATED,a as CrossmintProvider,i as CrossmintWalletProvider,M as EmbeddedAuthForm,l as WalletContext,B as isValidEVMChain,E as useAuth,s as useCrossmint,m as useCrossmintCheckout,b as useCrossmintEvents,y as useWallet};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkHCJCJ4R4cjs = require('../chunk-HCJCJ4R4.cjs');require('../chunk-QUO652MG.cjs');require('../chunk-BR77Q3PK.cjs');require('../chunk-PZ3KXKJD.cjs');require('../chunk-AHD64NAJ.cjs');require('../chunk-RML5QI3S.cjs');require('../chunk-EAYBW3VK.cjs');require('../chunk-3U4DUXCZ.cjs');require('../chunk-HLGNSXEQ.cjs');require('../chunk-WMBBIP2C.cjs');require('../chunk-HG5ML6KX.cjs');require('../chunk-2BOQSASO.cjs');require('../chunk-Z2FGFHRQ.cjs');require('../chunk-WABJHG6B.cjs');require('../chunk-FASRTACD.cjs');require('../chunk-LYUOGA56.cjs');require('../chunk-GARYGAY7.cjs');require('../chunk-JNLQRLIC.cjs');require('../chunk-QYQERFYL.cjs');require('../chunk-E65EGG73.cjs');require('../chunk-TM7WDKYR.cjs');require('../chunk-VI6TW7JT.cjs');require('../chunk-TWX7ZBKZ.cjs');require('../chunk-FQ246XXN.cjs');require('../chunk-ZBQCXWMD.cjs');require('../chunk-TXOVDTYK.cjs');require('../chunk-IQ7CQQXG.cjs');require('../chunk-NRN4WNQL.cjs');require('../chunk-YXF74MVI.cjs');require('../chunk-I4GMMHQR.cjs');require('../chunk-SRQAQHYK.cjs');require('../chunk-7ZTBHHNG.cjs');require('../chunk-4TGJU3VH.cjs');require('../chunk-GPQZG7HC.cjs');require('../chunk-WHRHGJWN.cjs');require('../chunk-PZUWRGVP.cjs');require('../chunk-S73UKDNP.cjs');require('../chunk-2WSEHVNP.cjs');exports.AuthContext = _chunkHCJCJ4R4cjs.A; exports.CrossmintAuthProvider = _chunkHCJCJ4R4cjs.B;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{A as a,B as b}from"../chunk-MGOO4VMI.js";import"../chunk-7YHGBWRD.js";import"../chunk-JSNUJJQJ.js";import"../chunk-4KDASQO6.js";import"../chunk-LD3MRJ3F.js";import"../chunk-RB7BW66E.js";import"../chunk-LOA5MXSU.js";import"../chunk-JOMJPVZA.js";import"../chunk-EMXNIC4M.js";import"../chunk-UDQUVZUQ.js";import"../chunk-VHNBXIOC.js";import"../chunk-2VBA64WU.js";import"../chunk-TNCETEEL.js";import"../chunk-NBJIJZGO.js";import"../chunk-BFHQZOV3.js";import"../chunk-C22ZEFQD.js";import"../chunk-ZZYJ6XM2.js";import"../chunk-RZG2PAKA.js";import"../chunk-OOLXYAO7.js";import"../chunk-WW6GUXHG.js";import"../chunk-SFDQPSSP.js";import"../chunk-77PBG2JJ.js";import"../chunk-HVZ5M3FY.js";import"../chunk-H34D6PAN.js";import"../chunk-JPJKOERH.js";import"../chunk-VWL76U5G.js";import"../chunk-IOYFNS7R.js";import"../chunk-UAFW3OWA.js";import"../chunk-VLDE23JX.js";import"../chunk-C3JRTLQP.js";import"../chunk-E4TBJMOO.js";import"../chunk-6CQCQDCK.js";import"../chunk-3PNYQDB7.js";import"../chunk-ROJ6HFVK.js";import"../chunk-VB5DXNMG.js";import"../chunk-UILJI3DM.js";import"../chunk-7NARAT45.js";import"../chunk-PXDN3KFO.js";export{a as AuthContext,b as CrossmintAuthProvider};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkHCJCJ4R4cjs = require('../chunk-HCJCJ4R4.cjs');require('../chunk-QUO652MG.cjs');require('../chunk-BR77Q3PK.cjs');require('../chunk-PZ3KXKJD.cjs');require('../chunk-AHD64NAJ.cjs');require('../chunk-RML5QI3S.cjs');require('../chunk-EAYBW3VK.cjs');require('../chunk-3U4DUXCZ.cjs');require('../chunk-HLGNSXEQ.cjs');require('../chunk-WMBBIP2C.cjs');require('../chunk-HG5ML6KX.cjs');require('../chunk-2BOQSASO.cjs');require('../chunk-Z2FGFHRQ.cjs');require('../chunk-WABJHG6B.cjs');require('../chunk-FASRTACD.cjs');require('../chunk-LYUOGA56.cjs');require('../chunk-GARYGAY7.cjs');require('../chunk-JNLQRLIC.cjs');require('../chunk-QYQERFYL.cjs');require('../chunk-E65EGG73.cjs');require('../chunk-TM7WDKYR.cjs');require('../chunk-VI6TW7JT.cjs');require('../chunk-TWX7ZBKZ.cjs');require('../chunk-FQ246XXN.cjs');require('../chunk-ZBQCXWMD.cjs');require('../chunk-TXOVDTYK.cjs');require('../chunk-IQ7CQQXG.cjs');require('../chunk-NRN4WNQL.cjs');require('../chunk-YXF74MVI.cjs');require('../chunk-I4GMMHQR.cjs');require('../chunk-SRQAQHYK.cjs');require('../chunk-7ZTBHHNG.cjs');require('../chunk-4TGJU3VH.cjs');require('../chunk-GPQZG7HC.cjs');require('../chunk-WHRHGJWN.cjs');require('../chunk-PZUWRGVP.cjs');require('../chunk-S73UKDNP.cjs');require('../chunk-2WSEHVNP.cjs');exports.CrossmintWalletProvider = _chunkHCJCJ4R4cjs.e; exports.WalletContext = _chunkHCJCJ4R4cjs.d;
|
|
@@ -15,6 +15,10 @@ type WalletContextFunctions = {
|
|
|
15
15
|
}>;
|
|
16
16
|
createPasskeySigner: (name: string, promptType?: ValidPasskeyPromptType) => Promise<PasskeySigner | null>;
|
|
17
17
|
clearWallet: () => void;
|
|
18
|
+
experimental_getOrCreateWalletWithRecoveryKey?: (args: {
|
|
19
|
+
type: "solana-smart-wallet";
|
|
20
|
+
email: string;
|
|
21
|
+
}) => Promise<void>;
|
|
18
22
|
passkeySigner?: PasskeySigner;
|
|
19
23
|
};
|
|
20
24
|
type WalletType = {
|
|
@@ -39,10 +43,11 @@ type WalletContext = ({
|
|
|
39
43
|
error: string;
|
|
40
44
|
} & WalletContextFunctions) | (LoadedWalletState<"evm-smart-wallet"> & WalletContextFunctions) | (LoadedWalletState<"solana-smart-wallet"> & WalletContextFunctions);
|
|
41
45
|
declare const WalletContext: React.Context<WalletContext>;
|
|
42
|
-
declare function CrossmintWalletProvider({ children, showPasskeyHelpers, appearance, }: {
|
|
46
|
+
declare function CrossmintWalletProvider({ children, showPasskeyHelpers, appearance, experimental_enableRecoveryKeys, }: {
|
|
43
47
|
children: ReactNode;
|
|
44
48
|
showPasskeyHelpers?: boolean;
|
|
45
49
|
appearance?: UIConfig;
|
|
50
|
+
experimental_enableRecoveryKeys?: boolean;
|
|
46
51
|
}): react_jsx_runtime.JSX.Element;
|
|
47
52
|
|
|
48
53
|
export { CrossmintWalletProvider, WalletContext };
|