@exodus/headless 5.0.0-rc.74 → 5.0.0-rc.76
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 +14 -0
- package/README.md +4 -0
- package/package.json +4 -4
- package/src/migrations/attach.js +3 -1
- package/src/plugins/attach.js +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,20 @@
|
|
|
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
|
+
## [5.0.0-rc.76](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@5.0.0-rc.75...@exodus/headless@5.0.0-rc.76) (2025-07-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @exodus/headless
|
|
9
|
+
|
|
10
|
+
## [5.0.0-rc.75](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@5.0.0-rc.74...@exodus/headless@5.0.0-rc.75) (2025-07-17)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- feat: lifecycle hook priority (#13200)
|
|
15
|
+
|
|
16
|
+
### Bug Fixes
|
|
17
|
+
|
|
18
|
+
- fix: don't require unlock for migrateableStorage (#13258)
|
|
19
|
+
|
|
6
20
|
## [5.0.0-rc.74](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@5.0.0-rc.73...@exodus/headless@5.0.0-rc.74) (2025-07-11)
|
|
7
21
|
|
|
8
22
|
### Bug Fixes
|
package/README.md
CHANGED
|
@@ -119,6 +119,10 @@ In most cases you probably want to use encrypted storage instead (not yet migrat
|
|
|
119
119
|
|
|
120
120
|
Check [storage-spec](../../adapters/storage-spec/spec.md) for more details about Storage API
|
|
121
121
|
|
|
122
|
+
### migrateableStorage
|
|
123
|
+
|
|
124
|
+
duplicated `storage` but to be used only for migrations. so that we can unlock storage but other parts of app still can't access it.
|
|
125
|
+
|
|
122
126
|
### seedStorage
|
|
123
127
|
|
|
124
128
|
Storage instance used unquely by wallet module to store seed and autogenerated passphrase (if present).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/headless",
|
|
3
|
-
"version": "5.0.0-rc.
|
|
3
|
+
"version": "5.0.0-rc.76",
|
|
4
4
|
"description": "The platform-agnostic Exodus wallet SDK",
|
|
5
5
|
"author": "Exodus Movement, Inc.",
|
|
6
6
|
"type": "module",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
35
|
"@exodus/address-provider": "^12.9.4",
|
|
36
|
-
"@exodus/application": "^2.
|
|
36
|
+
"@exodus/application": "^2.10.0",
|
|
37
37
|
"@exodus/argo": "^2.2.1",
|
|
38
38
|
"@exodus/asset-sources": "^1.4.1",
|
|
39
39
|
"@exodus/assets-feature": "^7.0.0",
|
|
@@ -77,7 +77,7 @@
|
|
|
77
77
|
"@exodus/algorand-meta": "^2.0.0",
|
|
78
78
|
"@exodus/analytics": "^15.4.0",
|
|
79
79
|
"@exodus/announcements": "^3.0.0",
|
|
80
|
-
"@exodus/app-process-mobile": "^3.
|
|
80
|
+
"@exodus/app-process-mobile": "^3.10.0",
|
|
81
81
|
"@exodus/apy-rates": "^3.6.0",
|
|
82
82
|
"@exodus/bip32": "^4.0.2",
|
|
83
83
|
"@exodus/bip39": "^1.0.3",
|
|
@@ -137,5 +137,5 @@
|
|
|
137
137
|
"publishConfig": {
|
|
138
138
|
"access": "public"
|
|
139
139
|
},
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "48eec36bc6490d165d3cc0183d5c9fbec45b5ec1"
|
|
141
141
|
}
|
package/src/migrations/attach.js
CHANGED
|
@@ -70,7 +70,9 @@ const attachMigrations = ({ migrations = [], application, modules, adapters, con
|
|
|
70
70
|
|
|
71
71
|
application.hook('migrate', async () => {
|
|
72
72
|
try {
|
|
73
|
-
|
|
73
|
+
if (typeof migrateableStorage.unlock === 'function') {
|
|
74
|
+
await unlockEncryptedStorage(migrateableStorage)
|
|
75
|
+
}
|
|
74
76
|
|
|
75
77
|
const seedId = await wallet.getPrimarySeedId()
|
|
76
78
|
const keys = await keychain.sodium.getKeysFromSeed({
|
package/src/plugins/attach.js
CHANGED
|
@@ -24,6 +24,10 @@ const attachPlugins = ({ plugins, application, logger, pluginTimeout }) => {
|
|
|
24
24
|
|
|
25
25
|
Object.defineProperty(timeFn, 'name', { value: name, writable: false })
|
|
26
26
|
|
|
27
|
+
if (typeof fn.priority === 'number') {
|
|
28
|
+
Object.defineProperty(timeFn, 'priority', { value: fn.priority, writable: false })
|
|
29
|
+
}
|
|
30
|
+
|
|
27
31
|
return timeFn
|
|
28
32
|
}
|
|
29
33
|
|