@exodus/solana-lib 1.7.2 → 1.7.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exodus/solana-lib",
3
- "version": "1.7.2",
3
+ "version": "1.7.3",
4
4
  "description": "Exodus internal Solana low-level library",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -27,5 +27,5 @@
27
27
  "lodash": "^4.17.11",
28
28
  "tweetnacl": "^1.0.3"
29
29
  },
30
- "gitHead": "107ccdaaaee35747ff1723be05723b734410bca6"
30
+ "gitHead": "ed1cf2465307952f91fac5fbfef36eaa59a3acaf"
31
31
  }
@@ -21,7 +21,7 @@ export function prepareForSigning(unsignedTx) {
21
21
 
22
22
  const txData = { ...unsignedTx.txData, address, amount }
23
23
 
24
- const { transaction } = createTx({ txData, method })
24
+ const transaction = createTx({ txData, method })
25
25
 
26
26
  if (!transaction.feePayer) {
27
27
  transaction.feePayer = new PublicKey(from)
@@ -174,7 +174,7 @@ const createTokenTransaction = ({
174
174
  tokenMintAddress,
175
175
  memo,
176
176
  reference,
177
- })
177
+ }).transaction
178
178
 
179
179
  const createCloseAccountTransaction = ({ account, programId, recentBlockhash, walletPublicKey }) =>
180
180
  Transaction.createCloseAccount({