@exodus/solana-api 3.14.1 → 3.14.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/CHANGELOG.md +20 -0
- package/package.json +2 -2
- package/src/api.js +5 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,26 @@
|
|
|
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.3](https://github.com/ExodusMovement/assets/compare/@exodus/solana-api@3.14.2...@exodus/solana-api@3.14.3) (2025-03-14)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
* fix(SOL): set amount as lamports for internal multi send (#5253)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
## [3.14.2](https://github.com/ExodusMovement/assets/compare/@exodus/solana-api@3.14.1...@exodus/solana-api@3.14.2) (2025-03-12)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Bug Fixes
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
* fix: NFT tx amount (#5237)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
6
26
|
## [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
27
|
|
|
8
28
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-api",
|
|
3
|
-
"version": "3.14.
|
|
3
|
+
"version": "3.14.3",
|
|
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": "
|
|
49
|
+
"gitHead": "637668ee215b0aacc959fcac184bf8007e4e9e33",
|
|
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,12 +481,13 @@ 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: [
|
|
487
488
|
{
|
|
488
489
|
address: solanaTransferTx.to,
|
|
489
|
-
amount:
|
|
490
|
+
amount: lamports,
|
|
490
491
|
},
|
|
491
492
|
],
|
|
492
493
|
}
|
|
@@ -494,7 +495,7 @@ export class Api {
|
|
|
494
495
|
}
|
|
495
496
|
|
|
496
497
|
solanaTransferTx.to.push(destination)
|
|
497
|
-
solanaTransferTx.data.sent.push({ address: destination, amount })
|
|
498
|
+
solanaTransferTx.data.sent.push({ address: destination, amount: lamports })
|
|
498
499
|
} else {
|
|
499
500
|
solanaTransferTx = {
|
|
500
501
|
source,
|
|
@@ -502,11 +503,12 @@ 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
|
{
|
|
508
510
|
address: destination,
|
|
509
|
-
amount,
|
|
511
|
+
amount: lamports,
|
|
510
512
|
},
|
|
511
513
|
],
|
|
512
514
|
},
|