@exodus/solana-plugin 1.7.1 → 1.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-plugin",
3
- "version": "1.7.1",
3
+ "version": "1.7.2",
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": "30fdc2a936b6776866467baf926c899e9a236beb"
33
+ "gitHead": "dfd307b8c18b885aeccf12c59c1cbc0c4a127064"
34
34
  }
@@ -142,7 +142,7 @@ export const createSolanaAssetFactory =
142
142
  features,
143
143
  getBalances,
144
144
  getDefaultAddressPath: () => defaultAddressPath,
145
- getFee: ({ feeData }) => feeData.fee,
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