@exodus/solana-lib 3.9.2 → 3.9.4

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,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.9.4](https://github.com/ExodusMovement/assets/compare/@exodus/solana-lib@3.9.3...@exodus/solana-lib@3.9.4) (2025-01-02)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+
12
+ * fix: solana nft send (#4768)
13
+
14
+
15
+
16
+ ## [3.9.3](https://github.com/ExodusMovement/assets/compare/@exodus/solana-lib@3.9.2...@exodus/solana-lib@3.9.3) (2024-12-31)
17
+
18
+
19
+ ### Bug Fixes
20
+
21
+
22
+ * fix: include rentExemptAmount in balance calculation (#4738)
23
+
24
+
25
+
6
26
  ## [3.9.2](https://github.com/ExodusMovement/assets/compare/@exodus/solana-lib@3.9.1...@exodus/solana-lib@3.9.2) (2024-12-13)
7
27
 
8
28
  **Note:** Version bump only for package @exodus/solana-lib
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-lib",
3
- "version": "3.9.2",
3
+ "version": "3.9.4",
4
4
  "description": "Solana utils, such as for cryptography, address encoding/decoding, transaction building, etc.",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
@@ -45,5 +45,5 @@
45
45
  "type": "git",
46
46
  "url": "git+https://github.com/ExodusMovement/assets.git"
47
47
  },
48
- "gitHead": "e57505d7c92305a455a623f171b0d1c6dea9ebba"
48
+ "gitHead": "8a6a0d1a70d14e86a9cf4d47b8884939f10be724"
49
49
  }
@@ -4,8 +4,7 @@ export const createFeeData = ({ asset }) =>
4
4
  new FeeData({
5
5
  config: {
6
6
  fee: `0.000005 ${asset.ticker}`,
7
- priorityFee: 0,
8
- fallbackPriorityFee: 100_000,
7
+ priorityFee: 1_000_000,
9
8
  fuelThreshold: `0.000015 ${asset.ticker}`,
10
9
  computeUnitsMultiplier: 4, // compute units buffer
11
10
  },
@@ -161,11 +161,11 @@ export function createMetaplexTransferTransaction({
161
161
  tokenStandard,
162
162
  recentBlockhash,
163
163
  amount = 1,
164
- tokenProgram = TOKEN_PROGRAM_ID,
164
+ tokenProgram = TOKEN_PROGRAM_ID.toBase58(),
165
165
  }) {
166
- const fromAccount = findAssociatedTokenAddress(from, tokenMintAddress, tokenProgram.toBase58())
166
+ const fromAccount = findAssociatedTokenAddress(from, tokenMintAddress, tokenProgram)
167
167
 
168
- const toAccount = findAssociatedTokenAddress(to, tokenMintAddress, tokenProgram.toBase58())
168
+ const toAccount = findAssociatedTokenAddress(to, tokenMintAddress, tokenProgram)
169
169
 
170
170
  const metadata = getMetadataAccount(tokenMintAddress)
171
171
  const edition = getMasterEditionPDA(tokenMintAddress)
@@ -187,7 +187,7 @@ export function createMetaplexTransferTransaction({
187
187
  payer: new PublicKey(from),
188
188
  authorizationRulesProgram: TOKEN_AUTH_RULES_ID,
189
189
  amount,
190
- tokenProgram,
190
+ tokenProgram: new PublicKey(tokenProgram),
191
191
  })
192
192
 
193
193
  transaction.recentBlockhash = recentBlockhash