@exodus/solana-plugin 1.33.0 → 1.35.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 +21 -1
- package/package.json +3 -3
- package/src/create-asset-utils.js +1 -3
- package/src/create-asset.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,7 +3,27 @@
|
|
|
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
|
-
## [1.
|
|
6
|
+
## [1.35.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.34.0...@exodus/solana-plugin@1.35.0) (2026-03-10)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* feat: switch Solana txs to Clarity (#7449)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [1.34.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.33.0...@exodus/solana-plugin@1.34.0) (2026-03-09)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
* feat: add hasLostPermission api method to asset plugins (#7524)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
## [1.33.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.32.4...@exodus/solana-plugin@1.33.0) (2026-03-05)
|
|
7
27
|
|
|
8
28
|
|
|
9
29
|
### Features
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.35.0",
|
|
4
4
|
"description": "Solana plugin for Exodus SDK powered wallets.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"@exodus/bip44-constants": "^195.0.0",
|
|
28
28
|
"@exodus/i18n-dummy": "^1.0.0",
|
|
29
29
|
"@exodus/send-validation-model": "^1.0.0",
|
|
30
|
-
"@exodus/solana-api": "^3.
|
|
30
|
+
"@exodus/solana-api": "^3.30.0",
|
|
31
31
|
"@exodus/solana-lib": "^3.20.1",
|
|
32
32
|
"@exodus/solana-meta": "^2.3.1",
|
|
33
33
|
"@exodus/web3-solana-utils": "^2.9.0",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"type": "git",
|
|
45
45
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "0076335abe2f542d07cc23704104c106ed38d5f3"
|
|
48
48
|
}
|
|
@@ -18,8 +18,8 @@ export const createHistoryMonitorFactory = ({
|
|
|
18
18
|
assert(monitorType, 'expected monitorType')
|
|
19
19
|
assert(interval, 'expected monitor interval')
|
|
20
20
|
assert(clarityApi, 'expected clarity api server')
|
|
21
|
-
assert(rpcApi, 'expected rpc api server')
|
|
22
21
|
assert(wsApi, 'expected ws api server')
|
|
22
|
+
if (monitorType === 'rpc') assert(rpcApi, 'expected rpc api server')
|
|
23
23
|
|
|
24
24
|
return (args) => {
|
|
25
25
|
let monitor
|
|
@@ -29,7 +29,6 @@ export const createHistoryMonitorFactory = ({
|
|
|
29
29
|
assetClientInterface,
|
|
30
30
|
interval,
|
|
31
31
|
includeUnparsed,
|
|
32
|
-
rpcApi,
|
|
33
32
|
clarityApi,
|
|
34
33
|
wsApi,
|
|
35
34
|
txsLimit,
|
|
@@ -44,7 +43,6 @@ export const createHistoryMonitorFactory = ({
|
|
|
44
43
|
ticksBetweenHistoryFetches,
|
|
45
44
|
ticksBetweenStakeFetches,
|
|
46
45
|
includeUnparsed,
|
|
47
|
-
rpcApi,
|
|
48
46
|
clarityApi,
|
|
49
47
|
txsLimit,
|
|
50
48
|
...args,
|
package/src/create-asset.js
CHANGED
|
@@ -227,6 +227,7 @@ export const createSolanaAssetFactory =
|
|
|
227
227
|
addressHasHistory: (...args) => defaultApi.addressHasHistory(...args),
|
|
228
228
|
broadcastTx: (...args) => defaultApi.broadcastTransaction(...args),
|
|
229
229
|
createAccountState: () => SolanaAccountState,
|
|
230
|
+
hasLostPermission: ({ accountState }) => Boolean(accountState?.ownerChanged),
|
|
230
231
|
createHistoryMonitor,
|
|
231
232
|
createToken: (tokenDef) =>
|
|
232
233
|
tokenDef.isBuiltIn ? createToken(tokenDef) : createCustomToken(tokenDef),
|