@dynamic-labs/wallet-book 2.0.0-alpha.24 → 2.0.0-alpha.25
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 +7 -0
- 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/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,11 @@
|
|
|
1
1
|
|
|
2
|
+
## [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)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* 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)
|
|
8
|
+
|
|
2
9
|
## [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
10
|
|
|
4
11
|
|
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.25",
|
|
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.25",
|
|
30
|
+
"@dynamic-labs/logger": "2.0.0-alpha.25",
|
|
31
|
+
"@dynamic-labs/utils": "2.0.0-alpha.25",
|
|
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;
|
|
@@ -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;
|
|
@@ -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