@exodus/solana-plugin 1.7.1 → 1.7.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/package.json +4 -4
- package/src/create-asset.js +1 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-plugin",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.3",
|
|
4
4
|
"description": "Exodus internal Solana asset plugin",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -21,8 +21,8 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@exodus/assets": "^9.0.1",
|
|
23
23
|
"@exodus/bip44-constants": "^195.0.0",
|
|
24
|
-
"@exodus/solana-api": "^3.
|
|
25
|
-
"@exodus/solana-lib": "^3.
|
|
24
|
+
"@exodus/solana-api": "^3.4.1",
|
|
25
|
+
"@exodus/solana-lib": "^3.1.1",
|
|
26
26
|
"@exodus/solana-meta": "^1.0.7",
|
|
27
27
|
"minimalistic-assert": "^1.0.1",
|
|
28
28
|
"ms": "^2.1.3"
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"devDependencies": {
|
|
31
31
|
"@exodus/assets-testing": "^1.0.0"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "434755a6656484665cf1054f4309fd50ddf46a7d"
|
|
34
34
|
}
|
package/src/create-asset.js
CHANGED
|
@@ -142,7 +142,7 @@ export const createSolanaAssetFactory =
|
|
|
142
142
|
features,
|
|
143
143
|
getBalances,
|
|
144
144
|
getDefaultAddressPath: () => defaultAddressPath,
|
|
145
|
-
getFee: (
|
|
145
|
+
getFee: (args) => args?.feeData?.fee || feeData.fee,
|
|
146
146
|
getFeeAsync: async ({ feeData }) => feeData.fee,
|
|
147
147
|
getFeeData: () => feeData,
|
|
148
148
|
getSupportedPurposes: () => [44],
|
|
@@ -154,7 +154,6 @@ export const createSolanaAssetFactory =
|
|
|
154
154
|
getUnstakingFee,
|
|
155
155
|
hasFeature: (feature) => !!features[feature], // @deprecated use api.features instead
|
|
156
156
|
parseUnsignedTx: (unsignedTx) => parseUnsignedTx({ asset: base, unsignedTx }),
|
|
157
|
-
parseTx: ({ unsignedTx }) => parseUnsignedTx({ asset: base, unsignedTx }),
|
|
158
157
|
sendTx,
|
|
159
158
|
signTx: ({ unsignedTx, privateKey, signer }) =>
|
|
160
159
|
signer
|