@dynamic-labs/wallet-book 5.13.0 → 5.14.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.
- package/CHANGELOG.md +10 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +6 -6
- package/src/schemas/walletBookSchema.d.ts +35 -35
- package/src/schemas/walletConnectSourceSchema.d.ts +18 -18
- package/src/schemas/walletGroup.d.ts +6 -6
- package/src/schemas/walletSchema.d.ts +18 -49
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,14 @@
|
|
|
1
1
|
|
|
2
|
+
## [5.14.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.13.0...v5.14.0) (2026-10-30)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* **bitcoin:** add allowedWitnessScripts to embedded wallet signPsbt ([#12575](https://github.com/dynamic-labs/dynamic-auth/issues/12575)) ([e7709bc](https://github.com/dynamic-labs/dynamic-auth/commit/e7709bc226bc78caa8c7aaae9b25858ca689176e)), closes [#1647](https://github.com/dynamic-labs/dynamic-auth/issues/1647) [#1648](https://github.com/dynamic-labs/dynamic-auth/issues/1648)
|
|
8
|
+
* **legacy-embedded-wallet-migration:** offer passkey recovery when export fails in upgrade flow ([#12640](https://github.com/dynamic-labs/dynamic-auth/issues/12640)) ([eda1d1a](https://github.com/dynamic-labs/dynamic-auth/commit/eda1d1a24f40c5850ae3ffd8049b4a9df45d489e))
|
|
9
|
+
* **webview:** forward policiesConsentLabels manifest field to SDK settings ([#12607](https://github.com/dynamic-labs/dynamic-auth/issues/12607)) ([ce3a9a0](https://github.com/dynamic-labs/dynamic-auth/commit/ce3a9a0840bd80c18401a94cd175c89ade5cc7cc))
|
|
10
|
+
|
|
11
|
+
|
|
2
12
|
## [5.13.0](https://github.com/dynamic-labs/dynamic-auth/compare/v5.12.4...v5.13.0) (2026-10-27)
|
|
3
13
|
|
|
4
14
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/wallet-book",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.14.0",
|
|
4
4
|
"author": "Dynamic Labs, Inc.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "./src/index.cjs",
|
|
@@ -16,11 +16,11 @@
|
|
|
16
16
|
"./package.json": "./package.json"
|
|
17
17
|
},
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"zod": "4.
|
|
20
|
-
"@dynamic-labs/assert-package-version": "5.
|
|
21
|
-
"@dynamic-labs/iconic": "5.
|
|
22
|
-
"@dynamic-labs/logger": "5.
|
|
23
|
-
"@dynamic-labs/utils": "5.
|
|
19
|
+
"zod": "4.6.6",
|
|
20
|
+
"@dynamic-labs/assert-package-version": "5.14.0",
|
|
21
|
+
"@dynamic-labs/iconic": "5.14.0",
|
|
22
|
+
"@dynamic-labs/logger": "5.14.0",
|
|
23
|
+
"@dynamic-labs/utils": "5.14.0",
|
|
24
24
|
"eventemitter3": "5.0.1",
|
|
25
25
|
"util": "0.12.5"
|
|
26
26
|
},
|
|
@@ -4,7 +4,7 @@ export declare const walletRecordsSchema: z.ZodMiniRecord<z.ZodMiniString<string
|
|
|
4
4
|
alt: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
5
5
|
primaryColor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
6
6
|
spriteId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
7
|
-
}, z.core.$strip>>;
|
|
7
|
+
}, z.z.core.$strip>>;
|
|
8
8
|
chainGroup: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
9
9
|
chains: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
10
10
|
desktop: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniObject<{
|
|
@@ -15,7 +15,7 @@ export declare const walletRecordsSchema: z.ZodMiniRecord<z.ZodMiniString<string
|
|
|
15
15
|
operaId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
16
16
|
safariId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
17
17
|
universal: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
18
|
-
}, z.core.$strip>, z.ZodMiniTransform<{
|
|
18
|
+
}, z.z.core.$strip>, z.ZodMiniTransform<{
|
|
19
19
|
chromeId?: string | undefined;
|
|
20
20
|
edgeId?: string | undefined;
|
|
21
21
|
firefoxId?: string | undefined;
|
|
@@ -34,7 +34,7 @@ export declare const walletRecordsSchema: z.ZodMiniRecord<z.ZodMiniString<string
|
|
|
34
34
|
}>>>;
|
|
35
35
|
eip6963Config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
36
36
|
rdns: z.ZodMiniString<string>;
|
|
37
|
-
}, z.core.$strip>>;
|
|
37
|
+
}, z.z.core.$strip>>;
|
|
38
38
|
filterFromWalletConnect: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
39
39
|
group: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
40
40
|
hardwareWallets: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
@@ -43,19 +43,19 @@ export declare const walletRecordsSchema: z.ZodMiniRecord<z.ZodMiniString<string
|
|
|
43
43
|
extensionLocators: z.ZodMiniArray<z.ZodMiniObject<{
|
|
44
44
|
flag: z.ZodMiniString<string>;
|
|
45
45
|
value: z.ZodMiniDefault<z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>>;
|
|
46
|
-
}, z.core.$strip>>;
|
|
46
|
+
}, z.z.core.$strip>>;
|
|
47
47
|
providerInterface: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
48
48
|
walletStandard: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
49
49
|
features: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
50
50
|
name: z.ZodMiniString<string>;
|
|
51
51
|
providerId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
52
|
-
}, z.core.$strip>>;
|
|
52
|
+
}, z.z.core.$strip>>;
|
|
53
53
|
walletStandardLocators: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
54
54
|
locator: z.ZodMiniString<string>;
|
|
55
55
|
name: z.ZodMiniString<string>;
|
|
56
|
-
}, z.core.$strip>>>;
|
|
56
|
+
}, z.z.core.$strip>>>;
|
|
57
57
|
windowLocations: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
58
|
-
}, z.core.$strip>>>;
|
|
58
|
+
}, z.z.core.$strip>>>;
|
|
59
59
|
mobile: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniObject<{
|
|
60
60
|
android: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
61
61
|
androidId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>, z.ZodMiniTransform<string | undefined, string | undefined>>>;
|
|
@@ -65,7 +65,7 @@ export declare const walletRecordsSchema: z.ZodMiniRecord<z.ZodMiniString<string
|
|
|
65
65
|
iosId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>, z.ZodMiniTransform<string | undefined, string | undefined>>>;
|
|
66
66
|
native: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
67
67
|
universal: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
68
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
68
|
+
}, z.z.core.$strip>>, z.ZodMiniTransform<{
|
|
69
69
|
android?: string | null | undefined;
|
|
70
70
|
androidId?: string | undefined;
|
|
71
71
|
inAppBrowser?: string | null | undefined;
|
|
@@ -95,7 +95,7 @@ export declare const walletRecordsSchema: z.ZodMiniRecord<z.ZodMiniString<string
|
|
|
95
95
|
switchNetworkOnlyFromWallet: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
96
96
|
walletConnect: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniObject<{
|
|
97
97
|
sdks: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<any[] | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>>>;
|
|
98
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
98
|
+
}, z.z.core.$strip>>, z.ZodMiniTransform<{
|
|
99
99
|
sdks?: string[] | undefined;
|
|
100
100
|
} | undefined, {
|
|
101
101
|
sdks?: string[] | undefined;
|
|
@@ -105,13 +105,13 @@ export declare const walletRecordsSchema: z.ZodMiniRecord<z.ZodMiniString<string
|
|
|
105
105
|
browserExtension: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
106
106
|
unsupportedEvents: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
107
107
|
unsupportedMethods: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
108
|
-
}, z.core.$strip>>;
|
|
108
|
+
}, z.z.core.$strip>>;
|
|
109
109
|
mobile: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
110
110
|
unsupportedEvents: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
111
111
|
unsupportedMethods: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
112
|
-
}, z.core.$strip>>;
|
|
113
|
-
}, z.core.$strip>>;
|
|
114
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
112
|
+
}, z.z.core.$strip>>;
|
|
113
|
+
}, z.z.core.$strip>>;
|
|
114
|
+
}, z.z.core.$strip>>, z.ZodMiniTransform<{
|
|
115
115
|
name: string;
|
|
116
116
|
brand?: {
|
|
117
117
|
alt?: string | undefined;
|
|
@@ -260,7 +260,7 @@ export declare const walletBookSchema: z.ZodMiniPipe<z.ZodMiniTransform<unknown,
|
|
|
260
260
|
alt: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
261
261
|
primaryColor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
262
262
|
spriteId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
263
|
-
}, z.core.$strip>>;
|
|
263
|
+
}, z.z.core.$strip>>;
|
|
264
264
|
key: z.ZodMiniString<string>;
|
|
265
265
|
name: z.ZodMiniString<string>;
|
|
266
266
|
walletOverrides: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
@@ -268,17 +268,17 @@ export declare const walletBookSchema: z.ZodMiniPipe<z.ZodMiniTransform<unknown,
|
|
|
268
268
|
alt: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
269
269
|
primaryColor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
270
270
|
spriteId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
271
|
-
}, z.core.$strip>>;
|
|
271
|
+
}, z.z.core.$strip>>;
|
|
272
272
|
name: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
273
|
-
}, z.core.$strip>>>;
|
|
274
|
-
}, z.core.$strip>>;
|
|
273
|
+
}, z.z.core.$strip>>>;
|
|
274
|
+
}, z.z.core.$strip>>;
|
|
275
275
|
priority: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
276
276
|
wallets: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniObject<{
|
|
277
277
|
brand: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
278
278
|
alt: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
279
279
|
primaryColor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
280
280
|
spriteId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
281
|
-
}, z.core.$strip>>;
|
|
281
|
+
}, z.z.core.$strip>>;
|
|
282
282
|
chainGroup: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
283
283
|
chains: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
284
284
|
desktop: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniObject<{
|
|
@@ -289,7 +289,7 @@ export declare const walletBookSchema: z.ZodMiniPipe<z.ZodMiniTransform<unknown,
|
|
|
289
289
|
operaId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
290
290
|
safariId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
291
291
|
universal: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
292
|
-
}, z.core.$strip>, z.ZodMiniTransform<{
|
|
292
|
+
}, z.z.core.$strip>, z.ZodMiniTransform<{
|
|
293
293
|
chromeId?: string | undefined;
|
|
294
294
|
edgeId?: string | undefined;
|
|
295
295
|
firefoxId?: string | undefined;
|
|
@@ -308,7 +308,7 @@ export declare const walletBookSchema: z.ZodMiniPipe<z.ZodMiniTransform<unknown,
|
|
|
308
308
|
}>>>;
|
|
309
309
|
eip6963Config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
310
310
|
rdns: z.ZodMiniString<string>;
|
|
311
|
-
}, z.core.$strip>>;
|
|
311
|
+
}, z.z.core.$strip>>;
|
|
312
312
|
filterFromWalletConnect: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
313
313
|
group: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
314
314
|
hardwareWallets: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
@@ -317,19 +317,19 @@ export declare const walletBookSchema: z.ZodMiniPipe<z.ZodMiniTransform<unknown,
|
|
|
317
317
|
extensionLocators: z.ZodMiniArray<z.ZodMiniObject<{
|
|
318
318
|
flag: z.ZodMiniString<string>;
|
|
319
319
|
value: z.ZodMiniDefault<z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>>;
|
|
320
|
-
}, z.core.$strip>>;
|
|
320
|
+
}, z.z.core.$strip>>;
|
|
321
321
|
providerInterface: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
322
322
|
walletStandard: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
323
323
|
features: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
324
324
|
name: z.ZodMiniString<string>;
|
|
325
325
|
providerId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
326
|
-
}, z.core.$strip>>;
|
|
326
|
+
}, z.z.core.$strip>>;
|
|
327
327
|
walletStandardLocators: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
328
328
|
locator: z.ZodMiniString<string>;
|
|
329
329
|
name: z.ZodMiniString<string>;
|
|
330
|
-
}, z.core.$strip>>>;
|
|
330
|
+
}, z.z.core.$strip>>>;
|
|
331
331
|
windowLocations: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
332
|
-
}, z.core.$strip>>>;
|
|
332
|
+
}, z.z.core.$strip>>>;
|
|
333
333
|
mobile: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniObject<{
|
|
334
334
|
android: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
335
335
|
androidId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>, z.ZodMiniTransform<string | undefined, string | undefined>>>;
|
|
@@ -339,7 +339,7 @@ export declare const walletBookSchema: z.ZodMiniPipe<z.ZodMiniTransform<unknown,
|
|
|
339
339
|
iosId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>, z.ZodMiniTransform<string | undefined, string | undefined>>>;
|
|
340
340
|
native: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
341
341
|
universal: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
342
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
342
|
+
}, z.z.core.$strip>>, z.ZodMiniTransform<{
|
|
343
343
|
android?: string | null | undefined;
|
|
344
344
|
androidId?: string | undefined;
|
|
345
345
|
inAppBrowser?: string | null | undefined;
|
|
@@ -369,7 +369,7 @@ export declare const walletBookSchema: z.ZodMiniPipe<z.ZodMiniTransform<unknown,
|
|
|
369
369
|
switchNetworkOnlyFromWallet: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
370
370
|
walletConnect: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniObject<{
|
|
371
371
|
sdks: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<any[] | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>>>;
|
|
372
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
372
|
+
}, z.z.core.$strip>>, z.ZodMiniTransform<{
|
|
373
373
|
sdks?: string[] | undefined;
|
|
374
374
|
} | undefined, {
|
|
375
375
|
sdks?: string[] | undefined;
|
|
@@ -379,13 +379,13 @@ export declare const walletBookSchema: z.ZodMiniPipe<z.ZodMiniTransform<unknown,
|
|
|
379
379
|
browserExtension: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
380
380
|
unsupportedEvents: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
381
381
|
unsupportedMethods: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
382
|
-
}, z.core.$strip>>;
|
|
382
|
+
}, z.z.core.$strip>>;
|
|
383
383
|
mobile: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
384
384
|
unsupportedEvents: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
385
385
|
unsupportedMethods: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
386
|
-
}, z.core.$strip>>;
|
|
387
|
-
}, z.core.$strip>>;
|
|
388
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
386
|
+
}, z.z.core.$strip>>;
|
|
387
|
+
}, z.z.core.$strip>>;
|
|
388
|
+
}, z.z.core.$strip>>, z.ZodMiniTransform<{
|
|
389
389
|
name: string;
|
|
390
390
|
brand?: {
|
|
391
391
|
alt?: string | undefined;
|
|
@@ -528,7 +528,7 @@ export declare const walletBookSchema: z.ZodMiniPipe<z.ZodMiniTransform<unknown,
|
|
|
528
528
|
} | undefined;
|
|
529
529
|
} | undefined;
|
|
530
530
|
}>>>;
|
|
531
|
-
}, z.core.$strip>>;
|
|
531
|
+
}, z.z.core.$strip>>;
|
|
532
532
|
export type WalletBookSchema = z.infer<typeof walletBookSchema>;
|
|
533
533
|
export type WalletRecordsSchema = z.infer<typeof walletBookSchema>['wallets'];
|
|
534
534
|
declare const WalletGroupRecordSchema: z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
@@ -536,7 +536,7 @@ declare const WalletGroupRecordSchema: z.ZodMiniRecord<z.ZodMiniString<string>,
|
|
|
536
536
|
alt: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
537
537
|
primaryColor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
538
538
|
spriteId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
539
|
-
}, z.core.$strip>>;
|
|
539
|
+
}, z.z.core.$strip>>;
|
|
540
540
|
key: z.ZodMiniString<string>;
|
|
541
541
|
name: z.ZodMiniString<string>;
|
|
542
542
|
walletOverrides: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
@@ -544,10 +544,10 @@ declare const WalletGroupRecordSchema: z.ZodMiniRecord<z.ZodMiniString<string>,
|
|
|
544
544
|
alt: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
545
545
|
primaryColor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
546
546
|
spriteId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
547
|
-
}, z.core.$strip>>;
|
|
547
|
+
}, z.z.core.$strip>>;
|
|
548
548
|
name: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
549
|
-
}, z.core.$strip>>>;
|
|
550
|
-
}, z.core.$strip>>;
|
|
549
|
+
}, z.z.core.$strip>>>;
|
|
550
|
+
}, z.z.core.$strip>>;
|
|
551
551
|
export type WalletGroupRecordSchema = z.infer<typeof WalletGroupRecordSchema>;
|
|
552
552
|
export type WalletBookGroupSchema = z.infer<typeof walletBookSchema>['groups'];
|
|
553
553
|
export {};
|
|
@@ -12,7 +12,7 @@ export declare const walletConnectSourceValueSchema: z.ZodMiniObject<{
|
|
|
12
12
|
opera: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
13
13
|
safari: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
14
14
|
windows: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
15
|
-
}, z.core.$strip>;
|
|
15
|
+
}, z.z.core.$strip>;
|
|
16
16
|
app_type: z.ZodMiniString<string>;
|
|
17
17
|
category: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
18
18
|
chains: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
@@ -20,7 +20,7 @@ export declare const walletConnectSourceValueSchema: z.ZodMiniObject<{
|
|
|
20
20
|
desktop: z.ZodMiniObject<{
|
|
21
21
|
native: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
22
22
|
universal: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
23
|
-
}, z.core.$strip>;
|
|
23
|
+
}, z.z.core.$strip>;
|
|
24
24
|
homepage: z.ZodMiniString<string>;
|
|
25
25
|
id: z.ZodMiniString<string>;
|
|
26
26
|
image_id: z.ZodMiniString<string>;
|
|
@@ -28,22 +28,22 @@ export declare const walletConnectSourceValueSchema: z.ZodMiniObject<{
|
|
|
28
28
|
lg: z.ZodMiniString<string>;
|
|
29
29
|
md: z.ZodMiniString<string>;
|
|
30
30
|
sm: z.ZodMiniString<string>;
|
|
31
|
-
}, z.core.$strip>;
|
|
31
|
+
}, z.z.core.$strip>;
|
|
32
32
|
injected: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniObject<{
|
|
33
33
|
injected_id: z.ZodMiniString<string>;
|
|
34
34
|
namespace: z.ZodMiniString<string>;
|
|
35
|
-
}, z.core.$strip>>>;
|
|
35
|
+
}, z.z.core.$strip>>>;
|
|
36
36
|
metadata: z.ZodMiniObject<{
|
|
37
37
|
colors: z.ZodMiniObject<{
|
|
38
38
|
primary: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
39
39
|
secondary: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
40
|
-
}, z.core.$strip>;
|
|
40
|
+
}, z.z.core.$strip>;
|
|
41
41
|
shortName: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
42
|
-
}, z.core.$strip>;
|
|
42
|
+
}, z.z.core.$strip>;
|
|
43
43
|
mobile: z.ZodMiniObject<{
|
|
44
44
|
native: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
45
45
|
universal: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
46
|
-
}, z.core.$strip>;
|
|
46
|
+
}, z.z.core.$strip>;
|
|
47
47
|
name: z.ZodMiniString<string>;
|
|
48
48
|
rdns: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
49
49
|
sdks: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
@@ -54,10 +54,10 @@ export declare const walletConnectSourceValueSchema: z.ZodMiniObject<{
|
|
|
54
54
|
standard_prefix: z.ZodMiniString<string>;
|
|
55
55
|
title: z.ZodMiniString<string>;
|
|
56
56
|
url: z.ZodMiniString<string>;
|
|
57
|
-
}, z.core.$strip>>>;
|
|
57
|
+
}, z.z.core.$strip>>>;
|
|
58
58
|
updatedAt: z.ZodMiniString<string>;
|
|
59
59
|
versions: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
60
|
-
}, z.core.$strict>;
|
|
60
|
+
}, z.z.core.$strict>;
|
|
61
61
|
/**
|
|
62
62
|
* Validates the walletconnect.json file to ensure it is in the correct format
|
|
63
63
|
*/
|
|
@@ -74,7 +74,7 @@ export declare const walletConnectSourceSchema: z.ZodMiniRecord<z.ZodMiniString<
|
|
|
74
74
|
opera: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
75
75
|
safari: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
76
76
|
windows: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
77
|
-
}, z.core.$strip>;
|
|
77
|
+
}, z.z.core.$strip>;
|
|
78
78
|
app_type: z.ZodMiniString<string>;
|
|
79
79
|
category: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
80
80
|
chains: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
@@ -82,7 +82,7 @@ export declare const walletConnectSourceSchema: z.ZodMiniRecord<z.ZodMiniString<
|
|
|
82
82
|
desktop: z.ZodMiniObject<{
|
|
83
83
|
native: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
84
84
|
universal: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
85
|
-
}, z.core.$strip>;
|
|
85
|
+
}, z.z.core.$strip>;
|
|
86
86
|
homepage: z.ZodMiniString<string>;
|
|
87
87
|
id: z.ZodMiniString<string>;
|
|
88
88
|
image_id: z.ZodMiniString<string>;
|
|
@@ -90,22 +90,22 @@ export declare const walletConnectSourceSchema: z.ZodMiniRecord<z.ZodMiniString<
|
|
|
90
90
|
lg: z.ZodMiniString<string>;
|
|
91
91
|
md: z.ZodMiniString<string>;
|
|
92
92
|
sm: z.ZodMiniString<string>;
|
|
93
|
-
}, z.core.$strip>;
|
|
93
|
+
}, z.z.core.$strip>;
|
|
94
94
|
injected: z.ZodMiniNullable<z.ZodMiniArray<z.ZodMiniObject<{
|
|
95
95
|
injected_id: z.ZodMiniString<string>;
|
|
96
96
|
namespace: z.ZodMiniString<string>;
|
|
97
|
-
}, z.core.$strip>>>;
|
|
97
|
+
}, z.z.core.$strip>>>;
|
|
98
98
|
metadata: z.ZodMiniObject<{
|
|
99
99
|
colors: z.ZodMiniObject<{
|
|
100
100
|
primary: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
101
101
|
secondary: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
102
|
-
}, z.core.$strip>;
|
|
102
|
+
}, z.z.core.$strip>;
|
|
103
103
|
shortName: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
104
|
-
}, z.core.$strip>;
|
|
104
|
+
}, z.z.core.$strip>;
|
|
105
105
|
mobile: z.ZodMiniObject<{
|
|
106
106
|
native: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
107
107
|
universal: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
108
|
-
}, z.core.$strip>;
|
|
108
|
+
}, z.z.core.$strip>;
|
|
109
109
|
name: z.ZodMiniString<string>;
|
|
110
110
|
rdns: z.ZodMiniNullable<z.ZodMiniString<string>>;
|
|
111
111
|
sdks: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
@@ -116,9 +116,9 @@ export declare const walletConnectSourceSchema: z.ZodMiniRecord<z.ZodMiniString<
|
|
|
116
116
|
standard_prefix: z.ZodMiniString<string>;
|
|
117
117
|
title: z.ZodMiniString<string>;
|
|
118
118
|
url: z.ZodMiniString<string>;
|
|
119
|
-
}, z.core.$strip>>>;
|
|
119
|
+
}, z.z.core.$strip>>>;
|
|
120
120
|
updatedAt: z.ZodMiniString<string>;
|
|
121
121
|
versions: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
122
|
-
}, z.core.$strict>>;
|
|
122
|
+
}, z.z.core.$strict>>;
|
|
123
123
|
export type WalletConnectSourceSchema = z.infer<typeof walletConnectSourceSchema>;
|
|
124
124
|
export type WalletConnectSourceValueSchema = z.infer<typeof walletConnectSourceValueSchema>;
|
|
@@ -4,15 +4,15 @@ declare const WalletOverrideEntrySchema: z.ZodMiniObject<{
|
|
|
4
4
|
alt: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
5
5
|
primaryColor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
6
6
|
spriteId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
7
|
-
}, z.core.$strip>>;
|
|
7
|
+
}, z.z.core.$strip>>;
|
|
8
8
|
name: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
9
|
-
}, z.core.$strip>;
|
|
9
|
+
}, z.z.core.$strip>;
|
|
10
10
|
export declare const walletGroupSchema: z.ZodMiniObject<{
|
|
11
11
|
brand: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
12
12
|
alt: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
13
13
|
primaryColor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
14
14
|
spriteId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
15
|
-
}, z.core.$strip>>;
|
|
15
|
+
}, z.z.core.$strip>>;
|
|
16
16
|
key: z.ZodMiniString<string>;
|
|
17
17
|
name: z.ZodMiniString<string>;
|
|
18
18
|
walletOverrides: z.ZodMiniOptional<z.ZodMiniRecord<z.ZodMiniString<string>, z.ZodMiniObject<{
|
|
@@ -20,10 +20,10 @@ export declare const walletGroupSchema: z.ZodMiniObject<{
|
|
|
20
20
|
alt: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
21
21
|
primaryColor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
22
22
|
spriteId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
23
|
-
}, z.core.$strip>>;
|
|
23
|
+
}, z.z.core.$strip>>;
|
|
24
24
|
name: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
25
|
-
}, z.core.$strip>>>;
|
|
26
|
-
}, z.core.$strip>;
|
|
25
|
+
}, z.z.core.$strip>>>;
|
|
26
|
+
}, z.z.core.$strip>;
|
|
27
27
|
export type WalletGroupSchema = z.infer<typeof walletGroupSchema>;
|
|
28
28
|
export type WalletGroupOverride = z.infer<typeof WalletOverrideEntrySchema>;
|
|
29
29
|
export {};
|
|
@@ -4,39 +4,30 @@ declare const injectedConfigSchema: z.ZodMiniObject<{
|
|
|
4
4
|
extensionLocators: z.ZodMiniArray<z.ZodMiniObject<{
|
|
5
5
|
flag: z.ZodMiniString<string>;
|
|
6
6
|
value: z.ZodMiniDefault<z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>>;
|
|
7
|
-
}, z.core.$strip>>;
|
|
8
|
-
/**
|
|
9
|
-
* Allows declaring which interface, if any, this wallet's implementation follows
|
|
10
|
-
* ex. Leather with https://btckit.org/
|
|
11
|
-
*/
|
|
7
|
+
}, z.z.core.$strip>>;
|
|
12
8
|
providerInterface: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
13
|
-
/**
|
|
14
|
-
* Allows declaring that this wallet is discoverable through the the Wallet Standard
|
|
15
|
-
* See https://github.com/wallet-standard/wallet-standard
|
|
16
|
-
* Also allows ignoring wallets that don't support the provided features
|
|
17
|
-
*/
|
|
18
9
|
walletStandard: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
19
10
|
features: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
20
11
|
name: z.ZodMiniString<string>;
|
|
21
12
|
providerId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
22
|
-
}, z.core.$strip>>;
|
|
13
|
+
}, z.z.core.$strip>>;
|
|
23
14
|
walletStandardLocators: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
24
15
|
locator: z.ZodMiniString<string>;
|
|
25
16
|
name: z.ZodMiniString<string>;
|
|
26
|
-
}, z.core.$strip>>>;
|
|
17
|
+
}, z.z.core.$strip>>>;
|
|
27
18
|
windowLocations: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
28
|
-
}, z.core.$strip>;
|
|
19
|
+
}, z.z.core.$strip>;
|
|
29
20
|
export declare const brandSchema: z.ZodMiniObject<{
|
|
30
21
|
alt: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
31
22
|
primaryColor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
32
23
|
spriteId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
33
|
-
}, z.core.$strip>;
|
|
24
|
+
}, z.z.core.$strip>;
|
|
34
25
|
export declare const walletSchema: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniTransform<unknown, unknown>, z.ZodMiniObject<{
|
|
35
26
|
brand: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
36
27
|
alt: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
37
28
|
primaryColor: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
38
29
|
spriteId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
39
|
-
}, z.core.$strip>>;
|
|
30
|
+
}, z.z.core.$strip>>;
|
|
40
31
|
chainGroup: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
41
32
|
chains: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
42
33
|
desktop: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniObject<{
|
|
@@ -47,7 +38,7 @@ export declare const walletSchema: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniTransfor
|
|
|
47
38
|
operaId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
48
39
|
safariId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
49
40
|
universal: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
50
|
-
}, z.core.$strip>, z.ZodMiniTransform<{
|
|
41
|
+
}, z.z.core.$strip>, z.ZodMiniTransform<{
|
|
51
42
|
chromeId?: string | undefined;
|
|
52
43
|
edgeId?: string | undefined;
|
|
53
44
|
firefoxId?: string | undefined;
|
|
@@ -66,53 +57,38 @@ export declare const walletSchema: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniTransfor
|
|
|
66
57
|
}>>>;
|
|
67
58
|
eip6963Config: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
68
59
|
rdns: z.ZodMiniString<string>;
|
|
69
|
-
}, z.core.$strip>>;
|
|
60
|
+
}, z.z.core.$strip>>;
|
|
70
61
|
filterFromWalletConnect: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
71
62
|
group: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
72
|
-
/**
|
|
73
|
-
* Indicates which hardware wallets are enabled for this wallet
|
|
74
|
-
*/
|
|
75
63
|
hardwareWallets: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
76
64
|
injectedConfig: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
77
65
|
chain: z.ZodMiniString<string>;
|
|
78
66
|
extensionLocators: z.ZodMiniArray<z.ZodMiniObject<{
|
|
79
67
|
flag: z.ZodMiniString<string>;
|
|
80
68
|
value: z.ZodMiniDefault<z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>>;
|
|
81
|
-
}, z.core.$strip>>;
|
|
82
|
-
/**
|
|
83
|
-
* Allows declaring which interface, if any, this wallet's implementation follows
|
|
84
|
-
* ex. Leather with https://btckit.org/
|
|
85
|
-
*/
|
|
69
|
+
}, z.z.core.$strip>>;
|
|
86
70
|
providerInterface: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
87
|
-
/**
|
|
88
|
-
* Allows declaring that this wallet is discoverable through the the Wallet Standard
|
|
89
|
-
* See https://github.com/wallet-standard/wallet-standard
|
|
90
|
-
* Also allows ignoring wallets that don't support the provided features
|
|
91
|
-
*/
|
|
92
71
|
walletStandard: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
93
72
|
features: z.ZodMiniArray<z.ZodMiniString<string>>;
|
|
94
73
|
name: z.ZodMiniString<string>;
|
|
95
74
|
providerId: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
96
|
-
}, z.core.$strip>>;
|
|
75
|
+
}, z.z.core.$strip>>;
|
|
97
76
|
walletStandardLocators: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniObject<{
|
|
98
77
|
locator: z.ZodMiniString<string>;
|
|
99
78
|
name: z.ZodMiniString<string>;
|
|
100
|
-
}, z.core.$strip>>>;
|
|
79
|
+
}, z.z.core.$strip>>>;
|
|
101
80
|
windowLocations: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
102
|
-
}, z.core.$strip>>>;
|
|
81
|
+
}, z.z.core.$strip>>>;
|
|
103
82
|
mobile: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniObject<{
|
|
104
83
|
android: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
105
84
|
androidId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>, z.ZodMiniTransform<string | undefined, string | undefined>>>;
|
|
106
|
-
/**
|
|
107
|
-
* @deprecated Use inAppBrowserV2 instead for EVM wallet deep linking
|
|
108
|
-
*/
|
|
109
85
|
inAppBrowser: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
110
86
|
inAppBrowserV2: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
111
87
|
ios: z.ZodMiniOptional<z.ZodMiniNullable<z.ZodMiniString<string>>>;
|
|
112
88
|
iosId: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>, z.ZodMiniTransform<string | undefined, string | undefined>>>;
|
|
113
89
|
native: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
114
90
|
universal: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
115
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
91
|
+
}, z.z.core.$strip>>, z.ZodMiniTransform<{
|
|
116
92
|
android?: string | null | undefined;
|
|
117
93
|
androidId?: string | undefined;
|
|
118
94
|
inAppBrowser?: string | null | undefined;
|
|
@@ -136,36 +112,29 @@ export declare const walletSchema: z.ZodMiniPipe<z.ZodMiniPipe<z.ZodMiniTransfor
|
|
|
136
112
|
redirect: "redirect";
|
|
137
113
|
}>>;
|
|
138
114
|
name: z.ZodMiniString<string>;
|
|
139
|
-
/**
|
|
140
|
-
* Indicates if the wallet requires disconnecting current wallet before connecting a new one.
|
|
141
|
-
* An example is Slush.
|
|
142
|
-
*/
|
|
143
115
|
requiresDisconnectBeforeNewConnection: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
144
116
|
shortName: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<{} | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniString<string>>>>;
|
|
145
117
|
showOnlyIfInstalled: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
146
118
|
switchNetworkOnlyFromWallet: z.ZodMiniOptional<z.ZodMiniBoolean<boolean>>;
|
|
147
119
|
walletConnect: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniOptional<z.ZodMiniObject<{
|
|
148
120
|
sdks: z.ZodMiniOptional<z.ZodMiniPipe<z.ZodMiniTransform<any[] | undefined, unknown>, z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>>>;
|
|
149
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
121
|
+
}, z.z.core.$strip>>, z.ZodMiniTransform<{
|
|
150
122
|
sdks?: string[] | undefined;
|
|
151
123
|
} | undefined, {
|
|
152
124
|
sdks?: string[] | undefined;
|
|
153
125
|
} | undefined>>>;
|
|
154
126
|
walletGroup: z.ZodMiniOptional<z.ZodMiniString<string>>;
|
|
155
|
-
/**
|
|
156
|
-
* Indicates which connector methods/events are not supported, keyed by wallet type
|
|
157
|
-
*/
|
|
158
127
|
walletLimitations: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
159
128
|
browserExtension: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
160
129
|
unsupportedEvents: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
161
130
|
unsupportedMethods: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
162
|
-
}, z.core.$strip>>;
|
|
131
|
+
}, z.z.core.$strip>>;
|
|
163
132
|
mobile: z.ZodMiniOptional<z.ZodMiniObject<{
|
|
164
133
|
unsupportedEvents: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
165
134
|
unsupportedMethods: z.ZodMiniOptional<z.ZodMiniArray<z.ZodMiniString<string>>>;
|
|
166
|
-
}, z.core.$strip>>;
|
|
167
|
-
}, z.core.$strip>>;
|
|
168
|
-
}, z.core.$strip>>, z.ZodMiniTransform<{
|
|
135
|
+
}, z.z.core.$strip>>;
|
|
136
|
+
}, z.z.core.$strip>>;
|
|
137
|
+
}, z.z.core.$strip>>, z.ZodMiniTransform<{
|
|
169
138
|
name: string;
|
|
170
139
|
brand?: {
|
|
171
140
|
alt?: string | undefined;
|