@crossmint/client-sdk-react-ui 1.19.21 → 2.0.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 (185) hide show
  1. package/README.md +1 -2
  2. package/dist/chunk-2W3Q2GIL.js +1 -0
  3. package/dist/{chunk-2TOQXWMY.js → chunk-4556GX3G.js} +1 -1
  4. package/dist/{chunk-D6OLUOZ5.js → chunk-5HATMA5N.js} +1 -1
  5. package/dist/{chunk-3BZUKE42.cjs → chunk-5OALKBUX.cjs} +1 -1
  6. package/dist/chunk-6WZW6KZ3.cjs +1 -0
  7. package/dist/{chunk-DPQQD5UU.cjs → chunk-6Z2HROUQ.cjs} +1 -1
  8. package/dist/{chunk-HIVWKWQ2.cjs → chunk-A7H6M63M.cjs} +1 -1
  9. package/dist/{chunk-BKHRHZ7Y.js → chunk-B3UY67U5.js} +1 -1
  10. package/dist/{chunk-A3QBMKZL.js → chunk-CKWLLRTX.js} +1 -1
  11. package/dist/{chunk-X2XVHJNY.js → chunk-DWQPB5HZ.js} +1 -1
  12. package/dist/chunk-EH5XD6A5.js +1 -0
  13. package/dist/{chunk-5CO53PUQ.js → chunk-EI3KLVME.js} +1 -1
  14. package/dist/chunk-FIZ3VF2B.cjs +1 -0
  15. package/dist/{chunk-GA6TGNOT.cjs → chunk-HOW6K2BA.cjs} +1 -1
  16. package/dist/{chunk-5UHGWNMC.cjs → chunk-JN2PYF4E.cjs} +1 -1
  17. package/dist/{chunk-QHY5IGLT.cjs → chunk-LUTNJ7UT.cjs} +1 -1
  18. package/dist/chunk-MKI2Q7J5.js +11 -0
  19. package/dist/{chunk-AXM7WDBC.cjs → chunk-OVUNO2FE.cjs} +1 -1
  20. package/dist/chunk-PI6HNTXR.js +1 -0
  21. package/dist/{chunk-PYLW5BP7.cjs → chunk-RFEZTRN2.cjs} +1 -1
  22. package/dist/{chunk-I3KH7QJM.cjs → chunk-THXQX2XB.cjs} +1 -1
  23. package/dist/{chunk-TXF3GNS6.cjs → chunk-VEMJ3QZC.cjs} +1 -1
  24. package/dist/{chunk-VQ2SSUKU.js → chunk-VKQYDNA6.js} +1 -1
  25. package/dist/{chunk-D62R34F3.js → chunk-XLX43RQW.js} +2 -2
  26. package/dist/{chunk-FZEHIEBJ.js → chunk-XUDWTWR2.js} +1 -1
  27. package/dist/chunk-YFSV5ASY.cjs +11 -0
  28. package/dist/{chunk-AZ3GDQQX.cjs → chunk-YSLLYWYP.cjs} +1 -1
  29. package/dist/chunk-Z5L5LNGY.cjs +1 -0
  30. package/dist/{chunk-TSQBTNUP.js → chunk-ZWBJFN4M.js} +1 -1
  31. package/dist/chunk-ZZWM62WG.js +1 -0
  32. package/dist/components/CrossmintNFTCollectionView.cjs +1 -1
  33. package/dist/components/CrossmintNFTCollectionView.js +1 -1
  34. package/dist/components/CrossmintNFTDetail.cjs +1 -1
  35. package/dist/components/CrossmintNFTDetail.js +1 -1
  36. package/dist/components/auth/AuthForm.cjs +1 -1
  37. package/dist/components/auth/AuthForm.js +1 -1
  38. package/dist/components/auth/AuthFormBackButton.cjs +1 -1
  39. package/dist/components/auth/AuthFormBackButton.js +1 -1
  40. package/dist/components/auth/AuthFormDialog.cjs +1 -1
  41. package/dist/components/auth/AuthFormDialog.js +1 -1
  42. package/dist/components/auth/EmbeddedAuthForm.cjs +1 -1
  43. package/dist/components/auth/EmbeddedAuthForm.js +1 -1
  44. package/dist/components/auth/PasskeyPrompt.cjs +1 -1
  45. package/dist/components/auth/PasskeyPrompt.js +1 -1
  46. package/dist/components/auth/methods/email/EmailAuthFlow.cjs +1 -1
  47. package/dist/components/auth/methods/email/EmailAuthFlow.js +1 -1
  48. package/dist/components/auth/methods/email/EmailOTPInput.cjs +1 -1
  49. package/dist/components/auth/methods/email/EmailOTPInput.js +1 -1
  50. package/dist/components/auth/methods/email/EmailSignIn.cjs +1 -1
  51. package/dist/components/auth/methods/email/EmailSignIn.js +1 -1
  52. package/dist/components/auth/methods/farcaster/FarcasterSignIn.cjs +1 -1
  53. package/dist/components/auth/methods/farcaster/FarcasterSignIn.js +1 -1
  54. package/dist/components/auth/methods/google/ContinueWithGoogle.cjs +1 -1
  55. package/dist/components/auth/methods/google/ContinueWithGoogle.js +1 -1
  56. package/dist/components/auth/methods/google/GoogleSignIn.cjs +1 -1
  57. package/dist/components/auth/methods/google/GoogleSignIn.js +1 -1
  58. package/dist/components/auth/methods/twitter/TwitterSignIn.cjs +1 -1
  59. package/dist/components/auth/methods/twitter/TwitterSignIn.js +1 -1
  60. package/dist/components/auth/methods/web3/Web3AuthFlow.cjs +1 -1
  61. package/dist/components/auth/methods/web3/Web3AuthFlow.js +1 -1
  62. package/dist/components/auth/methods/web3/Web3AuthFlowButton.cjs +1 -1
  63. package/dist/components/auth/methods/web3/Web3AuthFlowButton.js +1 -1
  64. package/dist/components/auth/methods/web3/Web3Connectors.cjs +1 -1
  65. package/dist/components/auth/methods/web3/Web3Connectors.js +1 -1
  66. package/dist/components/common/Divider.cjs +1 -1
  67. package/dist/components/common/Divider.js +1 -1
  68. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.cjs +1 -1
  69. package/dist/components/embed/v3/CrossmintEmbeddedCheckoutV3.js +1 -1
  70. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.cjs +1 -1
  71. package/dist/components/embed/v3/EmbeddedCheckoutV3IFrame.js +1 -1
  72. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.cjs +1 -1
  73. package/dist/components/embed/v3/crypto/CryptoWalletConnectionHandler.js +1 -1
  74. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.cjs +1 -1
  75. package/dist/components/embed/v3/crypto/utils/handleSendTransaction.js +1 -1
  76. package/dist/components/embed/v3/index.cjs +1 -1
  77. package/dist/components/embed/v3/index.js +1 -1
  78. package/dist/components/hosted/CrossmintPayButton_DEPRECATED.cjs +1 -1
  79. package/dist/components/hosted/CrossmintPayButton_DEPRECATED.js +1 -1
  80. package/dist/components/hosted/index.cjs +1 -1
  81. package/dist/components/hosted/index.js +1 -1
  82. package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.cjs +1 -1
  83. package/dist/components/hosted/v3/CrossmintHostedCheckoutV3.js +1 -1
  84. package/dist/components/hosted/v3/index.cjs +1 -1
  85. package/dist/components/hosted/v3/index.js +1 -1
  86. package/dist/components/index.cjs +1 -1
  87. package/dist/components/index.js +1 -1
  88. package/dist/components/signers/EmailOTPInput.cjs +1 -1
  89. package/dist/components/signers/EmailOTPInput.js +1 -1
  90. package/dist/components/signers/EmailSignersDialog.cjs +1 -1
  91. package/dist/components/signers/EmailSignersDialog.d.cts +3 -1
  92. package/dist/components/signers/EmailSignersDialog.d.ts +3 -1
  93. package/dist/components/signers/EmailSignersDialog.js +1 -1
  94. package/dist/consts/version.cjs +1 -1
  95. package/dist/consts/version.js +1 -1
  96. package/dist/hooks/index.cjs +1 -1
  97. package/dist/hooks/index.d.cts +2 -2
  98. package/dist/hooks/index.d.ts +2 -2
  99. package/dist/hooks/index.js +1 -1
  100. package/dist/hooks/useAuth.cjs +1 -1
  101. package/dist/hooks/useAuth.js +1 -1
  102. package/dist/hooks/useCrossmintAuth.cjs +1 -1
  103. package/dist/hooks/useCrossmintAuth.js +1 -1
  104. package/dist/hooks/useCrossmintCheckout.cjs +1 -1
  105. package/dist/hooks/useCrossmintCheckout.js +1 -1
  106. package/dist/hooks/useOAuthWindowListener.cjs +1 -1
  107. package/dist/hooks/useOAuthWindowListener.js +1 -1
  108. package/dist/hooks/useWallet.cjs +1 -1
  109. package/dist/hooks/useWallet.d.cts +7 -68
  110. package/dist/hooks/useWallet.d.ts +7 -68
  111. package/dist/hooks/useWallet.js +1 -1
  112. package/dist/index.cjs +1 -1
  113. package/dist/index.d.cts +3 -3
  114. package/dist/index.d.ts +3 -3
  115. package/dist/index.js +1 -1
  116. package/dist/providers/CrossmintAuthProvider.cjs +1 -1
  117. package/dist/providers/CrossmintAuthProvider.d.cts +2 -3
  118. package/dist/providers/CrossmintAuthProvider.d.ts +2 -3
  119. package/dist/providers/CrossmintAuthProvider.js +1 -1
  120. package/dist/providers/CrossmintWalletProvider.cjs +1 -1
  121. package/dist/providers/CrossmintWalletProvider.d.cts +27 -38
  122. package/dist/providers/CrossmintWalletProvider.d.ts +27 -38
  123. package/dist/providers/CrossmintWalletProvider.js +1 -1
  124. package/dist/providers/auth/AuthFormProvider.cjs +1 -1
  125. package/dist/providers/auth/AuthFormProvider.d.cts +5 -6
  126. package/dist/providers/auth/AuthFormProvider.d.ts +5 -6
  127. package/dist/providers/auth/AuthFormProvider.js +1 -1
  128. package/dist/providers/dynamic/DynamicWalletProvider.cjs +1 -0
  129. package/dist/providers/dynamic/DynamicWalletProvider.d.cts +29 -0
  130. package/dist/providers/dynamic/DynamicWalletProvider.d.ts +29 -0
  131. package/dist/providers/dynamic/DynamicWalletProvider.js +1 -0
  132. package/dist/providers/index.cjs +1 -1
  133. package/dist/providers/index.d.cts +1 -1
  134. package/dist/providers/index.d.ts +1 -1
  135. package/dist/providers/index.js +1 -1
  136. package/dist/types/auth.d.cts +2 -7
  137. package/dist/types/auth.d.ts +2 -7
  138. package/dist/types/wallet.cjs +1 -1
  139. package/dist/types/wallet.d.cts +2 -6
  140. package/dist/types/wallet.d.ts +2 -6
  141. package/dist/types/wallet.js +1 -0
  142. package/dist/utils/createCrossmintApiClient.cjs +1 -1
  143. package/dist/utils/createCrossmintApiClient.js +1 -1
  144. package/dist/utils/errorUtils.cjs +1 -1
  145. package/dist/utils/errorUtils.d.cts +1 -1
  146. package/dist/utils/errorUtils.d.ts +1 -1
  147. package/dist/utils/errorUtils.js +1 -1
  148. package/package.json +7 -7
  149. package/dist/chunk-3U4DUXCZ.cjs +0 -1
  150. package/dist/chunk-AHO6ZTD2.cjs +0 -1
  151. package/dist/chunk-C22ZEFQD.js +0 -1
  152. package/dist/chunk-CDSQUWS7.cjs +0 -1
  153. package/dist/chunk-FFTKGVUN.js +0 -1
  154. package/dist/chunk-GARYGAY7.cjs +0 -1
  155. package/dist/chunk-JOMJPVZA.js +0 -1
  156. package/dist/chunk-LYUOGA56.cjs +0 -1
  157. package/dist/chunk-P6CXZQZI.js +0 -1
  158. package/dist/chunk-P7UQAP6A.js +0 -1
  159. package/dist/chunk-URI4SATB.js +0 -6
  160. package/dist/chunk-VGOZPJQG.cjs +0 -1
  161. package/dist/chunk-WJQ4ZR5O.cjs +0 -6
  162. package/dist/chunk-WQVJJ44F.js +0 -1
  163. package/dist/chunk-ZZYJ6XM2.js +0 -1
  164. package/dist/hooks/useDynamicConnect.cjs +0 -1
  165. package/dist/hooks/useDynamicConnect.d.cts +0 -10
  166. package/dist/hooks/useDynamicConnect.d.ts +0 -10
  167. package/dist/hooks/useDynamicConnect.js +0 -1
  168. package/dist/hooks/useSignerInvisibleIFrame.cjs +0 -1
  169. package/dist/hooks/useSignerInvisibleIFrame.d.cts +0 -493
  170. package/dist/hooks/useSignerInvisibleIFrame.d.ts +0 -493
  171. package/dist/hooks/useSignerInvisibleIFrame.js +0 -1
  172. package/dist/providers/auth/web3/DynamicWeb3WalletConnect.cjs +0 -1
  173. package/dist/providers/auth/web3/DynamicWeb3WalletConnect.d.cts +0 -11
  174. package/dist/providers/auth/web3/DynamicWeb3WalletConnect.d.ts +0 -11
  175. package/dist/providers/auth/web3/DynamicWeb3WalletConnect.js +0 -1
  176. package/dist/providers/signers/CrossmintSignerProvider.cjs +0 -1
  177. package/dist/providers/signers/CrossmintSignerProvider.d.cts +0 -26
  178. package/dist/providers/signers/CrossmintSignerProvider.d.ts +0 -26
  179. package/dist/providers/signers/CrossmintSignerProvider.js +0 -1
  180. package/dist/utils/mapSignerToWalletType.cjs +0 -1
  181. package/dist/utils/mapSignerToWalletType.d.cts +0 -3
  182. package/dist/utils/mapSignerToWalletType.d.ts +0 -3
  183. package/dist/utils/mapSignerToWalletType.js +0 -1
  184. /package/dist/{chunk-2PVYNZP7.cjs → chunk-IXEWRW2O.cjs} +0 -0
  185. /package/dist/{chunk-QVXTNSBH.js → chunk-J2QFL7IO.js} +0 -0
