@exodus/solana-api 2.5.8 → 2.5.9
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.9",
|
|
4
4
|
"description": "Exodus internal Solana asset API wrapper",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -23,7 +23,7 @@
|
|
|
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.
|
|
26
|
+
"@exodus/solana-lib": "^1.6.4",
|
|
27
27
|
"@exodus/solana-meta": "^1.0.2",
|
|
28
28
|
"bn.js": "^4.11.0",
|
|
29
29
|
"debug": "^4.1.1",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"url-join": "4.0.0",
|
|
32
32
|
"wretch": "^1.5.2"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "123d67b94e313496373a6ec97447361bb6bec6d7"
|
|
35
35
|
}
|
|
@@ -146,6 +146,7 @@ export class SolanaMonitor extends BaseMonitor {
|
|
|
146
146
|
// send transaction
|
|
147
147
|
item.to = tx.to
|
|
148
148
|
item.feeAmount = baseAsset.currency.baseUnit(tx.fee).toDefault() // in SOL
|
|
149
|
+
item.feeCointName = baseAsset.name
|
|
149
150
|
item.coinAmount = item.coinAmount.negate()
|
|
150
151
|
|
|
151
152
|
if (tx.to === tx.owner) {
|
|
@@ -153,7 +154,10 @@ export class SolanaMonitor extends BaseMonitor {
|
|
|
153
154
|
item.coinAmount = asset.currency.ZERO
|
|
154
155
|
}
|
|
155
156
|
} else if (tx.unparsed) {
|
|
156
|
-
if (tx.fee !== 0)
|
|
157
|
+
if (tx.fee !== 0) {
|
|
158
|
+
item.feeAmount = baseAsset.currency.baseUnit(tx.fee).toDefault() // in SOL
|
|
159
|
+
item.feeCointName = baseAsset.name
|
|
160
|
+
}
|
|
157
161
|
|
|
158
162
|
item.data.meta = tx.data.meta
|
|
159
163
|
}
|