@dynamic-labs/wallet-book 2.2.0-alpha.5 → 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
CHANGED
|
@@ -1,53 +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
3
|
|
|
4
4
|
|
|
5
|
-
###
|
|
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)
|
|
6
12
|
|
|
7
|
-
*
|
|
8
|
-
* remove force consent and account selection even for returning google users ([#5911](https://github.com/dynamic-labs/DynamicAuth/issues/5911)) ([8b2a358](https://github.com/dynamic-labs/DynamicAuth/commit/8b2a3586ee559c553a1615a57c34226c175db2f9))
|
|
9
|
-
* retrieve connected account from cache when MagicEden wallet is secondary and locked ([#5885](https://github.com/dynamic-labs/DynamicAuth/issues/5885)) ([fb35a65](https://github.com/dynamic-labs/DynamicAuth/commit/fb35a651dc18dbdc2bfaad87b7528bfae977f7e3))
|
|
13
|
+
* Improve handling of unknown wallets, css fixes and copy updates in multi wallet experience
|
|
10
14
|
|
|
11
|
-
|
|
15
|
+
### [2.1.4](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.3...v2.1.4) (2024-06-14)
|
|
12
16
|
|
|
13
17
|
|
|
14
18
|
### Bug Fixes
|
|
15
19
|
|
|
16
|
-
*
|
|
17
|
-
*
|
|
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))
|
|
18
22
|
|
|
19
|
-
|
|
23
|
+
### [2.1.3](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.2...v2.1.3) (2024-06-14)
|
|
20
24
|
|
|
21
25
|
|
|
22
26
|
### Features
|
|
23
27
|
|
|
24
|
-
*
|
|
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))
|
|
25
29
|
|
|
26
30
|
|
|
27
31
|
### Bug Fixes
|
|
28
32
|
|
|
29
|
-
*
|
|
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))
|
|
30
37
|
|
|
31
|
-
|
|
38
|
+
### [2.1.2](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.2-alpha.1...v2.1.2) (2024-06-10)
|
|
32
39
|
|
|
33
40
|
|
|
34
41
|
### Features
|
|
35
42
|
|
|
36
|
-
*
|
|
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))
|
|
37
44
|
|
|
38
45
|
|
|
39
46
|
### Bug Fixes
|
|
40
47
|
|
|
41
|
-
*
|
|
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))
|
|
42
54
|
|
|
43
|
-
|
|
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)
|
|
56
|
+
|
|
57
|
+
|
|
58
|
+
### Bug Fixes
|
|
44
59
|
|
|
45
|
-
|
|
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)
|
|
46
63
|
|
|
47
64
|
|
|
48
65
|
### Features
|
|
49
66
|
|
|
50
|
-
*
|
|
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)
|
|
51
76
|
|
|
52
77
|
## [2.1.0](https://github.com/dynamic-labs/DynamicAuth/compare/v2.1.0-alpha.32...v2.1.0) (2024-06-04)
|
|
53
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": {
|
|
@@ -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?: {
|