@exodus/solana-plugin 1.18.0 → 1.18.2

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,6 +3,28 @@
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.18.2](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.18.1...@exodus/solana-plugin@1.18.2) (2025-03-25)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: demote KHAI spl token to CT (#5255)
13
+
14
+ * fix: SOL insufficient funds for rent (#5308)
15
+
16
+
17
+
18
+ ## [1.18.1](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.18.0...@exodus/solana-plugin@1.18.1) (2025-03-14)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+
24
+ * fix(SOL): set amount as lamports for internal multi send (#5253)
25
+
26
+
27
+
6
28
  ## [1.18.0](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.17.1...@exodus/solana-plugin@1.18.0) (2025-03-10)
7
29
 
8
30
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-plugin",
3
- "version": "1.18.0",
3
+ "version": "1.18.2",
4
4
  "description": "Solana plugin for Exodus SDK powered wallets.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -23,7 +23,7 @@
23
23
  "dependencies": {
24
24
  "@exodus/assets": "^11.0.0",
25
25
  "@exodus/bip44-constants": "^195.0.0",
26
- "@exodus/solana-api": "^3.14.0",
26
+ "@exodus/solana-api": "^3.14.5",
27
27
  "@exodus/solana-lib": "^3.9.4",
28
28
  "@exodus/solana-meta": "^2.3.1",
29
29
  "@exodus/web3-solana-utils": "^2.9.0",
@@ -40,5 +40,5 @@
40
40
  "type": "git",
41
41
  "url": "git+https://github.com/ExodusMovement/assets.git"
42
42
  },
43
- "gitHead": "0ad4bff46edd70ed69c9351d682d36b3436dbd1f"
43
+ "gitHead": "9674a3923c06f4c88439e857e88ab5bc67a11891"
44
44
  }
@@ -4,6 +4,7 @@ import {
4
4
  createAccountState,
5
5
  createAndBroadcastTXFactory,
6
6
  getBalancesFactory,
7
+ getFeeAsyncFactory,
7
8
  getUnstakingFee,
8
9
  isSolanaRewardsActivityTx,
9
10
  SolanaAutoWithdrawMonitor,
@@ -38,6 +39,7 @@ export const createSolanaAssetFactory =
38
39
  config: {
39
40
  stakingFeatureAvailable = true,
40
41
  includeUnparsed = false,
42
+ allowSendingAll = true,
41
43
  monitorInterval = ms('30s'),
42
44
  defaultAccountReserve = DEFAULT_ACCOUNT_RESERVE,
43
45
  defaultLowBalance = DEFAULT_LOW_BALANCE,
@@ -76,7 +78,7 @@ export const createSolanaAssetFactory =
76
78
  encodePublic: getAddressFromPublicKey,
77
79
  }
78
80
 
79
- const getBalances = getBalancesFactory({ stakingFeatureAvailable })
81
+ const getBalances = getBalancesFactory({ stakingFeatureAvailable, allowSendingAll })
80
82
 
81
83
  const feeData = createFeeData({ asset: base })
82
84
 
@@ -135,6 +137,8 @@ export const createSolanaAssetFactory =
135
137
  return { fee, priorityFee }
136
138
  }
137
139
 
140
+ const getFeeAsync = getFeeAsyncFactory({ api: serverApi })
141
+
138
142
  const api = {
139
143
  getActivityTxs,
140
144
  addressHasHistory: (...args) => serverApi.getAccountInfo(...args).then((acc) => !!acc),
@@ -159,7 +163,7 @@ export const createSolanaAssetFactory =
159
163
  getBalanceForAddress: createGetBalanceForAddress({ api: serverApi, asset: base }),
160
164
  getDefaultAddressPath: () => defaultAddressPath,
161
165
  getFee,
162
- getFeeAsync: getFee, // for now they are the same, eventually prioirtyFee May be calculated
166
+ getFeeAsync,
163
167
  getFeeData: () => feeData,
164
168
  getSupportedPurposes: () => [44],
165
169
  getKeyIdentifier: createGetKeyIdentifier({ bip44, assetName: base.name }),