@@ -1,493 +0,0 @@
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(environment: string, url?: string): React.MutableRefObject<IFrameWindow<{
6
- readonly "response:start-onboarding": 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.ZodIntersection<zod.ZodObject<{
22
- status: zod.ZodLiteral<"success">;
23
- }, "strip", zod.ZodTypeAny, {
24
- status: "success";
25
- }, {
26
- status: "success";
27
- }>, zod.ZodUnion<[zod.ZodObject<{
28
- signerStatus: zod.ZodEnum<["ready"]>;
29
- publicKeys: zod.ZodRecord<zod.ZodEnum<["secp256k1", "ed25519"]>, zod.ZodObject<Omit<{
30
- bytes: zod.ZodString;
31
- encoding: zod.ZodEnum<["base58", "base64", "hex"]>;
32
- keyType: zod.ZodEnum<["secp256k1", "ed25519"]>;
33
- }, "keyType">, "strip", zod.ZodTypeAny, {
34
- bytes: string;
35
- encoding: "base58" | "base64" | "hex";
36
- }, {
37
- bytes: string;
38
- encoding: "base58" | "base64" | "hex";
39
- }>>;
40
- }, "strip", zod.ZodTypeAny, {
41
- signerStatus: "ready";
42
- publicKeys: Partial<Record<"secp256k1" | "ed25519", {
43
- bytes: string;
44
- encoding: "base58" | "base64" | "hex";
45
- }>>;
46
- }, {
47
- signerStatus: "ready";
48
- publicKeys: Partial<Record<"secp256k1" | "ed25519", {
49
- bytes: string;
50
- encoding: "base58" | "base64" | "hex";
51
- }>>;
52
- }>, zod.ZodObject<{
53
- signerStatus: zod.ZodEnum<["new-device"]>;
54
- }, "strip", zod.ZodTypeAny, {
55
- signerStatus: "new-device";
56
- }, {
57
- signerStatus: "new-device";
58
- }>]>>]>;
59
- readonly "response:get-attestation": zod.ZodUnion<[zod.ZodObject<{
60
- status: zod.ZodLiteral<"error">;
61
- error: zod.ZodString;
62
- code: zod.ZodOptional<zod.ZodString>;
63
- data: zod.ZodOptional<zod.ZodAny>;
64
- }, "strip", zod.ZodTypeAny, {
65
- status: "error";
66
- error: string;
67
- code?: string | undefined;
68
- data?: any;
69
- }, {
70
- status: "error";
71
- error: string;
72
- code?: string | undefined;
73
- data?: any;
74
- }>, zod.ZodIntersection<zod.ZodObject<{
75
- status: zod.ZodLiteral<"success">;
76
- }, "strip", zod.ZodTypeAny, {
77
- status: "success";
78
- }, {
79
- status: "success";
80
- }>, zod.ZodObject<{
81
- attestationDocument: zod.ZodRecord<zod.ZodString, zod.ZodAny>;
82
- }, "strip", zod.ZodTypeAny, {
83
- attestationDocument: Record<string, any>;
84
- }, {
85
- attestationDocument: Record<string, any>;
86
- }>>]>;
87
- readonly "response:complete-onboarding": zod.ZodUnion<[zod.ZodObject<{
88
- status: zod.ZodLiteral<"error">;
89
- error: zod.ZodString;
90
- code: zod.ZodOptional<zod.ZodString>;
91
- data: zod.ZodOptional<zod.ZodAny>;
92
- }, "strip", zod.ZodTypeAny, {
93
- status: "error";
94
- error: string;
95
- code?: string | undefined;
96
- data?: any;
97
- }, {
98
- status: "error";
99
- error: string;
100
- code?: string | undefined;
101
- data?: any;
102
- }>, zod.ZodIntersection<zod.ZodObject<{
103
- status: zod.ZodLiteral<"success">;
104
- }, "strip", zod.ZodTypeAny, {
105
- status: "success";
106
- }, {
107
- status: "success";
108
- }>, zod.ZodObject<{
109
- signerStatus: zod.ZodEnum<["ready"]>;
110
- publicKeys: zod.ZodRecord<zod.ZodEnum<["secp256k1", "ed25519"]>, zod.ZodObject<Omit<{
111
- bytes: zod.ZodString;
112
- encoding: zod.ZodEnum<["base58", "base64", "hex"]>;
113
- keyType: zod.ZodEnum<["secp256k1", "ed25519"]>;
114
- }, "keyType">, "strip", zod.ZodTypeAny, {
115
- bytes: string;
116
- encoding: "base58" | "base64" | "hex";
117
- }, {
118
- bytes: string;
119
- encoding: "base58" | "base64" | "hex";
120
- }>>;
121
- }, "strip", zod.ZodTypeAny, {
122
- signerStatus: "ready";
123
- publicKeys: Partial<Record<"secp256k1" | "ed25519", {
124
- bytes: string;
125
- encoding: "base58" | "base64" | "hex";
126
- }>>;
127
- }, {
128
- signerStatus: "ready";
129
- publicKeys: Partial<Record<"secp256k1" | "ed25519", {
130
- bytes: string;
131
- encoding: "base58" | "base64" | "hex";
132
- }>>;
133
- }>>]>;
134
- readonly "response:sign": zod.ZodUnion<[zod.ZodObject<{
135
- status: zod.ZodLiteral<"error">;
136
- error: zod.ZodString;
137
- code: zod.ZodOptional<zod.ZodString>;
138
- data: zod.ZodOptional<zod.ZodAny>;
139
- }, "strip", zod.ZodTypeAny, {
140
- status: "error";
141
- error: string;
142
- code?: string | undefined;
143
- data?: any;
144
- }, {
145
- status: "error";
146
- error: string;
147
- code?: string | undefined;
148
- data?: any;
149
- }>, zod.ZodIntersection<zod.ZodObject<{
150
- status: zod.ZodLiteral<"success">;
151
- }, "strip", zod.ZodTypeAny, {
152
- status: "success";
153
- }, {
154
- status: "success";
155
- }>, zod.ZodObject<{
156
- signature: zod.ZodObject<{
157
- bytes: zod.ZodString;
158
- encoding: zod.ZodEnum<["base58", "base64", "hex"]>;
159
- }, "strip", zod.ZodTypeAny, {
160
- bytes: string;
161
- encoding: "base58" | "base64" | "hex";
162
- }, {
163
- bytes: string;
164
- encoding: "base58" | "base64" | "hex";
165
- }>;
166
- publicKey: zod.ZodObject<{
167
- bytes: zod.ZodString;
168
- encoding: zod.ZodEnum<["base58", "base64", "hex"]>;
169
- keyType: zod.ZodEnum<["secp256k1", "ed25519"]>;
170
- }, "strip", zod.ZodTypeAny, {
171
- bytes: string;
172
- encoding: "base58" | "base64" | "hex";
173
- keyType: "secp256k1" | "ed25519";
174
- }, {
175
- bytes: string;
176
- encoding: "base58" | "base64" | "hex";
177
- keyType: "secp256k1" | "ed25519";
178
- }>;
179
- }, "strip", zod.ZodTypeAny, {
180
- publicKey: {
181
- bytes: string;
182
- encoding: "base58" | "base64" | "hex";
183
- keyType: "secp256k1" | "ed25519";
184
- };
185
- signature: {
186
- bytes: string;
187
- encoding: "base58" | "base64" | "hex";
188
- };
189
- }, {
190
- publicKey: {
191
- bytes: string;
192
- encoding: "base58" | "base64" | "hex";
193
- keyType: "secp256k1" | "ed25519";
194
- };
195
- signature: {
196
- bytes: string;
197
- encoding: "base58" | "base64" | "hex";
198
- };
199
- }>>]>;
200
- readonly "response:get-status": zod.ZodUnion<[zod.ZodObject<{
201
- status: zod.ZodLiteral<"error">;
202
- error: zod.ZodString;
203
- code: zod.ZodOptional<zod.ZodString>;
204
- data: zod.ZodOptional<zod.ZodAny>;
205
- }, "strip", zod.ZodTypeAny, {
206
- status: "error";
207
- error: string;
208
- code?: string | undefined;
209
- data?: any;
210
- }, {
211
- status: "error";
212
- error: string;
213
- code?: string | undefined;
214
- data?: any;
215
- }>, zod.ZodIntersection<zod.ZodObject<{
216
- status: zod.ZodLiteral<"success">;
217
- }, "strip", zod.ZodTypeAny, {
218
- status: "success";
219
- }, {
220
- status: "success";
221
- }>, zod.ZodUnion<[zod.ZodObject<{
222
- signerStatus: zod.ZodEnum<["ready"]>;
223
- publicKeys: zod.ZodRecord<zod.ZodEnum<["secp256k1", "ed25519"]>, zod.ZodObject<Omit<{
224
- bytes: zod.ZodString;
225
- encoding: zod.ZodEnum<["base58", "base64", "hex"]>;
226
- keyType: zod.ZodEnum<["secp256k1", "ed25519"]>;
227
- }, "keyType">, "strip", zod.ZodTypeAny, {
228
- bytes: string;
229
- encoding: "base58" | "base64" | "hex";
230
- }, {
231
- bytes: string;
232
- encoding: "base58" | "base64" | "hex";
233
- }>>;
234
- }, "strip", zod.ZodTypeAny, {
235
- signerStatus: "ready";
236
- publicKeys: Partial<Record<"secp256k1" | "ed25519", {
237
- bytes: string;
238
- encoding: "base58" | "base64" | "hex";
239
- }>>;
240
- }, {
241
- signerStatus: "ready";
242
- publicKeys: Partial<Record<"secp256k1" | "ed25519", {
243
- bytes: string;
244
- encoding: "base58" | "base64" | "hex";
245
- }>>;
246
- }>, zod.ZodObject<{
247
- signerStatus: zod.ZodEnum<["new-device"]>;
248
- }, "strip", zod.ZodTypeAny, {
249
- signerStatus: "new-device";
250
- }, {
251
- signerStatus: "new-device";
252
- }>]>>]>;
253
- readonly "response:export-keys": zod.ZodUnion<[zod.ZodObject<{
254
- status: zod.ZodLiteral<"error">;
255
- error: zod.ZodString;
256
- code: zod.ZodOptional<zod.ZodString>;
257
- data: zod.ZodOptional<zod.ZodAny>;
258
- }, "strip", zod.ZodTypeAny, {
259
- status: "error";
260
- error: string;
261
- code?: string | undefined;
262
- data?: any;
263
- }, {
264
- status: "error";
265
- error: string;
266
- code?: string | undefined;
267
- data?: any;
268
- }>, zod.ZodIntersection<zod.ZodObject<{
269
- status: zod.ZodLiteral<"success">;
270
- }, "strip", zod.ZodTypeAny, {
271
- status: "success";
272
- }, {
273
- status: "success";
274
- }>, zod.ZodObject<{
275
- publicKeys: zod.ZodRecord<zod.ZodEnum<["secp256k1", "ed25519"]>, zod.ZodObject<Omit<{
276
- bytes: zod.ZodString;
277
- encoding: zod.ZodEnum<["base58", "base64", "hex"]>;
278
- keyType: zod.ZodEnum<["secp256k1", "ed25519"]>;
279
- }, "keyType">, "strip", zod.ZodTypeAny, {
280
- bytes: string;
281
- encoding: "base58" | "base64" | "hex";
282
- }, {
283
- bytes: string;
284
- encoding: "base58" | "base64" | "hex";
285
- }>>;
286
- }, "strip", zod.ZodTypeAny, {
287
- publicKeys: Partial<Record<"secp256k1" | "ed25519", {
288
- bytes: string;
289
- encoding: "base58" | "base64" | "hex";
290
- }>>;
291
- }, {
292
- publicKeys: Partial<Record<"secp256k1" | "ed25519", {
293
- bytes: string;
294
- encoding: "base58" | "base64" | "hex";
295
- }>>;
296
- }>>]>;
297
- }, {
298
- readonly "request:start-onboarding": zod.ZodObject<{
299
- authData: zod.ZodObject<{
300
- jwt: zod.ZodString;
301
- apiKey: zod.ZodString;
302
- }, "strip", zod.ZodTypeAny, {
303
- jwt: string;
304
- apiKey: string;
305
- }, {
306
- jwt: string;
307
- apiKey: string;
308
- }>;
309
- data: zod.ZodObject<{
310
- authId: zod.ZodString;
311
- }, "strip", zod.ZodTypeAny, {
312
- authId: string;
313
- }, {
314
- authId: string;
315
- }>;
316
- }, "strip", zod.ZodTypeAny, {
317
- authData: {
318
- jwt: string;
319
- apiKey: string;
320
- };
321
- data: {
322
- authId: string;
323
- };
324
- }, {
325
- authData: {
326
- jwt: string;
327
- apiKey: string;
328
- };
329
- data: {
330
- authId: string;
331
- };
332
- }>;
333
- readonly "request:get-attestation": zod.ZodObject<{
334
- challenge: zod.ZodString;
335
- }, "strip", zod.ZodTypeAny, {
336
- challenge: string;
337
- }, {
338
- challenge: string;
339
- }>;
340
- readonly "request:complete-onboarding": zod.ZodObject<{
341
- authData: zod.ZodObject<{
342
- jwt: zod.ZodString;
343
- apiKey: zod.ZodString;
344
- }, "strip", zod.ZodTypeAny, {
345
- jwt: string;
346
- apiKey: string;
347
- }, {
348
- jwt: string;
349
- apiKey: string;
350
- }>;
351
- data: zod.ZodObject<{
352
- onboardingAuthentication: zod.ZodObject<{
353
- encryptedOtp: zod.ZodString;
354
- }, "strip", zod.ZodTypeAny, {
355
- encryptedOtp: string;
356
- }, {
357
- encryptedOtp: string;
358
- }>;
359
- }, "strip", zod.ZodTypeAny, {
360
- onboardingAuthentication: {
361
- encryptedOtp: string;
362
- };
363
- }, {
364
- onboardingAuthentication: {
365
- encryptedOtp: string;
366
- };
367
- }>;
368
- }, "strip", zod.ZodTypeAny, {
369
- authData: {
370
- jwt: string;
371
- apiKey: string;
372
- };
373
- data: {
374
- onboardingAuthentication: {
375
- encryptedOtp: string;
376
- };
377
- };
378
- }, {
379
- authData: {
380
- jwt: string;
381
- apiKey: string;
382
- };
383
- data: {
384
- onboardingAuthentication: {
385
- encryptedOtp: string;
386
- };
387
- };
388
- }>;
389
- readonly "request:sign": zod.ZodObject<{
390
- authData: zod.ZodObject<{
391
- jwt: zod.ZodString;
392
- apiKey: zod.ZodString;
393
- }, "strip", zod.ZodTypeAny, {
394
- jwt: string;
395
- apiKey: string;
396
- }, {
397
- jwt: string;
398
- apiKey: string;
399
- }>;
400
- data: zod.ZodObject<{
401
- keyType: zod.ZodEnum<["secp256k1", "ed25519"]>;
402
- bytes: zod.ZodString;
403
- encoding: zod.ZodEnum<["base58", "base64", "hex"]>;
404
- }, "strip", zod.ZodTypeAny, {
405
- bytes: string;
406
- encoding: "base58" | "base64" | "hex";
407
- keyType: "secp256k1" | "ed25519";
408
- }, {
409
- bytes: string;
410
- encoding: "base58" | "base64" | "hex";
411
- keyType: "secp256k1" | "ed25519";
412
- }>;
413
- }, "strip", zod.ZodTypeAny, {
414
- authData: {
415
- jwt: string;
416
- apiKey: string;
417
- };
418
- data: {
419
- bytes: string;
420
- encoding: "base58" | "base64" | "hex";
421
- keyType: "secp256k1" | "ed25519";
422
- };
423
- }, {
424
- authData: {
425
- jwt: string;
426
- apiKey: string;
427
- };
428
- data: {
429
- bytes: string;
430
- encoding: "base58" | "base64" | "hex";
431
- keyType: "secp256k1" | "ed25519";
432
- };
433
- }>;
434
- readonly "request:get-status": zod.ZodObject<{
435
- authData: zod.ZodObject<{
436
- jwt: zod.ZodString;
437
- apiKey: zod.ZodString;
438
- }, "strip", zod.ZodTypeAny, {
439
- jwt: string;
440
- apiKey: string;
441
- }, {
442
- jwt: string;
443
- apiKey: string;
444
- }>;
445
- }, "strip", zod.ZodTypeAny, {
446
- authData: {
447
- jwt: string;
448
- apiKey: string;
449
- };
450
- }, {
451
- authData: {
452
- jwt: string;
453
- apiKey: string;
454
- };
455
- }>;
456
- readonly "request:export-keys": zod.ZodObject<{
457
- authData: zod.ZodObject<{
458
- jwt: zod.ZodString;
459
- apiKey: zod.ZodString;
460
- }, "strip", zod.ZodTypeAny, {
461
- jwt: string;
462
- apiKey: string;
463
- }, {
464
- jwt: string;
465
- apiKey: string;
466
- }>;
467
- data: zod.ZodObject<{
468
- keyTypes: zod.ZodDefault<zod.ZodArray<zod.ZodEnum<["secp256k1", "ed25519"]>, "many">>;
469
- }, "strip", zod.ZodTypeAny, {
470
- keyTypes: ("secp256k1" | "ed25519")[];
471
- }, {
472
- keyTypes?: ("secp256k1" | "ed25519")[] | undefined;
473
- }>;
474
- }, "strip", zod.ZodTypeAny, {
475
- authData: {
476
- jwt: string;
477
- apiKey: string;
478
- };
479
- data: {
480
- keyTypes: ("secp256k1" | "ed25519")[];
481
- };
482
- }, {
483
- authData: {
484
- jwt: string;
485
- apiKey: string;
486
- };
487
- data: {
488
- keyTypes?: ("secp256k1" | "ed25519")[] | undefined;
489
- };
490
- }>;
491
- }> | null>;
492
-
493
- export { useSignerIFrameWindow };