@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.
Files changed (148) hide show
  1. package/dist/{chunk-GQLIGUBY.js → chunk-3PNYQDB7.js} +1 -1
  2. package/dist/{chunk-L7JAEZCV.cjs → chunk-3U4DUXCZ.cjs} +1 -1
  3. package/dist/{chunk-V2WMZKFX.cjs → chunk-4TGJU3VH.cjs} +1 -1
  4. package/dist/{chunk-KQCJQPUJ.cjs → chunk-5BBICHQJ.cjs} +1 -1
  5. package/dist/{chunk-I5EQ5MTB.cjs → chunk-5M3ETGDC.cjs} +1 -1
  6. package/dist/{chunk-PKSYEN4A.js → chunk-6CQCQDCK.js} +1 -1
  7. package/dist/{chunk-FN52YJ2P.js → chunk-6EBZA4GD.js} +1 -1
  8. package/dist/chunk-7NARAT45.js +1 -0
  9. package/dist/chunk-7YHGBWRD.js +1 -0
  10. package/dist/{chunk-ATDAMGJT.cjs → chunk-7ZTBHHNG.cjs} +1 -1
  11. package/dist/{chunk-UF6GUOSJ.js → chunk-BELSHF4F.js} +1 -1
  12. package/dist/chunk-C22ZEFQD.js +1 -0
  13. package/dist/{chunk-SZV6UWHL.cjs → chunk-CSF66UDE.cjs} +1 -1
  14. package/dist/chunk-EAYBW3VK.cjs +2 -0
  15. package/dist/{chunk-LGI44G6N.js → chunk-FAJRFKR5.js} +1 -1
  16. package/dist/{chunk-3EHTAERE.js → chunk-GSRCJNUT.js} +1 -1
  17. package/dist/chunk-HCJCJ4R4.cjs +6 -0
  18. package/dist/chunk-IOYFNS7R.js +1 -0
  19. package/dist/chunk-IQ7CQQXG.cjs +1 -0
  20. package/dist/{chunk-OTURSGPE.cjs → chunk-IQFPBQMT.cjs} +1 -1
  21. package/dist/{chunk-N65GIM5A.js → chunk-JOMJPVZA.js} +1 -1
  22. package/dist/{chunk-YRTV73YT.js → chunk-KQYG3HIW.js} +1 -1
  23. package/dist/chunk-LOA5MXSU.js +2 -0
  24. package/dist/chunk-LYUOGA56.cjs +1 -0
  25. package/dist/chunk-MGOO4VMI.js +6 -0
  26. package/dist/{chunk-LXFQMWWW.cjs → chunk-MQN4F7L2.cjs} +1 -1
  27. package/dist/{chunk-KB2BC5MF.js → chunk-Q3GERFHB.js} +1 -1
  28. package/dist/{chunk-J6YZ5NIK.cjs → chunk-QHXTUWMF.cjs} +1 -1
  29. package/dist/chunk-QUO652MG.cjs +1 -0
  30. package/dist/chunk-RB7BW66E.js +1 -0
  31. package/dist/chunk-RML5QI3S.cjs +1 -0
  32. package/dist/{chunk-5REOBY7Q.cjs → chunk-S73UKDNP.cjs} +1 -1
  33. package/dist/{chunk-BE3O2H3E.js → chunk-WQB5GPWX.js} +1 -1
  34. package/dist/{chunk-RFDA6N5C.cjs → chunk-XAHOCPVO.cjs} +1 -1
  35. package/dist/components/CrossmintNFTCollectionView.cjs +1 -1
  36. package/dist/components/CrossmintNFTCollectionView.js +1 -1
  37. package/dist/components/CrossmintNFTDetail.cjs +1 -1
  38. package/dist/components/CrossmintNFTDetail.js +1 -1
  39. package/dist/components/auth/AuthForm.cjs +1 -1
  40. package/dist/components/auth/AuthForm.js +1 -1
  41. package/dist/components/auth/AuthFormBackButton.cjs +1 -1
  42. package/dist/components/auth/AuthFormBackButton.js +1 -1
  43. package/dist/components/auth/AuthFormDialog.cjs +1 -1
  44. package/dist/components/auth/AuthFormDialog.js +1 -1
  45. package/dist/components/auth/EmbeddedAuthForm.cjs +1 -1
  46. package/dist/components/auth/EmbeddedAuthForm.js +1 -1
  47. package/dist/components/auth/PasskeyPrompt.cjs +1 -1
  48. package/dist/components/auth/PasskeyPrompt.js +1 -1
  49. package/dist/components/auth/methods/email/EmailAuthFlow.cjs +1 -1
  50. package/dist/components/auth/methods/email/EmailAuthFlow.js +1 -1
  51. package/dist/components/auth/methods/email/EmailOTPInput.cjs +1 -1
  52. package/dist/components/auth/methods/email/EmailOTPInput.js +1 -1
  53. package/dist/components/auth/methods/email/EmailSignIn.cjs +1 -1
  54. package/dist/components/auth/methods/email/EmailSignIn.js +1 -1
  55. package/dist/components/auth/methods/farcaster/FarcasterSignIn.cjs +1 -1
  56. package/dist/components/auth/methods/farcaster/FarcasterSignIn.js +1 -1
  57. package/dist/components/auth/methods/google/ContinueWithGoogle.cjs +1 -1
  58. package/dist/components/auth/methods/google/ContinueWithGoogle.js +1 -1
  59. package/dist/components/auth/methods/google/GoogleSignIn.cjs +1 -1
  60. package/dist/components/auth/methods/google/GoogleSignIn.js +1 -1
  61. package/dist/components/auth/methods/twitter/TwitterSignIn.cjs +1 -1
  62. package/dist/components/auth/methods/twitter/TwitterSignIn.js +1 -1
  63. package/dist/components/auth/methods/web3/Web3AuthFlow.cjs +1 -1
  64. package/dist/components/auth/methods/web3/Web3AuthFlow.js +1 -1
  65. package/dist/components/auth/methods/web3/Web3AuthFlowButton.cjs +1 -1
  66. package/dist/components/auth/methods/web3/Web3AuthFlowButton.js +1 -1
  67. package/dist/components/auth/methods/web3/Web3Connectors.cjs +1 -1
  68. package/dist/components/auth/methods/web3/Web3Connectors.js +1 -1
  69. package/dist/components/common/Divider.cjs +1 -1
  70. package/dist/components/common/Divider.js +1 -1
  71. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.cjs +1 -1
  72. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js +1 -1
  73. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.cjs +1 -1
  74. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.js +1 -1
  75. package/dist/components/embed/v3/index.cjs +1 -1
  76. package/dist/components/embed/v3/index.js +1 -1
  77. package/dist/components/hosted/CrossmintPayButton_DEPRECATED.cjs +1 -1
  78. package/dist/components/hosted/CrossmintPayButton_DEPRECATED.js +1 -1
  79. package/dist/components/hosted/index.cjs +1 -1
  80. package/dist/components/hosted/index.js +1 -1
  81. package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.cjs +1 -1
  82. package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.js +1 -1
  83. package/dist/components/hosted/v3/index.cjs +1 -1
  84. package/dist/components/hosted/v3/index.js +1 -1
  85. package/dist/components/index.cjs +1 -1
  86. package/dist/components/index.js +1 -1
  87. package/dist/components/signers/EmailInput.cjs +1 -0
  88. package/dist/components/signers/EmailInput.d.cts +12 -0
  89. package/dist/components/signers/EmailInput.d.ts +12 -0
  90. package/dist/components/signers/EmailInput.js +1 -0
  91. package/dist/components/signers/EmailOTPInput.cjs +1 -0
  92. package/dist/components/signers/EmailOTPInput.d.cts +13 -0
  93. package/dist/components/signers/EmailOTPInput.d.ts +13 -0
  94. package/dist/components/signers/EmailOTPInput.js +1 -0
  95. package/dist/components/signers/EmailSignersDialog.cjs +1 -0
  96. package/dist/components/signers/EmailSignersDialog.d.cts +18 -0
  97. package/dist/components/signers/EmailSignersDialog.d.ts +18 -0
  98. package/dist/components/signers/EmailSignersDialog.js +1 -0
  99. package/dist/consts/version.cjs +1 -1
  100. package/dist/consts/version.js +1 -1
  101. package/dist/hooks/index.cjs +1 -1
  102. package/dist/hooks/index.js +1 -1
  103. package/dist/hooks/useAuth.cjs +1 -1
  104. package/dist/hooks/useAuth.js +1 -1
  105. package/dist/hooks/useCrossmintAuth.cjs +1 -1
  106. package/dist/hooks/useCrossmintAuth.js +1 -1
  107. package/dist/hooks/useCrossmintCheckout.cjs +1 -1
  108. package/dist/hooks/useCrossmintCheckout.js +1 -1
  109. package/dist/hooks/useOAuthWindowListener.cjs +1 -1
  110. package/dist/hooks/useOAuthWindowListener.js +1 -1
  111. package/dist/hooks/useSignerInvisibleIFrame.cjs +1 -0
  112. package/dist/hooks/useSignerInvisibleIFrame.d.cts +450 -0
  113. package/dist/hooks/useSignerInvisibleIFrame.d.ts +450 -0
  114. package/dist/hooks/useSignerInvisibleIFrame.js +1 -0
  115. package/dist/hooks/useWallet.cjs +1 -1
  116. package/dist/hooks/useWallet.d.cts +16 -0
  117. package/dist/hooks/useWallet.d.ts +16 -0
  118. package/dist/hooks/useWallet.js +1 -1
  119. package/dist/index.cjs +1 -1
  120. package/dist/index.js +1 -1
  121. package/dist/providers/CrossmintAuthProvider.cjs +1 -1
  122. package/dist/providers/CrossmintAuthProvider.js +1 -1
  123. package/dist/providers/CrossmintWalletProvider.cjs +1 -1
  124. package/dist/providers/CrossmintWalletProvider.d.cts +6 -1
  125. package/dist/providers/CrossmintWalletProvider.d.ts +6 -1
  126. package/dist/providers/CrossmintWalletProvider.js +1 -1
  127. package/dist/providers/auth/AuthFormProvider.cjs +1 -1
  128. package/dist/providers/auth/AuthFormProvider.js +1 -1
  129. package/dist/providers/auth/web3/DynamicWeb3WalletConnect.cjs +1 -1
  130. package/dist/providers/auth/web3/DynamicWeb3WalletConnect.js +1 -1
  131. package/dist/providers/index.cjs +1 -1
  132. package/dist/providers/index.js +1 -1
  133. package/dist/providers/signers/CrossmintSignerProvider.cjs +1 -0
  134. package/dist/providers/signers/CrossmintSignerProvider.d.cts +25 -0
  135. package/dist/providers/signers/CrossmintSignerProvider.d.ts +25 -0
  136. package/dist/providers/signers/CrossmintSignerProvider.js +1 -0
  137. package/dist/types/auth.d.cts +1 -0
  138. package/dist/types/auth.d.ts +1 -0
  139. package/dist/utils/createCrossmintApiClient.cjs +1 -1
  140. package/dist/utils/createCrossmintApiClient.js +1 -1
  141. package/dist/utils/errorUtils.cjs +1 -0
  142. package/dist/utils/errorUtils.d.cts +6 -0
  143. package/dist/utils/errorUtils.d.ts +6 -0
  144. package/dist/utils/errorUtils.js +1 -0
  145. package/package.json +5 -4
  146. package/dist/chunk-3WVCUHA6.js +0 -6
  147. package/dist/chunk-EEZBBJJL.js +0 -1
  148. 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 };