@dynamic-labs/wallet-book 0.0.0-exp20240808.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 (117) hide show
  1. package/CHANGELOG.md +3746 -0
  2. package/LICENSE +21 -0
  3. package/README.md +142 -0
  4. package/_virtual/_tslib.cjs +49 -0
  5. package/_virtual/_tslib.js +44 -0
  6. package/package.json +38 -0
  7. package/src/build/index.d.ts +76 -0
  8. package/src/build/sources/firstParty/index.d.ts +2 -0
  9. package/src/build/sources/index.d.ts +4 -0
  10. package/src/build/sources/walletConnect/index.d.ts +128 -0
  11. package/src/build/sources/walletConnect/preprocessors.d.ts +14 -0
  12. package/src/build/sources/walletConnectOverrides/index.d.ts +197 -0
  13. package/src/build/sources/walletGroups/index.d.ts +2 -0
  14. package/src/components/BrandIcon.cjs +27 -0
  15. package/src/components/BrandIcon.d.ts +8 -0
  16. package/src/components/BrandIcon.js +23 -0
  17. package/src/components/WalletBookContext.cjs +14 -0
  18. package/src/components/WalletBookContext.d.ts +9 -0
  19. package/src/components/WalletBookContext.js +9 -0
  20. package/src/components/WalletIcon.cjs +34 -0
  21. package/src/components/WalletIcon.d.ts +8 -0
  22. package/src/components/WalletIcon.js +30 -0
  23. package/src/components/index.d.ts +3 -0
  24. package/src/helpers/findWalletBookWallet.cjs +18 -0
  25. package/src/helpers/findWalletBookWallet.d.ts +70 -0
  26. package/src/helpers/findWalletBookWallet.js +14 -0
  27. package/src/helpers/findWalletGroup.cjs +19 -0
  28. package/src/helpers/findWalletGroup.d.ts +18 -0
  29. package/src/helpers/findWalletGroup.js +15 -0
  30. package/src/helpers/findWalletGroupOverride.cjs +14 -0
  31. package/src/helpers/findWalletGroupOverride.d.ts +3 -0
  32. package/src/helpers/findWalletGroupOverride.js +10 -0
  33. package/src/helpers/getBrandIconUrl.cjs +15 -0
  34. package/src/helpers/getBrandIconUrl.d.ts +2 -0
  35. package/src/helpers/getBrandIconUrl.js +11 -0
  36. package/src/helpers/getWalletBookCdnUrl.cjs +14 -0
  37. package/src/helpers/getWalletBookCdnUrl.d.ts +1 -0
  38. package/src/helpers/getWalletBookCdnUrl.js +10 -0
  39. package/src/helpers/getWalletBookWallet.cjs +17 -0
  40. package/src/helpers/getWalletBookWallet.d.ts +2 -0
  41. package/src/helpers/getWalletBookWallet.js +13 -0
  42. package/src/helpers/getWalletGroup.cjs +13 -0
  43. package/src/helpers/getWalletGroup.d.ts +3 -0
  44. package/src/helpers/getWalletGroup.js +9 -0
  45. package/src/helpers/getWalletIconUrl.cjs +34 -0
  46. package/src/helpers/getWalletIconUrl.d.ts +3 -0
  47. package/src/helpers/getWalletIconUrl.js +29 -0
  48. package/src/helpers/getWalletLinks.cjs +34 -0
  49. package/src/helpers/getWalletLinks.d.ts +10 -0
  50. package/src/helpers/getWalletLinks.js +30 -0
  51. package/src/helpers/getWalletPrimaryColor.cjs +14 -0
  52. package/src/helpers/getWalletPrimaryColor.d.ts +2 -0
  53. package/src/helpers/getWalletPrimaryColor.js +10 -0
  54. package/src/helpers/index.d.ts +14 -0
  55. package/src/helpers/isWalletEventSupported.cjs +8 -0
  56. package/src/helpers/isWalletEventSupported.d.ts +2 -0
  57. package/src/helpers/isWalletEventSupported.js +4 -0
  58. package/src/helpers/isWalletMethodSupported.cjs +8 -0
  59. package/src/helpers/isWalletMethodSupported.d.ts +2 -0
  60. package/src/helpers/isWalletMethodSupported.js +4 -0
  61. package/src/helpers/logger.cjs +10 -0
  62. package/src/helpers/logger.d.ts +2 -0
  63. package/src/helpers/logger.js +6 -0
  64. package/src/helpers/renderTemplate.cjs +23 -0
  65. package/src/helpers/renderTemplate.d.ts +12 -0
  66. package/src/helpers/renderTemplate.js +19 -0
  67. package/src/hooks/index.d.ts +2 -0
  68. package/src/hooks/useWalletBookCdn.cjs +51 -0
  69. package/src/hooks/useWalletBookCdn.d.ts +88 -0
  70. package/src/hooks/useWalletBookCdn.js +47 -0
  71. package/src/hooks/useWalletBookContext.cjs +24 -0
  72. package/src/hooks/useWalletBookContext.d.ts +1 -0
  73. package/src/hooks/useWalletBookContext.js +20 -0
  74. package/src/index.cjs +44 -0
  75. package/src/index.d.ts +18 -0
  76. package/src/index.js +20 -0
  77. package/src/schemas/index.d.ts +3 -0
  78. package/src/schemas/utils/filterEmptyObject.cjs +13 -0
  79. package/src/schemas/utils/filterEmptyObject.d.ts +6 -0
  80. package/src/schemas/utils/filterEmptyObject.js +9 -0
  81. package/src/schemas/utils/nonEmptyString.cjs +13 -0
  82. package/src/schemas/utils/nonEmptyString.d.ts +5 -0
  83. package/src/schemas/utils/nonEmptyString.js +9 -0
  84. package/src/schemas/utils/nonEmptyStringArray.cjs +13 -0
  85. package/src/schemas/utils/nonEmptyStringArray.d.ts +5 -0
  86. package/src/schemas/utils/nonEmptyStringArray.js +9 -0
  87. package/src/schemas/utils/processWalletConnectNativeUrl.d.ts +1 -0
  88. package/src/schemas/utils/sortKeys.d.ts +5 -0
  89. package/src/schemas/utils/transformAndroidId.cjs +24 -0
  90. package/src/schemas/utils/transformAndroidId.d.ts +1 -0
  91. package/src/schemas/utils/transformAndroidId.js +20 -0
  92. package/src/schemas/utils/transformChromeExtensionId.cjs +21 -0
  93. package/src/schemas/utils/transformChromeExtensionId.d.ts +1 -0
  94. package/src/schemas/utils/transformChromeExtensionId.js +17 -0
  95. package/src/schemas/utils/transformEdgeExtensionId.cjs +21 -0
  96. package/src/schemas/utils/transformEdgeExtensionId.d.ts +1 -0
  97. package/src/schemas/utils/transformEdgeExtensionId.js +17 -0
  98. package/src/schemas/utils/transformFirefoxExtensionId.cjs +21 -0
  99. package/src/schemas/utils/transformFirefoxExtensionId.d.ts +1 -0
  100. package/src/schemas/utils/transformFirefoxExtensionId.js +17 -0
  101. package/src/schemas/utils/transformIosId.cjs +28 -0
  102. package/src/schemas/utils/transformIosId.d.ts +1 -0
  103. package/src/schemas/utils/transformIosId.js +24 -0
  104. package/src/schemas/walletBookSchema.cjs +17 -0
  105. package/src/schemas/walletBookSchema.d.ts +1369 -0
  106. package/src/schemas/walletBookSchema.js +13 -0
  107. package/src/schemas/walletConnectSourceSchema.cjs +78 -0
  108. package/src/schemas/walletConnectSourceSchema.d.ts +516 -0
  109. package/src/schemas/walletConnectSourceSchema.js +74 -0
  110. package/src/schemas/walletGroup.cjs +27 -0
  111. package/src/schemas/walletGroup.d.ts +113 -0
  112. package/src/schemas/walletGroup.js +23 -0
  113. package/src/schemas/walletSchema.cjs +141 -0
  114. package/src/schemas/walletSchema.d.ts +614 -0
  115. package/src/schemas/walletSchema.js +136 -0
  116. package/wallet-book-fallbacks.cjs +1082 -0
  117. package/wallet-book-fallbacks.js +1076 -0
