@exodus/headless 2.0.0-alpha.38 → 2.0.0-alpha.4

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
@@ -3,270 +3,6 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [2.0.0-alpha.38](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.37...@exodus/headless@2.0.0-alpha.38) (2023-06-14)
7
-
8
- ### ⚠ BREAKING CHANGES
9
-
10
- - move start out of resolve (#1916)
11
-
12
- ### Features
13
-
14
- - clear personal notes as other modules ([#1922](https://github.com/ExodusMovement/exodus-hydra/issues/1922)) ([9324208](https://github.com/ExodusMovement/exodus-hydra/commit/9324208251f695a016f088bd0138a7ea5c838afa))
15
- - move start out of resolve ([#1916](https://github.com/ExodusMovement/exodus-hydra/issues/1916)) ([85d53fd](https://github.com/ExodusMovement/exodus-hydra/commit/85d53fd547e6eebda8d8a992dffe5a21468baeab))
16
-
17
- ## [2.0.0-alpha.37](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.36...@exodus/headless@2.0.0-alpha.37) (2023-06-09)
18
-
19
- ### Features
20
-
21
- - **headless:** stop clearing atoms on attach ([#1854](https://github.com/ExodusMovement/exodus-hydra/issues/1854)) ([16a7f23](https://github.com/ExodusMovement/exodus-hydra/commit/16a7f23fccbc2355810fa1ca837886922056c6f0))
22
-
23
- ## [2.0.0-alpha.36](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.35...@exodus/headless@2.0.0-alpha.36) (2023-06-09)
24
-
25
- **Note:** Version bump only for package @exodus/headless
26
-
27
- ## [2.0.0-alpha.35](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.34...@exodus/headless@2.0.0-alpha.35) (2023-06-08)
28
-
29
- ### Bug Fixes
30
-
31
- - add handler to clear connected-origins ([#1860](https://github.com/ExodusMovement/exodus-hydra/issues/1860)) ([0f294b4](https://github.com/ExodusMovement/exodus-hydra/commit/0f294b492f43ace082b5fb72bb5d0b9fa8d14351))
32
- - passphraseCache is not an adapter ([#1744](https://github.com/ExodusMovement/exodus-hydra/issues/1744)) ([e382e7a](https://github.com/ExodusMovement/exodus-hydra/commit/e382e7a9ec95b4fb35231edb723cb25ceac07cc1))
33
-
34
- ## [2.0.0-alpha.34](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.33...@exodus/headless@2.0.0-alpha.34) (2023-06-07)
35
-
36
- ### Features
37
-
38
- - migrate nfts module and monitor to headless ([#1812](https://github.com/ExodusMovement/exodus-hydra/issues/1812)) ([55e3ac2](https://github.com/ExodusMovement/exodus-hydra/commit/55e3ac2755ba69339c331cb440e89458b039f128))
39
-
40
- ## [2.0.0-alpha.33](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.32...@exodus/headless@2.0.0-alpha.33) (2023-06-07)
41
-
42
- ### Features
43
-
44
- - add apy rates monitor to headless ([#1830](https://github.com/ExodusMovement/exodus-hydra/issues/1830)) ([6040f4e](https://github.com/ExodusMovement/exodus-hydra/commit/6040f4eacc4b0ea29a25a28c21f6d4c07c833dd4))
45
-
46
- ## [2.0.0-alpha.32](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.31...@exodus/headless@2.0.0-alpha.32) (2023-06-06)
47
-
48
- ### Features
49
-
50
- - add auto enable assets to headless ([#1803](https://github.com/ExodusMovement/exodus-hydra/issues/1803)) ([11996d9](https://github.com/ExodusMovement/exodus-hydra/commit/11996d9a9b23a5d2d1ec1aa30b5e41d05e66ed6a))
51
-
52
- ## [2.0.0-alpha.31](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.30...@exodus/headless@2.0.0-alpha.31) (2023-06-05)
53
-
54
- ### ⚠ BREAKING CHANGES
55
-
56
- - reuse dependency preprocessor with clients (#1779)
57
-
58
- ### Features
59
-
60
- - reuse dependency preprocessor with clients ([#1779](https://github.com/ExodusMovement/exodus-hydra/issues/1779)) ([ac7a402](https://github.com/ExodusMovement/exodus-hydra/commit/ac7a40233a572d299ee033fd64225a3d9d6a8b98))
61
-
62
- ## [2.0.0-alpha.30](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.29...@exodus/headless@2.0.0-alpha.30) (2023-06-01)
63
-
64
- ### Features
65
-
66
- - port base asset names to monitor atom changes to headless ([#1756](https://github.com/ExodusMovement/exodus-hydra/issues/1756)) ([edebc00](https://github.com/ExodusMovement/exodus-hydra/commit/edebc00f7264b7450cc18919b472c33b1f180797))
67
-
68
- ## [2.0.0-alpha.29](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.28...@exodus/headless@2.0.0-alpha.29) (2023-06-01)
69
-
70
- ### Features
71
-
72
- - allow replacing existing dependencies ([#1753](https://github.com/ExodusMovement/exodus-hydra/issues/1753)) ([df6060d](https://github.com/ExodusMovement/exodus-hydra/commit/df6060d09f67dac21f3994dee04223567c921d0a))
73
-
74
- ## [2.0.0-alpha.28](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.27...@exodus/headless@2.0.0-alpha.28) (2023-05-31)
75
-
76
- ### Features
77
-
78
- - add crypto news monitor to headless ([#1750](https://github.com/ExodusMovement/exodus-hydra/issues/1750)) ([64d46a3](https://github.com/ExodusMovement/exodus-hydra/commit/64d46a3d95c3b34d504b0b7128961df1427b6853))
79
-
80
- ## [2.0.0-alpha.27](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.26...@exodus/headless@2.0.0-alpha.27) (2023-05-31)
81
-
82
- ### Features
83
-
84
- - integrate top-movers monitor into headless ([#1743](https://github.com/ExodusMovement/exodus-hydra/issues/1743)) ([05c4b22](https://github.com/ExodusMovement/exodus-hydra/commit/05c4b22e69e823563d81bfe7b30a2d21574d0c45))
85
-
86
- ## [2.0.0-alpha.26](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.25...@exodus/headless@2.0.0-alpha.26) (2023-05-30)
87
-
88
- ### Features
89
-
90
- - integrate feeMonitors into headless ([#1732](https://github.com/ExodusMovement/exodus-hydra/issues/1732)) ([5a4b9b4](https://github.com/ExodusMovement/exodus-hydra/commit/5a4b9b4e2e7b70ac550775860a3bf5474e21a4d0))
91
-
92
- ## [2.0.0-alpha.25](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.24...@exodus/headless@2.0.0-alpha.25) (2023-05-26)
93
-
94
- ### Features
95
-
96
- - migrate connected origins to headless ([#1702](https://github.com/ExodusMovement/exodus-hydra/issues/1702)) ([7f6678e](https://github.com/ExodusMovement/exodus-hydra/commit/7f6678eabc5a66dbf11002f021bb700bec3d32f3))
97
-
98
- ## [2.0.0-alpha.24](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.23...@exodus/headless@2.0.0-alpha.24) (2023-05-26)
99
-
100
- ### Features
101
-
102
- - emit extra payload on application create hook ([#1709](https://github.com/ExodusMovement/exodus-hydra/issues/1709)) ([23412f6](https://github.com/ExodusMovement/exodus-hydra/commit/23412f603cb36c1249d0ed8248a1e44742d5dac9))
103
-
104
- ## [2.0.0-alpha.23](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.22...@exodus/headless@2.0.0-alpha.23) (2023-05-24)
105
-
106
- ### Features
107
-
108
- - add personal notes to headless ([#1676](https://github.com/ExodusMovement/exodus-hydra/issues/1676)) ([c658211](https://github.com/ExodusMovement/exodus-hydra/commit/c6582113b56953edbf68fd0f4d29f4ee802e8bf5))
109
-
110
- ### Bug Fixes
111
-
112
- - handle market-history-new-assets ([#1657](https://github.com/ExodusMovement/exodus-hydra/issues/1657)) ([89ff868](https://github.com/ExodusMovement/exodus-hydra/commit/89ff868ade7def9dc1ae99555f069e1a0cfeacba))
113
- - start geolocation at start ([#1669](https://github.com/ExodusMovement/exodus-hydra/issues/1669)) ([ecfd0f3](https://github.com/ExodusMovement/exodus-hydra/commit/ecfd0f3a74ebf2ed5bca53c67c55ec304df91f4c))
114
-
115
- ## [2.0.0-alpha.22](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.21...@exodus/headless@2.0.0-alpha.22) (2023-05-16)
116
-
117
- ### Features
118
-
119
- - **headless:** bump geolocation ([#1642](https://github.com/ExodusMovement/exodus-hydra/issues/1642)) ([ff1d61b](https://github.com/ExodusMovement/exodus-hydra/commit/ff1d61b0b91ec54fe78f99a33ad987e3a0e54d65))
120
-
121
- ## [2.0.0-alpha.21](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.20...@exodus/headless@2.0.0-alpha.21) (2023-05-16)
122
-
123
- ### Features
124
-
125
- - add mock address provider to headless ([#1637](https://github.com/ExodusMovement/exodus-hydra/issues/1637)) ([c331601](https://github.com/ExodusMovement/exodus-hydra/commit/c331601d7de43bab8f67c7d48905b11a54ffccad))
126
- - disable kyc tests ([#1638](https://github.com/ExodusMovement/exodus-hydra/issues/1638)) ([b51cfaf](https://github.com/ExodusMovement/exodus-hydra/commit/b51cfafe2431ff99695f0fc74c9b7590f67fe427))
127
-
128
- ## [2.0.0-alpha.20](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.19...@exodus/headless@2.0.0-alpha.20) (2023-05-12)
129
-
130
- ### Features
131
-
132
- - stop timers on remoteConfig.stop(), kyc.stop(), referrals.stop() ([#1593](https://github.com/ExodusMovement/exodus-hydra/issues/1593)) ([0f73363](https://github.com/ExodusMovement/exodus-hydra/commit/0f7336362cdc5a6f878109e6353ac241795e4fc6))
133
-
134
- ### Bug Fixes
135
-
136
- - kyc tests ([#1619](https://github.com/ExodusMovement/exodus-hydra/issues/1619)) ([20da423](https://github.com/ExodusMovement/exodus-hydra/commit/20da423b98aa3b950e197b4a2290898c731c59b2))
137
- - kyc tests (again) ([#1626](https://github.com/ExodusMovement/exodus-hydra/issues/1626)) ([0f12f89](https://github.com/ExodusMovement/exodus-hydra/commit/0f12f898691504aefffeaca0db2fd3dbe9740ff6))
138
-
139
- ## [2.0.0-alpha.19](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.18...@exodus/headless@2.0.0-alpha.19) (2023-05-08)
140
-
141
- ### ⚠ BREAKING CHANGES
142
-
143
- - use revamped geolocation (#1559)
144
-
145
- ### Features
146
-
147
- - add addressesProvider to headless ([#1540](https://github.com/ExodusMovement/exodus-hydra/issues/1540)) ([90e963a](https://github.com/ExodusMovement/exodus-hydra/commit/90e963aafa0bb855d8c857902feac37514985d4a))
148
- - add kyc and referrals modules to headless ([#1539](https://github.com/ExodusMovement/exodus-hydra/issues/1539)) ([1a0cf7c](https://github.com/ExodusMovement/exodus-hydra/commit/1a0cf7c18cbbfc5f2b92d9720d9cbf17cd850214))
149
-
150
- ### Code Refactoring
151
-
152
- - use revamped geolocation ([#1559](https://github.com/ExodusMovement/exodus-hydra/issues/1559)) ([4378d13](https://github.com/ExodusMovement/exodus-hydra/commit/4378d137a67e4836a45c72e6bfc79590d4b7ab20))
153
-
154
- ## [2.0.0-alpha.18](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.17...@exodus/headless@2.0.0-alpha.18) (2023-05-05)
155
-
156
- ### Bug Fixes
157
-
158
- - announce that featureFlags writes to featureFlagAtoms ([#1548](https://github.com/ExodusMovement/exodus-hydra/issues/1548)) ([fefac86](https://github.com/ExodusMovement/exodus-hydra/commit/fefac86970ab11e85d530d8424ca9f3de86fed91))
159
-
160
- ## [2.0.0-alpha.17](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.16...@exodus/headless@2.0.0-alpha.17) (2023-05-05)
161
-
162
- ### ⚠ BREAKING CHANGES
163
-
164
- - don't serialize port payloads (#1458)
165
-
166
- ### Features
167
-
168
- - add feature-flags to headless ([#1516](https://github.com/ExodusMovement/exodus-hydra/issues/1516)) ([9d2da89](https://github.com/ExodusMovement/exodus-hydra/commit/9d2da895d4f58d34674b19d42fe3fd621d439f73))
169
-
170
- ### Code Refactoring
171
-
172
- - don't serialize port payloads ([#1458](https://github.com/ExodusMovement/exodus-hydra/issues/1458)) ([9b98a28](https://github.com/ExodusMovement/exodus-hydra/commit/9b98a28b091146ad0dee631a236629f25a16b3e2))
173
-
174
- ## [2.0.0-alpha.16](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.15...@exodus/headless@2.0.0-alpha.16) (2023-05-04)
175
-
176
- ### Bug Fixes
177
-
178
- - bump atoms in headless ([#1523](https://github.com/ExodusMovement/exodus-hydra/issues/1523)) ([7b6ca0b](https://github.com/ExodusMovement/exodus-hydra/commit/7b6ca0b19ccad9e33c9c0f0aac03feddad9d4cac))
179
-
180
- ## [2.0.0-alpha.15](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.14...@exodus/headless@2.0.0-alpha.15) (2023-05-04)
181
-
182
- ### ⚠ BREAKING CHANGES
183
-
184
- - use readOnlyAtoms dependency processor (#1497)
185
-
186
- ### Features
187
-
188
- - add geolocation to headless ([#1514](https://github.com/ExodusMovement/exodus-hydra/issues/1514)) ([44a8620](https://github.com/ExodusMovement/exodus-hydra/commit/44a8620249f8de2147dc073098b68f0562fb7287))
189
- - use readOnlyAtoms dependency processor ([#1497](https://github.com/ExodusMovement/exodus-hydra/issues/1497)) ([b3b4866](https://github.com/ExodusMovement/exodus-hydra/commit/b3b4866084428496aeff30dcb14ec583d6f4d64f))
190
-
191
- ### Bug Fixes
192
-
193
- - enabledAssets storage access ([#1519](https://github.com/ExodusMovement/exodus-hydra/issues/1519)) ([c4d9463](https://github.com/ExodusMovement/exodus-hydra/commit/c4d9463829b0015e70ce617e11940b1fea5bfbe6))
194
-
195
- ## [2.0.0-alpha.14](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.13...@exodus/headless@2.0.0-alpha.14) (2023-05-03)
196
-
197
- **Note:** Version bump only for package @exodus/headless
198
-
199
- ## [2.0.0-alpha.13](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.12...@exodus/headless@2.0.0-alpha.13) (2023-05-02)
200
-
201
- ### Features
202
-
203
- - add rates monitor to headless ([#1470](https://github.com/ExodusMovement/exodus-hydra/issues/1470)) ([d214b9a](https://github.com/ExodusMovement/exodus-hydra/commit/d214b9a22ca0649bbd79e2c8f6d9592733c802d2))
204
-
205
- ### Bug Fixes
206
-
207
- - get assetsModule from 'adapters' ([#1491](https://github.com/ExodusMovement/exodus-hydra/issues/1491)) ([b010cbd](https://github.com/ExodusMovement/exodus-hydra/commit/b010cbd319ffcd02d18a7492dc20e2d7ba7fe1c4))
208
-
209
- ## [2.0.0-alpha.12](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.11...@exodus/headless@2.0.0-alpha.12) (2023-05-02)
210
-
211
- ### Features
212
-
213
- - add balances to headless ([#1379](https://github.com/ExodusMovement/exodus-hydra/issues/1379)) ([b5d6846](https://github.com/ExodusMovement/exodus-hydra/commit/b5d6846d86b9d83463ece51a2ef14c4fd898d438))
214
-
215
- ## [2.0.0-alpha.11](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.10...@exodus/headless@2.0.0-alpha.11) (2023-05-02)
216
-
217
- ### Features
218
-
219
- - migrate locales atoms ([#1457](https://github.com/ExodusMovement/exodus-hydra/issues/1457)) ([e6f3a7f](https://github.com/ExodusMovement/exodus-hydra/commit/e6f3a7feb4319d8aa44032e27df746343fdb66eb))
220
- - migrate market history module ([#1456](https://github.com/ExodusMovement/exodus-hydra/issues/1456)) ([3e64532](https://github.com/ExodusMovement/exodus-hydra/commit/3e64532b739ea802f0df841b7c030c2c912d57e8))
221
-
222
- ## [2.0.0-alpha.10](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.9...@exodus/headless@2.0.0-alpha.10) (2023-04-30)
223
-
224
- ### Features
225
-
226
- - add pricingClient to headless ([#1439](https://github.com/ExodusMovement/exodus-hydra/issues/1439)) ([2a82a4c](https://github.com/ExodusMovement/exodus-hydra/commit/2a82a4c663b542178580908aaaff840524d55369))
227
- - attach wallet account atoms ([#1437](https://github.com/ExodusMovement/exodus-hydra/issues/1437)) ([2648699](https://github.com/ExodusMovement/exodus-hydra/commit/264869986c175091e6bc7c48e852946bd60911d6))
228
-
229
- ## [2.0.0-alpha.9](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.8...@exodus/headless@2.0.0-alpha.9) (2023-04-26)
230
-
231
- ### Features
232
-
233
- - add available-assets to headless ([#1361](https://github.com/ExodusMovement/exodus-hydra/issues/1361)) ([900d142](https://github.com/ExodusMovement/exodus-hydra/commit/900d142018ff112f36ef0f7ef53cf5020020e3ca))
234
-
235
- ## [2.0.0-alpha.8](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.7...@exodus/headless@2.0.0-alpha.8) (2023-04-25)
236
-
237
- ### Features
238
-
239
- - add enabled-assets to headless ([#1235](https://github.com/ExodusMovement/exodus-hydra/issues/1235)) ([a808b75](https://github.com/ExodusMovement/exodus-hydra/commit/a808b750bd911c33241ae710fbf8d8ba7e2073a6))
240
- - add lifecycle docs ([#1313](https://github.com/ExodusMovement/exodus-hydra/issues/1313)) ([df18faa](https://github.com/ExodusMovement/exodus-hydra/commit/df18faa9c341404c2feaadf51ec46236c54e2f15))
241
- - add remoteConfig module ([#1370](https://github.com/ExodusMovement/exodus-hydra/issues/1370)) ([ebc888d](https://github.com/ExodusMovement/exodus-hydra/commit/ebc888d6440c509a19dd6c9c600033fd41128ad7))
242
- - add support for plugins ([#1351](https://github.com/ExodusMovement/exodus-hydra/issues/1351)) ([fac0e2a](https://github.com/ExodusMovement/exodus-hydra/commit/fac0e2a727b0e71ad5f0619b8457c7e80612f707))
243
-
244
- ## [2.0.0-alpha.7](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.6...@exodus/headless@2.0.0-alpha.7) (2023-04-24)
245
-
246
- ### ⚠ BREAKING CHANGES
247
-
248
- - pass compatibility modes config to wallet (#1223)
249
-
250
- ### Features
251
-
252
- - add blockchain metadata to headless ([#1293](https://github.com/ExodusMovement/exodus-hydra/issues/1293)) ([04390a7](https://github.com/ExodusMovement/exodus-hydra/commit/04390a71cb01744cd427f470735fa0748b9157ca))
253
- - add namespaceStorage preprocessor ([#1322](https://github.com/ExodusMovement/exodus-hydra/issues/1322)) ([95f403e](https://github.com/ExodusMovement/exodus-hydra/commit/95f403e59c87f90901247619c727496ebac0a399))
254
- - pass compatibility modes config to wallet ([#1223](https://github.com/ExodusMovement/exodus-hydra/issues/1223)) ([b49b640](https://github.com/ExodusMovement/exodus-hydra/commit/b49b64097af7969e210e5ecf5395ee7f40a13eac))
255
-
256
- ## [2.0.0-alpha.6](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.5...@exodus/headless@2.0.0-alpha.6) (2023-04-20)
257
-
258
- ### Features
259
-
260
- - add walletAccounts in headless ([#1184](https://github.com/ExodusMovement/exodus-hydra/issues/1184)) ([8d9c93d](https://github.com/ExodusMovement/exodus-hydra/commit/8d9c93d86173476211d596e883a72b51b645e866))
261
-
262
- ## [2.0.0-alpha.5](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.4...@exodus/headless@2.0.0-alpha.5) (2023-04-20)
263
-
264
- ### Features
265
-
266
- - force restart on import ([#1297](https://github.com/ExodusMovement/exodus-hydra/issues/1297)) ([3900196](https://github.com/ExodusMovement/exodus-hydra/commit/39001966ce7d962ddde9df8aa3b93619053569f8))
267
- - **headless:** clear storage when seed not present ([#1300](https://github.com/ExodusMovement/exodus-hydra/issues/1300)) ([c3c76f5](https://github.com/ExodusMovement/exodus-hydra/commit/c3c76f5953d91e5ef308b129f1bb2fec0dc41500))
268
- - unlock encrypted storage on wallet unlock ([#1304](https://github.com/ExodusMovement/exodus-hydra/issues/1304)) ([09ea5f2](https://github.com/ExodusMovement/exodus-hydra/commit/09ea5f20ff9547557f59d4c416cee3291f348fdf))
269
-
270
6
  ## [2.0.0-alpha.4](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@2.0.0-alpha.3...@exodus/headless@2.0.0-alpha.4) (2023-04-13)
271
7
 
272
8
  **Note:** Version bump only for package @exodus/headless
package/README.md CHANGED
@@ -2,15 +2,6 @@
2
2
 
3
3
  The headless Exodus wallet SDK
4
4
 
5
- ## Table of Contents
6
-
7
- - [Quick Start](#quick-start)
8
- - [Lifecycle](#lifecycle)
9
- - [Port](#port)
10
- - [Adapters](#adapters)
11
- - [Config](#config)
12
- - [Headless API](#headless-api)
13
-
14
5
  ## Quick Start
15
6
 
16
7
  ```js
@@ -39,72 +30,10 @@ container.register({
39
30
  // 5. Resolve exodus instance
40
31
  const exodus = container.resolve()
41
32
 
42
- // 6. Start exodus instance
43
- await exodus.wallet.start()
44
-
45
- // 7. Use it!
33
+ // 6. Use it!
46
34
  await exodus.wallet.create({ passphrase: 'my-super-secure-passphrase' })
47
35
  ```
48
36
 
49
- ## Lifecycle
50
-
51
- The headless wallet instance transitions through different states during his life. When moving from one another, there are two things that are triggered:
52
-
53
- - Fires hook call: Allows modules to subscribe and halt transition until listener resolves.
54
- - Fires event call: Emitted after all hooks had been executed and resolved.
55
-
56
- Below you can find a state diagram that visualize what hooks are triggered between state transitions:
57
-
58
- ```mermaid
59
- stateDiagram-v2
60
- direction LR
61
- [*] --> Starting
62
-
63
- state Starting {
64
- direction LR
65
-
66
- state "Needs clear storage?*" as NeedsClear
67
- state "Is importing?" as IsImporting
68
-
69
- NeedsClear --> Clearing : CLEAR
70
- Clearing --> IsImporting
71
- IsImporting --> Importing : IMPORT
72
- }
73
-
74
- Starting --> Started : START
75
-
76
- state Started {
77
- direction LR
78
-
79
- state "Has seed?" as HasSeed
80
-
81
- HasSeed --> Empty : No
82
- HasSeed --> Locked : Yes
83
-
84
- Empty --> Locked : CREATE \n---or---\nIMPORT
85
-
86
- Locked --> Migrating : MIGRATE
87
- Migrating --> Unlocked : UNLOCK
88
- Unlocked --> Locked : LOCK
89
-
90
- Unlocked --> Restarting : DELETE
91
-
92
-
93
- }
94
-
95
- Restarting --> [*] : RESTART
96
-
97
- Started --> Started : LOAD
98
-
99
- classDef conditional fill:#ededed,stroke:#c2c2c2,color:#a6a6a6,stroke-width:2;
100
-
101
- class NeedsClear conditional
102
- class IsImporting conditional
103
- class HasSeed conditional
104
- ```
105
-
106
- \* Wallet needs to clear storage if seed is not present or is restoring a new wallet
107
-
108
37
  ## Port
109
38
 
110
39
  Event bus between headless wallet and client
@@ -192,21 +121,21 @@ Currently not used.
192
121
 
193
122
  > Type: object
194
123
 
195
- | Method | Type | Description |
196
- | ------------------------ | ----------------------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
197
- | exists | `async () => boolean` | Checks if a wallet exists on the device. |
198
- | create | `async ({ passphrase?: string }) => void` | Creates new wallet |
199
- | import | `async ({ mnemonic: string, passphrase?: string, forceRestart?: boolean }) => void` | Imports existing wallet |
200
- | delete | `async ({ passphrase?: string }) => void` | Deletes wallet. Passphrase is mandatory if wallet was created with one |
201
- | lock | `async () => void` | Locks wallet |
202
- | unlock | `async ({ passphrase?: string }) => void` | Unlocks wallet. Passphrase is mandatory if wallet was created with one |
203
- | isLocked | `async () => boolean` | Checks if wallet is locked |
204
- | getMnemonic | `async () => void` | Sets wallet as backed up |
205
- | changePassphrase | `async ({ currentPassphrase?: string. newPassphrase: string }) => void` | Change passphrase. Current passphrase is mandatory if wallet was created with one |
206
- | restoreFromCurrentPhrase | `async ({ passphrase?: string }) => void` | Restore current wallet. Passphrase is mandatory if wallet was created with one |
207
- | load | `async () => void` | Loads UI by rehydratating data through port (`BE Only`) |
208
- | unload | `async () => void` | Unloads UI by rehydratating data through port (`BE Only`) |
209
- | changeLockTimer | `async ({ ttl: number }) => void` | Change auto unlock ttl (`BE Only`) |
124
+ | Method | Type | Description |
125
+ | ------------------------ | ----------------------------------------------------------------------- | --------------------------------------------------------------------------------- |
126
+ | exists | `async () => boolean` | Checks if a wallet exists on the device. |
127
+ | create | `async ({ passphrase?: string }) => void` | Creates new wallet |
128
+ | import | `async ({ mnemonic: string, passphrase?: string }) => void` | Imports existing wallet |
129
+ | delete | `async ({ passphrase?: string }) => void` | Deletes wallet. Passphrase is mandatory if wallet was created with one |
130
+ | lock | `async () => void` | Locks wallet |
131
+ | unlock | `async ({ passphrase?: string }) => void` | Unlocks wallet. Passphrase is mandatory if wallet was created with one |
132
+ | isLocked | `async () => boolean` | Checks if wallet is locked |
133
+ | getMnemonic | `async () => void` | Sets wallet as backed up |
134
+ | changePassphrase | `async ({ currentPassphrase?: string. newPassphrase: string }) => void` | Change passphrase. Current passphrase is mandatory if wallet was created with one |
135
+ | restoreFromCurrentPhrase | `async ({ passphrase?: string }) => void` | Restore current wallet. Passphrase is mandatory if wallet was created with one |
136
+ | load | `async () => void` | Loads UI by rehydratating data through port (`BE Only`) |
137
+ | unload | `async () => void` | Unloads UI by rehydratating data through port (`BE Only`) |
138
+ | changeLockTimer | `async ({ ttl: number }) => void` | Change auto unlock ttl (`BE Only`) |
210
139
 
211
140
  ## isMnemonicValid
212
141
 
@@ -219,55 +148,6 @@ Currently not used.
219
148
 
220
149
  **Returns**: `boolean`
221
150
 
222
- ## walletAccounts
223
-
224
- > Type: object
225
-
226
- | Method | Type | Description |
227
- | ---------- | ------------------------------------------- | -------------------------------------------------------------- |
228
- | create | `async (walletAccountFields) => void` | Creates a new WalletAccount with the provided fields. |
229
- | update | `async (name, walletAccountFields) => void` | Updates an existing WalletAccount with the provided fields. |
230
- | enable | `async (name) => void` | Enables an existing WalletAccount. |
231
- | disable | `async (name) => void` | Disables an existing WalletAccount. |
232
- | getEnabled | `async () => object` | Returns enabled walletAccounts as `{ [name]: WalletAccount }`. |
233
-
234
- ## blockchainMetadata
235
-
236
- > Type: object
237
-
238
- | Method | Type | Description |
239
- | ---------------------- | ---------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- |
240
- | getTxLog | `async ({ assetName, walletAccount }) => TxSet` | Get the TxSet for the provided `assetName`/`walletAccount` combination (AssetSource) |
241
- | getLoadedTxLogs | `async () => object` | Get the all loaded `TxSet`s as a `{ [walletAccount]: { [assetName]: TxSet } } object` |
242
- | updateTxs | `async ({ assetName: string, walletAccount: string, txs: object[] }) => void` | Add or update txs with updates provided in `txs` |
243
- | overwriteTxs | `async ({ assetName: string, walletAccount: string, txs: object[], notifyReceivedTxs: ?boolean }) => void` | Overwrite specified txs. |
244
- | clearTxs | `async ({ assetName: string, walletAccount: string }) => void` | Remove txs for AssetSource. |
245
- | removeTxs | `async ({ assetName: string, walletAccount: string, txs: object[] }) => void` | Remove provided txs. |
246
- | getAccountState | `async ({ assetName, walletAccount }) => AccountState` | Get the AccountState for the provided AssetSource |
247
- | getLoadedAccountStates | `async () => object` | Get the all loaded `AccountState`s as a `{ [walletAccount]: { [assetName]: AccountState } } object` |
248
- | updateAccountState | `async ({ assetName: string, walletAccount: string, newData: object }) => void` | Update accountState for AssetSource. |
249
- | removeAccountState | `async ({ assetName: string, walletAccount: string }) => void` | Remove accountState for AssetSource. |
250
- | batch | `() => Batch` | Create a batch of updates. See [blockchainMetadata](../blockchain-metadata) README for batching details. |
251
-
252
- ## assets
253
-
254
- > Type: object
255
-
256
- | Method | Type | Description |
257
- | ----------------- | ---------------------------------------------------------- | ---------------------------------------------------------------------- |
258
- | enable | `async (assetNames: string[]) => void` | Enables assets. |
259
- | disable | `async (assetNames: string[]) => void` | Disables assets. |
260
- | addAndEnableToken | `async (assetId: string, baseAssetName: string) => string` | Adds and enables a custom token. Returns the created `asset`'s `.name` |
261
-
262
- ## locale
263
-
264
- > Type: object
265
-
266
- | Method | Type | Description |
267
- | ----------- | ---------------------------------- | ------------------------- |
268
- | setCurrency | `async (currency: string) => void` | Changes current currency. |
269
- | setLanguage | `async (language: string) => void` | Changes current language. |
270
-
271
151
  ## subscribe
272
152
 
273
153
  > Type: function
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/headless",
3
- "version": "2.0.0-alpha.38",
3
+ "version": "2.0.0-alpha.4",
4
4
  "description": "The headless Exodus wallet SDK",
5
5
  "author": "Exodus Movement Inc",
6
6
  "main": "src/index.js",
@@ -23,69 +23,30 @@
23
23
  "scripts": {
24
24
  "lint": "eslint . --ignore-path ../../.gitignore",
25
25
  "lint:fix": "yarn lint --fix",
26
- "test": "jest --runInBand"
26
+ "test": "jest"
27
27
  },
28
28
  "dependencies": {
29
- "@exodus/address-provider": "^4.0.0",
30
- "@exodus/apy-rates": "^2.1.0",
31
- "@exodus/atoms": "^3.5.3",
32
- "@exodus/auto-enable-assets-plugin": "^4.0.1",
33
- "@exodus/available-assets": "^2.0.1",
34
- "@exodus/balances": "^6.0.0",
35
- "@exodus/basic-utils": "^2.0.0",
36
- "@exodus/blockchain-metadata": "^8.0.1",
37
- "@exodus/config": "^7.0.0",
38
- "@exodus/connected-origins": "^1.1.2",
39
- "@exodus/crypto-news-monitor": "^2.0.0",
40
- "@exodus/dependency-injection": "^2.0.0",
41
- "@exodus/dependency-preprocessors": "^2.6.0",
42
- "@exodus/enabled-assets": "^6.0.1",
43
- "@exodus/exodus-pricing-client": "^1.2.0",
44
- "@exodus/feature-flags": "^2.0.1",
45
- "@exodus/fee-monitors": "^1.0.0",
29
+ "@exodus/atoms": "^2.9.0",
30
+ "@exodus/dependency-injection": "^1.2.0",
31
+ "@exodus/dependency-preprocessors": "^2.0.2",
46
32
  "@exodus/fetch": "^1.2.1",
47
- "@exodus/geolocation": "^2.0.0",
48
- "@exodus/key-identifier-provider": "^1.1.3",
49
- "@exodus/keychain": "^4.0.0",
50
- "@exodus/kyc": "^3.4.0",
51
- "@exodus/market-history": "^3.1.0",
33
+ "@exodus/key-identifier-provider": "^1.1.1",
34
+ "@exodus/keychain": "^3.5.0",
52
35
  "@exodus/module": "^1.0.0",
53
- "@exodus/nfts": "^2.0.0",
54
- "@exodus/personal-notes": "^3.0.1",
55
- "@exodus/rates-monitor": "^2.0.0",
56
- "@exodus/referrals": "^6.0.0",
57
- "@exodus/top-movers-monitor": "^2.0.1",
58
- "@exodus/wallet": "^6.0.1",
59
- "@exodus/wallet-accounts": "^8.0.1",
60
- "@exodus/wallet-compatibility-modes": "^2.0.0",
61
- "bip39": "^2.6.0",
62
- "events": "^3.3.0",
63
- "lodash": "npm:@exodus/lodash@^4.17.21-exodus.2",
36
+ "@exodus/wallet": "^5.1.0",
37
+ "@exodus/wallet-compatibility-modes": "1.0.2",
38
+ "bip39": "2.6.0",
39
+ "lodash": "https://registry.yarnpkg.com/@exodus/lodash/-/lodash-4.17.21-exodus.2.tgz",
64
40
  "minimalistic-assert": "^1.0.1"
65
41
  },
66
42
  "devDependencies": {
67
- "@exodus/algorand-lib": "^2.0.1",
68
- "@exodus/algorand-meta": "^1.1.4",
69
- "@exodus/bitcoin-lib": "^2.2.1",
70
- "@exodus/bitcoin-meta": "^1.0.0",
71
- "@exodus/currency": "^2.2.0",
72
43
  "@exodus/ethereum-lib": "^2.22.2",
73
- "@exodus/ethereum-meta": "^1.0.23",
74
- "@exodus/models": "^8.11.1",
75
44
  "@exodus/solana-lib": "^1.3.11",
76
- "@exodus/solana-meta": "^1.0.2",
77
- "@exodus/storage-encrypted": "^1.1.2",
78
- "@exodus/storage-memory": "^2.1.0",
45
+ "@exodus/storage-memory": "^1.1.0",
79
46
  "@exodus/wild-emitter": "^1.0.0",
80
47
  "buffer-json": "^2.0.0",
81
- "deepmerge": "^4.2.2",
82
- "delay": "^5.0.0",
83
48
  "eslint": "^8.33.0",
84
- "eslint-plugin-simple-import-sort": "^7.0.0",
85
- "events": "^3.3.0",
86
- "jest": "^29.1.2",
87
- "nock": "^13.3.1",
88
- "p-defer": "^4.0.0"
49
+ "jest": "^29.1.2"
89
50
  },
90
- "gitHead": "9d6e1160ddb2fd7aafec747f4ae52198c761f394"
51
+ "gitHead": "587f4dfe6d7cd68f3afceaf01387457cd9eb376b"
91
52
  }