@exodus/headless 5.0.0-rc.81 → 5.0.0-rc.83
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 +10 -0
- package/package.json +6 -6
- package/src/migrations/attach.js +2 -11
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,16 @@
|
|
|
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.83](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@5.0.0-rc.82...@exodus/headless@5.0.0-rc.83) (2025-09-05)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @exodus/headless
|
|
9
|
+
|
|
10
|
+
## [5.0.0-rc.82](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@5.0.0-rc.81...@exodus/headless@5.0.0-rc.82) (2025-09-05)
|
|
11
|
+
|
|
12
|
+
### Features
|
|
13
|
+
|
|
14
|
+
- feat: rm unused keys arg to fusion.load (#13732)
|
|
15
|
+
|
|
6
16
|
## [5.0.0-rc.81](https://github.com/ExodusMovement/exodus-hydra/compare/@exodus/headless@5.0.0-rc.80...@exodus/headless@5.0.0-rc.81) (2025-09-04)
|
|
7
17
|
|
|
8
18
|
**Note:** Version bump only for package @exodus/headless
|
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.83",
|
|
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.12.0",
|
|
37
37
|
"@exodus/argo": "^2.2.1",
|
|
38
38
|
"@exodus/asset-sources": "^1.4.1",
|
|
39
39
|
"@exodus/assets-feature": "^8.2.0",
|
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
"@exodus/tx-log-monitors": "^2.4.2",
|
|
66
66
|
"@exodus/tx-signer": "^2.3.4",
|
|
67
67
|
"@exodus/typeforce": "^1.18.1",
|
|
68
|
-
"@exodus/wallet": "^
|
|
68
|
+
"@exodus/wallet": "^16.0.0",
|
|
69
69
|
"@exodus/wallet-accounts": "^19.0.0",
|
|
70
70
|
"lodash": "^4.17.21",
|
|
71
71
|
"minimalistic-assert": "^1.0.1",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
"@exodus/models": "^12.16.0",
|
|
102
102
|
"@exodus/nfts": "^9.6.1",
|
|
103
103
|
"@exodus/personal-notes": "^3.9.0",
|
|
104
|
-
"@exodus/referrals": "^8.10.
|
|
104
|
+
"@exodus/referrals": "^8.10.1",
|
|
105
105
|
"@exodus/sdk-rpc": "^1.0.0",
|
|
106
106
|
"@exodus/solana-lib": "^3.6.0",
|
|
107
107
|
"@exodus/solana-meta": "^2.0.0",
|
|
@@ -109,7 +109,7 @@
|
|
|
109
109
|
"@exodus/storage-memory": "^2.3.0",
|
|
110
110
|
"@exodus/top-movers-monitor": "^4.4.1",
|
|
111
111
|
"@exodus/ui-config": "^3.13.0",
|
|
112
|
-
"@exodus/wallet-sdk": "^2.0.
|
|
112
|
+
"@exodus/wallet-sdk": "^2.0.1",
|
|
113
113
|
"@exodus/wild-emitter": "^1.0.0",
|
|
114
114
|
"@exodus/zod": "^3.24.3",
|
|
115
115
|
"buffer-json": "^2.0.0",
|
|
@@ -137,5 +137,5 @@
|
|
|
137
137
|
"publishConfig": {
|
|
138
138
|
"access": "public"
|
|
139
139
|
},
|
|
140
|
-
"gitHead": "
|
|
140
|
+
"gitHead": "72c7d68e7c912886738078da62aa113a112a0a34"
|
|
141
141
|
}
|
package/src/migrations/attach.js
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import { EXODUS_KEY_IDS } from '@exodus/key-ids'
|
|
2
1
|
import { rejectAfter } from '../utils/promises.js'
|
|
3
2
|
import { safeString } from '@exodus/safe-string'
|
|
4
3
|
|
|
5
4
|
const attachMigrations = ({ migrations = [], application, modules, adapters, config, ...deps }) => {
|
|
6
5
|
const { unsafeStorage, migrateableStorage } = adapters
|
|
7
|
-
const { analytics,
|
|
8
|
-
modules
|
|
6
|
+
const { analytics, unlockEncryptedStorage, migrateableFusion, errorTracking } = modules
|
|
9
7
|
// Override encrypted storage with migrations own instance to make sure no modules reads from it before migrations ran
|
|
10
8
|
const maxDuration = config?.migrations?.maxDuration ?? 5000
|
|
11
9
|
|
|
@@ -74,14 +72,7 @@ const attachMigrations = ({ migrations = [], application, modules, adapters, con
|
|
|
74
72
|
await unlockEncryptedStorage(migrateableStorage)
|
|
75
73
|
}
|
|
76
74
|
|
|
77
|
-
|
|
78
|
-
const keys = await keychain.sodium.getKeysFromSeed({
|
|
79
|
-
seedId,
|
|
80
|
-
keyId: EXODUS_KEY_IDS.FUSION,
|
|
81
|
-
exportPrivate: true,
|
|
82
|
-
})
|
|
83
|
-
|
|
84
|
-
await migrateableFusion.load({ keys })
|
|
75
|
+
await migrateableFusion.load()
|
|
85
76
|
|
|
86
77
|
const migrationNames = migrations.map((migration) => migration.name)
|
|
87
78
|
const migrationFlags = await migrationFlagsStorage.batchGet(migrationNames)
|