@exodus/solana-plugin 1.3.1 → 1.4.1
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/package.json +2 -2
- package/src/create-asset.js +3 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-plugin",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.4.1",
|
|
4
4
|
"description": "Exodus internal Solana asset plugin",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@exodus/assets-testing": "^1.0.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "1f3fe83758a40ee4810d784dd3e34fe750da53c9"
|
|
34
34
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -28,6 +28,7 @@ const DEFAULT_MIN_STAKING_AMOUNT = 0.01
|
|
|
28
28
|
export const createSolanaAssetFactory =
|
|
29
29
|
({ assetList, serverApi }) =>
|
|
30
30
|
({
|
|
31
|
+
assetClientInterface,
|
|
31
32
|
config: {
|
|
32
33
|
stakingFeatureAvailable = true,
|
|
33
34
|
includeUnparsed = false,
|
|
@@ -60,7 +61,7 @@ export const createSolanaAssetFactory =
|
|
|
60
61
|
validate: isValidAddress,
|
|
61
62
|
}
|
|
62
63
|
|
|
63
|
-
const bip44 = bip44Constants[
|
|
64
|
+
const bip44 = bip44Constants['SOL']
|
|
64
65
|
|
|
65
66
|
const keys = {
|
|
66
67
|
encodePrivate: getEncodedSecretKey,
|
|
@@ -99,7 +100,7 @@ export const createSolanaAssetFactory =
|
|
|
99
100
|
|
|
100
101
|
const features = {
|
|
101
102
|
accountState: true,
|
|
102
|
-
customTokens:
|
|
103
|
+
customTokens: base.name === 'solana',
|
|
103
104
|
feeMonitor: false,
|
|
104
105
|
feesApi: true,
|
|
105
106
|
nfts: true,
|