@@ -0,0 +1,1369 @@
1
+ import { z } from 'zod';
2
+ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodEffects<z.ZodObject<{
3
+ brand: z.ZodOptional<z.ZodObject<{
4
+ alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
5
+ primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
6
+ spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ alt?: string | undefined;
9
+ primaryColor?: string | undefined;
10
+ spriteId?: string | undefined;
11
+ }, {
12
+ alt?: unknown;
13
+ primaryColor?: unknown;
14
+ spriteId?: unknown;
15
+ }>>;
16
+ chainGroup: z.ZodOptional<z.ZodString>;
17
+ chains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
18
+ desktop: z.ZodEffects<z.ZodOptional<z.ZodObject<{
19
+ chromeId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
20
+ edgeId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
21
+ firefoxId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
22
+ native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
23
+ operaId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
24
+ safariId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
25
+ universal: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
26
+ }, "strip", z.ZodTypeAny, {
27
+ chromeId?: string | undefined;
28
+ edgeId?: string | undefined;
29
+ firefoxId?: string | undefined;
30
+ native?: string | undefined;
31
+ operaId?: string | undefined;
32
+ safariId?: string | undefined;
33
+ universal?: string | undefined;
34
+ }, {
35
+ chromeId?: unknown;
36
+ edgeId?: unknown;
37
+ firefoxId?: unknown;
38
+ native?: unknown;
39
+ operaId?: unknown;
40
+ safariId?: unknown;
41
+ universal?: unknown;
42
+ }>>, {
43
+ chromeId?: string | undefined;
44
+ edgeId?: string | undefined;
45
+ firefoxId?: string | undefined;
46
+ native?: string | undefined;
47
+ operaId?: string | undefined;
48
+ safariId?: string | undefined;
49
+ universal?: string | undefined;
50
+ } | undefined, {
51
+ chromeId?: unknown;
52
+ edgeId?: unknown;
53
+ firefoxId?: unknown;
54
+ native?: unknown;
55
+ operaId?: unknown;
56
+ safariId?: unknown;
57
+ universal?: unknown;
58
+ } | undefined>;
59
+ eip6963Config: z.ZodOptional<z.ZodObject<{
60
+ rdns: z.ZodString;
61
+ }, "strip", z.ZodTypeAny, {
62
+ rdns: string;
63
+ }, {
64
+ rdns: string;
65
+ }>>;
66
+ filterFromWalletConnect: z.ZodOptional<z.ZodBoolean>;
67
+ group: z.ZodOptional<z.ZodString>;
68
+ hardwareWallets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
69
+ injectedConfig: z.ZodOptional<z.ZodArray<z.ZodObject<{
70
+ chain: z.ZodString;
71
+ extensionLocators: z.ZodArray<z.ZodObject<{
72
+ flag: z.ZodString;
73
+ value: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
74
+ }, "strip", z.ZodTypeAny, {
75
+ value: boolean;
76
+ flag: string;
77
+ }, {
78
+ flag: string;
79
+ value?: boolean | undefined;
80
+ }>, "many">;
81
+ providerInterface: z.ZodOptional<z.ZodString>;
82
+ walletStandard: z.ZodOptional<z.ZodObject<{
83
+ features: z.ZodArray<z.ZodString, "many">;
84
+ name: z.ZodString;
85
+ }, "strip", z.ZodTypeAny, {
86
+ features: string[];
87
+ name: string;
88
+ }, {
89
+ features: string[];
90
+ name: string;
91
+ }>>;
92
+ walletStandardLocators: z.ZodOptional<z.ZodArray<z.ZodObject<{
93
+ locator: z.ZodString;
94
+ name: z.ZodString;
95
+ }, "strip", z.ZodTypeAny, {
96
+ name: string;
97
+ locator: string;
98
+ }, {
99
+ name: string;
100
+ locator: string;
101
+ }>, "many">>;
102
+ windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
103
+ }, "strip", z.ZodTypeAny, {
104
+ chain: string;
105
+ extensionLocators: {
106
+ value: boolean;
107
+ flag: string;
108
+ }[];
109
+ providerInterface?: string | undefined;
110
+ walletStandard?: {
111
+ features: string[];
112
+ name: string;
113
+ } | undefined;
114
+ walletStandardLocators?: {
115
+ name: string;
116
+ locator: string;
117
+ }[] | undefined;
118
+ windowLocations?: string[] | undefined;
119
+ }, {
120
+ chain: string;
121
+ extensionLocators: {
122
+ flag: string;
123
+ value?: boolean | undefined;
124
+ }[];
125
+ providerInterface?: string | undefined;
126
+ walletStandard?: {
127
+ features: string[];
128
+ name: string;
129
+ } | undefined;
130
+ walletStandardLocators?: {
131
+ name: string;
132
+ locator: string;
133
+ }[] | undefined;
134
+ windowLocations?: string[] | undefined;
135
+ }>, "many">>;
136
+ mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
137
+ android: z.ZodOptional<z.ZodNullable<z.ZodString>>;
138
+ androidId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
139
+ inAppBrowser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
140
+ ios: z.ZodOptional<z.ZodNullable<z.ZodString>>;
141
+ iosId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
142
+ native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
143
+ universal: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
144
+ }, "strip", z.ZodTypeAny, {
145
+ android?: string | null | undefined;
146
+ androidId?: string | undefined;
147
+ inAppBrowser?: string | null | undefined;
148
+ ios?: string | null | undefined;
149
+ iosId?: string | undefined;
150
+ native?: string | undefined;
151
+ universal?: string | undefined;
152
+ }, {
153
+ android?: string | null | undefined;
154
+ androidId?: unknown;
155
+ inAppBrowser?: string | null | undefined;
156
+ ios?: string | null | undefined;
157
+ iosId?: unknown;
158
+ native?: unknown;
159
+ universal?: unknown;
160
+ }>>, {
161
+ android?: string | null | undefined;
162
+ androidId?: string | undefined;
163
+ inAppBrowser?: string | null | undefined;
164
+ ios?: string | null | undefined;
165
+ iosId?: string | undefined;
166
+ native?: string | undefined;
167
+ universal?: string | undefined;
168
+ } | undefined, {
169
+ android?: string | null | undefined;
170
+ androidId?: unknown;
171
+ inAppBrowser?: string | null | undefined;
172
+ ios?: string | null | undefined;
173
+ iosId?: unknown;
174
+ native?: unknown;
175
+ universal?: unknown;
176
+ } | undefined>;
177
+ mobileExperience: z.ZodOptional<z.ZodEnum<["in-app-browser", "redirect"]>>;
178
+ name: z.ZodString;
179
+ shortName: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
180
+ showOnlyIfInstalled: z.ZodOptional<z.ZodBoolean>;
181
+ switchNetworkOnlyFromWallet: z.ZodOptional<z.ZodBoolean>;
182
+ walletConnect: z.ZodEffects<z.ZodOptional<z.ZodObject<{
183
+ sdks: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, unknown>;
184
+ }, "strip", z.ZodTypeAny, {
185
+ sdks?: string[] | undefined;
186
+ }, {
187
+ sdks?: unknown;
188
+ }>>, {
189
+ sdks?: string[] | undefined;
190
+ } | undefined, {
191
+ sdks?: unknown;
192
+ } | undefined>;
193
+ walletGroup: z.ZodOptional<z.ZodString>;
194
+ walletLimitations: z.ZodOptional<z.ZodObject<{
195
+ browserExtension: z.ZodOptional<z.ZodObject<{
196
+ unsupportedEvents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
197
+ unsupportedMethods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
198
+ }, "strip", z.ZodTypeAny, {
199
+ unsupportedEvents?: string[] | undefined;
200
+ unsupportedMethods?: string[] | undefined;
201
+ }, {
202
+ unsupportedEvents?: string[] | undefined;
203
+ unsupportedMethods?: string[] | undefined;
204
+ }>>;
205
+ mobile: z.ZodOptional<z.ZodObject<{
206
+ unsupportedEvents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
207
+ unsupportedMethods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
208
+ }, "strip", z.ZodTypeAny, {
209
+ unsupportedEvents?: string[] | undefined;
210
+ unsupportedMethods?: string[] | undefined;
211
+ }, {
212
+ unsupportedEvents?: string[] | undefined;
213
+ unsupportedMethods?: string[] | undefined;
214
+ }>>;
215
+ }, "strip", z.ZodTypeAny, {
216
+ browserExtension?: {
217
+ unsupportedEvents?: string[] | undefined;
218
+ unsupportedMethods?: string[] | undefined;
219
+ } | undefined;
220
+ mobile?: {
221
+ unsupportedEvents?: string[] | undefined;
222
+ unsupportedMethods?: string[] | undefined;
223
+ } | undefined;
224
+ }, {
225
+ browserExtension?: {
226
+ unsupportedEvents?: string[] | undefined;
227
+ unsupportedMethods?: string[] | undefined;
228
+ } | undefined;
229
+ mobile?: {
230
+ unsupportedEvents?: string[] | undefined;
231
+ unsupportedMethods?: string[] | undefined;
232
+ } | undefined;
233
+ }>>;
234
+ }, "strip", z.ZodTypeAny, {
235
+ name: string;
236
+ brand?: {
237
+ alt?: string | undefined;
238
+ primaryColor?: string | undefined;
239
+ spriteId?: string | undefined;
240
+ } | undefined;
241
+ chainGroup?: string | undefined;
242
+ chains?: string[] | undefined;
243
+ desktop?: {
244
+ chromeId?: string | undefined;
245
+ edgeId?: string | undefined;
246
+ firefoxId?: string | undefined;
247
+ native?: string | undefined;
248
+ operaId?: string | undefined;
249
+ safariId?: string | undefined;
250
+ universal?: string | undefined;
251
+ } | undefined;
252
+ eip6963Config?: {
253
+ rdns: string;
254
+ } | undefined;
255
+ filterFromWalletConnect?: boolean | undefined;
256
+ group?: string | undefined;
257
+ hardwareWallets?: string[] | undefined;
258
+ injectedConfig?: {
259
+ chain: string;
260
+ extensionLocators: {
261
+ value: boolean;
262
+ flag: string;
263
+ }[];
264
+ providerInterface?: string | undefined;
265
+ walletStandard?: {
266
+ features: string[];
267
+ name: string;
268
+ } | undefined;
269
+ walletStandardLocators?: {
270
+ name: string;
271
+ locator: string;
272
+ }[] | undefined;
273
+ windowLocations?: string[] | undefined;
274
+ }[] | undefined;
275
+ mobile?: {
276
+ android?: string | null | undefined;
277
+ androidId?: string | undefined;
278
+ inAppBrowser?: string | null | undefined;
279
+ ios?: string | null | undefined;
280
+ iosId?: string | undefined;
281
+ native?: string | undefined;
282
+ universal?: string | undefined;
283
+ } | undefined;
284
+ mobileExperience?: "in-app-browser" | "redirect" | undefined;
285
+ shortName?: string | undefined;
286
+ showOnlyIfInstalled?: boolean | undefined;
287
+ switchNetworkOnlyFromWallet?: boolean | undefined;
288
+ walletConnect?: {
289
+ sdks?: string[] | undefined;
290
+ } | undefined;
291
+ walletGroup?: string | undefined;
292
+ walletLimitations?: {
293
+ browserExtension?: {
294
+ unsupportedEvents?: string[] | undefined;
295
+ unsupportedMethods?: string[] | undefined;
296
+ } | undefined;
297
+ mobile?: {
298
+ unsupportedEvents?: string[] | undefined;
299
+ unsupportedMethods?: string[] | undefined;
300
+ } | undefined;
301
+ } | undefined;
302
+ }, {
303
+ name: string;
304
+ brand?: {
305
+ alt?: unknown;
306
+ primaryColor?: unknown;
307
+ spriteId?: unknown;
308
+ } | undefined;
309
+ chainGroup?: string | undefined;
310
+ chains?: string[] | undefined;
311
+ desktop?: {
312
+ chromeId?: unknown;
313
+ edgeId?: unknown;
314
+ firefoxId?: unknown;
315
+ native?: unknown;
316
+ operaId?: unknown;
317
+ safariId?: unknown;
318
+ universal?: unknown;
319
+ } | undefined;
320
+ eip6963Config?: {
321
+ rdns: string;
322
+ } | undefined;
323
+ filterFromWalletConnect?: boolean | undefined;
324
+ group?: string | undefined;
325
+ hardwareWallets?: string[] | undefined;
326
+ injectedConfig?: {
327
+ chain: string;
328
+ extensionLocators: {
329
+ flag: string;
330
+ value?: boolean | undefined;
331
+ }[];
332
+ providerInterface?: string | undefined;
333
+ walletStandard?: {
334
+ features: string[];
335
+ name: string;
336
+ } | undefined;
337
+ walletStandardLocators?: {
338
+ name: string;
339
+ locator: string;
340
+ }[] | undefined;
341
+ windowLocations?: string[] | undefined;
342
+ }[] | undefined;
343
+ mobile?: {
344
+ android?: string | null | undefined;
345
+ androidId?: unknown;
346
+ inAppBrowser?: string | null | undefined;
347
+ ios?: string | null | undefined;
348
+ iosId?: unknown;
349
+ native?: unknown;
350
+ universal?: unknown;
351
+ } | undefined;
352
+ mobileExperience?: "in-app-browser" | "redirect" | undefined;
353
+ shortName?: unknown;
354
+ showOnlyIfInstalled?: boolean | undefined;
355
+ switchNetworkOnlyFromWallet?: boolean | undefined;
356
+ walletConnect?: {
357
+ sdks?: unknown;
358
+ } | undefined;
359
+ walletGroup?: string | undefined;
360
+ walletLimitations?: {
361
+ browserExtension?: {
362
+ unsupportedEvents?: string[] | undefined;
363
+ unsupportedMethods?: string[] | undefined;
364
+ } | undefined;
365
+ mobile?: {
366
+ unsupportedEvents?: string[] | undefined;
367
+ unsupportedMethods?: string[] | undefined;
368
+ } | undefined;
369
+ } | undefined;
370
+ }>, {
371
+ name: string;
372
+ brand?: {
373
+ alt?: string | undefined;
374
+ primaryColor?: string | undefined;
375
+ spriteId?: string | undefined;
376
+ } | undefined;
377
+ chainGroup?: string | undefined;
378
+ chains?: string[] | undefined;
379
+ desktop?: {
380
+ chromeId?: string | undefined;
381
+ edgeId?: string | undefined;
382
+ firefoxId?: string | undefined;
383
+ native?: string | undefined;
384
+ operaId?: string | undefined;
385
+ safariId?: string | undefined;
386
+ universal?: string | undefined;
387
+ } | undefined;
388
+ eip6963Config?: {
389
+ rdns: string;
390
+ } | undefined;
391
+ filterFromWalletConnect?: boolean | undefined;
392
+ group?: string | undefined;
393
+ hardwareWallets?: string[] | undefined;
394
+ injectedConfig?: {
395
+ chain: string;
396
+ extensionLocators: {
397
+ value: boolean;
398
+ flag: string;
399
+ }[];
400
+ providerInterface?: string | undefined;
401
+ walletStandard?: {
402
+ features: string[];
403
+ name: string;
404
+ } | undefined;
405
+ walletStandardLocators?: {
406
+ name: string;
407
+ locator: string;
408
+ }[] | undefined;
409
+ windowLocations?: string[] | undefined;
410
+ }[] | undefined;
411
+ mobile?: {
412
+ android?: string | null | undefined;
413
+ androidId?: string | undefined;
414
+ inAppBrowser?: string | null | undefined;
415
+ ios?: string | null | undefined;
416
+ iosId?: string | undefined;
417
+ native?: string | undefined;
418
+ universal?: string | undefined;
419
+ } | undefined;
420
+ mobileExperience?: "in-app-browser" | "redirect" | undefined;
421
+ shortName?: string | undefined;
422
+ showOnlyIfInstalled?: boolean | undefined;
423
+ switchNetworkOnlyFromWallet?: boolean | undefined;
424
+ walletConnect?: {
425
+ sdks?: string[] | undefined;
426
+ } | undefined;
427
+ walletGroup?: string | undefined;
428
+ walletLimitations?: {
429
+ browserExtension?: {
430
+ unsupportedEvents?: string[] | undefined;
431
+ unsupportedMethods?: string[] | undefined;
432
+ } | undefined;
433
+ mobile?: {
434
+ unsupportedEvents?: string[] | undefined;
435
+ unsupportedMethods?: string[] | undefined;
436
+ } | undefined;
437
+ } | undefined;
438
+ }, unknown>, {
439
+ name: string;
440
+ brand?: {
441
+ alt?: string | undefined;
442
+ primaryColor?: string | undefined;
443
+ spriteId?: string | undefined;
444
+ } | undefined;
445
+ chainGroup?: string | undefined;
446
+ chains?: string[] | undefined;
447
+ desktop?: {
448
+ chromeId?: string | undefined;
449
+ edgeId?: string | undefined;
450
+ firefoxId?: string | undefined;
451
+ native?: string | undefined;
452
+ operaId?: string | undefined;
453
+ safariId?: string | undefined;
454
+ universal?: string | undefined;
455
+ } | undefined;
456
+ eip6963Config?: {
457
+ rdns: string;
458
+ } | undefined;
459
+ filterFromWalletConnect?: boolean | undefined;
460
+ group?: string | undefined;
461
+ hardwareWallets?: string[] | undefined;
462
+ injectedConfig?: {
463
+ chain: string;
464
+ extensionLocators: {
465
+ value: boolean;
466
+ flag: string;
467
+ }[];
468
+ providerInterface?: string | undefined;
469
+ walletStandard?: {
470
+ features: string[];
471
+ name: string;
472
+ } | undefined;
473
+ walletStandardLocators?: {
474
+ name: string;
475
+ locator: string;
476
+ }[] | undefined;
477
+ windowLocations?: string[] | undefined;
478
+ }[] | undefined;
479
+ mobile?: {
480
+ android?: string | null | undefined;
481
+ androidId?: string | undefined;
482
+ inAppBrowser?: string | null | undefined;
483
+ ios?: string | null | undefined;
484
+ iosId?: string | undefined;
485
+ native?: string | undefined;
486
+ universal?: string | undefined;
487
+ } | undefined;
488
+ mobileExperience?: "in-app-browser" | "redirect" | undefined;
489
+ shortName?: string | undefined;
490
+ showOnlyIfInstalled?: boolean | undefined;
491
+ switchNetworkOnlyFromWallet?: boolean | undefined;
492
+ walletConnect?: {
493
+ sdks?: string[] | undefined;
494
+ } | undefined;
495
+ walletGroup?: string | undefined;
496
+ walletLimitations?: {
497
+ browserExtension?: {
498
+ unsupportedEvents?: string[] | undefined;
499
+ unsupportedMethods?: string[] | undefined;
500
+ } | undefined;
501
+ mobile?: {
502
+ unsupportedEvents?: string[] | undefined;
503
+ unsupportedMethods?: string[] | undefined;
504
+ } | undefined;
505
+ } | undefined;
506
+ }, unknown>>;
507
+ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
508
+ groups: z.ZodRecord<z.ZodString, z.ZodObject<{
509
+ brand: z.ZodOptional<z.ZodObject<{
510
+ alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
511
+ primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
512
+ spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
513
+ }, "strip", z.ZodTypeAny, {
514
+ alt?: string | undefined;
515
+ primaryColor?: string | undefined;
516
+ spriteId?: string | undefined;
517
+ }, {
518
+ alt?: unknown;
519
+ primaryColor?: unknown;
520
+ spriteId?: unknown;
521
+ }>>;
522
+ key: z.ZodString;
523
+ name: z.ZodString;
524
+ walletOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
525
+ brand: z.ZodOptional<z.ZodObject<{
526
+ alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
527
+ primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
528
+ spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
529
+ }, "strip", z.ZodTypeAny, {
530
+ alt?: string | undefined;
531
+ primaryColor?: string | undefined;
532
+ spriteId?: string | undefined;
533
+ }, {
534
+ alt?: unknown;
535
+ primaryColor?: unknown;
536
+ spriteId?: unknown;
537
+ }>>;
538
+ name: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
539
+ }, "strip", z.ZodTypeAny, {
540
+ brand?: {
541
+ alt?: string | undefined;
542
+ primaryColor?: string | undefined;
543
+ spriteId?: string | undefined;
544
+ } | undefined;
545
+ name?: string | undefined;
546
+ }, {
547
+ brand?: {
548
+ alt?: unknown;
549
+ primaryColor?: unknown;
550
+ spriteId?: unknown;
551
+ } | undefined;
552
+ name?: unknown;
553
+ }>>>;
554
+ }, "strip", z.ZodTypeAny, {
555
+ name: string;
556
+ key: string;
557
+ brand?: {
558
+ alt?: string | undefined;
559
+ primaryColor?: string | undefined;
560
+ spriteId?: string | undefined;
561
+ } | undefined;
562
+ walletOverrides?: Record<string, {
563
+ brand?: {
564
+ alt?: string | undefined;
565
+ primaryColor?: string | undefined;
566
+ spriteId?: string | undefined;
567
+ } | undefined;
568
+ name?: string | undefined;
569
+ }> | undefined;
570
+ }, {
571
+ name: string;
572
+ key: string;
573
+ brand?: {
574
+ alt?: unknown;
575
+ primaryColor?: unknown;
576
+ spriteId?: unknown;
577
+ } | undefined;
578
+ walletOverrides?: Record<string, {
579
+ brand?: {
580
+ alt?: unknown;
581
+ primaryColor?: unknown;
582
+ spriteId?: unknown;
583
+ } | undefined;
584
+ name?: unknown;
585
+ }> | undefined;
586
+ }>>;
587
+ wallets: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodEffects<z.ZodObject<{
588
+ brand: z.ZodOptional<z.ZodObject<{
589
+ alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
590
+ primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
591
+ spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
592
+ }, "strip", z.ZodTypeAny, {
593
+ alt?: string | undefined;
594
+ primaryColor?: string | undefined;
595
+ spriteId?: string | undefined;
596
+ }, {
597
+ alt?: unknown;
598
+ primaryColor?: unknown;
599
+ spriteId?: unknown;
600
+ }>>;
601
+ chainGroup: z.ZodOptional<z.ZodString>;
602
+ chains: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
603
+ desktop: z.ZodEffects<z.ZodOptional<z.ZodObject<{
604
+ chromeId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
605
+ edgeId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
606
+ firefoxId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
607
+ native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
608
+ operaId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
609
+ safariId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
610
+ universal: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
611
+ }, "strip", z.ZodTypeAny, {
612
+ chromeId?: string | undefined;
613
+ edgeId?: string | undefined;
614
+ firefoxId?: string | undefined;
615
+ native?: string | undefined;
616
+ operaId?: string | undefined;
617
+ safariId?: string | undefined;
618
+ universal?: string | undefined;
619
+ }, {
620
+ chromeId?: unknown;
621
+ edgeId?: unknown;
622
+ firefoxId?: unknown;
623
+ native?: unknown;
624
+ operaId?: unknown;
625
+ safariId?: unknown;
626
+ universal?: unknown;
627
+ }>>, {
628
+ chromeId?: string | undefined;
629
+ edgeId?: string | undefined;
630
+ firefoxId?: string | undefined;
631
+ native?: string | undefined;
632
+ operaId?: string | undefined;
633
+ safariId?: string | undefined;
634
+ universal?: string | undefined;
635
+ } | undefined, {
636
+ chromeId?: unknown;
637
+ edgeId?: unknown;
638
+ firefoxId?: unknown;
639
+ native?: unknown;
640
+ operaId?: unknown;
641
+ safariId?: unknown;
642
+ universal?: unknown;
643
+ } | undefined>;
644
+ eip6963Config: z.ZodOptional<z.ZodObject<{
645
+ rdns: z.ZodString;
646
+ }, "strip", z.ZodTypeAny, {
647
+ rdns: string;
648
+ }, {
649
+ rdns: string;
650
+ }>>;
651
+ filterFromWalletConnect: z.ZodOptional<z.ZodBoolean>;
652
+ group: z.ZodOptional<z.ZodString>;
653
+ hardwareWallets: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
654
+ injectedConfig: z.ZodOptional<z.ZodArray<z.ZodObject<{
655
+ chain: z.ZodString;
656
+ extensionLocators: z.ZodArray<z.ZodObject<{
657
+ flag: z.ZodString;
658
+ value: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
659
+ }, "strip", z.ZodTypeAny, {
660
+ value: boolean;
661
+ flag: string;
662
+ }, {
663
+ flag: string;
664
+ value?: boolean | undefined;
665
+ }>, "many">;
666
+ providerInterface: z.ZodOptional<z.ZodString>;
667
+ walletStandard: z.ZodOptional<z.ZodObject<{
668
+ features: z.ZodArray<z.ZodString, "many">;
669
+ name: z.ZodString;
670
+ }, "strip", z.ZodTypeAny, {
671
+ features: string[];
672
+ name: string;
673
+ }, {
674
+ features: string[];
675
+ name: string;
676
+ }>>;
677
+ walletStandardLocators: z.ZodOptional<z.ZodArray<z.ZodObject<{
678
+ locator: z.ZodString;
679
+ name: z.ZodString;
680
+ }, "strip", z.ZodTypeAny, {
681
+ name: string;
682
+ locator: string;
683
+ }, {
684
+ name: string;
685
+ locator: string;
686
+ }>, "many">>;
687
+ windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
688
+ }, "strip", z.ZodTypeAny, {
689
+ chain: string;
690
+ extensionLocators: {
691
+ value: boolean;
692
+ flag: string;
693
+ }[];
694
+ providerInterface?: string | undefined;
695
+ walletStandard?: {
696
+ features: string[];
697
+ name: string;
698
+ } | undefined;
699
+ walletStandardLocators?: {
700
+ name: string;
701
+ locator: string;
702
+ }[] | undefined;
703
+ windowLocations?: string[] | undefined;
704
+ }, {
705
+ chain: string;
706
+ extensionLocators: {
707
+ flag: string;
708
+ value?: boolean | undefined;
709
+ }[];
710
+ providerInterface?: string | undefined;
711
+ walletStandard?: {
712
+ features: string[];
713
+ name: string;
714
+ } | undefined;
715
+ walletStandardLocators?: {
716
+ name: string;
717
+ locator: string;
718
+ }[] | undefined;
719
+ windowLocations?: string[] | undefined;
720
+ }>, "many">>;
721
+ mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
722
+ android: z.ZodOptional<z.ZodNullable<z.ZodString>>;
723
+ androidId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
724
+ inAppBrowser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
725
+ ios: z.ZodOptional<z.ZodNullable<z.ZodString>>;
726
+ iosId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
727
+ native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
728
+ universal: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
729
+ }, "strip", z.ZodTypeAny, {
730
+ android?: string | null | undefined;
731
+ androidId?: string | undefined;
732
+ inAppBrowser?: string | null | undefined;
733
+ ios?: string | null | undefined;
734
+ iosId?: string | undefined;
735
+ native?: string | undefined;
736
+ universal?: string | undefined;
737
+ }, {
738
+ android?: string | null | undefined;
739
+ androidId?: unknown;
740
+ inAppBrowser?: string | null | undefined;
741
+ ios?: string | null | undefined;
742
+ iosId?: unknown;
743
+ native?: unknown;
744
+ universal?: unknown;
745
+ }>>, {
746
+ android?: string | null | undefined;
747
+ androidId?: string | undefined;
748
+ inAppBrowser?: string | null | undefined;
749
+ ios?: string | null | undefined;
750
+ iosId?: string | undefined;
751
+ native?: string | undefined;
752
+ universal?: string | undefined;
753
+ } | undefined, {
754
+ android?: string | null | undefined;
755
+ androidId?: unknown;
756
+ inAppBrowser?: string | null | undefined;
757
+ ios?: string | null | undefined;
758
+ iosId?: unknown;
759
+ native?: unknown;
760
+ universal?: unknown;
761
+ } | undefined>;
762
+ mobileExperience: z.ZodOptional<z.ZodEnum<["in-app-browser", "redirect"]>>;
763
+ name: z.ZodString;
764
+ shortName: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
765
+ showOnlyIfInstalled: z.ZodOptional<z.ZodBoolean>;
766
+ switchNetworkOnlyFromWallet: z.ZodOptional<z.ZodBoolean>;
767
+ walletConnect: z.ZodEffects<z.ZodOptional<z.ZodObject<{
768
+ sdks: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, unknown>;
769
+ }, "strip", z.ZodTypeAny, {
770
+ sdks?: string[] | undefined;
771
+ }, {
772
+ sdks?: unknown;
773
+ }>>, {
774
+ sdks?: string[] | undefined;
775
+ } | undefined, {
776
+ sdks?: unknown;
777
+ } | undefined>;
778
+ walletGroup: z.ZodOptional<z.ZodString>;
779
+ walletLimitations: z.ZodOptional<z.ZodObject<{
780
+ browserExtension: z.ZodOptional<z.ZodObject<{
781
+ unsupportedEvents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
782
+ unsupportedMethods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
783
+ }, "strip", z.ZodTypeAny, {
784
+ unsupportedEvents?: string[] | undefined;
785
+ unsupportedMethods?: string[] | undefined;
786
+ }, {
787
+ unsupportedEvents?: string[] | undefined;
788
+ unsupportedMethods?: string[] | undefined;
789
+ }>>;
790
+ mobile: z.ZodOptional<z.ZodObject<{
791
+ unsupportedEvents: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
792
+ unsupportedMethods: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
793
+ }, "strip", z.ZodTypeAny, {
794
+ unsupportedEvents?: string[] | undefined;
795
+ unsupportedMethods?: string[] | undefined;
796
+ }, {
797
+ unsupportedEvents?: string[] | undefined;
798
+ unsupportedMethods?: string[] | undefined;
799
+ }>>;
800
+ }, "strip", z.ZodTypeAny, {
801
+ browserExtension?: {
802
+ unsupportedEvents?: string[] | undefined;
803
+ unsupportedMethods?: string[] | undefined;
804
+ } | undefined;
805
+ mobile?: {
806
+ unsupportedEvents?: string[] | undefined;
807
+ unsupportedMethods?: string[] | undefined;
808
+ } | undefined;
809
+ }, {
810
+ browserExtension?: {
811
+ unsupportedEvents?: string[] | undefined;
812
+ unsupportedMethods?: string[] | undefined;
813
+ } | undefined;
814
+ mobile?: {
815
+ unsupportedEvents?: string[] | undefined;
816
+ unsupportedMethods?: string[] | undefined;
817
+ } | undefined;
818
+ }>>;
819
+ }, "strip", z.ZodTypeAny, {
820
+ name: string;
821
+ brand?: {
822
+ alt?: string | undefined;
823
+ primaryColor?: string | undefined;
824
+ spriteId?: string | undefined;
825
+ } | undefined;
826
+ chainGroup?: string | undefined;
827
+ chains?: string[] | undefined;
828
+ desktop?: {
829
+ chromeId?: string | undefined;
830
+ edgeId?: string | undefined;
831
+ firefoxId?: string | undefined;
832
+ native?: string | undefined;
833
+ operaId?: string | undefined;
834
+ safariId?: string | undefined;
835
+ universal?: string | undefined;
836
+ } | undefined;
837
+ eip6963Config?: {
838
+ rdns: string;
839
+ } | undefined;
840
+ filterFromWalletConnect?: boolean | undefined;
841
+ group?: string | undefined;
842
+ hardwareWallets?: string[] | undefined;
843
+ injectedConfig?: {
844
+ chain: string;
845
+ extensionLocators: {
846
+ value: boolean;
847
+ flag: string;
848
+ }[];
849
+ providerInterface?: string | undefined;
850
+ walletStandard?: {
851
+ features: string[];
852
+ name: string;
853
+ } | undefined;
854
+ walletStandardLocators?: {
855
+ name: string;
856
+ locator: string;
857
+ }[] | undefined;
858
+ windowLocations?: string[] | undefined;
859
+ }[] | undefined;
860
+ mobile?: {
861
+ android?: string | null | undefined;
862
+ androidId?: string | undefined;
863
+ inAppBrowser?: string | null | undefined;
864
+ ios?: string | null | undefined;
865
+ iosId?: string | undefined;
866
+ native?: string | undefined;
867
+ universal?: string | undefined;
868
+ } | undefined;
869
+ mobileExperience?: "in-app-browser" | "redirect" | undefined;
870
+ shortName?: string | undefined;
871
+ showOnlyIfInstalled?: boolean | undefined;
872
+ switchNetworkOnlyFromWallet?: boolean | undefined;
873
+ walletConnect?: {
874
+ sdks?: string[] | undefined;
875
+ } | undefined;
876
+ walletGroup?: string | undefined;
877
+ walletLimitations?: {
878
+ browserExtension?: {
879
+ unsupportedEvents?: string[] | undefined;
880
+ unsupportedMethods?: string[] | undefined;
881
+ } | undefined;
882
+ mobile?: {
883
+ unsupportedEvents?: string[] | undefined;
884
+ unsupportedMethods?: string[] | undefined;
885
+ } | undefined;
886
+ } | undefined;
887
+ }, {
888
+ name: string;
889
+ brand?: {
890
+ alt?: unknown;
891
+ primaryColor?: unknown;
892
+ spriteId?: unknown;
893
+ } | undefined;
894
+ chainGroup?: string | undefined;
895
+ chains?: string[] | undefined;
896
+ desktop?: {
897
+ chromeId?: unknown;
898
+ edgeId?: unknown;
899
+ firefoxId?: unknown;
900
+ native?: unknown;
901
+ operaId?: unknown;
902
+ safariId?: unknown;
903
+ universal?: unknown;
904
+ } | undefined;
905
+ eip6963Config?: {
906
+ rdns: string;
907
+ } | undefined;
908
+ filterFromWalletConnect?: boolean | undefined;
909
+ group?: string | undefined;
910
+ hardwareWallets?: string[] | undefined;
911
+ injectedConfig?: {
912
+ chain: string;
913
+ extensionLocators: {
914
+ flag: string;
915
+ value?: boolean | undefined;
916
+ }[];
917
+ providerInterface?: string | undefined;
918
+ walletStandard?: {
919
+ features: string[];
920
+ name: string;
921
+ } | undefined;
922
+ walletStandardLocators?: {
923
+ name: string;
924
+ locator: string;
925
+ }[] | undefined;
926
+ windowLocations?: string[] | undefined;
927
+ }[] | undefined;
928
+ mobile?: {
929
+ android?: string | null | undefined;
930
+ androidId?: unknown;
931
+ inAppBrowser?: string | null | undefined;
932
+ ios?: string | null | undefined;
933
+ iosId?: unknown;
934
+ native?: unknown;
935
+ universal?: unknown;
936
+ } | undefined;
937
+ mobileExperience?: "in-app-browser" | "redirect" | undefined;
938
+ shortName?: unknown;
939
+ showOnlyIfInstalled?: boolean | undefined;
940
+ switchNetworkOnlyFromWallet?: boolean | undefined;
941
+ walletConnect?: {
942
+ sdks?: unknown;
943
+ } | undefined;
944
+ walletGroup?: string | undefined;
945
+ walletLimitations?: {
946
+ browserExtension?: {
947
+ unsupportedEvents?: string[] | undefined;
948
+ unsupportedMethods?: string[] | undefined;
949
+ } | undefined;
950
+ mobile?: {
951
+ unsupportedEvents?: string[] | undefined;
952
+ unsupportedMethods?: string[] | undefined;
953
+ } | undefined;
954
+ } | undefined;
955
+ }>, {
956
+ name: string;
957
+ brand?: {
958
+ alt?: string | undefined;
959
+ primaryColor?: string | undefined;
960
+ spriteId?: string | undefined;
961
+ } | undefined;
962
+ chainGroup?: string | undefined;
963
+ chains?: string[] | undefined;
964
+ desktop?: {
965
+ chromeId?: string | undefined;
966
+ edgeId?: string | undefined;
967
+ firefoxId?: string | undefined;
968
+ native?: string | undefined;
969
+ operaId?: string | undefined;
970
+ safariId?: string | undefined;
971
+ universal?: string | undefined;
972
+ } | undefined;
973
+ eip6963Config?: {
974
+ rdns: string;
975
+ } | undefined;
976
+ filterFromWalletConnect?: boolean | undefined;
977
+ group?: string | undefined;
978
+ hardwareWallets?: string[] | undefined;
979
+ injectedConfig?: {
980
+ chain: string;
981
+ extensionLocators: {
982
+ value: boolean;
983
+ flag: string;
984
+ }[];
985
+ providerInterface?: string | undefined;
986
+ walletStandard?: {
987
+ features: string[];
988
+ name: string;
989
+ } | undefined;
990
+ walletStandardLocators?: {
991
+ name: string;
992
+ locator: string;
993
+ }[] | undefined;
994
+ windowLocations?: string[] | undefined;
995
+ }[] | undefined;
996
+ mobile?: {
997
+ android?: string | null | undefined;
998
+ androidId?: string | undefined;
999
+ inAppBrowser?: string | null | undefined;
1000
+ ios?: string | null | undefined;
1001
+ iosId?: string | undefined;
1002
+ native?: string | undefined;
1003
+ universal?: string | undefined;
1004
+ } | undefined;
1005
+ mobileExperience?: "in-app-browser" | "redirect" | undefined;
1006
+ shortName?: string | undefined;
1007
+ showOnlyIfInstalled?: boolean | undefined;
1008
+ switchNetworkOnlyFromWallet?: boolean | undefined;
1009
+ walletConnect?: {
1010
+ sdks?: string[] | undefined;
1011
+ } | undefined;
1012
+ walletGroup?: string | undefined;
1013
+ walletLimitations?: {
1014
+ browserExtension?: {
1015
+ unsupportedEvents?: string[] | undefined;
1016
+ unsupportedMethods?: string[] | undefined;
1017
+ } | undefined;
1018
+ mobile?: {
1019
+ unsupportedEvents?: string[] | undefined;
1020
+ unsupportedMethods?: string[] | undefined;
1021
+ } | undefined;
1022
+ } | undefined;
1023
+ }, unknown>, {
1024
+ name: string;
1025
+ brand?: {
1026
+ alt?: string | undefined;
1027
+ primaryColor?: string | undefined;
1028
+ spriteId?: string | undefined;
1029
+ } | undefined;
1030
+ chainGroup?: string | undefined;
1031
+ chains?: string[] | undefined;
1032
+ desktop?: {
1033
+ chromeId?: string | undefined;
1034
+ edgeId?: string | undefined;
1035
+ firefoxId?: string | undefined;
1036
+ native?: string | undefined;
1037
+ operaId?: string | undefined;
1038
+ safariId?: string | undefined;
1039
+ universal?: string | undefined;
1040
+ } | undefined;
1041
+ eip6963Config?: {
1042
+ rdns: string;
1043
+ } | undefined;
1044
+ filterFromWalletConnect?: boolean | undefined;
1045
+ group?: string | undefined;
1046
+ hardwareWallets?: string[] | undefined;
1047
+ injectedConfig?: {
1048
+ chain: string;
1049
+ extensionLocators: {
1050
+ value: boolean;
1051
+ flag: string;
1052
+ }[];
1053
+ providerInterface?: string | undefined;
1054
+ walletStandard?: {
1055
+ features: string[];
1056
+ name: string;
1057
+ } | undefined;
1058
+ walletStandardLocators?: {
1059
+ name: string;
1060
+ locator: string;
1061
+ }[] | undefined;
1062
+ windowLocations?: string[] | undefined;
1063
+ }[] | undefined;
1064
+ mobile?: {
1065
+ android?: string | null | undefined;
1066
+ androidId?: string | undefined;
1067
+ inAppBrowser?: string | null | undefined;
1068
+ ios?: string | null | undefined;
1069
+ iosId?: string | undefined;
1070
+ native?: string | undefined;
1071
+ universal?: string | undefined;
1072
+ } | undefined;
1073
+ mobileExperience?: "in-app-browser" | "redirect" | undefined;
1074
+ shortName?: string | undefined;
1075
+ showOnlyIfInstalled?: boolean | undefined;
1076
+ switchNetworkOnlyFromWallet?: boolean | undefined;
1077
+ walletConnect?: {
1078
+ sdks?: string[] | undefined;
1079
+ } | undefined;
1080
+ walletGroup?: string | undefined;
1081
+ walletLimitations?: {
1082
+ browserExtension?: {
1083
+ unsupportedEvents?: string[] | undefined;
1084
+ unsupportedMethods?: string[] | undefined;
1085
+ } | undefined;
1086
+ mobile?: {
1087
+ unsupportedEvents?: string[] | undefined;
1088
+ unsupportedMethods?: string[] | undefined;
1089
+ } | undefined;
1090
+ } | undefined;
1091
+ }, unknown>>;
1092
+ }, "strip", z.ZodTypeAny, {
1093
+ groups: Record<string, {
1094
+ name: string;
1095
+ key: string;
1096
+ brand?: {
1097
+ alt?: string | undefined;
1098
+ primaryColor?: string | undefined;
1099
+ spriteId?: string | undefined;
1100
+ } | undefined;
1101
+ walletOverrides?: Record<string, {
1102
+ brand?: {
1103
+ alt?: string | undefined;
1104
+ primaryColor?: string | undefined;
1105
+ spriteId?: string | undefined;
1106
+ } | undefined;
1107
+ name?: string | undefined;
1108
+ }> | undefined;
1109
+ }>;
1110
+ wallets: Record<string, {
1111
+ name: string;
1112
+ brand?: {
1113
+ alt?: string | undefined;
1114
+ primaryColor?: string | undefined;
1115
+ spriteId?: string | undefined;
1116
+ } | undefined;
1117
+ chainGroup?: string | undefined;
1118
+ chains?: string[] | undefined;
1119
+ desktop?: {
1120
+ chromeId?: string | undefined;
1121
+ edgeId?: string | undefined;
1122
+ firefoxId?: string | undefined;
1123
+ native?: string | undefined;
1124
+ operaId?: string | undefined;
1125
+ safariId?: string | undefined;
1126
+ universal?: string | undefined;
1127
+ } | undefined;
1128
+ eip6963Config?: {
1129
+ rdns: string;
1130
+ } | undefined;
1131
+ filterFromWalletConnect?: boolean | undefined;
1132
+ group?: string | undefined;
1133
+ hardwareWallets?: string[] | undefined;
1134
+ injectedConfig?: {
1135
+ chain: string;
1136
+ extensionLocators: {
1137
+ value: boolean;
1138
+ flag: string;
1139
+ }[];
1140
+ providerInterface?: string | undefined;
1141
+ walletStandard?: {
1142
+ features: string[];
1143
+ name: string;
1144
+ } | undefined;
1145
+ walletStandardLocators?: {
1146
+ name: string;
1147
+ locator: string;
1148
+ }[] | undefined;
1149
+ windowLocations?: string[] | undefined;
1150
+ }[] | undefined;
1151
+ mobile?: {
1152
+ android?: string | null | undefined;
1153
+ androidId?: string | undefined;
1154
+ inAppBrowser?: string | null | undefined;
1155
+ ios?: string | null | undefined;
1156
+ iosId?: string | undefined;
1157
+ native?: string | undefined;
1158
+ universal?: string | undefined;
1159
+ } | undefined;
1160
+ mobileExperience?: "in-app-browser" | "redirect" | undefined;
1161
+ shortName?: string | undefined;
1162
+ showOnlyIfInstalled?: boolean | undefined;
1163
+ switchNetworkOnlyFromWallet?: boolean | undefined;
1164
+ walletConnect?: {
1165
+ sdks?: string[] | undefined;
1166
+ } | undefined;
1167
+ walletGroup?: string | undefined;
1168
+ walletLimitations?: {
1169
+ browserExtension?: {
1170
+ unsupportedEvents?: string[] | undefined;
1171
+ unsupportedMethods?: string[] | undefined;
1172
+ } | undefined;
1173
+ mobile?: {
1174
+ unsupportedEvents?: string[] | undefined;
1175
+ unsupportedMethods?: string[] | undefined;
1176
+ } | undefined;
1177
+ } | undefined;
1178
+ }>;
1179
+ }, {
1180
+ groups: Record<string, {
1181
+ name: string;
1182
+ key: string;
1183
+ brand?: {
1184
+ alt?: unknown;
1185
+ primaryColor?: unknown;
1186
+ spriteId?: unknown;
1187
+ } | undefined;
1188
+ walletOverrides?: Record<string, {
1189
+ brand?: {
1190
+ alt?: unknown;
1191
+ primaryColor?: unknown;
1192
+ spriteId?: unknown;
1193
+ } | undefined;
1194
+ name?: unknown;
1195
+ }> | undefined;
1196
+ }>;
1197
+ wallets: Record<string, unknown>;
1198
+ }>, {
1199
+ groups: Record<string, {
1200
+ name: string;
1201
+ key: string;
1202
+ brand?: {
1203
+ alt?: string | undefined;
1204
+ primaryColor?: string | undefined;
1205
+ spriteId?: string | undefined;
1206
+ } | undefined;
1207
+ walletOverrides?: Record<string, {
1208
+ brand?: {
1209
+ alt?: string | undefined;
1210
+ primaryColor?: string | undefined;
1211
+ spriteId?: string | undefined;
1212
+ } | undefined;
1213
+ name?: string | undefined;
1214
+ }> | undefined;
1215
+ }>;
1216
+ wallets: Record<string, {
1217
+ name: string;
1218
+ brand?: {
1219
+ alt?: string | undefined;
1220
+ primaryColor?: string | undefined;
1221
+ spriteId?: string | undefined;
1222
+ } | undefined;
1223
+ chainGroup?: string | undefined;
1224
+ chains?: string[] | undefined;
1225
+ desktop?: {
1226
+ chromeId?: string | undefined;
1227
+ edgeId?: string | undefined;
1228
+ firefoxId?: string | undefined;
1229
+ native?: string | undefined;
1230
+ operaId?: string | undefined;
1231
+ safariId?: string | undefined;
1232
+ universal?: string | undefined;
1233
+ } | undefined;
1234
+ eip6963Config?: {
1235
+ rdns: string;
1236
+ } | undefined;
1237
+ filterFromWalletConnect?: boolean | undefined;
1238
+ group?: string | undefined;
1239
+ hardwareWallets?: string[] | undefined;
1240
+ injectedConfig?: {
1241
+ chain: string;
1242
+ extensionLocators: {
1243
+ value: boolean;
1244
+ flag: string;
1245
+ }[];
1246
+ providerInterface?: string | undefined;
1247
+ walletStandard?: {
1248
+ features: string[];
1249
+ name: string;
1250
+ } | undefined;
1251
+ walletStandardLocators?: {
1252
+ name: string;
1253
+ locator: string;
1254
+ }[] | undefined;
1255
+ windowLocations?: string[] | undefined;
1256
+ }[] | undefined;
1257
+ mobile?: {
1258
+ android?: string | null | undefined;
1259
+ androidId?: string | undefined;
1260
+ inAppBrowser?: string | null | undefined;
1261
+ ios?: string | null | undefined;
1262
+ iosId?: string | undefined;
1263
+ native?: string | undefined;
1264
+ universal?: string | undefined;
1265
+ } | undefined;
1266
+ mobileExperience?: "in-app-browser" | "redirect" | undefined;
1267
+ shortName?: string | undefined;
1268
+ showOnlyIfInstalled?: boolean | undefined;
1269
+ switchNetworkOnlyFromWallet?: boolean | undefined;
1270
+ walletConnect?: {
1271
+ sdks?: string[] | undefined;
1272
+ } | undefined;
1273
+ walletGroup?: string | undefined;
1274
+ walletLimitations?: {
1275
+ browserExtension?: {
1276
+ unsupportedEvents?: string[] | undefined;
1277
+ unsupportedMethods?: string[] | undefined;
1278
+ } | undefined;
1279
+ mobile?: {
1280
+ unsupportedEvents?: string[] | undefined;
1281
+ unsupportedMethods?: string[] | undefined;
1282
+ } | undefined;
1283
+ } | undefined;
1284
+ }>;
1285
+ }, unknown>;
1286
+ export type WalletBookSchema = z.infer<typeof walletBookSchema>;
1287
+ export type WalletRecordsSchema = z.infer<typeof walletBookSchema>['wallets'];
1288
+ declare const WalletGroupRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
1289
+ brand: z.ZodOptional<z.ZodObject<{
1290
+ alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
1291
+ primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
1292
+ spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
1293
+ }, "strip", z.ZodTypeAny, {
1294
+ alt?: string | undefined;
1295
+ primaryColor?: string | undefined;
1296
+ spriteId?: string | undefined;
1297
+ }, {
1298
+ alt?: unknown;
1299
+ primaryColor?: unknown;
1300
+ spriteId?: unknown;
1301
+ }>>;
1302
+ key: z.ZodString;
1303
+ name: z.ZodString;
1304
+ walletOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1305
+ brand: z.ZodOptional<z.ZodObject<{
1306
+ alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
1307
+ primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
1308
+ spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
1309
+ }, "strip", z.ZodTypeAny, {
1310
+ alt?: string | undefined;
1311
+ primaryColor?: string | undefined;
1312
+ spriteId?: string | undefined;
1313
+ }, {
1314
+ alt?: unknown;
1315
+ primaryColor?: unknown;
1316
+ spriteId?: unknown;
1317
+ }>>;
1318
+ name: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
1319
+ }, "strip", z.ZodTypeAny, {
1320
+ brand?: {
1321
+ alt?: string | undefined;
1322
+ primaryColor?: string | undefined;
1323
+ spriteId?: string | undefined;
1324
+ } | undefined;
1325
+ name?: string | undefined;
1326
+ }, {
1327
+ brand?: {
1328
+ alt?: unknown;
1329
+ primaryColor?: unknown;
1330
+ spriteId?: unknown;
1331
+ } | undefined;
1332
+ name?: unknown;
1333
+ }>>>;
1334
+ }, "strip", z.ZodTypeAny, {
1335
+ name: string;
1336
+ key: string;
1337
+ brand?: {
1338
+ alt?: string | undefined;
1339
+ primaryColor?: string | undefined;
1340
+ spriteId?: string | undefined;
1341
+ } | undefined;
1342
+ walletOverrides?: Record<string, {
1343
+ brand?: {
1344
+ alt?: string | undefined;
1345
+ primaryColor?: string | undefined;
1346
+ spriteId?: string | undefined;
1347
+ } | undefined;
1348
+ name?: string | undefined;
1349
+ }> | undefined;
1350
+ }, {
1351
+ name: string;
1352
+ key: string;
1353
+ brand?: {
1354
+ alt?: unknown;
1355
+ primaryColor?: unknown;
1356
+ spriteId?: unknown;
1357
+ } | undefined;
1358
+ walletOverrides?: Record<string, {
1359
+ brand?: {
1360
+ alt?: unknown;
1361
+ primaryColor?: unknown;
1362
+ spriteId?: unknown;
1363
+ } | undefined;
1364
+ name?: unknown;
1365
+ }> | undefined;
1366
+ }>>;
1367
+ export type WalletGroupRecordSchema = z.infer<typeof WalletGroupRecordSchema>;
1368
+ export type WalletBookGroupSchema = z.infer<typeof walletBookSchema>['groups'];
1369
+ export {};