@dynamic-labs/wallet-book 2.2.0-alpha.4 → 2.2.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 +46 -12
- package/package.json +4 -4
- package/src/build/index.d.ts +4 -0
- package/src/build/sources/walletConnect/index.d.ts +4 -0
- package/src/helpers/findWalletBookWallet.d.ts +4 -0
- package/src/hooks/useWalletBookCdn.d.ts +4 -0
- package/src/schemas/walletBookSchema.d.ts +76 -0
- package/src/schemas/walletSchema.cjs +3 -0
- package/src/schemas/walletSchema.d.ts +52 -0
- package/src/schemas/walletSchema.js +3 -0
- package/wallet-book-fallbacks.cjs +12 -0
- package/wallet-book-fallbacks.js +12 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,44 +1,78 @@
|
|
|
1
1
|
|
|
2
|
-
## [2.2.0
|
|
2
|
+
## [2.2.0](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.5...v2.2.0) (2024-06-16)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add useSwitchNetwork ([#6027](https://github.com/dynamic-labs/DynamicAuth/issues/6027)) ([671310a](https://github.com/dynamic-labs/DynamicAuth/commit/671310a98aaeca12e02443c824d5d7cad2cdc769))
|
|
8
|
+
* add walletAdded to useDynamicEvents ([#6026](https://github.com/dynamic-labs/DynamicAuth/issues/6026)) ([8b784b7](https://github.com/dynamic-labs/DynamicAuth/commit/8b784b702e242ca279aafae657a076a51d397627))
|
|
9
|
+
* expose selectedTabState and deprecate setDefaultSelectedTab ([#6028](https://github.com/dynamic-labs/DynamicAuth/issues/6028)) ([eb71787](https://github.com/dynamic-labs/DynamicAuth/commit/eb717877cb6604504d10802a3aecc6055f95caa0))
|
|
10
|
+
|
|
11
|
+
### [2.1.5](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.4...v2.1.5) (2024-06-16)
|
|
12
|
+
|
|
13
|
+
* Improve handling of unknown wallets, css fixes and copy updates in multi wallet experience
|
|
14
|
+
|
|
15
|
+
### [2.1.4](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.3...v2.1.4) (2024-06-14)
|
|
3
16
|
|
|
4
17
|
|
|
5
18
|
### Bug Fixes
|
|
6
19
|
|
|
7
|
-
*
|
|
8
|
-
*
|
|
20
|
+
* close sign modal when signing in with a wallet when embedded wallet is enabled ([#6012](https://github.com/dynamic-labs/DynamicAuth/issues/6012)) ([d473cc8](https://github.com/dynamic-labs/DynamicAuth/commit/d473cc83ac378b7bc43e2546020c02a297d4595b))
|
|
21
|
+
* display custom network name in network picker even if it doesn't have a valid icon ([#6020](https://github.com/dynamic-labs/DynamicAuth/issues/6020)) ([5e1539e](https://github.com/dynamic-labs/DynamicAuth/commit/5e1539e1e6920fb1fdbf96c938f40e785b3ee680))
|
|
9
22
|
|
|
10
|
-
|
|
23
|
+
### [2.1.3](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.2...v2.1.3) (2024-06-14)
|
|
11
24
|
|
|
12
25
|
|
|
13
26
|
### Features
|
|
14
27
|
|
|
15
|
-
*
|
|
28
|
+
* add in-app browser navigation support for sats-connect ([#5990](https://github.com/dynamic-labs/DynamicAuth/issues/5990)) ([7ea15b9](https://github.com/dynamic-labs/DynamicAuth/commit/7ea15b93d1864164acb82c1e73aae7f9130e1d44))
|
|
16
29
|
|
|
17
30
|
|
|
18
31
|
### Bug Fixes
|
|
19
32
|
|
|
20
|
-
*
|
|
33
|
+
* cache getGenesisHash call to prevent over calling ([#5966](https://github.com/dynamic-labs/DynamicAuth/issues/5966)) ([#5970](https://github.com/dynamic-labs/DynamicAuth/issues/5970)) ([b624b2e](https://github.com/dynamic-labs/DynamicAuth/commit/b624b2ea5b398bf464d3098e7d81d83c7b5bf659))
|
|
34
|
+
* improvements to embedded solana wallet ([#6001](https://github.com/dynamic-labs/DynamicAuth/issues/6001)) ([a6437c9](https://github.com/dynamic-labs/DynamicAuth/commit/a6437c93e1946bca609d3d99d282123275022376)) ([#5815](https://github.com/dynamic-labs/DynamicAuth/issues/5815)) ([#5978](https://github.com/dynamic-labs/DynamicAuth/issues/5978)) ([dd92973](https://github.com/dynamic-labs/DynamicAuth/commit/dd9297365f0ccbee1217325328e173ae7ee9a922))
|
|
35
|
+
* show linked wallets with unavailable providers in user wallets list ([#6005](https://github.com/dynamic-labs/DynamicAuth/issues/6005)) ([79796d1](https://github.com/dynamic-labs/DynamicAuth/commit/79796d1b73670265ca9897314252b620afaa2e8a))
|
|
36
|
+
* close switch network modal after switching to a supported network ([#5987](https://github.com/dynamic-labs/DynamicAuth/issues/5987)) ([a7e762e](https://github.com/dynamic-labs/DynamicAuth/commit/a7e762ef63a72492d0c083a344111589a6fbc455))
|
|
21
37
|
|
|
22
|
-
|
|
38
|
+
### [2.1.2](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.2-alpha.1...v2.1.2) (2024-06-10)
|
|
23
39
|
|
|
24
40
|
|
|
25
41
|
### Features
|
|
26
42
|
|
|
27
|
-
*
|
|
43
|
+
* hide wallets from wallet list that can't have multiple accounts linked ([#5935](https://github.com/dynamic-labs/DynamicAuth/issues/5935)) ([20f9b15](https://github.com/dynamic-labs/DynamicAuth/commit/20f9b15b145cbc57519155691b3640149eec3689))
|
|
28
44
|
|
|
29
45
|
|
|
30
46
|
### Bug Fixes
|
|
31
47
|
|
|
32
|
-
*
|
|
48
|
+
* ensure sign message will not show 2 times ([#5938](https://github.com/dynamic-labs/DynamicAuth/issues/5938)) ([#5941](https://github.com/dynamic-labs/DynamicAuth/issues/5941)) ([2c5a156](https://github.com/dynamic-labs/DynamicAuth/commit/2c5a156ead565bd25067b3bc2b23cbc704f9b314))
|
|
49
|
+
* improve logic related to embedded wallets and emailVerifcation ([#5947](https://github.com/dynamic-labs/DynamicAuth/issues/5947)) ([b885a14](https://github.com/dynamic-labs/DynamicAuth/commit/b885a14dcf200f05233e4ab42b8b518d877d291a))
|
|
50
|
+
* init coinbase provider adhoc ([#5907](https://github.com/dynamic-labs/DynamicAuth/issues/5907)) ([#5933](https://github.com/dynamic-labs/DynamicAuth/issues/5933)) ([2fa1f52](https://github.com/dynamic-labs/DynamicAuth/commit/2fa1f528b27113ee108252ee874ee7f5ead88329))
|
|
51
|
+
* remove force consent and account selection even for returning google users ([#5912](https://github.com/dynamic-labs/DynamicAuth/issues/5912)) ([26a07f2](https://github.com/dynamic-labs/DynamicAuth/commit/26a07f29bdb8bf32a080396906a21d8b084c202f))
|
|
52
|
+
* resolve the default phone country based on enabled countries ([#5](https://github.com/dynamic-labs/DynamicAuth/issues/5)… ([#5916](https://github.com/dynamic-labs/DynamicAuth/issues/5916)) ([8f27c00](https://github.com/dynamic-labs/DynamicAuth/commit/8f27c0082edb77b964b8402cfa75c6a896b061d3)), closes [#5910](https://github.com/dynamic-labs/DynamicAuth/issues/5910)
|
|
53
|
+
* versioned tx needs address lookup table ([#5909](https://github.com/dynamic-labs/DynamicAuth/issues/5909)) ([#5919](https://github.com/dynamic-labs/DynamicAuth/issues/5919)) ([22e3ca2](https://github.com/dynamic-labs/DynamicAuth/commit/22e3ca2d0b27d15efb50e3092a7bc3a0c0d255a5))
|
|
54
|
+
|
|
55
|
+
### [2.1.2-alpha.1](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.2-alpha.0...v2.1.2-alpha.1) (2024-06-07)
|
|
33
56
|
|
|
34
|
-
## [2.2.0-alpha.1](https://github.com/dynamic-labs/DynamicAuth/compare/v2.2.0-alpha.0...v2.2.0-alpha.1) (2024-06-04)
|
|
35
57
|
|
|
36
|
-
|
|
58
|
+
### Bug Fixes
|
|
59
|
+
|
|
60
|
+
* find phantom solana provider when opening dapp on new tab ([#5902](https://github.com/dynamic-labs/DynamicAuth/issues/5902)) ([99daf87](https://github.com/dynamic-labs/DynamicAuth/commit/99daf87f17caed870a76e4f89a257a14da37c7ab)), closes [#5895](https://github.com/dynamic-labs/DynamicAuth/issues/5895) [#5896](https://github.com/dynamic-labs/DynamicAuth/issues/5896) [#5897](https://github.com/dynamic-labs/DynamicAuth/issues/5897)
|
|
61
|
+
|
|
62
|
+
### [2.1.2-alpha.0](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.1...v2.1.2-alpha.0) (2024-06-07)
|
|
37
63
|
|
|
38
64
|
|
|
39
65
|
### Features
|
|
40
66
|
|
|
41
|
-
*
|
|
67
|
+
* display enabled countries in phone number field ([#5825](https://github.com/dynamic-labs/DynamicAuth/issues/5825)) ([#5868](https://github.com/dynamic-labs/DynamicAuth/issues/5868)) ([640a4a7](https://github.com/dynamic-labs/DynamicAuth/commit/640a4a77c994390ceed759faf186717b38f393a4))
|
|
68
|
+
|
|
69
|
+
|
|
70
|
+
### Bug Fixes
|
|
71
|
+
|
|
72
|
+
* btc getBalance should use ordinal address if payment not available ([#5883](https://github.com/dynamic-labs/DynamicAuth/issues/5883)) ([bc5ac55](https://github.com/dynamic-labs/DynamicAuth/commit/bc5ac5589e90193d41282d23ce037db360dd23e6))
|
|
73
|
+
* phone number in kyc step ([#5875](https://github.com/dynamic-labs/DynamicAuth/issues/5875)) ([#5879](https://github.com/dynamic-labs/DynamicAuth/issues/5879)) ([3d8a5be](https://github.com/dynamic-labs/DynamicAuth/commit/3d8a5bef35d4a13a1068aaf80d2c39e795b097cd))
|
|
74
|
+
|
|
75
|
+
### [2.1.1](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.0...v2.1.1) (2024-06-04)
|
|
42
76
|
|
|
43
77
|
## [2.1.0](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.0-alpha.32...v2.1.0) (2024-06-04)
|
|
44
78
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/wallet-book",
|
|
3
|
-
"version": "2.2.0
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "git+https://github.com/dynamic-labs/dynamic-auth.git",
|
|
@@ -26,9 +26,9 @@
|
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"zod": "3.22.4",
|
|
29
|
-
"@dynamic-labs/iconic": "2.2.0
|
|
30
|
-
"@dynamic-labs/logger": "2.2.0
|
|
31
|
-
"@dynamic-labs/utils": "2.2.0
|
|
29
|
+
"@dynamic-labs/iconic": "2.2.0",
|
|
30
|
+
"@dynamic-labs/logger": "2.2.0",
|
|
31
|
+
"@dynamic-labs/utils": "2.2.0",
|
|
32
32
|
"util": "0.12.5"
|
|
33
33
|
},
|
|
34
34
|
"peerDependencies": {
|
package/src/build/index.d.ts
CHANGED
|
@@ -40,6 +40,10 @@ export declare const generateWalletFallbacks: (wallets: WalletRecordsSchema) =>
|
|
|
40
40
|
name: string;
|
|
41
41
|
features: string[];
|
|
42
42
|
} | undefined;
|
|
43
|
+
walletStandardLocators?: {
|
|
44
|
+
name: string;
|
|
45
|
+
locator: string;
|
|
46
|
+
}[] | undefined;
|
|
43
47
|
windowLocations?: string[] | undefined;
|
|
44
48
|
}[] | undefined;
|
|
45
49
|
mobile?: {
|
|
@@ -92,6 +92,10 @@ export declare const walletConnectTransformedData: Promise<Record<string, {
|
|
|
92
92
|
name: string;
|
|
93
93
|
features: string[];
|
|
94
94
|
} | undefined;
|
|
95
|
+
walletStandardLocators?: {
|
|
96
|
+
name: string;
|
|
97
|
+
locator: string;
|
|
98
|
+
}[] | undefined;
|
|
95
99
|
windowLocations?: string[] | undefined;
|
|
96
100
|
}[] | undefined;
|
|
97
101
|
mobile?: {
|
|
@@ -34,6 +34,10 @@ export declare const findWalletBookWallet: (walletBook: WalletBookSchema, wallet
|
|
|
34
34
|
name: string;
|
|
35
35
|
features: string[];
|
|
36
36
|
} | undefined;
|
|
37
|
+
walletStandardLocators?: {
|
|
38
|
+
name: string;
|
|
39
|
+
locator: string;
|
|
40
|
+
}[] | undefined;
|
|
37
41
|
windowLocations?: string[] | undefined;
|
|
38
42
|
}[] | undefined;
|
|
39
43
|
mobile?: {
|
|
@@ -51,6 +51,10 @@ export declare const useWalletBookCdn: () => {
|
|
|
51
51
|
name: string;
|
|
52
52
|
features: string[];
|
|
53
53
|
} | undefined;
|
|
54
|
+
walletStandardLocators?: {
|
|
55
|
+
name: string;
|
|
56
|
+
locator: string;
|
|
57
|
+
}[] | undefined;
|
|
54
58
|
windowLocations?: string[] | undefined;
|
|
55
59
|
}[] | undefined;
|
|
56
60
|
mobile?: {
|
|
@@ -89,6 +89,16 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
89
89
|
features: string[];
|
|
90
90
|
name: string;
|
|
91
91
|
}>>;
|
|
92
|
+
walletStandardLocators: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
93
|
+
locator: z.ZodString;
|
|
94
|
+
name: z.ZodString;
|
|
95
|
+
}, "strip", z.ZodTypeAny, {
|
|
96
|
+
name: string;
|
|
97
|
+
locator: string;
|
|
98
|
+
}, {
|
|
99
|
+
name: string;
|
|
100
|
+
locator: string;
|
|
101
|
+
}>, "many">>;
|
|
92
102
|
windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
|
|
93
103
|
}, "strip", z.ZodTypeAny, {
|
|
94
104
|
chain: string;
|
|
@@ -101,6 +111,10 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
101
111
|
features: string[];
|
|
102
112
|
name: string;
|
|
103
113
|
} | undefined;
|
|
114
|
+
walletStandardLocators?: {
|
|
115
|
+
name: string;
|
|
116
|
+
locator: string;
|
|
117
|
+
}[] | undefined;
|
|
104
118
|
windowLocations?: string[] | undefined;
|
|
105
119
|
}, {
|
|
106
120
|
chain: string;
|
|
@@ -113,6 +127,10 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
113
127
|
features: string[];
|
|
114
128
|
name: string;
|
|
115
129
|
} | undefined;
|
|
130
|
+
walletStandardLocators?: {
|
|
131
|
+
name: string;
|
|
132
|
+
locator: string;
|
|
133
|
+
}[] | undefined;
|
|
116
134
|
windowLocations?: string[] | undefined;
|
|
117
135
|
}>, "many">>;
|
|
118
136
|
mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
|
|
@@ -207,6 +225,10 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
207
225
|
features: string[];
|
|
208
226
|
name: string;
|
|
209
227
|
} | undefined;
|
|
228
|
+
walletStandardLocators?: {
|
|
229
|
+
name: string;
|
|
230
|
+
locator: string;
|
|
231
|
+
}[] | undefined;
|
|
210
232
|
windowLocations?: string[] | undefined;
|
|
211
233
|
}[] | undefined;
|
|
212
234
|
mobile?: {
|
|
@@ -260,6 +282,10 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
260
282
|
features: string[];
|
|
261
283
|
name: string;
|
|
262
284
|
} | undefined;
|
|
285
|
+
walletStandardLocators?: {
|
|
286
|
+
name: string;
|
|
287
|
+
locator: string;
|
|
288
|
+
}[] | undefined;
|
|
263
289
|
windowLocations?: string[] | undefined;
|
|
264
290
|
}[] | undefined;
|
|
265
291
|
mobile?: {
|
|
@@ -313,6 +339,10 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
313
339
|
features: string[];
|
|
314
340
|
name: string;
|
|
315
341
|
} | undefined;
|
|
342
|
+
walletStandardLocators?: {
|
|
343
|
+
name: string;
|
|
344
|
+
locator: string;
|
|
345
|
+
}[] | undefined;
|
|
316
346
|
windowLocations?: string[] | undefined;
|
|
317
347
|
}[] | undefined;
|
|
318
348
|
mobile?: {
|
|
@@ -366,6 +396,10 @@ export declare const walletRecordsSchema: z.ZodRecord<z.ZodString, z.ZodEffects<
|
|
|
366
396
|
features: string[];
|
|
367
397
|
name: string;
|
|
368
398
|
} | undefined;
|
|
399
|
+
walletStandardLocators?: {
|
|
400
|
+
name: string;
|
|
401
|
+
locator: string;
|
|
402
|
+
}[] | undefined;
|
|
369
403
|
windowLocations?: string[] | undefined;
|
|
370
404
|
}[] | undefined;
|
|
371
405
|
mobile?: {
|
|
@@ -555,6 +589,16 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
555
589
|
features: string[];
|
|
556
590
|
name: string;
|
|
557
591
|
}>>;
|
|
592
|
+
walletStandardLocators: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
593
|
+
locator: z.ZodString;
|
|
594
|
+
name: z.ZodString;
|
|
595
|
+
}, "strip", z.ZodTypeAny, {
|
|
596
|
+
name: string;
|
|
597
|
+
locator: string;
|
|
598
|
+
}, {
|
|
599
|
+
name: string;
|
|
600
|
+
locator: string;
|
|
601
|
+
}>, "many">>;
|
|
558
602
|
windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
|
|
559
603
|
}, "strip", z.ZodTypeAny, {
|
|
560
604
|
chain: string;
|
|
@@ -567,6 +611,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
567
611
|
features: string[];
|
|
568
612
|
name: string;
|
|
569
613
|
} | undefined;
|
|
614
|
+
walletStandardLocators?: {
|
|
615
|
+
name: string;
|
|
616
|
+
locator: string;
|
|
617
|
+
}[] | undefined;
|
|
570
618
|
windowLocations?: string[] | undefined;
|
|
571
619
|
}, {
|
|
572
620
|
chain: string;
|
|
@@ -579,6 +627,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
579
627
|
features: string[];
|
|
580
628
|
name: string;
|
|
581
629
|
} | undefined;
|
|
630
|
+
walletStandardLocators?: {
|
|
631
|
+
name: string;
|
|
632
|
+
locator: string;
|
|
633
|
+
}[] | undefined;
|
|
582
634
|
windowLocations?: string[] | undefined;
|
|
583
635
|
}>, "many">>;
|
|
584
636
|
mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
|
|
@@ -673,6 +725,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
673
725
|
features: string[];
|
|
674
726
|
name: string;
|
|
675
727
|
} | undefined;
|
|
728
|
+
walletStandardLocators?: {
|
|
729
|
+
name: string;
|
|
730
|
+
locator: string;
|
|
731
|
+
}[] | undefined;
|
|
676
732
|
windowLocations?: string[] | undefined;
|
|
677
733
|
}[] | undefined;
|
|
678
734
|
mobile?: {
|
|
@@ -726,6 +782,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
726
782
|
features: string[];
|
|
727
783
|
name: string;
|
|
728
784
|
} | undefined;
|
|
785
|
+
walletStandardLocators?: {
|
|
786
|
+
name: string;
|
|
787
|
+
locator: string;
|
|
788
|
+
}[] | undefined;
|
|
729
789
|
windowLocations?: string[] | undefined;
|
|
730
790
|
}[] | undefined;
|
|
731
791
|
mobile?: {
|
|
@@ -779,6 +839,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
779
839
|
features: string[];
|
|
780
840
|
name: string;
|
|
781
841
|
} | undefined;
|
|
842
|
+
walletStandardLocators?: {
|
|
843
|
+
name: string;
|
|
844
|
+
locator: string;
|
|
845
|
+
}[] | undefined;
|
|
782
846
|
windowLocations?: string[] | undefined;
|
|
783
847
|
}[] | undefined;
|
|
784
848
|
mobile?: {
|
|
@@ -832,6 +896,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
832
896
|
features: string[];
|
|
833
897
|
name: string;
|
|
834
898
|
} | undefined;
|
|
899
|
+
walletStandardLocators?: {
|
|
900
|
+
name: string;
|
|
901
|
+
locator: string;
|
|
902
|
+
}[] | undefined;
|
|
835
903
|
windowLocations?: string[] | undefined;
|
|
836
904
|
}[] | undefined;
|
|
837
905
|
mobile?: {
|
|
@@ -904,6 +972,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
904
972
|
features: string[];
|
|
905
973
|
name: string;
|
|
906
974
|
} | undefined;
|
|
975
|
+
walletStandardLocators?: {
|
|
976
|
+
name: string;
|
|
977
|
+
locator: string;
|
|
978
|
+
}[] | undefined;
|
|
907
979
|
windowLocations?: string[] | undefined;
|
|
908
980
|
}[] | undefined;
|
|
909
981
|
mobile?: {
|
|
@@ -995,6 +1067,10 @@ export declare const walletBookSchema: z.ZodEffects<z.ZodObject<{
|
|
|
995
1067
|
features: string[];
|
|
996
1068
|
name: string;
|
|
997
1069
|
} | undefined;
|
|
1070
|
+
walletStandardLocators?: {
|
|
1071
|
+
name: string;
|
|
1072
|
+
locator: string;
|
|
1073
|
+
}[] | undefined;
|
|
998
1074
|
windowLocations?: string[] | undefined;
|
|
999
1075
|
}[] | undefined;
|
|
1000
1076
|
mobile?: {
|
|
@@ -32,6 +32,9 @@ const injectedConfigSchema = zod.z.object({
|
|
|
32
32
|
walletStandard: zod.z
|
|
33
33
|
.object({ features: zod.z.array(zod.z.string()), name: zod.z.string() })
|
|
34
34
|
.optional(),
|
|
35
|
+
walletStandardLocators: zod.z
|
|
36
|
+
.array(zod.z.object({ locator: zod.z.string(), name: zod.z.string() }))
|
|
37
|
+
.optional(),
|
|
35
38
|
windowLocations: zod.z
|
|
36
39
|
.array(zod.z.string())
|
|
37
40
|
.optional()
|
|
@@ -31,6 +31,16 @@ declare const injectedConfigSchema: z.ZodObject<{
|
|
|
31
31
|
features: string[];
|
|
32
32
|
name: string;
|
|
33
33
|
}>>;
|
|
34
|
+
walletStandardLocators: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
35
|
+
locator: z.ZodString;
|
|
36
|
+
name: z.ZodString;
|
|
37
|
+
}, "strip", z.ZodTypeAny, {
|
|
38
|
+
name: string;
|
|
39
|
+
locator: string;
|
|
40
|
+
}, {
|
|
41
|
+
name: string;
|
|
42
|
+
locator: string;
|
|
43
|
+
}>, "many">>;
|
|
34
44
|
windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
|
|
35
45
|
}, "strip", z.ZodTypeAny, {
|
|
36
46
|
chain: string;
|
|
@@ -43,6 +53,10 @@ declare const injectedConfigSchema: z.ZodObject<{
|
|
|
43
53
|
features: string[];
|
|
44
54
|
name: string;
|
|
45
55
|
} | undefined;
|
|
56
|
+
walletStandardLocators?: {
|
|
57
|
+
name: string;
|
|
58
|
+
locator: string;
|
|
59
|
+
}[] | undefined;
|
|
46
60
|
windowLocations?: string[] | undefined;
|
|
47
61
|
}, {
|
|
48
62
|
chain: string;
|
|
@@ -55,6 +69,10 @@ declare const injectedConfigSchema: z.ZodObject<{
|
|
|
55
69
|
features: string[];
|
|
56
70
|
name: string;
|
|
57
71
|
} | undefined;
|
|
72
|
+
walletStandardLocators?: {
|
|
73
|
+
name: string;
|
|
74
|
+
locator: string;
|
|
75
|
+
}[] | undefined;
|
|
58
76
|
windowLocations?: string[] | undefined;
|
|
59
77
|
}>;
|
|
60
78
|
export declare const brandSchema: z.ZodObject<{
|
|
@@ -172,6 +190,16 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
172
190
|
features: string[];
|
|
173
191
|
name: string;
|
|
174
192
|
}>>;
|
|
193
|
+
walletStandardLocators: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
194
|
+
locator: z.ZodString;
|
|
195
|
+
name: z.ZodString;
|
|
196
|
+
}, "strip", z.ZodTypeAny, {
|
|
197
|
+
name: string;
|
|
198
|
+
locator: string;
|
|
199
|
+
}, {
|
|
200
|
+
name: string;
|
|
201
|
+
locator: string;
|
|
202
|
+
}>, "many">>;
|
|
175
203
|
windowLocations: z.ZodEffects<z.ZodOptional<z.ZodArray<z.ZodString, "many">>, string[] | undefined, string[] | undefined>;
|
|
176
204
|
}, "strip", z.ZodTypeAny, {
|
|
177
205
|
chain: string;
|
|
@@ -184,6 +212,10 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
184
212
|
features: string[];
|
|
185
213
|
name: string;
|
|
186
214
|
} | undefined;
|
|
215
|
+
walletStandardLocators?: {
|
|
216
|
+
name: string;
|
|
217
|
+
locator: string;
|
|
218
|
+
}[] | undefined;
|
|
187
219
|
windowLocations?: string[] | undefined;
|
|
188
220
|
}, {
|
|
189
221
|
chain: string;
|
|
@@ -196,6 +228,10 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
196
228
|
features: string[];
|
|
197
229
|
name: string;
|
|
198
230
|
} | undefined;
|
|
231
|
+
walletStandardLocators?: {
|
|
232
|
+
name: string;
|
|
233
|
+
locator: string;
|
|
234
|
+
}[] | undefined;
|
|
199
235
|
windowLocations?: string[] | undefined;
|
|
200
236
|
}>, "many">>;
|
|
201
237
|
mobile: z.ZodEffects<z.ZodOptional<z.ZodObject<{
|
|
@@ -290,6 +326,10 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
290
326
|
features: string[];
|
|
291
327
|
name: string;
|
|
292
328
|
} | undefined;
|
|
329
|
+
walletStandardLocators?: {
|
|
330
|
+
name: string;
|
|
331
|
+
locator: string;
|
|
332
|
+
}[] | undefined;
|
|
293
333
|
windowLocations?: string[] | undefined;
|
|
294
334
|
}[] | undefined;
|
|
295
335
|
mobile?: {
|
|
@@ -343,6 +383,10 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
343
383
|
features: string[];
|
|
344
384
|
name: string;
|
|
345
385
|
} | undefined;
|
|
386
|
+
walletStandardLocators?: {
|
|
387
|
+
name: string;
|
|
388
|
+
locator: string;
|
|
389
|
+
}[] | undefined;
|
|
346
390
|
windowLocations?: string[] | undefined;
|
|
347
391
|
}[] | undefined;
|
|
348
392
|
mobile?: {
|
|
@@ -396,6 +440,10 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
396
440
|
features: string[];
|
|
397
441
|
name: string;
|
|
398
442
|
} | undefined;
|
|
443
|
+
walletStandardLocators?: {
|
|
444
|
+
name: string;
|
|
445
|
+
locator: string;
|
|
446
|
+
}[] | undefined;
|
|
399
447
|
windowLocations?: string[] | undefined;
|
|
400
448
|
}[] | undefined;
|
|
401
449
|
mobile?: {
|
|
@@ -449,6 +497,10 @@ export declare const walletSchema: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
|
449
497
|
features: string[];
|
|
450
498
|
name: string;
|
|
451
499
|
} | undefined;
|
|
500
|
+
walletStandardLocators?: {
|
|
501
|
+
name: string;
|
|
502
|
+
locator: string;
|
|
503
|
+
}[] | undefined;
|
|
452
504
|
windowLocations?: string[] | undefined;
|
|
453
505
|
}[] | undefined;
|
|
454
506
|
mobile?: {
|
|
@@ -28,6 +28,9 @@ const injectedConfigSchema = z.object({
|
|
|
28
28
|
walletStandard: z
|
|
29
29
|
.object({ features: z.array(z.string()), name: z.string() })
|
|
30
30
|
.optional(),
|
|
31
|
+
walletStandardLocators: z
|
|
32
|
+
.array(z.object({ locator: z.string(), name: z.string() }))
|
|
33
|
+
.optional(),
|
|
31
34
|
windowLocations: z
|
|
32
35
|
.array(z.string())
|
|
33
36
|
.optional()
|
|
@@ -304,6 +304,12 @@ var wallets = {
|
|
|
304
304
|
value: false
|
|
305
305
|
}
|
|
306
306
|
],
|
|
307
|
+
walletStandardLocators: [
|
|
308
|
+
{
|
|
309
|
+
locator: "features.phantom:.phantom",
|
|
310
|
+
name: "Phantom"
|
|
311
|
+
}
|
|
312
|
+
],
|
|
307
313
|
windowLocations: [
|
|
308
314
|
"phantom.solana"
|
|
309
315
|
]
|
|
@@ -385,6 +391,12 @@ var wallets = {
|
|
|
385
391
|
value: false
|
|
386
392
|
}
|
|
387
393
|
],
|
|
394
|
+
walletStandardLocators: [
|
|
395
|
+
{
|
|
396
|
+
locator: "features.phantom:.phantom",
|
|
397
|
+
name: "Phantom"
|
|
398
|
+
}
|
|
399
|
+
],
|
|
388
400
|
windowLocations: [
|
|
389
401
|
"phantom.solana"
|
|
390
402
|
]
|
package/wallet-book-fallbacks.js
CHANGED
|
@@ -300,6 +300,12 @@ var wallets = {
|
|
|
300
300
|
value: false
|
|
301
301
|
}
|
|
302
302
|
],
|
|
303
|
+
walletStandardLocators: [
|
|
304
|
+
{
|
|
305
|
+
locator: "features.phantom:.phantom",
|
|
306
|
+
name: "Phantom"
|
|
307
|
+
}
|
|
308
|
+
],
|
|
303
309
|
windowLocations: [
|
|
304
310
|
"phantom.solana"
|
|
305
311
|
]
|
|
@@ -381,6 +387,12 @@ var wallets = {
|
|
|
381
387
|
value: false
|
|
382
388
|
}
|
|
383
389
|
],
|
|
390
|
+
walletStandardLocators: [
|
|
391
|
+
{
|
|
392
|
+
locator: "features.phantom:.phantom",
|
|
393
|
+
name: "Phantom"
|
|
394
|
+
}
|
|
395
|
+
],
|
|
384
396
|
windowLocations: [
|
|
385
397
|
"phantom.solana"
|
|
386
398
|
]
|