@exodus/solana-api 3.14.1 → 3.14.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/CHANGELOG.md CHANGED
@@ -3,6 +3,16 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.14.2](https://github.com/ExodusMovement/assets/compare/@exodus/solana-api@3.14.1...@exodus/solana-api@3.14.2) (2025-03-12)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: NFT tx amount (#5237)
13
+
14
+
15
+
6
16
  ## [3.14.1](https://github.com/ExodusMovement/assets/compare/@exodus/solana-api@3.14.0...@exodus/solana-api@3.14.1) (2025-03-11)
7
17
 
8
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-api",
3
- "version": "3.14.1",
3
+ "version": "3.14.2",
4
4
  "description": "Transaction monitors, fee monitors, RPC with the blockchain node, and other networking code for Solana",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -46,7 +46,7 @@
46
46
  "@exodus/assets-testing": "^1.0.0",
47
47
  "@exodus/solana-web3.js": "^1.63.1-exodus.9-rc3"
48
48
  },
49
- "gitHead": "83588a56196a14b58f5b05aa2097e4ef6c54079e",
49
+ "gitHead": "8ceb21b35e59dd7c7d4db2035ccba873d889464a",
50
50
  "bugs": {
51
51
  "url": "https://github.com/ExodusMovement/assets/issues?q=is%3Aissue+is%3Aopen+label%3Asolana-api"
52
52
  },
package/src/api.js CHANGED
@@ -481,6 +481,7 @@ export class Api {
481
481
  const lamports = Number(lodash.get(ix, 'parsed.info.lamports', 0))
482
482
  if (solanaTransferTx) {
483
483
  solanaTransferTx.lamports += lamports
484
+ solanaTransferTx.amount = solanaTransferTx.lamports
484
485
  if (!Array.isArray(solanaTransferTx.to)) {
485
486
  solanaTransferTx.data = {
486
487
  sent: [
@@ -502,6 +503,7 @@ export class Api {
502
503
  from: source,
503
504
  to: [destination],
504
505
  lamports,
506
+ amount: lamports,
505
507
  data: {
506
508
  sent: [
507
509
  {