@dynamic-labs/wallet-book 2.0.0-alpha.3 → 2.0.0-alpha.31
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +407 -0
- package/README.md +3 -3
- package/package.json +4 -4
- package/src/build/index.d.ts +1 -0
- package/src/build/sources/walletConnect/index.d.ts +1 -0
- package/src/build/sources/walletConnectOverrides/index.d.ts +7 -127
- package/src/components/BrandIcon.cjs +1 -1
- package/src/components/BrandIcon.js +1 -1
- package/src/components/WalletIcon.cjs +1 -1
- package/src/components/WalletIcon.js +1 -1
- package/src/helpers/findWalletBookWallet.d.ts +1 -1
- package/src/helpers/findWalletGroup.d.ts +0 -2
- package/src/helpers/getWalletBookWallet.cjs +5 -15
- package/src/helpers/getWalletBookWallet.d.ts +1 -1
- package/src/helpers/getWalletBookWallet.js +5 -15
- package/src/helpers/index.d.ts +0 -1
- package/src/hooks/useWalletBookCdn.cjs +1 -1
- package/src/hooks/useWalletBookCdn.d.ts +1 -3
- package/src/hooks/useWalletBookCdn.js +1 -1
- package/src/hooks/useWalletBookContext.cjs +1 -1
- package/src/hooks/useWalletBookContext.js +1 -1
- package/src/schemas/walletBookSchema.d.ts +28 -114
- package/src/schemas/walletSchema.cjs +1 -0
- package/src/schemas/walletSchema.d.ts +9 -0
- package/src/schemas/walletSchema.js +1 -0
- package/wallet-book-fallbacks.cjs +106 -21
- package/wallet-book-fallbacks.js +106 -21
- package/src/helpers/normalizeWalletName.cjs +0 -7
- package/src/helpers/normalizeWalletName.d.ts +0 -1
- package/src/helpers/normalizeWalletName.js +0 -3
|
@@ -1,28 +1,15 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
3
|
-
brand: z.ZodOptional<z.
|
|
3
|
+
brand: z.ZodOptional<z.ZodObject<{
|
|
4
4
|
alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
5
|
-
imageId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
6
5
|
primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
7
6
|
spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
8
7
|
}, "strip", z.ZodTypeAny, {
|
|
9
8
|
alt?: string | undefined;
|
|
10
|
-
imageId?: string | undefined;
|
|
11
9
|
primaryColor?: string | undefined;
|
|
12
10
|
spriteId?: string | undefined;
|
|
13
11
|
}, {
|
|
14
12
|
alt?: unknown;
|
|
15
|
-
imageId?: unknown;
|
|
16
|
-
primaryColor?: unknown;
|
|
17
|
-
spriteId?: unknown;
|
|
18
|
-
}>, {
|
|
19
|
-
alt?: string | undefined;
|
|
20
|
-
imageId?: string | undefined;
|
|
21
|
-
primaryColor?: string | undefined;
|
|
22
|
-
spriteId?: string | undefined;
|
|
23
|
-
}, {
|
|
24
|
-
alt?: unknown;
|
|
25
|
-
imageId?: unknown;
|
|
26
13
|
primaryColor?: unknown;
|
|
27
14
|
spriteId?: unknown;
|
|
28
15
|
}>>;
|
|
@@ -131,6 +118,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
131
118
|
mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
|
|
132
119
|
android: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
133
120
|
androidId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
|
|
121
|
+
inAppBrowser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
134
122
|
ios: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
135
123
|
iosId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
|
|
136
124
|
native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
@@ -138,6 +126,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
138
126
|
}, "strip", z.ZodTypeAny, {
|
|
139
127
|
android?: string | null | undefined;
|
|
140
128
|
androidId?: string | undefined;
|
|
129
|
+
inAppBrowser?: string | null | undefined;
|
|
141
130
|
ios?: string | null | undefined;
|
|
142
131
|
iosId?: string | undefined;
|
|
143
132
|
native?: string | undefined;
|
|
@@ -145,6 +134,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
145
134
|
}, {
|
|
146
135
|
android?: string | null | undefined;
|
|
147
136
|
androidId?: unknown;
|
|
137
|
+
inAppBrowser?: string | null | undefined;
|
|
148
138
|
ios?: string | null | undefined;
|
|
149
139
|
iosId?: unknown;
|
|
150
140
|
native?: unknown;
|
|
@@ -152,6 +142,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
152
142
|
}>>, {
|
|
153
143
|
android?: string | null | undefined;
|
|
154
144
|
androidId?: string | undefined;
|
|
145
|
+
inAppBrowser?: string | null | undefined;
|
|
155
146
|
ios?: string | null | undefined;
|
|
156
147
|
iosId?: string | undefined;
|
|
157
148
|
native?: string | undefined;
|
|
@@ -159,6 +150,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
159
150
|
} | undefined, {
|
|
160
151
|
android?: string | null | undefined;
|
|
161
152
|
androidId?: unknown;
|
|
153
|
+
inAppBrowser?: string | null | undefined;
|
|
162
154
|
ios?: string | null | undefined;
|
|
163
155
|
iosId?: unknown;
|
|
164
156
|
native?: unknown;
|
|
@@ -184,7 +176,6 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
184
176
|
name: string;
|
|
185
177
|
brand?: {
|
|
186
178
|
alt?: string | undefined;
|
|
187
|
-
imageId?: string | undefined;
|
|
188
179
|
primaryColor?: string | undefined;
|
|
189
180
|
spriteId?: string | undefined;
|
|
190
181
|
} | undefined;
|
|
@@ -221,6 +212,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
221
212
|
mobile?: {
|
|
222
213
|
android?: string | null | undefined;
|
|
223
214
|
androidId?: string | undefined;
|
|
215
|
+
inAppBrowser?: string | null | undefined;
|
|
224
216
|
ios?: string | null | undefined;
|
|
225
217
|
iosId?: string | undefined;
|
|
226
218
|
native?: string | undefined;
|
|
@@ -237,7 +229,6 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
237
229
|
name: string;
|
|
238
230
|
brand?: {
|
|
239
231
|
alt?: unknown;
|
|
240
|
-
imageId?: unknown;
|
|
241
232
|
primaryColor?: unknown;
|
|
242
233
|
spriteId?: unknown;
|
|
243
234
|
} | undefined;
|
|
@@ -274,6 +265,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
274
265
|
mobile?: {
|
|
275
266
|
android?: string | null | undefined;
|
|
276
267
|
androidId?: unknown;
|
|
268
|
+
inAppBrowser?: string | null | undefined;
|
|
277
269
|
ios?: string | null | undefined;
|
|
278
270
|
iosId?: unknown;
|
|
279
271
|
native?: unknown;
|
|
@@ -290,7 +282,6 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
290
282
|
name: string;
|
|
291
283
|
brand?: {
|
|
292
284
|
alt?: string | undefined;
|
|
293
|
-
imageId?: string | undefined;
|
|
294
285
|
primaryColor?: string | undefined;
|
|
295
286
|
spriteId?: string | undefined;
|
|
296
287
|
} | undefined;
|
|
@@ -327,6 +318,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
327
318
|
mobile?: {
|
|
328
319
|
android?: string | null | undefined;
|
|
329
320
|
androidId?: string | undefined;
|
|
321
|
+
inAppBrowser?: string | null | undefined;
|
|
330
322
|
ios?: string | null | undefined;
|
|
331
323
|
iosId?: string | undefined;
|
|
332
324
|
native?: string | undefined;
|
|
@@ -343,7 +335,6 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
343
335
|
name: string;
|
|
344
336
|
brand?: {
|
|
345
337
|
alt?: string | undefined;
|
|
346
|
-
imageId?: string | undefined;
|
|
347
338
|
primaryColor?: string | undefined;
|
|
348
339
|
spriteId?: string | undefined;
|
|
349
340
|
} | undefined;
|
|
@@ -380,6 +371,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
380
371
|
mobile?: {
|
|
381
372
|
android?: string | null | undefined;
|
|
382
373
|
androidId?: string | undefined;
|
|
374
|
+
inAppBrowser?: string | null | undefined;
|
|
383
375
|
ios?: string | null | undefined;
|
|
384
376
|
iosId?: string | undefined;
|
|
385
377
|
native?: string | undefined;
|
|
@@ -395,58 +387,32 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
395
387
|
}, unknown>>;
|
|
396
388
|
export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
397
389
|
groups: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
398
|
-
brand: z.
|
|
390
|
+
brand: z.ZodOptional<z.ZodObject<{
|
|
399
391
|
alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
400
|
-
imageId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
401
392
|
primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
402
393
|
spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
403
394
|
}, "strip", z.ZodTypeAny, {
|
|
404
395
|
alt?: string | undefined;
|
|
405
|
-
imageId?: string | undefined;
|
|
406
396
|
primaryColor?: string | undefined;
|
|
407
397
|
spriteId?: string | undefined;
|
|
408
398
|
}, {
|
|
409
399
|
alt?: unknown;
|
|
410
|
-
imageId?: unknown;
|
|
411
400
|
primaryColor?: unknown;
|
|
412
401
|
spriteId?: unknown;
|
|
413
|
-
}
|
|
414
|
-
alt?: string | undefined;
|
|
415
|
-
imageId?: string | undefined;
|
|
416
|
-
primaryColor?: string | undefined;
|
|
417
|
-
spriteId?: string | undefined;
|
|
418
|
-
} | undefined, {
|
|
419
|
-
alt?: unknown;
|
|
420
|
-
imageId?: unknown;
|
|
421
|
-
primaryColor?: unknown;
|
|
422
|
-
spriteId?: unknown;
|
|
423
|
-
} | undefined>;
|
|
402
|
+
}>>;
|
|
424
403
|
key: z.ZodString;
|
|
425
404
|
name: z.ZodString;
|
|
426
405
|
walletOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
427
|
-
brand: z.ZodOptional<z.
|
|
406
|
+
brand: z.ZodOptional<z.ZodObject<{
|
|
428
407
|
alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
429
|
-
imageId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
430
408
|
primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
431
409
|
spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
432
410
|
}, "strip", z.ZodTypeAny, {
|
|
433
411
|
alt?: string | undefined;
|
|
434
|
-
imageId?: string | undefined;
|
|
435
|
-
primaryColor?: string | undefined;
|
|
436
|
-
spriteId?: string | undefined;
|
|
437
|
-
}, {
|
|
438
|
-
alt?: unknown;
|
|
439
|
-
imageId?: unknown;
|
|
440
|
-
primaryColor?: unknown;
|
|
441
|
-
spriteId?: unknown;
|
|
442
|
-
}>, {
|
|
443
|
-
alt?: string | undefined;
|
|
444
|
-
imageId?: string | undefined;
|
|
445
412
|
primaryColor?: string | undefined;
|
|
446
413
|
spriteId?: string | undefined;
|
|
447
414
|
}, {
|
|
448
415
|
alt?: unknown;
|
|
449
|
-
imageId?: unknown;
|
|
450
416
|
primaryColor?: unknown;
|
|
451
417
|
spriteId?: unknown;
|
|
452
418
|
}>>;
|
|
@@ -454,7 +420,6 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
454
420
|
}, "strip", z.ZodTypeAny, {
|
|
455
421
|
brand?: {
|
|
456
422
|
alt?: string | undefined;
|
|
457
|
-
imageId?: string | undefined;
|
|
458
423
|
primaryColor?: string | undefined;
|
|
459
424
|
spriteId?: string | undefined;
|
|
460
425
|
} | undefined;
|
|
@@ -462,7 +427,6 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
462
427
|
}, {
|
|
463
428
|
brand?: {
|
|
464
429
|
alt?: unknown;
|
|
465
|
-
imageId?: unknown;
|
|
466
430
|
primaryColor?: unknown;
|
|
467
431
|
spriteId?: unknown;
|
|
468
432
|
} | undefined;
|
|
@@ -473,14 +437,12 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
473
437
|
key: string;
|
|
474
438
|
brand?: {
|
|
475
439
|
alt?: string | undefined;
|
|
476
|
-
imageId?: string | undefined;
|
|
477
440
|
primaryColor?: string | undefined;
|
|
478
441
|
spriteId?: string | undefined;
|
|
479
442
|
} | undefined;
|
|
480
443
|
walletOverrides?: Record<string, {
|
|
481
444
|
brand?: {
|
|
482
445
|
alt?: string | undefined;
|
|
483
|
-
imageId?: string | undefined;
|
|
484
446
|
primaryColor?: string | undefined;
|
|
485
447
|
spriteId?: string | undefined;
|
|
486
448
|
} | undefined;
|
|
@@ -491,14 +453,12 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
491
453
|
key: string;
|
|
492
454
|
brand?: {
|
|
493
455
|
alt?: unknown;
|
|
494
|
-
imageId?: unknown;
|
|
495
456
|
primaryColor?: unknown;
|
|
496
457
|
spriteId?: unknown;
|
|
497
458
|
} | undefined;
|
|
498
459
|
walletOverrides?: Record<string, {
|
|
499
460
|
brand?: {
|
|
500
461
|
alt?: unknown;
|
|
501
|
-
imageId?: unknown;
|
|
502
462
|
primaryColor?: unknown;
|
|
503
463
|
spriteId?: unknown;
|
|
504
464
|
} | undefined;
|
|
@@ -506,29 +466,16 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
506
466
|
}> | undefined;
|
|
507
467
|
}>>;
|
|
508
468
|
wallets: z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
509
|
-
brand: z.ZodOptional<z.
|
|
469
|
+
brand: z.ZodOptional<z.ZodObject<{
|
|
510
470
|
alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
511
|
-
imageId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
512
471
|
primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
513
472
|
spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
514
473
|
}, "strip", z.ZodTypeAny, {
|
|
515
474
|
alt?: string | undefined;
|
|
516
|
-
imageId?: string | undefined;
|
|
517
475
|
primaryColor?: string | undefined;
|
|
518
476
|
spriteId?: string | undefined;
|
|
519
477
|
}, {
|
|
520
478
|
alt?: unknown;
|
|
521
|
-
imageId?: unknown;
|
|
522
|
-
primaryColor?: unknown;
|
|
523
|
-
spriteId?: unknown;
|
|
524
|
-
}>, {
|
|
525
|
-
alt?: string | undefined;
|
|
526
|
-
imageId?: string | undefined;
|
|
527
|
-
primaryColor?: string | undefined;
|
|
528
|
-
spriteId?: string | undefined;
|
|
529
|
-
}, {
|
|
530
|
-
alt?: unknown;
|
|
531
|
-
imageId?: unknown;
|
|
532
479
|
primaryColor?: unknown;
|
|
533
480
|
spriteId?: unknown;
|
|
534
481
|
}>>;
|
|
@@ -637,6 +584,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
637
584
|
mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
|
|
638
585
|
android: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
639
586
|
androidId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
|
|
587
|
+
inAppBrowser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
640
588
|
ios: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
641
589
|
iosId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
|
|
642
590
|
native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
@@ -644,6 +592,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
644
592
|
}, "strip", z.ZodTypeAny, {
|
|
645
593
|
android?: string | null | undefined;
|
|
646
594
|
androidId?: string | undefined;
|
|
595
|
+
inAppBrowser?: string | null | undefined;
|
|
647
596
|
ios?: string | null | undefined;
|
|
648
597
|
iosId?: string | undefined;
|
|
649
598
|
native?: string | undefined;
|
|
@@ -651,6 +600,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
651
600
|
}, {
|
|
652
601
|
android?: string | null | undefined;
|
|
653
602
|
androidId?: unknown;
|
|
603
|
+
inAppBrowser?: string | null | undefined;
|
|
654
604
|
ios?: string | null | undefined;
|
|
655
605
|
iosId?: unknown;
|
|
656
606
|
native?: unknown;
|
|
@@ -658,6 +608,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
658
608
|
}>>, {
|
|
659
609
|
android?: string | null | undefined;
|
|
660
610
|
androidId?: string | undefined;
|
|
611
|
+
inAppBrowser?: string | null | undefined;
|
|
661
612
|
ios?: string | null | undefined;
|
|
662
613
|
iosId?: string | undefined;
|
|
663
614
|
native?: string | undefined;
|
|
@@ -665,6 +616,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
665
616
|
} | undefined, {
|
|
666
617
|
android?: string | null | undefined;
|
|
667
618
|
androidId?: unknown;
|
|
619
|
+
inAppBrowser?: string | null | undefined;
|
|
668
620
|
ios?: string | null | undefined;
|
|
669
621
|
iosId?: unknown;
|
|
670
622
|
native?: unknown;
|
|
@@ -690,7 +642,6 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
690
642
|
name: string;
|
|
691
643
|
brand?: {
|
|
692
644
|
alt?: string | undefined;
|
|
693
|
-
imageId?: string | undefined;
|
|
694
645
|
primaryColor?: string | undefined;
|
|
695
646
|
spriteId?: string | undefined;
|
|
696
647
|
} | undefined;
|
|
@@ -727,6 +678,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
727
678
|
mobile?: {
|
|
728
679
|
android?: string | null | undefined;
|
|
729
680
|
androidId?: string | undefined;
|
|
681
|
+
inAppBrowser?: string | null | undefined;
|
|
730
682
|
ios?: string | null | undefined;
|
|
731
683
|
iosId?: string | undefined;
|
|
732
684
|
native?: string | undefined;
|
|
@@ -743,7 +695,6 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
743
695
|
name: string;
|
|
744
696
|
brand?: {
|
|
745
697
|
alt?: unknown;
|
|
746
|
-
imageId?: unknown;
|
|
747
698
|
primaryColor?: unknown;
|
|
748
699
|
spriteId?: unknown;
|
|
749
700
|
} | undefined;
|
|
@@ -780,6 +731,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
780
731
|
mobile?: {
|
|
781
732
|
android?: string | null | undefined;
|
|
782
733
|
androidId?: unknown;
|
|
734
|
+
inAppBrowser?: string | null | undefined;
|
|
783
735
|
ios?: string | null | undefined;
|
|
784
736
|
iosId?: unknown;
|
|
785
737
|
native?: unknown;
|
|
@@ -796,7 +748,6 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
796
748
|
name: string;
|
|
797
749
|
brand?: {
|
|
798
750
|
alt?: string | undefined;
|
|
799
|
-
imageId?: string | undefined;
|
|
800
751
|
primaryColor?: string | undefined;
|
|
801
752
|
spriteId?: string | undefined;
|
|
802
753
|
} | undefined;
|
|
@@ -833,6 +784,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
833
784
|
mobile?: {
|
|
834
785
|
android?: string | null | undefined;
|
|
835
786
|
androidId?: string | undefined;
|
|
787
|
+
inAppBrowser?: string | null | undefined;
|
|
836
788
|
ios?: string | null | undefined;
|
|
837
789
|
iosId?: string | undefined;
|
|
838
790
|
native?: string | undefined;
|
|
@@ -849,7 +801,6 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
849
801
|
name: string;
|
|
850
802
|
brand?: {
|
|
851
803
|
alt?: string | undefined;
|
|
852
|
-
imageId?: string | undefined;
|
|
853
804
|
primaryColor?: string | undefined;
|
|
854
805
|
spriteId?: string | undefined;
|
|
855
806
|
} | undefined;
|
|
@@ -886,6 +837,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
886
837
|
mobile?: {
|
|
887
838
|
android?: string | null | undefined;
|
|
888
839
|
androidId?: string | undefined;
|
|
840
|
+
inAppBrowser?: string | null | undefined;
|
|
889
841
|
ios?: string | null | undefined;
|
|
890
842
|
iosId?: string | undefined;
|
|
891
843
|
native?: string | undefined;
|
|
@@ -905,14 +857,12 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
905
857
|
key: string;
|
|
906
858
|
brand?: {
|
|
907
859
|
alt?: string | undefined;
|
|
908
|
-
imageId?: string | undefined;
|
|
909
860
|
primaryColor?: string | undefined;
|
|
910
861
|
spriteId?: string | undefined;
|
|
911
862
|
} | undefined;
|
|
912
863
|
walletOverrides?: Record<string, {
|
|
913
864
|
brand?: {
|
|
914
865
|
alt?: string | undefined;
|
|
915
|
-
imageId?: string | undefined;
|
|
916
866
|
primaryColor?: string | undefined;
|
|
917
867
|
spriteId?: string | undefined;
|
|
918
868
|
} | undefined;
|
|
@@ -923,7 +873,6 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
923
873
|
name: string;
|
|
924
874
|
brand?: {
|
|
925
875
|
alt?: string | undefined;
|
|
926
|
-
imageId?: string | undefined;
|
|
927
876
|
primaryColor?: string | undefined;
|
|
928
877
|
spriteId?: string | undefined;
|
|
929
878
|
} | undefined;
|
|
@@ -960,6 +909,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
960
909
|
mobile?: {
|
|
961
910
|
android?: string | null | undefined;
|
|
962
911
|
androidId?: string | undefined;
|
|
912
|
+
inAppBrowser?: string | null | undefined;
|
|
963
913
|
ios?: string | null | undefined;
|
|
964
914
|
iosId?: string | undefined;
|
|
965
915
|
native?: string | undefined;
|
|
@@ -979,14 +929,12 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
979
929
|
key: string;
|
|
980
930
|
brand?: {
|
|
981
931
|
alt?: unknown;
|
|
982
|
-
imageId?: unknown;
|
|
983
932
|
primaryColor?: unknown;
|
|
984
933
|
spriteId?: unknown;
|
|
985
934
|
} | undefined;
|
|
986
935
|
walletOverrides?: Record<string, {
|
|
987
936
|
brand?: {
|
|
988
937
|
alt?: unknown;
|
|
989
|
-
imageId?: unknown;
|
|
990
938
|
primaryColor?: unknown;
|
|
991
939
|
spriteId?: unknown;
|
|
992
940
|
} | undefined;
|
|
@@ -1000,14 +948,12 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1000
948
|
key: string;
|
|
1001
949
|
brand?: {
|
|
1002
950
|
alt?: string | undefined;
|
|
1003
|
-
imageId?: string | undefined;
|
|
1004
951
|
primaryColor?: string | undefined;
|
|
1005
952
|
spriteId?: string | undefined;
|
|
1006
953
|
} | undefined;
|
|
1007
954
|
walletOverrides?: Record<string, {
|
|
1008
955
|
brand?: {
|
|
1009
956
|
alt?: string | undefined;
|
|
1010
|
-
imageId?: string | undefined;
|
|
1011
957
|
primaryColor?: string | undefined;
|
|
1012
958
|
spriteId?: string | undefined;
|
|
1013
959
|
} | undefined;
|
|
@@ -1018,7 +964,6 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1018
964
|
name: string;
|
|
1019
965
|
brand?: {
|
|
1020
966
|
alt?: string | undefined;
|
|
1021
|
-
imageId?: string | undefined;
|
|
1022
967
|
primaryColor?: string | undefined;
|
|
1023
968
|
spriteId?: string | undefined;
|
|
1024
969
|
} | undefined;
|
|
@@ -1055,6 +1000,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1055
1000
|
mobile?: {
|
|
1056
1001
|
android?: string | null | undefined;
|
|
1057
1002
|
androidId?: string | undefined;
|
|
1003
|
+
inAppBrowser?: string | null | undefined;
|
|
1058
1004
|
ios?: string | null | undefined;
|
|
1059
1005
|
iosId?: string | undefined;
|
|
1060
1006
|
native?: string | undefined;
|
|
@@ -1072,58 +1018,32 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1072
1018
|
export type WalletBookSchema = z.infer<typeof walletBookSchema>;
|
|
1073
1019
|
export type WalletRecordsSchema = z.infer<typeof walletBookSchema>['wallets'];
|
|
1074
1020
|
declare const WalletGroupRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1075
|
-
brand: z.
|
|
1021
|
+
brand: z.ZodOptional<z.ZodObject<{
|
|
1076
1022
|
alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
1077
|
-
imageId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
1078
1023
|
primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
1079
1024
|
spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
1080
1025
|
}, "strip", z.ZodTypeAny, {
|
|
1081
1026
|
alt?: string | undefined;
|
|
1082
|
-
imageId?: string | undefined;
|
|
1083
1027
|
primaryColor?: string | undefined;
|
|
1084
1028
|
spriteId?: string | undefined;
|
|
1085
1029
|
}, {
|
|
1086
1030
|
alt?: unknown;
|
|
1087
|
-
imageId?: unknown;
|
|
1088
|
-
primaryColor?: unknown;
|
|
1089
|
-
spriteId?: unknown;
|
|
1090
|
-
}>>, {
|
|
1091
|
-
alt?: string | undefined;
|
|
1092
|
-
imageId?: string | undefined;
|
|
1093
|
-
primaryColor?: string | undefined;
|
|
1094
|
-
spriteId?: string | undefined;
|
|
1095
|
-
} | undefined, {
|
|
1096
|
-
alt?: unknown;
|
|
1097
|
-
imageId?: unknown;
|
|
1098
1031
|
primaryColor?: unknown;
|
|
1099
1032
|
spriteId?: unknown;
|
|
1100
|
-
}
|
|
1033
|
+
}>>;
|
|
1101
1034
|
key: z.ZodString;
|
|
1102
1035
|
name: z.ZodString;
|
|
1103
1036
|
walletOverrides: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1104
|
-
brand: z.ZodOptional<z.
|
|
1037
|
+
brand: z.ZodOptional<z.ZodObject<{
|
|
1105
1038
|
alt: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
1106
|
-
imageId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
1107
1039
|
primaryColor: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
1108
1040
|
spriteId: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
1109
1041
|
}, "strip", z.ZodTypeAny, {
|
|
1110
1042
|
alt?: string | undefined;
|
|
1111
|
-
imageId?: string | undefined;
|
|
1112
|
-
primaryColor?: string | undefined;
|
|
1113
|
-
spriteId?: string | undefined;
|
|
1114
|
-
}, {
|
|
1115
|
-
alt?: unknown;
|
|
1116
|
-
imageId?: unknown;
|
|
1117
|
-
primaryColor?: unknown;
|
|
1118
|
-
spriteId?: unknown;
|
|
1119
|
-
}>, {
|
|
1120
|
-
alt?: string | undefined;
|
|
1121
|
-
imageId?: string | undefined;
|
|
1122
1043
|
primaryColor?: string | undefined;
|
|
1123
1044
|
spriteId?: string | undefined;
|
|
1124
1045
|
}, {
|
|
1125
1046
|
alt?: unknown;
|
|
1126
|
-
imageId?: unknown;
|
|
1127
1047
|
primaryColor?: unknown;
|
|
1128
1048
|
spriteId?: unknown;
|
|
1129
1049
|
}>>;
|
|
@@ -1131,7 +1051,6 @@ declare const WalletGroupRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
1131
1051
|
}, "strip", z.ZodTypeAny, {
|
|
1132
1052
|
brand?: {
|
|
1133
1053
|
alt?: string | undefined;
|
|
1134
|
-
imageId?: string | undefined;
|
|
1135
1054
|
primaryColor?: string | undefined;
|
|
1136
1055
|
spriteId?: string | undefined;
|
|
1137
1056
|
} | undefined;
|
|
@@ -1139,7 +1058,6 @@ declare const WalletGroupRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
1139
1058
|
}, {
|
|
1140
1059
|
brand?: {
|
|
1141
1060
|
alt?: unknown;
|
|
1142
|
-
imageId?: unknown;
|
|
1143
1061
|
primaryColor?: unknown;
|
|
1144
1062
|
spriteId?: unknown;
|
|
1145
1063
|
} | undefined;
|
|
@@ -1150,14 +1068,12 @@ declare const WalletGroupRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
1150
1068
|
key: string;
|
|
1151
1069
|
brand?: {
|
|
1152
1070
|
alt?: string | undefined;
|
|
1153
|
-
imageId?: string | undefined;
|
|
1154
1071
|
primaryColor?: string | undefined;
|
|
1155
1072
|
spriteId?: string | undefined;
|
|
1156
1073
|
} | undefined;
|
|
1157
1074
|
walletOverrides?: Record<string, {
|
|
1158
1075
|
brand?: {
|
|
1159
1076
|
alt?: string | undefined;
|
|
1160
|
-
imageId?: string | undefined;
|
|
1161
1077
|
primaryColor?: string | undefined;
|
|
1162
1078
|
spriteId?: string | undefined;
|
|
1163
1079
|
} | undefined;
|
|
@@ -1168,14 +1084,12 @@ declare const WalletGroupRecordSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
|
1168
1084
|
key: string;
|
|
1169
1085
|
brand?: {
|
|
1170
1086
|
alt?: unknown;
|
|
1171
|
-
imageId?: unknown;
|
|
1172
1087
|
primaryColor?: unknown;
|
|
1173
1088
|
spriteId?: unknown;
|
|
1174
1089
|
} | undefined;
|
|
1175
1090
|
walletOverrides?: Record<string, {
|
|
1176
1091
|
brand?: {
|
|
1177
1092
|
alt?: unknown;
|
|
1178
|
-
imageId?: unknown;
|
|
1179
1093
|
primaryColor?: unknown;
|
|
1180
1094
|
spriteId?: unknown;
|
|
1181
1095
|
} | undefined;
|
|
@@ -79,6 +79,7 @@ const walletSchema = zod.z
|
|
|
79
79
|
.object({
|
|
80
80
|
android: zod.string().nullish(),
|
|
81
81
|
androidId: nonEmptyString.nonEmptyString.transform(transformAndroidId.transformAndroidId),
|
|
82
|
+
inAppBrowser: zod.string().nullish(),
|
|
82
83
|
ios: zod.string().nullish(),
|
|
83
84
|
iosId: nonEmptyString.nonEmptyString.transform(transformIosId.transformIosId),
|
|
84
85
|
native: nonEmptyString.nonEmptyString,
|
|
@@ -201,6 +201,7 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
201
201
|
mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
|
|
202
202
|
android: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
203
203
|
androidId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
|
|
204
|
+
inAppBrowser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
204
205
|
ios: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
205
206
|
iosId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
|
|
206
207
|
native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
@@ -208,6 +209,7 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
208
209
|
}, "strip", z.ZodTypeAny, {
|
|
209
210
|
android?: string | null | undefined;
|
|
210
211
|
androidId?: string | undefined;
|
|
212
|
+
inAppBrowser?: string | null | undefined;
|
|
211
213
|
ios?: string | null | undefined;
|
|
212
214
|
iosId?: string | undefined;
|
|
213
215
|
native?: string | undefined;
|
|
@@ -215,6 +217,7 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
215
217
|
}, {
|
|
216
218
|
android?: string | null | undefined;
|
|
217
219
|
androidId?: unknown;
|
|
220
|
+
inAppBrowser?: string | null | undefined;
|
|
218
221
|
ios?: string | null | undefined;
|
|
219
222
|
iosId?: unknown;
|
|
220
223
|
native?: unknown;
|
|
@@ -222,6 +225,7 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
222
225
|
}>>, {
|
|
223
226
|
android?: string | null | undefined;
|
|
224
227
|
androidId?: string | undefined;
|
|
228
|
+
inAppBrowser?: string | null | undefined;
|
|
225
229
|
ios?: string | null | undefined;
|
|
226
230
|
iosId?: string | undefined;
|
|
227
231
|
native?: string | undefined;
|
|
@@ -229,6 +233,7 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
229
233
|
} | undefined, {
|
|
230
234
|
android?: string | null | undefined;
|
|
231
235
|
androidId?: unknown;
|
|
236
|
+
inAppBrowser?: string | null | undefined;
|
|
232
237
|
ios?: string | null | undefined;
|
|
233
238
|
iosId?: unknown;
|
|
234
239
|
native?: unknown;
|
|
@@ -290,6 +295,7 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
290
295
|
mobile?: {
|
|
291
296
|
android?: string | null | undefined;
|
|
292
297
|
androidId?: string | undefined;
|
|
298
|
+
inAppBrowser?: string | null | undefined;
|
|
293
299
|
ios?: string | null | undefined;
|
|
294
300
|
iosId?: string | undefined;
|
|
295
301
|
native?: string | undefined;
|
|
@@ -342,6 +348,7 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
342
348
|
mobile?: {
|
|
343
349
|
android?: string | null | undefined;
|
|
344
350
|
androidId?: unknown;
|
|
351
|
+
inAppBrowser?: string | null | undefined;
|
|
345
352
|
ios?: string | null | undefined;
|
|
346
353
|
iosId?: unknown;
|
|
347
354
|
native?: unknown;
|
|
@@ -394,6 +401,7 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
394
401
|
mobile?: {
|
|
395
402
|
android?: string | null | undefined;
|
|
396
403
|
androidId?: string | undefined;
|
|
404
|
+
inAppBrowser?: string | null | undefined;
|
|
397
405
|
ios?: string | null | undefined;
|
|
398
406
|
iosId?: string | undefined;
|
|
399
407
|
native?: string | undefined;
|
|
@@ -446,6 +454,7 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
446
454
|
mobile?: {
|
|
447
455
|
android?: string | null | undefined;
|
|
448
456
|
androidId?: string | undefined;
|
|
457
|
+
inAppBrowser?: string | null | undefined;
|
|
449
458
|
ios?: string | null | undefined;
|
|
450
459
|
iosId?: string | undefined;
|
|
451
460
|
native?: string | undefined;
|
|
@@ -75,6 +75,7 @@ const walletSchema = z
|
|
|
75
75
|
.object({
|
|
76
76
|
android: string().nullish(),
|
|
77
77
|
androidId: nonEmptyString.transform(transformAndroidId),
|
|
78
|
+
inAppBrowser: string().nullish(),
|
|
78
79
|
ios: string().nullish(),
|
|
79
80
|
iosId: nonEmptyString.transform(transformIosId),
|
|
80
81
|
native: nonEmptyString,
|