@dynamic-labs/wallet-book 2.0.0-alpha.24 → 2.0.0-alpha.26
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 +28 -0
- package/package.json +4 -4
- package/src/build/index.d.ts +1 -0
- package/src/build/sources/walletConnect/index.d.ts +11 -10
- package/src/helpers/findWalletBookWallet.d.ts +1 -0
- package/src/hooks/useWalletBookCdn.d.ts +1 -0
- package/src/schemas/walletBookSchema.d.ts +20 -0
- 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 +1 -0
- package/wallet-book-fallbacks.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,32 @@
|
|
|
1
1
|
|
|
2
|
+
## [2.0.0-alpha.26](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.25...v2.0.0-alpha.26) (2024-04-08)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### ⚠ BREAKING CHANGES
|
|
6
|
+
|
|
7
|
+
* add onWalletAdded/onWalletRemoved callbacks and removed onConnect/onDisconnect/onLinkSuccess/onUnlinkSuccess (#5194)
|
|
8
|
+
* note:
|
|
9
|
+
- use "events" in favour of "eventsCallbacks"
|
|
10
|
+
- use "handlers.handleConnectedWallet" in favour of "eventsCallbacks.onBeforeConnectSuccessConfirmation"
|
|
11
|
+
|
|
12
|
+
### Bug Fixes
|
|
13
|
+
|
|
14
|
+
* coinbase wallet settings ([#5233](https://github.com/dynamic-labs/DynamicAuth/issues/5233)) ([1b04411](https://github.com/dynamic-labs/DynamicAuth/commit/1b04411eb90db438f3eacf622d9c28db4c7cf532))
|
|
15
|
+
* remove local storage settings on logout ([#5212](https://github.com/dynamic-labs/DynamicAuth/issues/5212)) ([e686628](https://github.com/dynamic-labs/DynamicAuth/commit/e686628f602a44cd13083e7bb9afb4f50304390e))
|
|
16
|
+
* show app name or logo in sign message modal ([#5225](https://github.com/dynamic-labs/DynamicAuth/issues/5225)) ([a77b6ba](https://github.com/dynamic-labs/DynamicAuth/commit/a77b6ba9b5646b400ebf933949dabe06a35d1c81))
|
|
17
|
+
* user wallets not being cleared immediately when logout is called ([#5211](https://github.com/dynamic-labs/DynamicAuth/issues/5211)) ([a649c46](https://github.com/dynamic-labs/DynamicAuth/commit/a649c462d171cf6f8d67159df9f5f2144f315e5c))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
* add onWalletAdded/onWalletRemoved callbacks and removed onConnect/onDisconnect/onLinkSuccess/onUnlinkSuccess ([#5194](https://github.com/dynamic-labs/DynamicAuth/issues/5194)) ([fdec78c](https://github.com/dynamic-labs/DynamicAuth/commit/fdec78c1c32c58c8f7dc7ffd9b877320aa4d90e0))
|
|
21
|
+
* rename eventsCallbacks to events ([#5196](https://github.com/dynamic-labs/DynamicAuth/issues/5196)) ([5797185](https://github.com/dynamic-labs/DynamicAuth/commit/5797185c18fa091032ef27043b63a1d5201b5e23))
|
|
22
|
+
|
|
23
|
+
## [2.0.0-alpha.25](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.24...v2.0.0-alpha.25) (2024-04-04)
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
### Features
|
|
27
|
+
|
|
28
|
+
* add in-app browser deeplink for metamask ([#5176](https://github.com/dynamic-labs/DynamicAuth/issues/5176)) ([02ce607](https://github.com/dynamic-labs/DynamicAuth/commit/02ce6077ed0deeaefc7a62ee91ff72f5bce2b327)), closes [#5123](https://github.com/dynamic-labs/DynamicAuth/issues/5123)
|
|
29
|
+
|
|
2
30
|
## [2.0.0-alpha.24](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.23...v2.0.0-alpha.24) (2024-04-03)
|
|
3
31
|
|
|
4
32
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/wallet-book",
|
|
3
|
-
"version": "2.0.0-alpha.
|
|
3
|
+
"version": "2.0.0-alpha.26",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/dynamic-labs/DynamicAuth.git",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"zod": "3.22.4",
|
|
29
|
-
"@dynamic-labs/iconic": "2.0.0-alpha.
|
|
30
|
-
"@dynamic-labs/logger": "2.0.0-alpha.
|
|
31
|
-
"@dynamic-labs/utils": "2.0.0-alpha.
|
|
29
|
+
"@dynamic-labs/iconic": "2.0.0-alpha.26",
|
|
30
|
+
"@dynamic-labs/logger": "2.0.0-alpha.26",
|
|
31
|
+
"@dynamic-labs/utils": "2.0.0-alpha.26",
|
|
32
32
|
"util": "0.12.5"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
package/src/build/index.d.ts
CHANGED
|
@@ -45,6 +45,7 @@ export declare const generateWalletFallbacks: (wallets: WalletRecordsSchema) =>
|
|
|
45
45
|
mobile?: {
|
|
46
46
|
android?: string | null | undefined;
|
|
47
47
|
androidId?: string | undefined;
|
|
48
|
+
inAppBrowser?: string | null | undefined;
|
|
48
49
|
ios?: string | null | undefined;
|
|
49
50
|
iosId?: string | undefined;
|
|
50
51
|
native?: string | undefined;
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
export declare const walletConnectSourceData: Record<string, {
|
|
2
|
+
id: string;
|
|
3
|
+
metadata: {
|
|
4
|
+
shortName: string | null;
|
|
5
|
+
colors: {
|
|
6
|
+
primary: string | null;
|
|
7
|
+
secondary: string | null;
|
|
8
|
+
};
|
|
9
|
+
};
|
|
2
10
|
name: string;
|
|
3
11
|
chains: string[];
|
|
4
12
|
desktop: {
|
|
@@ -28,7 +36,6 @@ export declare const walletConnectSourceData: Record<string, {
|
|
|
28
36
|
category: string | null;
|
|
29
37
|
description: string | null;
|
|
30
38
|
homepage: string;
|
|
31
|
-
id: string;
|
|
32
39
|
image_id: string;
|
|
33
40
|
image_url: {
|
|
34
41
|
lg: string;
|
|
@@ -39,22 +46,15 @@ export declare const walletConnectSourceData: Record<string, {
|
|
|
39
46
|
injected_id: string;
|
|
40
47
|
namespace: string;
|
|
41
48
|
}[] | null;
|
|
42
|
-
metadata: {
|
|
43
|
-
shortName: string | null;
|
|
44
|
-
colors: {
|
|
45
|
-
primary: string | null;
|
|
46
|
-
secondary: string | null;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
49
|
slug: string;
|
|
50
50
|
updatedAt: string;
|
|
51
51
|
versions: string[];
|
|
52
52
|
supported_standards?: {
|
|
53
53
|
id: string;
|
|
54
|
-
standard_id: number;
|
|
55
|
-
standard_prefix: string;
|
|
56
54
|
title: string;
|
|
57
55
|
url: string;
|
|
56
|
+
standard_id: number;
|
|
57
|
+
standard_prefix: string;
|
|
58
58
|
}[] | undefined;
|
|
59
59
|
}>;
|
|
60
60
|
export declare const walletConnectTransformedData: Promise<Record<string, {
|
|
@@ -97,6 +97,7 @@ export declare const walletConnectTransformedData: Promise<Record<string, {
|
|
|
97
97
|
mobile?: {
|
|
98
98
|
android?: string | null | undefined;
|
|
99
99
|
androidId?: string | undefined;
|
|
100
|
+
inAppBrowser?: string | null | undefined;
|
|
100
101
|
ios?: string | null | undefined;
|
|
101
102
|
iosId?: string | undefined;
|
|
102
103
|
native?: string | undefined;
|
|
@@ -39,6 +39,7 @@ export declare const findWalletBookWallet: (walletBook: WalletBookSchema, wallet
|
|
|
39
39
|
mobile?: {
|
|
40
40
|
android?: string | null | undefined;
|
|
41
41
|
androidId?: string | undefined;
|
|
42
|
+
inAppBrowser?: string | null | undefined;
|
|
42
43
|
ios?: string | null | undefined;
|
|
43
44
|
iosId?: string | undefined;
|
|
44
45
|
native?: string | undefined;
|
|
@@ -56,6 +56,7 @@ export declare const useWalletBookCdn: () => {
|
|
|
56
56
|
mobile?: {
|
|
57
57
|
android?: string | null | undefined;
|
|
58
58
|
androidId?: string | undefined;
|
|
59
|
+
inAppBrowser?: string | null | undefined;
|
|
59
60
|
ios?: string | null | undefined;
|
|
60
61
|
iosId?: string | undefined;
|
|
61
62
|
native?: string | undefined;
|
|
@@ -118,6 +118,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
118
118
|
mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
|
|
119
119
|
android: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
120
120
|
androidId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
|
|
121
|
+
inAppBrowser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
121
122
|
ios: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
122
123
|
iosId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
|
|
123
124
|
native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
@@ -125,6 +126,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
125
126
|
}, "strip", z.ZodTypeAny, {
|
|
126
127
|
android?: string | null | undefined;
|
|
127
128
|
androidId?: string | undefined;
|
|
129
|
+
inAppBrowser?: string | null | undefined;
|
|
128
130
|
ios?: string | null | undefined;
|
|
129
131
|
iosId?: string | undefined;
|
|
130
132
|
native?: string | undefined;
|
|
@@ -132,6 +134,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
132
134
|
}, {
|
|
133
135
|
android?: string | null | undefined;
|
|
134
136
|
androidId?: unknown;
|
|
137
|
+
inAppBrowser?: string | null | undefined;
|
|
135
138
|
ios?: string | null | undefined;
|
|
136
139
|
iosId?: unknown;
|
|
137
140
|
native?: unknown;
|
|
@@ -139,6 +142,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
139
142
|
}>>, {
|
|
140
143
|
android?: string | null | undefined;
|
|
141
144
|
androidId?: string | undefined;
|
|
145
|
+
inAppBrowser?: string | null | undefined;
|
|
142
146
|
ios?: string | null | undefined;
|
|
143
147
|
iosId?: string | undefined;
|
|
144
148
|
native?: string | undefined;
|
|
@@ -146,6 +150,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
146
150
|
} | undefined, {
|
|
147
151
|
android?: string | null | undefined;
|
|
148
152
|
androidId?: unknown;
|
|
153
|
+
inAppBrowser?: string | null | undefined;
|
|
149
154
|
ios?: string | null | undefined;
|
|
150
155
|
iosId?: unknown;
|
|
151
156
|
native?: unknown;
|
|
@@ -207,6 +212,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
207
212
|
mobile?: {
|
|
208
213
|
android?: string | null | undefined;
|
|
209
214
|
androidId?: string | undefined;
|
|
215
|
+
inAppBrowser?: string | null | undefined;
|
|
210
216
|
ios?: string | null | undefined;
|
|
211
217
|
iosId?: string | undefined;
|
|
212
218
|
native?: string | undefined;
|
|
@@ -259,6 +265,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
259
265
|
mobile?: {
|
|
260
266
|
android?: string | null | undefined;
|
|
261
267
|
androidId?: unknown;
|
|
268
|
+
inAppBrowser?: string | null | undefined;
|
|
262
269
|
ios?: string | null | undefined;
|
|
263
270
|
iosId?: unknown;
|
|
264
271
|
native?: unknown;
|
|
@@ -311,6 +318,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
311
318
|
mobile?: {
|
|
312
319
|
android?: string | null | undefined;
|
|
313
320
|
androidId?: string | undefined;
|
|
321
|
+
inAppBrowser?: string | null | undefined;
|
|
314
322
|
ios?: string | null | undefined;
|
|
315
323
|
iosId?: string | undefined;
|
|
316
324
|
native?: string | undefined;
|
|
@@ -363,6 +371,7 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
363
371
|
mobile?: {
|
|
364
372
|
android?: string | null | undefined;
|
|
365
373
|
androidId?: string | undefined;
|
|
374
|
+
inAppBrowser?: string | null | undefined;
|
|
366
375
|
ios?: string | null | undefined;
|
|
367
376
|
iosId?: string | undefined;
|
|
368
377
|
native?: string | undefined;
|
|
@@ -575,6 +584,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
575
584
|
mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
|
|
576
585
|
android: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
577
586
|
androidId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
|
|
587
|
+
inAppBrowser: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
578
588
|
ios: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
579
589
|
iosId: z.ZodEffects<z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>, string | undefined, unknown>;
|
|
580
590
|
native: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, unknown>;
|
|
@@ -582,6 +592,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
582
592
|
}, "strip", z.ZodTypeAny, {
|
|
583
593
|
android?: string | null | undefined;
|
|
584
594
|
androidId?: string | undefined;
|
|
595
|
+
inAppBrowser?: string | null | undefined;
|
|
585
596
|
ios?: string | null | undefined;
|
|
586
597
|
iosId?: string | undefined;
|
|
587
598
|
native?: string | undefined;
|
|
@@ -589,6 +600,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
589
600
|
}, {
|
|
590
601
|
android?: string | null | undefined;
|
|
591
602
|
androidId?: unknown;
|
|
603
|
+
inAppBrowser?: string | null | undefined;
|
|
592
604
|
ios?: string | null | undefined;
|
|
593
605
|
iosId?: unknown;
|
|
594
606
|
native?: unknown;
|
|
@@ -596,6 +608,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
596
608
|
}>>, {
|
|
597
609
|
android?: string | null | undefined;
|
|
598
610
|
androidId?: string | undefined;
|
|
611
|
+
inAppBrowser?: string | null | undefined;
|
|
599
612
|
ios?: string | null | undefined;
|
|
600
613
|
iosId?: string | undefined;
|
|
601
614
|
native?: string | undefined;
|
|
@@ -603,6 +616,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
603
616
|
} | undefined, {
|
|
604
617
|
android?: string | null | undefined;
|
|
605
618
|
androidId?: unknown;
|
|
619
|
+
inAppBrowser?: string | null | undefined;
|
|
606
620
|
ios?: string | null | undefined;
|
|
607
621
|
iosId?: unknown;
|
|
608
622
|
native?: unknown;
|
|
@@ -664,6 +678,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
664
678
|
mobile?: {
|
|
665
679
|
android?: string | null | undefined;
|
|
666
680
|
androidId?: string | undefined;
|
|
681
|
+
inAppBrowser?: string | null | undefined;
|
|
667
682
|
ios?: string | null | undefined;
|
|
668
683
|
iosId?: string | undefined;
|
|
669
684
|
native?: string | undefined;
|
|
@@ -716,6 +731,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
716
731
|
mobile?: {
|
|
717
732
|
android?: string | null | undefined;
|
|
718
733
|
androidId?: unknown;
|
|
734
|
+
inAppBrowser?: string | null | undefined;
|
|
719
735
|
ios?: string | null | undefined;
|
|
720
736
|
iosId?: unknown;
|
|
721
737
|
native?: unknown;
|
|
@@ -768,6 +784,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
768
784
|
mobile?: {
|
|
769
785
|
android?: string | null | undefined;
|
|
770
786
|
androidId?: string | undefined;
|
|
787
|
+
inAppBrowser?: string | null | undefined;
|
|
771
788
|
ios?: string | null | undefined;
|
|
772
789
|
iosId?: string | undefined;
|
|
773
790
|
native?: string | undefined;
|
|
@@ -820,6 +837,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
820
837
|
mobile?: {
|
|
821
838
|
android?: string | null | undefined;
|
|
822
839
|
androidId?: string | undefined;
|
|
840
|
+
inAppBrowser?: string | null | undefined;
|
|
823
841
|
ios?: string | null | undefined;
|
|
824
842
|
iosId?: string | undefined;
|
|
825
843
|
native?: string | undefined;
|
|
@@ -891,6 +909,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
891
909
|
mobile?: {
|
|
892
910
|
android?: string | null | undefined;
|
|
893
911
|
androidId?: string | undefined;
|
|
912
|
+
inAppBrowser?: string | null | undefined;
|
|
894
913
|
ios?: string | null | undefined;
|
|
895
914
|
iosId?: string | undefined;
|
|
896
915
|
native?: string | undefined;
|
|
@@ -981,6 +1000,7 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
981
1000
|
mobile?: {
|
|
982
1001
|
android?: string | null | undefined;
|
|
983
1002
|
androidId?: string | undefined;
|
|
1003
|
+
inAppBrowser?: string | null | undefined;
|
|
984
1004
|
ios?: string | null | undefined;
|
|
985
1005
|
iosId?: string | undefined;
|
|
986
1006
|
native?: string | 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,
|
package/wallet-book-fallbacks.js
CHANGED