@dynamic-labs/wallet-book 2.0.0-alpha.8 → 2.0.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,4 +1,333 @@
1
1
 
2
+ ## [2.0.0-alpha.32](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.31...v2.0.0-alpha.32) (2024-04-15)
3
+
4
+ ## [2.0.0-alpha.31](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.30...v2.0.0-alpha.31) (2024-04-11)
5
+
6
+
7
+ ### Features
8
+
9
+ * support adding email for recovery to existing embedded wallet ([#5128](https://github.com/dynamic-labs/DynamicAuth/issues/5128)) ([477fd81](https://github.com/dynamic-labs/DynamicAuth/commit/477fd81ac00864284d9d2183c0b8c078a0a23a2b))
10
+
11
+
12
+ ### Bug Fixes
13
+
14
+ * issue where customer also tries to use i18n.init ([#5267](https://github.com/dynamic-labs/DynamicAuth/issues/5267)) ([7f81f1e](https://github.com/dynamic-labs/DynamicAuth/commit/7f81f1e010fbc6408f6a5d6a37608235e947befa))
15
+ * smart wallet not loading correctly upon refresh when using non-embedded eoa wallet ([#5301](https://github.com/dynamic-labs/DynamicAuth/issues/5301)) ([e957317](https://github.com/dynamic-labs/DynamicAuth/commit/e9573173f6209773a0be5f4af37323f2be8d7906))
16
+
17
+ ## [2.0.0-alpha.30](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.29...v2.0.0-alpha.30) (2024-04-11)
18
+
19
+
20
+ ### ⚠ BREAKING CHANGES
21
+
22
+ * add headless sms sign-in (#5274)
23
+
24
+ ### Features
25
+
26
+ * add headless sms sign-in ([#5274](https://github.com/dynamic-labs/DynamicAuth/issues/5274)) ([fffc293](https://github.com/dynamic-labs/DynamicAuth/commit/fffc293f85447a784e8c728d1586f3555ab1fbfa))
27
+
28
+ ## [2.0.0-alpha.29](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.28...v2.0.0-alpha.29) (2024-04-10)
29
+
30
+
31
+ ### ⚠ BREAKING CHANGES
32
+
33
+ * replace sdk-api with sdk-api-core (#5280)
34
+
35
+ ### Features
36
+
37
+ * add dynamic client context ([#5250](https://github.com/dynamic-labs/DynamicAuth/issues/5250)) ([778ebe6](https://github.com/dynamic-labs/DynamicAuth/commit/778ebe6313e0bf3c9876feb6eff5bf152c15c55e))
38
+ * **webview-controller:** fetch manifest and render Dynamic SDK ([#5287](https://github.com/dynamic-labs/DynamicAuth/issues/5287)) ([00e84ac](https://github.com/dynamic-labs/DynamicAuth/commit/00e84acc4bdda92bad91108788f8d7882d0790d6))
39
+
40
+
41
+ ### Bug Fixes
42
+
43
+ * don't render modal header component if there's no content ([#5269](https://github.com/dynamic-labs/DynamicAuth/issues/5269)) ([f4d7266](https://github.com/dynamic-labs/DynamicAuth/commit/f4d72668a5243108649774c6581733655f385cab))
44
+ * don't show get extension button when there are no download links ([#5276](https://github.com/dynamic-labs/DynamicAuth/issues/5276)) ([e8cf660](https://github.com/dynamic-labs/DynamicAuth/commit/e8cf66076a9914881a8edda69feb2fb192ac63a3))
45
+
46
+
47
+ * replace sdk-api with sdk-api-core ([#5280](https://github.com/dynamic-labs/DynamicAuth/issues/5280)) ([da4b695](https://github.com/dynamic-labs/DynamicAuth/commit/da4b6955a81d6bfb5c994cd62e21e9ae11a4f454))
48
+
49
+ ## [2.0.0-alpha.28](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.27...v2.0.0-alpha.28) (2024-04-10)
50
+
51
+
52
+ ### Bug Fixes
53
+
54
+ * improve bridge connect experience on mobile ([#5283](https://github.com/dynamic-labs/DynamicAuth/issues/5283)) ([155e4a9](https://github.com/dynamic-labs/DynamicAuth/commit/155e4a99e2cf5f78a1a5e91e774acbf170d6b083))
55
+
56
+ ## [2.0.0-alpha.27](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.26...v2.0.0-alpha.27) (2024-04-09)
57
+
58
+
59
+ ### Bug Fixes
60
+
61
+ * coinbase improvements ([#5268](https://github.com/dynamic-labs/DynamicAuth/issues/5268)) ([c10a6de](https://github.com/dynamic-labs/DynamicAuth/commit/c10a6debcacff6cd97f2436fbde387f85faa5682))
62
+ * show qr code for metamask on desktop when not installed ([#5262](https://github.com/dynamic-labs/DynamicAuth/issues/5262)) ([1dcb4d9](https://github.com/dynamic-labs/DynamicAuth/commit/1dcb4d98de8a95f6b11d7bad90b9059110087385))
63
+ * update title of hardware wallet select screen ([#5270](https://github.com/dynamic-labs/DynamicAuth/issues/5270)) ([6e8fe17](https://github.com/dynamic-labs/DynamicAuth/commit/6e8fe17306677786ccf528b97ab673b9ae6b57b9))
64
+
65
+ ## [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)
66
+
67
+
68
+ ### ⚠ BREAKING CHANGES
69
+
70
+ * add onWalletAdded/onWalletRemoved callbacks and removed onConnect/onDisconnect/onLinkSuccess/onUnlinkSuccess (#5194)
71
+ * note:
72
+ - use "events" in favour of "eventsCallbacks"
73
+ - use "handlers.handleConnectedWallet" in favour of "eventsCallbacks.onBeforeConnectSuccessConfirmation"
74
+
75
+ ### Bug Fixes
76
+
77
+ * coinbase wallet settings ([#5233](https://github.com/dynamic-labs/DynamicAuth/issues/5233)) ([1b04411](https://github.com/dynamic-labs/DynamicAuth/commit/1b04411eb90db438f3eacf622d9c28db4c7cf532))
78
+ * remove local storage settings on logout ([#5212](https://github.com/dynamic-labs/DynamicAuth/issues/5212)) ([e686628](https://github.com/dynamic-labs/DynamicAuth/commit/e686628f602a44cd13083e7bb9afb4f50304390e))
79
+ * 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))
80
+ * 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))
81
+
82
+
83
+ * 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))
84
+ * rename eventsCallbacks to events ([#5196](https://github.com/dynamic-labs/DynamicAuth/issues/5196)) ([5797185](https://github.com/dynamic-labs/DynamicAuth/commit/5797185c18fa091032ef27043b63a1d5201b5e23))
85
+
86
+ ## [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)
87
+
88
+
89
+ ### Features
90
+
91
+ * 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)
92
+
93
+ ## [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)
94
+
95
+
96
+ ### ⚠ BREAKING CHANGES
97
+
98
+ * rename otp verification callbacks (#5180)
99
+ * remove deprecated isVerificationInProgress flag and setter (#5089)
100
+
101
+ ### Features
102
+
103
+ * allow creating embedded wallets even if user signs in with a wallet ([#5093](https://github.com/dynamic-labs/DynamicAuth/issues/5093)) ([ba2dd62](https://github.com/dynamic-labs/DynamicAuth/commit/ba2dd625e0a7bf35018cf8aac8e80bd23b4e3b0f))
104
+
105
+
106
+ ### Bug Fixes
107
+
108
+ * api unit test by removing api and sdk versions for assertion ([#5168](https://github.com/dynamic-labs/DynamicAuth/issues/5168)) ([6d3b8ad](https://github.com/dynamic-labs/DynamicAuth/commit/6d3b8adebe62a4f2a7878630384348b2c491d779))
109
+ * bug when phone input is empty ([#5139](https://github.com/dynamic-labs/DynamicAuth/issues/5139)) ([7155b63](https://github.com/dynamic-labs/DynamicAuth/commit/7155b63518d00ba807bc321c6740b341d0a8b82f))
110
+ * clear error message on otp resend for sms ([#5182](https://github.com/dynamic-labs/DynamicAuth/issues/5182)) ([f40b48c](https://github.com/dynamic-labs/DynamicAuth/commit/f40b48c7f58c8e3dfe73fb124d642c3b8f193cee))
111
+ * link farcaster account ([#5170](https://github.com/dynamic-labs/DynamicAuth/issues/5170)) ([10fe272](https://github.com/dynamic-labs/DynamicAuth/commit/10fe272247605b5f09385f063231e2c881399cc8))
112
+ * show correct otp message for sms verification failure ([#5177](https://github.com/dynamic-labs/DynamicAuth/issues/5177)) ([b3bcd76](https://github.com/dynamic-labs/DynamicAuth/commit/b3bcd7694047dac55ce37babb71684a418633f95))
113
+ * update wagmi connector id when wallet connector changes ([#5185](https://github.com/dynamic-labs/DynamicAuth/issues/5185)) ([14fb83a](https://github.com/dynamic-labs/DynamicAuth/commit/14fb83a22c8e39095b79cc9951cae3f00f4fca2f))
114
+
115
+
116
+ * remove deprecated isVerificationInProgress flag and setter ([#5089](https://github.com/dynamic-labs/DynamicAuth/issues/5089)) ([060fef7](https://github.com/dynamic-labs/DynamicAuth/commit/060fef70df0c497e7a9b6e67ad0bfafef52c2bbb))
117
+ * rename otp verification callbacks ([#5180](https://github.com/dynamic-labs/DynamicAuth/issues/5180)) ([a580eec](https://github.com/dynamic-labs/DynamicAuth/commit/a580eec02d15b46a25c01d5473e4db2db89937e2))
118
+
119
+ ## [2.0.0-alpha.23](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.22...v2.0.0-alpha.23) (2024-04-01)
120
+
121
+
122
+ ### ⚠ BREAKING CHANGES
123
+
124
+ * implement proper solana embedded wallet signer (#5092)
125
+ * prevent adding temporary wallet connection to userWallets (#5104)
126
+
127
+ ### Bug Fixes
128
+
129
+ * Multiple WC bug fixes ([#5142](https://github.com/dynamic-labs/DynamicAuth/issues/5142)) ([92236e6](https://github.com/dynamic-labs/DynamicAuth/commit/92236e6d74c28516403f6df79c539406ece3d6d0)) ([#5132](https://github.com/dynamic-labs/DynamicAuth/issues/5132)) ([99f564a](https://github.com/dynamic-labs/DynamicAuth/commit/99f564a39e35e28af0be2a03617f12aa19cbeb7f))
130
+
131
+ * Better handling of empty callback queue([#5147](https://github.com/dynamic-labs/DynamicAuth/issues/5147)) ([e2d6bf2](https://github.com/dynamic-labs/DynamicAuth/commit/e2d6bf2444ca01199796ead4136f34b81b6c9b61))
132
+
133
+ * multiple improvements to the wallet list ([#5112](https://github.com/dynamic-labs/DynamicAuth/issues/5112)) ([00eec5f](https://github.com/dynamic-labs/DynamicAuth/commit/00eec5fde70548c3d771260f3d86e5365e73878d))
134
+
135
+ * Improved scroll experience on ios ([#5152](https://github.com/dynamic-labs/DynamicAuth/issues/5152)) ([341704f](https://github.com/dynamic-labs/DynamicAuth/commit/341704f99cb6e06f253309f3a8afb1684bb8ae2a))
136
+
137
+ * better handling of multiwallet state([#5146](https://github.com/dynamic-labs/DynamicAuth/issues/5146)) ([403267b](https://github.com/dynamic-labs/DynamicAuth/commit/403267b3c268d648aba155e0b6fea31d7fdc1b56))
138
+
139
+ * show correct OTP error message ([#5135](https://github.com/dynamic-labs/DynamicAuth/issues/5135)) ([e7494ce](https://github.com/dynamic-labs/DynamicAuth/commit/e7494cee4a1b5132af91058cbcb2dae0b7eac44b))
140
+
141
+ * implement proper solana embedded wallet signer ([#5092](https://github.com/dynamic-labs/DynamicAuth/issues/5092)) ([7749b97](https://github.com/dynamic-labs/DynamicAuth/commit/7749b97db49fb9af8ae0668172f478e1f0c29665))
142
+
143
+ * prevent adding temporary wallet connection to userWallets ([#5104](https://github.com/dynamic-labs/DynamicAuth/issues/5104)) ([3c02b78](https://github.com/dynamic-labs/DynamicAuth/commit/3c02b781c997c63ff11a7f1c255b92d10962327f))
144
+
145
+
146
+ ## [2.0.0-alpha.22](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.21...v2.0.0-alpha.22) (2024-03-27)
147
+
148
+
149
+ ### ⚠ BREAKING CHANGES
150
+
151
+ * remove isFullyConnected (#5066)
152
+ * remove and deprecated exported methods (#5065)
153
+ * remove emailOnly provider
154
+
155
+ ### Features
156
+
157
+ * add method property to track which phantom connector function was called ([#5044](https://github.com/dynamic-labs/DynamicAuth/issues/5044)) ([f820cd4](https://github.com/dynamic-labs/DynamicAuth/commit/f820cd4c7e047fd5181115b4d388e54df682e5c8))
158
+ * add signAndSendTransaction to phantom redirect connector ([#5054](https://github.com/dynamic-labs/DynamicAuth/issues/5054)) ([694a300](https://github.com/dynamic-labs/DynamicAuth/commit/694a3003c8765098878a5c95174be5eba4509fc2))
159
+ * implement remaining signer methods on phantom redirect connector ([#5060](https://github.com/dynamic-labs/DynamicAuth/issues/5060)) ([29db446](https://github.com/dynamic-labs/DynamicAuth/commit/29db4464de6eea11c92a8080fed1eb3e7588b2b8))
160
+
161
+
162
+ ### Bug Fixes
163
+
164
+ * add recommended wallet tags to the WalletSimpleSignIn component ([#5041](https://github.com/dynamic-labs/DynamicAuth/issues/5041)) ([aefde4d](https://github.com/dynamic-labs/DynamicAuth/commit/aefde4d927427c131dce4402eb3c705527c64e8f))
165
+ * display invalid phone number error ([#5103](https://github.com/dynamic-labs/DynamicAuth/issues/5103)) ([842c0ba](https://github.com/dynamic-labs/DynamicAuth/commit/842c0ba3cfe1120c166f12410efbc346d8e30ed0))
166
+ * ensure the user field modals uses the base widget context ([#5105](https://github.com/dynamic-labs/DynamicAuth/issues/5105)) ([aa2a545](https://github.com/dynamic-labs/DynamicAuth/commit/aa2a545bdbf6f38f4131ccdde61142389dbf5480))
167
+ * force aspect ratio for social icon pfps ([#5072](https://github.com/dynamic-labs/DynamicAuth/issues/5072)) ([6f611a7](https://github.com/dynamic-labs/DynamicAuth/commit/6f611a7cbe41d66796449b28af919bc93a7bae42))
168
+ * handle too many email verifications error ([#5051](https://github.com/dynamic-labs/DynamicAuth/issues/5051)) ([7af96df](https://github.com/dynamic-labs/DynamicAuth/commit/7af96dfb85cdc68577fdb8cc880e2fd09bcff5af))
169
+ * hardcode zerion provider and update walletbook to prevent showing up as metamask when not installed ([#5071](https://github.com/dynamic-labs/DynamicAuth/issues/5071)) ([3ab6c37](https://github.com/dynamic-labs/DynamicAuth/commit/3ab6c3772efe2c2e3259ca7a9dbb92e924314029))
170
+ * issue where ethereum is tree shaken ([#5028](https://github.com/dynamic-labs/DynamicAuth/issues/5028)) ([fda542d](https://github.com/dynamic-labs/DynamicAuth/commit/fda542db2b65a437004fe809a0ea9f90fde47b13))
171
+ * not clearing the loading when creating an embedded wallet ([323086f](https://github.com/dynamic-labs/DynamicAuth/commit/323086f673fb8a2108b8262181511987d0bc1d09))
172
+ * solflare double connection on page refresh ([#5083](https://github.com/dynamic-labs/DynamicAuth/issues/5083)) ([ef76005](https://github.com/dynamic-labs/DynamicAuth/commit/ef7600564b646cf45396287a0d6b6f1420473b04))
173
+ * swap out findProvider for getSigner on solflare ([#5057](https://github.com/dynamic-labs/DynamicAuth/issues/5057)) ([b78827f](https://github.com/dynamic-labs/DynamicAuth/commit/b78827f8fd87a594114908d890f58b8771123383))
174
+ * validate user session whenever user is connected/authenticated ([#5082](https://github.com/dynamic-labs/DynamicAuth/issues/5082)) ([432faa0](https://github.com/dynamic-labs/DynamicAuth/commit/432faa0a69b43cb7324a252a2450db3cbd3b4b12))
175
+ * walletconnect improvements and fixes ([#5085](https://github.com/dynamic-labs/DynamicAuth/issues/5085)) ([bb42566](https://github.com/dynamic-labs/DynamicAuth/commit/bb425666aef5071b7827ef0aa167a328493f1ae7))
176
+
177
+
178
+ * remove and deprecated exported methods ([#5065](https://github.com/dynamic-labs/DynamicAuth/issues/5065)) ([63af7ea](https://github.com/dynamic-labs/DynamicAuth/commit/63af7ea691b2112032de332f2b3558ac6260a38d))
179
+ * remove emailOnly provider ([60a30bc](https://github.com/dynamic-labs/DynamicAuth/commit/60a30bc2f242de19d9c6167279fc44b7f9395ac8))
180
+ * remove isFullyConnected ([#5066](https://github.com/dynamic-labs/DynamicAuth/issues/5066)) ([0a662d9](https://github.com/dynamic-labs/DynamicAuth/commit/0a662d9eda19045f13c21ad1b5238ca11594fde5))
181
+
182
+ ## [2.0.0-alpha.21](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.20...v2.0.0-alpha.21) (2024-03-20)
183
+
184
+
185
+ ### Features
186
+
187
+ * implement barebones signer in PhantomRedirect connector ([#5043](https://github.com/dynamic-labs/DynamicAuth/issues/5043)) ([4d7ff79](https://github.com/dynamic-labs/DynamicAuth/commit/4d7ff79acfe554d651791139b5e1d23ebafe712c))
188
+
189
+
190
+ ### Bug Fixes
191
+
192
+ * find embedded wallets when no chain is specified ([#5036](https://github.com/dynamic-labs/DynamicAuth/issues/5036)) ([ac50742](https://github.com/dynamic-labs/DynamicAuth/commit/ac50742c6002f48aae7b60c9ec094eb12df8dcca))
193
+ * ignore walletconnect chainChange event when it's the same chain ([#5029](https://github.com/dynamic-labs/DynamicAuth/issues/5029)) ([115311a](https://github.com/dynamic-labs/DynamicAuth/commit/115311a4a64ae35317b8864f93c38203566714fc))
194
+
195
+ ## [2.0.0-alpha.20](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.19...v2.0.0-alpha.20) (2024-03-19)
196
+
197
+
198
+ ### Bug Fixes
199
+
200
+ * prevent solflare connect popping up on page refresh when connected ([#5032](https://github.com/dynamic-labs/DynamicAuth/issues/5032)) ([28175a9](https://github.com/dynamic-labs/DynamicAuth/commit/28175a9af43f3e7f2cab30148563eaf5573477d1))
201
+ * show correct user identifier in onboarding view ([#5021](https://github.com/dynamic-labs/DynamicAuth/issues/5021)) ([c84747f](https://github.com/dynamic-labs/DynamicAuth/commit/c84747f01eb2a0a827ca48e62f03739d4e6df136))
202
+ * use address as the wallet client account ([#5037](https://github.com/dynamic-labs/DynamicAuth/issues/5037)) ([287631e](https://github.com/dynamic-labs/DynamicAuth/commit/287631e9a027e3a39ee2ad6b45ca404febd03929))
203
+
204
+ ## [2.0.0-alpha.19](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.18...v2.0.0-alpha.19) (2024-03-19)
205
+
206
+
207
+ ### Bug Fixes
208
+
209
+ * add localization to email form ([#5009](https://github.com/dynamic-labs/DynamicAuth/issues/5009)) ([f3c100c](https://github.com/dynamic-labs/DynamicAuth/commit/f3c100cb0b815880d11c6b619d94bfaa7330a115))
210
+ * include domain on signTypedData for ZeroDev connector ([#5017](https://github.com/dynamic-labs/DynamicAuth/issues/5017)) ([71c9131](https://github.com/dynamic-labs/DynamicAuth/commit/71c91311a75309810bc497c8f82981553ddc57fd))
211
+ * Remove Copy Address button if there is no wallet ([#4994](https://github.com/dynamic-labs/DynamicAuth/issues/4994)) ([fe1e641](https://github.com/dynamic-labs/DynamicAuth/commit/fe1e6417be2299e65ba4bcbc3347dfc27f021853))
212
+
213
+ ## [2.0.0-alpha.18](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.17...v2.0.0-alpha.18) (2024-03-15)
214
+
215
+ ## [2.0.0-alpha.17](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.16...v2.0.0-alpha.17) (2024-03-15)
216
+
217
+
218
+ ### ⚠ BREAKING CHANGES
219
+
220
+ * rename prop canConnectViaEmail to requiresNonDynamicEmailOtp (#4991)
221
+
222
+ ### Features
223
+
224
+ * allow creating embedded wallet with phone number without email ([#4953](https://github.com/dynamic-labs/DynamicAuth/issues/4953)) ([39d31cb](https://github.com/dynamic-labs/DynamicAuth/commit/39d31cbc969fff7acf53c0b6c5e5093ff846f3ea))
225
+
226
+
227
+ * rename prop canConnectViaEmail to requiresNonDynamicEmailOtp ([#4991](https://github.com/dynamic-labs/DynamicAuth/issues/4991)) ([e83a365](https://github.com/dynamic-labs/DynamicAuth/commit/e83a3658d4f5cf0630fc8f15be66f2d3db84ab98))
228
+
229
+ ## [2.0.0-alpha.16](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.15...v2.0.0-alpha.16) (2024-03-15)
230
+
231
+
232
+ ### Features
233
+
234
+ * add bundlerProvider prop to allow AA customers to select a provider ([#4975](https://github.com/dynamic-labs/DynamicAuth/issues/4975)) ([1870cef](https://github.com/dynamic-labs/DynamicAuth/commit/1870cef4f50944a86226d10f09ef7bf6595f3c95))
235
+
236
+ ## [2.0.0-alpha.15](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.14...v2.0.0-alpha.15) (2024-03-15)
237
+
238
+
239
+ ### Features
240
+
241
+ * Add support for mobile farcaster signin ([#4973](https://github.com/dynamic-labs/DynamicAuth/issues/4973)) ([98261a4](https://github.com/dynamic-labs/DynamicAuth/commit/98261a47bd319cd93b36f5cdd6a9be0064887686))
242
+
243
+ ## [2.0.0-alpha.14](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.13...v2.0.0-alpha.14) (2024-03-14)
244
+
245
+
246
+ ### Bug Fixes
247
+
248
+ * convert empty value when checking for gas sponsorship ([#4970](https://github.com/dynamic-labs/DynamicAuth/issues/4970)) ([8439a20](https://github.com/dynamic-labs/DynamicAuth/commit/8439a2035729150f33507b22c2678b16ae47976b))
249
+ * omit wallet connect on mobile ([#4954](https://github.com/dynamic-labs/DynamicAuth/issues/4954)) ([6ac29a8](https://github.com/dynamic-labs/DynamicAuth/commit/6ac29a8961dc010688425fb67a4fb621ca9f80b2))
250
+
251
+ ## [2.0.0-alpha.13](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.12...v2.0.0-alpha.13) (2024-03-14)
252
+
253
+ ## [2.0.0-alpha.12](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.11...v2.0.0-alpha.12) (2024-03-13)
254
+
255
+
256
+ ### Features
257
+
258
+ * add sign-in with farcaster ([#4947](https://github.com/dynamic-labs/DynamicAuth/issues/4947)) ([3927d24](https://github.com/dynamic-labs/DynamicAuth/commit/3927d24392a8944997ca05431c6ab54757be62d9))
259
+
260
+
261
+ ### Bug Fixes
262
+
263
+ * wallet connect links with query params ([#4948](https://github.com/dynamic-labs/DynamicAuth/issues/4948)) ([0738130](https://github.com/dynamic-labs/DynamicAuth/commit/0738130f82473a197e035b8dd74d996bdbb24c11))
264
+
265
+ ## [2.0.0-alpha.11](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.10...v2.0.0-alpha.11) (2024-03-12)
266
+
267
+
268
+ ### ⚠ BREAKING CHANGES
269
+
270
+ * rename FetchPublicAddressOpts to GetAddressOpts (#4910)
271
+ * remove use effect in useWalletEventListeners (#4843)
272
+ * rename fetchPublicAddress to getAddress (#4851)
273
+
274
+ ### Features
275
+
276
+ * Add farcaster to iconic ([#4925](https://github.com/dynamic-labs/DynamicAuth/issues/4925)) ([ab282dc](https://github.com/dynamic-labs/DynamicAuth/commit/ab282dc9cdcc0fe11f014d002b056ef4d3b34234))
277
+ * use transaction confirmation ui on signAndSendTransaction for solana embedded wallets ([#4909](https://github.com/dynamic-labs/DynamicAuth/issues/4909)) ([d77e89e](https://github.com/dynamic-labs/DynamicAuth/commit/d77e89ecff9dfc67ed48537f541a9995b2662e1e))
278
+
279
+
280
+ ### Bug Fixes
281
+
282
+ * add back connect button css variables ([#4922](https://github.com/dynamic-labs/DynamicAuth/issues/4922)) ([1119d62](https://github.com/dynamic-labs/DynamicAuth/commit/1119d62c2db6504952393060930524c3823e4a00))
283
+ * keep adaptive wallet list height ([#4916](https://github.com/dynamic-labs/DynamicAuth/issues/4916)) ([62aa54e](https://github.com/dynamic-labs/DynamicAuth/commit/62aa54e81d563082f7aa519f2ff2b5132e7dd83d))
284
+ * pass account and chain to walletClient ([#4865](https://github.com/dynamic-labs/DynamicAuth/issues/4865)) ([17a143f](https://github.com/dynamic-labs/DynamicAuth/commit/17a143f87a77e56227b2517038c20cf67f8e08bf))
285
+ * update walletbook to fix zerion in-app browser detection issue ([#4917](https://github.com/dynamic-labs/DynamicAuth/issues/4917)) ([48b05d7](https://github.com/dynamic-labs/DynamicAuth/commit/48b05d78e4f7add09787b64505723d4eca34d3e0))
286
+
287
+
288
+ * remove use effect in useWalletEventListeners ([#4843](https://github.com/dynamic-labs/DynamicAuth/issues/4843)) ([2e948bb](https://github.com/dynamic-labs/DynamicAuth/commit/2e948bbca0dbdceab7460a844d0988eacd47f581))
289
+ * rename fetchPublicAddress to getAddress ([#4851](https://github.com/dynamic-labs/DynamicAuth/issues/4851)) ([668e7dd](https://github.com/dynamic-labs/DynamicAuth/commit/668e7dd62e1f323dbe64209b5c59c2cd0ee45d61))
290
+ * rename FetchPublicAddressOpts to GetAddressOpts ([#4910](https://github.com/dynamic-labs/DynamicAuth/issues/4910)) ([e5e4b1b](https://github.com/dynamic-labs/DynamicAuth/commit/e5e4b1b08a4e010afa44f8abb0bf6af7f236a86a))
291
+
292
+ ## [2.0.0-alpha.10](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.9...v2.0.0-alpha.10) (2024-03-08)
293
+
294
+
295
+ ### ⚠ BREAKING CHANGES
296
+
297
+ * rename hideEmbeddedWalletUIs prop to hideEmbeddedWalletTra… (#4892)
298
+ * refactor send transaction for multi chain (#4831)
299
+
300
+ ### Features
301
+
302
+ * add sandbox indicator to sdk ([62fd821](https://github.com/dynamic-labs/DynamicAuth/commit/62fd821a895bb54cec4cae3d153aa0056a7e6638))
303
+
304
+
305
+ ### Bug Fixes
306
+
307
+ * coinbase connector and auth fetcher no being set properly ([#4891](https://github.com/dynamic-labs/DynamicAuth/issues/4891)) ([328566f](https://github.com/dynamic-labs/DynamicAuth/commit/328566ff39c38d5b5761ddc655de3a5d08bb567a))
308
+ * fix server side rendering ([#4811](https://github.com/dynamic-labs/DynamicAuth/issues/4811)) ([063dfae](https://github.com/dynamic-labs/DynamicAuth/commit/063dfae8b6750875d2f35dd9709a1f675495f4fb))
309
+ * hide network ([#4885](https://github.com/dynamic-labs/DynamicAuth/issues/4885)) ([ec10c58](https://github.com/dynamic-labs/DynamicAuth/commit/ec10c588218f067e991d5830fc06ec081e4e1d18))
310
+ * network picker on mobile ([#4887](https://github.com/dynamic-labs/DynamicAuth/issues/4887)) ([6e0ab1b](https://github.com/dynamic-labs/DynamicAuth/commit/6e0ab1bc7d138b73373741960a501ff7cf20e3f9))
311
+
312
+
313
+ * refactor send transaction for multi chain ([#4831](https://github.com/dynamic-labs/DynamicAuth/issues/4831)) ([c98444b](https://github.com/dynamic-labs/DynamicAuth/commit/c98444be7935420dda3d8216d03946f5893eb82f))
314
+ * rename hideEmbeddedWalletUIs prop to hideEmbeddedWalletTra… ([#4892](https://github.com/dynamic-labs/DynamicAuth/issues/4892)) ([7cdf519](https://github.com/dynamic-labs/DynamicAuth/commit/7cdf5196b1cd8516de2d456163fe9071956d40d3))
315
+
316
+ ## [2.0.0-alpha.9](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.8...v2.0.0-alpha.9) (2024-03-06)
317
+
318
+
319
+ ### Features
320
+
321
+ * solana connector new sendTransaction method ([#4842](https://github.com/dynamic-labs/DynamicAuth/issues/4842)) ([0b198e3](https://github.com/dynamic-labs/DynamicAuth/commit/0b198e30d83fbbc8d506654d87cbfad403fda289))
322
+ * specify solana network when using phantom redirect deeplinking ([#4863](https://github.com/dynamic-labs/DynamicAuth/issues/4863)) ([fb4ee7c](https://github.com/dynamic-labs/DynamicAuth/commit/fb4ee7cfc0493c9c85b6ccb31954842556c58aa4))
323
+
324
+
325
+ ### Bug Fixes
326
+
327
+ * isLoggedIn should return true even when there is no primary wallet ([#4875](https://github.com/dynamic-labs/DynamicAuth/issues/4875)) ([f396e22](https://github.com/dynamic-labs/DynamicAuth/commit/f396e22b9d809b05ac52194ffa4346f3591d17fe))
328
+ * update btckit network conversion for signPsbt ([a6009e1](https://github.com/dynamic-labs/DynamicAuth/commit/a6009e18c453b4e65545455fea0e52ed7a983b4d))
329
+ * user getting logged out when signing in with email linked to a unavailable wallet ([#4858](https://github.com/dynamic-labs/DynamicAuth/issues/4858)) ([8653e13](https://github.com/dynamic-labs/DynamicAuth/commit/8653e13d2067dd0161e660b4374c08a9fe0bc203))
330
+
2
331
  ## [2.0.0-alpha.8](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.7...v2.0.0-alpha.8) (2024-03-04)
3
332
 
4
333
  ## [2.0.0-alpha.7](https://github.com/dynamic-labs/DynamicAuth/compare/v2.0.0-alpha.6...v2.0.0-alpha.7) (2024-02-28)
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  - [Updating Wallet Book](#updating-wallet-book)
7
7
  - [Adding First Party Wallet](#adding-first-party-wallet)
8
8
  - [Adding injected (browser extension) wallets](#adding-injected-browser-extension-wallets)
9
- - [If you need to override any of the following functions: signMessage, fetchPublicAddress, getSigner, isInstalledOnBrowser, etc...](#if-you-need-to-override-any-of-the-following-functions-signmessage-fetchpublicaddress-getsigner-isinstalledonbrowser-etc)
9
+ - [If you need to override any of the following functions: signMessage, getAddress, getSigner, isInstalledOnBrowser, etc...](#if-you-need-to-override-any-of-the-following-functions-signmessage-fetchpublicaddress-getsigner-isinstalledonbrowser-etc)
10
10
  - [Things to remember when adding a new wallet](#things-to-remember-when-adding-a-new-wallet)
11
11
  - [**Checklist before submitting the PR**:](#checklist-before-submitting-the-pr)
12
12
  - [Updating Wallet Connect Data](#updating-wallet-connect-data)
@@ -69,7 +69,7 @@ injectedConfig: [
69
69
  name: 'OKX'
70
70
  ```
71
71
 
72
- #### If you need to override any of the following functions: signMessage, fetchPublicAddress, getSigner, isInstalledOnBrowser, etc...
72
+ #### If you need to override any of the following functions: signMessage, getAddress, getSigner, isInstalledOnBrowser, etc...
73
73
 
74
74
  1. Create a file in the respective `ethereum/src/injected/` or `solana/src/injected/`. The basic file should follow this form:
75
75
 
@@ -85,7 +85,7 @@ export class <NameOfConnector> extends InjectedWalletBase {
85
85
  }
86
86
 
87
87
  // override the methods you need below
88
- override async fetchPublicAddress() {
88
+ override async getAddress() {
89
89
  ...
90
90
  }
91
91
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dynamic-labs/wallet-book",
3
- "version": "2.0.0-alpha.8",
3
+ "version": "2.0.0",
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.8",
30
- "@dynamic-labs/logger": "2.0.0-alpha.8",
31
- "@dynamic-labs/utils": "2.0.0-alpha.8",
29
+ "@dynamic-labs/iconic": "2.0.0",
30
+ "@dynamic-labs/logger": "2.0.0",
31
+ "@dynamic-labs/utils": "2.0.0",
32
32
  "util": "0.12.5"
33
33
  },
34
34
  "peerDependencies": {
@@ -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;
@@ -1,5 +1,6 @@
1
1
  export declare const WALLET_CONNECT_ENTRIES_TO_REMOVE: string[];
2
- export declare const applyOverrides: (sourceData: any, overrides?: {
2
+ export declare const applyOverrides: (sourceData: any, overrides?: any) => void;
3
+ export declare const walletConnectOverrides: {
3
4
  cryptocom: {
4
5
  eip6963Config: {
5
6
  action: string;
@@ -39,140 +40,15 @@ export declare const applyOverrides: (sourceData: any, overrides?: {
39
40
  };
40
41
  };
41
42
  ledger: {
42
- switchNetworkOnlyFromWallet: {
43
- action: string;
44
- value: boolean;
45
- };
46
- };
47
- metamask: {
48
- walletConnect: {
49
- sdks: {
50
- action: string;
51
- value: string[];
52
- };
53
- };
54
- };
55
- okxwallet: {
56
- desktop: {
57
- action: string;
58
- value: {
59
- chromeId: string;
60
- };
61
- };
62
- walletConnect: {
63
- sdks: {
64
- action: string;
65
- value: string[];
66
- };
67
- };
68
- };
69
- rainbow: {
70
- brand: {
71
- spriteId: {
72
- action: string;
73
- value: string;
74
- };
75
- };
76
- };
77
- safe: {
78
- mobile: {
79
- native: {
80
- action: string;
81
- value: null;
82
- };
83
- universal: {
84
- action: string;
85
- value: null;
86
- };
87
- };
88
- };
89
- safepal: {
90
- eip6963Config: {
91
- action: string;
92
- value: {
93
- rdns: string;
94
- };
95
- };
96
- switchNetworkOnlyFromWallet: {
97
- action: string;
98
- value: boolean;
99
- };
100
- };
101
- sequence: {
102
- eip6963Config: {
103
- action: string;
104
- value: {
105
- rdns: string;
106
- };
107
- };
108
- };
109
- trust: {
110
- chains: {
111
- action: string;
112
- value: string[];
113
- };
114
- };
115
- zengo: {
116
- brand: {
117
- primaryColor: {
118
- action: string;
119
- value: string;
120
- };
121
- spriteId: {
122
- action: string;
123
- value: string;
124
- };
125
- };
126
- };
127
- zerion: {
128
- brand: {
129
- primaryColor: {
130
- action: string;
131
- value: string;
132
- };
133
- };
134
- };
135
- }) => void;
136
- export declare const walletConnectOverrides: {
137
- cryptocom: {
138
- eip6963Config: {
139
- action: string;
140
- value: {
141
- rdns: string;
142
- };
143
- };
144
- mobile: {
145
- action: string;
146
- value: null;
147
- };
148
- };
149
- exodus: {
150
- group: {
151
- action: string;
152
- value: string;
153
- };
154
- };
155
- exodusevm: {
156
- chains: {
157
- action: string;
158
- value: string[];
159
- };
160
43
  mobile: {
161
44
  action: string;
162
45
  value: {
163
46
  androidId: string;
164
47
  iosId: string;
165
48
  native: string;
49
+ universal: string;
166
50
  };
167
51
  };
168
- walletConnect: {
169
- action: string;
170
- value: {
171
- sdks: string[];
172
- };
173
- };
174
- };
175
- ledger: {
176
52
  switchNetworkOnlyFromWallet: {
177
53
  action: string;
178
54
  value: boolean;
@@ -246,6 +122,10 @@ export declare const walletConnectOverrides: {
246
122
  value: string[];
247
123
  };
248
124
  };
125
+ wallet: {
126
+ action: string;
127
+ value: string;
128
+ };
249
129
  zengo: {
250
130
  brand: {
251
131
  primaryColor: {
@@ -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;
@@ -2,13 +2,13 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- const getWalletBookWallet = (walletBook, walletKey) => {
6
- var _a, _b;
5
+ const getWalletBookWallet = (walletBook, walletKey, walletFallback) => {
6
+ var _a, _b, _c;
7
7
  if (!walletKey)
8
8
  throw new Error('Wallet key is required. Please pass in a wallet key to getWalletBookWallet');
9
- const walletData = (_a = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) === null || _a === void 0 ? void 0 : _a[walletKey];
9
+ const walletData = (_b = (_a = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) === null || _a === void 0 ? void 0 : _a[walletKey]) !== null && _b !== void 0 ? _b : walletFallback;
10
10
  if (!walletData) {
11
- throw new Error(`Wallet ${walletKey} not found in wallet book (${Object.keys((_b = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) !== null && _b !== void 0 ? _b : {}).length} wallets found)`);
11
+ throw new Error(`Wallet ${walletKey} not found in wallet book (${Object.keys((_c = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) !== null && _c !== void 0 ? _c : {}).length} wallets found)`);
12
12
  }
13
13
  return walletData;
14
14
  };
@@ -1,2 +1,2 @@
1
1
  import { WalletBookSchema, WalletSchema } from '../schemas';
2
- export declare const getWalletBookWallet: (walletBook: WalletBookSchema, walletKey: string | undefined) => WalletSchema;
2
+ export declare const getWalletBookWallet: (walletBook: WalletBookSchema, walletKey: string | undefined, walletFallback?: WalletSchema) => WalletSchema;
@@ -1,10 +1,10 @@
1
- const getWalletBookWallet = (walletBook, walletKey) => {
2
- var _a, _b;
1
+ const getWalletBookWallet = (walletBook, walletKey, walletFallback) => {
2
+ var _a, _b, _c;
3
3
  if (!walletKey)
4
4
  throw new Error('Wallet key is required. Please pass in a wallet key to getWalletBookWallet');
5
- const walletData = (_a = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) === null || _a === void 0 ? void 0 : _a[walletKey];
5
+ const walletData = (_b = (_a = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) === null || _a === void 0 ? void 0 : _a[walletKey]) !== null && _b !== void 0 ? _b : walletFallback;
6
6
  if (!walletData) {
7
- throw new Error(`Wallet ${walletKey} not found in wallet book (${Object.keys((_b = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) !== null && _b !== void 0 ? _b : {}).length} wallets found)`);
7
+ throw new Error(`Wallet ${walletKey} not found in wallet book (${Object.keys((_c = walletBook === null || walletBook === void 0 ? void 0 : walletBook.wallets) !== null && _c !== void 0 ? _c : {}).length} wallets found)`);
8
8
  }
9
9
  return walletData;
10
10
  };
@@ -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,
@@ -12,6 +12,14 @@ var groups = {
12
12
  key: "argentx",
13
13
  name: "ArgentX"
14
14
  },
15
+ backpack: {
16
+ brand: {
17
+ alt: "Backpack",
18
+ spriteId: "backpack"
19
+ },
20
+ key: "backpack",
21
+ name: "Backpack"
22
+ },
15
23
  bitgetwallet: {
16
24
  brand: {
17
25
  alt: "Bitget Wallet",
@@ -155,12 +163,17 @@ var wallets = {
155
163
  {
156
164
  flag: "isMagicEden",
157
165
  value: false
166
+ },
167
+ {
168
+ flag: "isZerion",
169
+ value: false
158
170
  }
159
171
  ]
160
172
  }
161
173
  ],
162
174
  mobile: {
163
175
  androidId: "io.metamask",
176
+ inAppBrowser: "https://metamask.app.link/dapp",
164
177
  iosId: "id1438144202",
165
178
  native: "metamask://wc",
166
179
  universal: "https://metamask.app.link/wc"
@@ -395,12 +408,16 @@ var wallets = {
395
408
  },
396
409
  name: "Argent X"
397
410
  },
398
- myalgo: {
411
+ perawallet: {
399
412
  brand: {
400
- alt: "MyAlgo Wallet",
401
- spriteId: "myalgo"
413
+ alt: "Pera Wallet",
414
+ spriteId: "pera"
415
+ },
416
+ mobile: {
417
+ androidId: "com.algorand.android",
418
+ iosId: "id1459898525"
402
419
  },
403
- name: "MyAlgo"
420
+ name: "Pera Wallet"
404
421
  },
405
422
  blocto: {
406
423
  brand: {
@@ -576,21 +593,6 @@ var wallets = {
576
593
  },
577
594
  name: "Dapper"
578
595
  },
579
- slope: {
580
- brand: {
581
- alt: "Slope Wallet",
582
- primaryColor: "#6E66FA",
583
- spriteId: "slope"
584
- },
585
- desktop: {
586
- chromeId: "pocmplpaccanhmnllbbkpgfliimjljgo"
587
- },
588
- mobile: {
589
- androidId: "com.wd.wallet",
590
- iosId: "id1574624530"
591
- },
592
- name: "Slope"
593
- },
594
596
  glow: {
595
597
  brand: {
596
598
  alt: "Glow Wallet",
@@ -716,7 +718,7 @@ var wallets = {
716
718
  "eip155:137",
717
719
  "eip155:43114",
718
720
  "eip155:56",
719
- "solana:4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ"
721
+ "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"
720
722
  ],
721
723
  desktop: {
722
724
  chromeId: "aholpfdialjgjfhomihkjbmgjidlcdno"
@@ -872,10 +874,38 @@ var wallets = {
872
874
  primaryColor: "#e43c3c",
873
875
  spriteId: "backpack"
874
876
  },
877
+ chainGroup: "backpack",
878
+ chains: [
879
+ "eip155:1",
880
+ "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"
881
+ ],
875
882
  desktop: {
876
883
  chromeId: "aflkmfhebedbjioipglgcbcmnbpgliof"
877
884
  },
878
- name: "Backpack (EVM)"
885
+ eip6963Config: {
886
+ rdns: "app.backpack"
887
+ },
888
+ filterFromWalletConnect: true,
889
+ group: "backpack",
890
+ injectedConfig: [
891
+ {
892
+ chain: "evm",
893
+ extensionLocators: [
894
+ {
895
+ flag: "isBackpack",
896
+ value: true
897
+ }
898
+ ],
899
+ windowLocations: [
900
+ ]
901
+ }
902
+ ],
903
+ name: "Backpack",
904
+ walletConnect: {
905
+ sdks: [
906
+ "sign_v1"
907
+ ]
908
+ }
879
909
  },
880
910
  okxwalletbtc: {
881
911
  brand: {
@@ -923,13 +953,6 @@ var wallets = {
923
953
  }
924
954
  ],
925
955
  name: "UniSat"
926
- },
927
- zerodev: {
928
- brand: {
929
- alt: "Smart Wallet",
930
- spriteId: "smartwallet"
931
- },
932
- name: "ZeroDev"
933
956
  }
934
957
  };
935
958
  var walletBookFallbacks = {
@@ -8,6 +8,14 @@ var groups = {
8
8
  key: "argentx",
9
9
  name: "ArgentX"
10
10
  },
11
+ backpack: {
12
+ brand: {
13
+ alt: "Backpack",
14
+ spriteId: "backpack"
15
+ },
16
+ key: "backpack",
17
+ name: "Backpack"
18
+ },
11
19
  bitgetwallet: {
12
20
  brand: {
13
21
  alt: "Bitget Wallet",
@@ -151,12 +159,17 @@ var wallets = {
151
159
  {
152
160
  flag: "isMagicEden",
153
161
  value: false
162
+ },
163
+ {
164
+ flag: "isZerion",
165
+ value: false
154
166
  }
155
167
  ]
156
168
  }
157
169
  ],
158
170
  mobile: {
159
171
  androidId: "io.metamask",
172
+ inAppBrowser: "https://metamask.app.link/dapp",
160
173
  iosId: "id1438144202",
161
174
  native: "metamask://wc",
162
175
  universal: "https://metamask.app.link/wc"
@@ -391,12 +404,16 @@ var wallets = {
391
404
  },
392
405
  name: "Argent X"
393
406
  },
394
- myalgo: {
407
+ perawallet: {
395
408
  brand: {
396
- alt: "MyAlgo Wallet",
397
- spriteId: "myalgo"
409
+ alt: "Pera Wallet",
410
+ spriteId: "pera"
411
+ },
412
+ mobile: {
413
+ androidId: "com.algorand.android",
414
+ iosId: "id1459898525"
398
415
  },
399
- name: "MyAlgo"
416
+ name: "Pera Wallet"
400
417
  },
401
418
  blocto: {
402
419
  brand: {
@@ -572,21 +589,6 @@ var wallets = {
572
589
  },
573
590
  name: "Dapper"
574
591
  },
575
- slope: {
576
- brand: {
577
- alt: "Slope Wallet",
578
- primaryColor: "#6E66FA",
579
- spriteId: "slope"
580
- },
581
- desktop: {
582
- chromeId: "pocmplpaccanhmnllbbkpgfliimjljgo"
583
- },
584
- mobile: {
585
- androidId: "com.wd.wallet",
586
- iosId: "id1574624530"
587
- },
588
- name: "Slope"
589
- },
590
592
  glow: {
591
593
  brand: {
592
594
  alt: "Glow Wallet",
@@ -712,7 +714,7 @@ var wallets = {
712
714
  "eip155:137",
713
715
  "eip155:43114",
714
716
  "eip155:56",
715
- "solana:4sGjMW1sUnHzSxGspuhpqLDx6wiyjNtZ"
717
+ "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"
716
718
  ],
717
719
  desktop: {
718
720
  chromeId: "aholpfdialjgjfhomihkjbmgjidlcdno"
@@ -868,10 +870,38 @@ var wallets = {
868
870
  primaryColor: "#e43c3c",
869
871
  spriteId: "backpack"
870
872
  },
873
+ chainGroup: "backpack",
874
+ chains: [
875
+ "eip155:1",
876
+ "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"
877
+ ],
871
878
  desktop: {
872
879
  chromeId: "aflkmfhebedbjioipglgcbcmnbpgliof"
873
880
  },
874
- name: "Backpack (EVM)"
881
+ eip6963Config: {
882
+ rdns: "app.backpack"
883
+ },
884
+ filterFromWalletConnect: true,
885
+ group: "backpack",
886
+ injectedConfig: [
887
+ {
888
+ chain: "evm",
889
+ extensionLocators: [
890
+ {
891
+ flag: "isBackpack",
892
+ value: true
893
+ }
894
+ ],
895
+ windowLocations: [
896
+ ]
897
+ }
898
+ ],
899
+ name: "Backpack",
900
+ walletConnect: {
901
+ sdks: [
902
+ "sign_v1"
903
+ ]
904
+ }
875
905
  },
876
906
  okxwalletbtc: {
877
907
  brand: {
@@ -919,13 +949,6 @@ var wallets = {
919
949
  }
920
950
  ],
921
951
  name: "UniSat"
922
- },
923
- zerodev: {
924
- brand: {
925
- alt: "Smart Wallet",
926
- spriteId: "smartwallet"
927
- },
928
- name: "ZeroDev"
929
952
  }
930
953
  };
931
954
  var walletBookFallbacks = {