@exodus/solana-api 2.5.13 → 2.5.15
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-api",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.15",
|
|
4
4
|
"description": "Exodus internal Solana asset API wrapper",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -23,13 +23,13 @@
|
|
|
23
23
|
"@exodus/models": "^8.10.4",
|
|
24
24
|
"@exodus/nfts-core": "^0.5.0",
|
|
25
25
|
"@exodus/simple-retry": "^0.0.6",
|
|
26
|
-
"@exodus/solana-lib": "^1.6.
|
|
27
|
-
"@exodus/solana-meta": "^1.0.
|
|
26
|
+
"@exodus/solana-lib": "^1.6.7",
|
|
27
|
+
"@exodus/solana-meta": "^1.0.3",
|
|
28
28
|
"bn.js": "^4.11.0",
|
|
29
29
|
"debug": "^4.1.1",
|
|
30
30
|
"lodash": "^4.17.11",
|
|
31
31
|
"url-join": "4.0.0",
|
|
32
32
|
"wretch": "^1.5.2"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "c876b2cf6ced1c0f477bd14a0953a79aafc02e09"
|
|
35
35
|
}
|
|
@@ -155,7 +155,7 @@ export class SolanaMonitor extends BaseMonitor {
|
|
|
155
155
|
// send transaction
|
|
156
156
|
item.to = tx.to
|
|
157
157
|
item.feeAmount = baseAsset.currency.baseUnit(tx.fee).toDefault() // in SOL
|
|
158
|
-
item.
|
|
158
|
+
item.feeCoinName = baseAsset.name
|
|
159
159
|
item.coinAmount = item.coinAmount.negate()
|
|
160
160
|
|
|
161
161
|
if (tx.to === tx.owner) {
|
|
@@ -165,7 +165,7 @@ export class SolanaMonitor extends BaseMonitor {
|
|
|
165
165
|
} else if (tx.unparsed) {
|
|
166
166
|
if (tx.fee !== 0) {
|
|
167
167
|
item.feeAmount = baseAsset.currency.baseUnit(tx.fee).toDefault() // in SOL
|
|
168
|
-
item.
|
|
168
|
+
item.feeCoinName = baseAsset.name
|
|
169
169
|
}
|
|
170
170
|
|
|
171
171
|
item.data.meta = tx.data.meta
|