@exodus/solana-lib 1.7.2 → 1.7.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/solana-lib",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.4",
|
|
4
4
|
"description": "Exodus internal Solana low-level library",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"@exodus/buffer-layout": "^1.2.0-exodus1",
|
|
18
18
|
"@exodus/key-utils": "^3.1.0",
|
|
19
19
|
"@exodus/models": "^10.1.0",
|
|
20
|
-
"@exodus/solana-meta": "^1.0.
|
|
20
|
+
"@exodus/solana-meta": "^1.0.5",
|
|
21
21
|
"@exodus/solana-spl-token": "0.1.8-exodus.1",
|
|
22
22
|
"@project-serum/serum": "0.13.64",
|
|
23
23
|
"bn.js": "^4.11.0",
|
|
@@ -27,5 +27,5 @@
|
|
|
27
27
|
"lodash": "^4.17.11",
|
|
28
28
|
"tweetnacl": "^1.0.3"
|
|
29
29
|
},
|
|
30
|
-
"gitHead": "
|
|
30
|
+
"gitHead": "88be13b711bcb6ca1be86993d67e69d4ec5ac263"
|
|
31
31
|
}
|
|
@@ -21,7 +21,7 @@ export function prepareForSigning(unsignedTx) {
|
|
|
21
21
|
|
|
22
22
|
const txData = { ...unsignedTx.txData, address, amount }
|
|
23
23
|
|
|
24
|
-
const
|
|
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({
|