@crossmint/client-sdk-react-ui 1.19.20 → 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-NKK4PGEL.js → chunk-4556GX3G.js} +1 -1
  4. package/dist/{chunk-BXG2KPPD.js → chunk-5HATMA5N.js} +1 -1
  5. package/dist/{chunk-3ETY45HE.cjs → chunk-5OALKBUX.cjs} +1 -1
  6. package/dist/chunk-6WZW6KZ3.cjs +1 -0
  7. package/dist/{chunk-N255SBZA.cjs → chunk-6Z2HROUQ.cjs} +1 -1
  8. package/dist/{chunk-HIVWKWQ2.cjs → chunk-A7H6M63M.cjs} +1 -1
  9. package/dist/{chunk-D6PUZA5Q.js → chunk-B3UY67U5.js} +1 -1
  10. package/dist/{chunk-A3QBMKZL.js → chunk-CKWLLRTX.js} +1 -1
  11. package/dist/{chunk-GASWSCIL.js → chunk-DWQPB5HZ.js} +1 -1
  12. package/dist/chunk-EH5XD6A5.js +1 -0
  13. package/dist/{chunk-NRA277KB.js → chunk-EI3KLVME.js} +1 -1
  14. package/dist/chunk-FIZ3VF2B.cjs +1 -0
  15. package/dist/{chunk-JW5JLJEM.cjs → chunk-HOW6K2BA.cjs} +1 -1
  16. package/dist/{chunk-ZZDPSTJL.cjs → chunk-JN2PYF4E.cjs} +1 -1
  17. package/dist/{chunk-4WCNDXRL.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-X4HTLBRG.cjs → chunk-RFEZTRN2.cjs} +1 -1
  22. package/dist/{chunk-5ILSA4AV.cjs → chunk-THXQX2XB.cjs} +1 -1
  23. package/dist/{chunk-QY62GXOA.cjs → chunk-VEMJ3QZC.cjs} +1 -1
  24. package/dist/{chunk-N4KWBHJZ.js → chunk-VKQYDNA6.js} +1 -1
  25. package/dist/{chunk-D62R34F3.js → chunk-XLX43RQW.js} +2 -2
  26. package/dist/{chunk-7VCJBUBM.js → chunk-XUDWTWR2.js} +1 -1
  27. package/dist/chunk-YFSV5ASY.cjs +11 -0
  28. package/dist/{chunk-76GGISIW.cjs → chunk-YSLLYWYP.cjs} +1 -1
  29. package/dist/chunk-Z5L5LNGY.cjs +1 -0
  30. package/dist/{chunk-ID64FY43.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 +8 -8
  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-OF5NOVD3.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 -414
  170. package/dist/hooks/useSignerInvisibleIFrame.d.ts +0 -414
  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,414 +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
- }, {
254
- readonly "request:start-onboarding": zod.ZodObject<{
255
- authData: zod.ZodObject<{
256
- jwt: zod.ZodString;
257
- apiKey: zod.ZodString;
258
- }, "strip", zod.ZodTypeAny, {
259
- jwt: string;
260
- apiKey: string;
261
- }, {
262
- jwt: string;
263
- apiKey: string;
264
- }>;
265
- data: zod.ZodObject<{
266
- authId: zod.ZodString;
267
- }, "strip", zod.ZodTypeAny, {
268
- authId: string;
269
- }, {
270
- authId: string;
271
- }>;
272
- }, "strip", zod.ZodTypeAny, {
273
- authData: {
274
- jwt: string;
275
- apiKey: string;
276
- };
277
- data: {
278
- authId: string;
279
- };
280
- }, {
281
- authData: {
282
- jwt: string;
283
- apiKey: string;
284
- };
285
- data: {
286
- authId: string;
287
- };
288
- }>;
289
- readonly "request:get-attestation": zod.ZodObject<{
290
- challenge: zod.ZodString;
291
- }, "strip", zod.ZodTypeAny, {
292
- challenge: string;
293
- }, {
294
- challenge: string;
295
- }>;
296
- readonly "request:complete-onboarding": zod.ZodObject<{
297
- authData: zod.ZodObject<{
298
- jwt: zod.ZodString;
299
- apiKey: zod.ZodString;
300
- }, "strip", zod.ZodTypeAny, {
301
- jwt: string;
302
- apiKey: string;
303
- }, {
304
- jwt: string;
305
- apiKey: string;
306
- }>;
307
- data: zod.ZodObject<{
308
- onboardingAuthentication: zod.ZodObject<{
309
- encryptedOtp: zod.ZodString;
310
- }, "strip", zod.ZodTypeAny, {
311
- encryptedOtp: string;
312
- }, {
313
- encryptedOtp: string;
314
- }>;
315
- }, "strip", zod.ZodTypeAny, {
316
- onboardingAuthentication: {
317
- encryptedOtp: string;
318
- };
319
- }, {
320
- onboardingAuthentication: {
321
- encryptedOtp: string;
322
- };
323
- }>;
324
- }, "strip", zod.ZodTypeAny, {
325
- authData: {
326
- jwt: string;
327
- apiKey: string;
328
- };
329
- data: {
330
- onboardingAuthentication: {
331
- encryptedOtp: string;
332
- };
333
- };
334
- }, {
335
- authData: {
336
- jwt: string;
337
- apiKey: string;
338
- };
339
- data: {
340
- onboardingAuthentication: {
341
- encryptedOtp: string;
342
- };
343
- };
344
- }>;
345
- readonly "request:sign": zod.ZodObject<{
346
- authData: zod.ZodObject<{
347
- jwt: zod.ZodString;
348
- apiKey: zod.ZodString;
349
- }, "strip", zod.ZodTypeAny, {
350
- jwt: string;
351
- apiKey: string;
352
- }, {
353
- jwt: string;
354
- apiKey: string;
355
- }>;
356
- data: zod.ZodObject<{
357
- keyType: zod.ZodEnum<["secp256k1", "ed25519"]>;
358
- bytes: zod.ZodString;
359
- encoding: zod.ZodEnum<["base58", "base64", "hex"]>;
360
- }, "strip", zod.ZodTypeAny, {
361
- bytes: string;
362
- encoding: "base58" | "base64" | "hex";
363
- keyType: "secp256k1" | "ed25519";
364
- }, {
365
- bytes: string;
366
- encoding: "base58" | "base64" | "hex";
367
- keyType: "secp256k1" | "ed25519";
368
- }>;
369
- }, "strip", zod.ZodTypeAny, {
370
- authData: {
371
- jwt: string;
372
- apiKey: string;
373
- };
374
- data: {
375
- bytes: string;
376
- encoding: "base58" | "base64" | "hex";
377
- keyType: "secp256k1" | "ed25519";
378
- };
379
- }, {
380
- authData: {
381
- jwt: string;
382
- apiKey: string;
383
- };
384
- data: {
385
- bytes: string;
386
- encoding: "base58" | "base64" | "hex";
387
- keyType: "secp256k1" | "ed25519";
388
- };
389
- }>;
390
- readonly "request:get-status": zod.ZodObject<{
391
- authData: zod.ZodObject<{
392
- jwt: zod.ZodString;
393
- apiKey: zod.ZodString;
394
- }, "strip", zod.ZodTypeAny, {
395
- jwt: string;
396
- apiKey: string;
397
- }, {
398
- jwt: string;
399
- apiKey: string;
400
- }>;
401
- }, "strip", zod.ZodTypeAny, {
402
- authData: {
403
- jwt: string;
404
- apiKey: string;
405
- };
406
- }, {
407
- authData: {
408
- jwt: string;
409
- apiKey: string;
410
- };
411
- }>;
412
- }> | null>;
413
-
414
- export { useSignerIFrameWindow };