@exodus/solana-plugin 1.29.1 → 1.29.3
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 +20 -0
- package/package.json +3 -3
- package/src/create-asset.js +6 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
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.29.3](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.29.2...@exodus/solana-plugin@1.29.3) (2025-12-22)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* fix: bump dust threshold for parity with Pay (#7157)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [1.29.2](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.29.1...@exodus/solana-plugin@1.29.2) (2025-12-19)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
* fix: use proper keyidentifier in signHardware (#7140)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
## [1.29.1](https://github.com/ExodusMovement/assets/compare/@exodus/solana-plugin@1.29.0...@exodus/solana-plugin@1.29.1) (2025-12-18)
|
|
7
27
|
|
|
8
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-plugin",
|
|
3
|
-
"version": "1.29.
|
|
3
|
+
"version": "1.29.3",
|
|
4
4
|
"description": "Solana plugin for Exodus SDK powered wallets.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "src/index.js",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@exodus/i18n-dummy": "^1.0.0",
|
|
29
29
|
"@exodus/send-validation-model": "^1.0.0",
|
|
30
30
|
"@exodus/solana-api": "^3.26.0",
|
|
31
|
-
"@exodus/solana-lib": "^3.
|
|
31
|
+
"@exodus/solana-lib": "^3.18.3",
|
|
32
32
|
"@exodus/solana-meta": "^2.3.1",
|
|
33
33
|
"@exodus/web3-solana-utils": "^2.9.0",
|
|
34
34
|
"minimalistic-assert": "^1.0.1",
|
|
@@ -44,5 +44,5 @@
|
|
|
44
44
|
"type": "git",
|
|
45
45
|
"url": "git+https://github.com/ExodusMovement/assets.git"
|
|
46
46
|
},
|
|
47
|
-
"gitHead": "
|
|
47
|
+
"gitHead": "8593b84ad05c9799a905912dfdfd727b03de68ab"
|
|
48
48
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -16,11 +16,11 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
createFeeData,
|
|
18
18
|
createGetKeyIdentifier,
|
|
19
|
+
createSignHardwareFactory,
|
|
19
20
|
getAddressFromPublicKey,
|
|
20
21
|
getEncodedSecretKey,
|
|
21
22
|
isValidAddress,
|
|
22
23
|
prepareForSigning,
|
|
23
|
-
signHardware,
|
|
24
24
|
signMessageNew,
|
|
25
25
|
signMessageWithSigner,
|
|
26
26
|
signUnsignedTx,
|
|
@@ -69,7 +69,7 @@ export const createSolanaAssetFactory =
|
|
|
69
69
|
const { name: baseAssetName } = assetList.find((asset) => asset.baseAssetName === asset.name)
|
|
70
70
|
const base = assets[baseAssetName]
|
|
71
71
|
|
|
72
|
-
const smallTxAmount = base.currency.defaultUnit('0.
|
|
72
|
+
const smallTxAmount = base.currency.defaultUnit('0.0001')
|
|
73
73
|
const accountReserve = base.currency.defaultUnit(
|
|
74
74
|
defaultAccountReserve ?? DEFAULT_ACCOUNT_RESERVE
|
|
75
75
|
)
|
|
@@ -169,6 +169,8 @@ export const createSolanaAssetFactory =
|
|
|
169
169
|
|
|
170
170
|
const defaultAddressPath = 'm/0/0'
|
|
171
171
|
|
|
172
|
+
const getKeyIdentifier = createGetKeyIdentifier({ bip44, assetName: base.name })
|
|
173
|
+
|
|
172
174
|
const getFee = ({ asset, feeData }) => {
|
|
173
175
|
const priorityFee = feeData.priorityFee ?? 0
|
|
174
176
|
// NOTE: fee is bumped via remote config, eventually fee = feeData.fee + (priorityFee * unitsConsumed * feeData.computeUnitsMultiplier)
|
|
@@ -223,7 +225,7 @@ export const createSolanaAssetFactory =
|
|
|
223
225
|
getFeeAsync,
|
|
224
226
|
getFeeData: () => feeData,
|
|
225
227
|
getSupportedPurposes: () => [44],
|
|
226
|
-
getKeyIdentifier
|
|
228
|
+
getKeyIdentifier,
|
|
227
229
|
getSendValidations: () => sendValidations,
|
|
228
230
|
getTokens: () =>
|
|
229
231
|
Object.values(assets)
|
|
@@ -236,7 +238,7 @@ export const createSolanaAssetFactory =
|
|
|
236
238
|
signer
|
|
237
239
|
? signUnsignedTxWithSigner(unsignedTx, signer)
|
|
238
240
|
: signUnsignedTx(unsignedTx, privateKey),
|
|
239
|
-
signHardware,
|
|
241
|
+
signHardware: createSignHardwareFactory({ getKeyIdentifier }),
|
|
240
242
|
signMessage: ({ privateKey, signer, message }) =>
|
|
241
243
|
signer
|
|
242
244
|
? signMessageWithSigner({ signer, message })
|