@jup-ag/lend 0.0.78 → 0.0.79
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/dist/borrow/index.mjs +3 -2
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/borrow/index.mjs
CHANGED
|
@@ -1900,7 +1900,7 @@ const getLiquidateIx = async ({
|
|
|
1900
1900
|
colPerUnitDebt = new BN(0),
|
|
1901
1901
|
absorb = false,
|
|
1902
1902
|
signer,
|
|
1903
|
-
to =
|
|
1903
|
+
to = signer,
|
|
1904
1904
|
connection
|
|
1905
1905
|
}) => {
|
|
1906
1906
|
const program = getVaultsProgram({ connection, signer });
|
|
@@ -2087,7 +2087,8 @@ const simulateLiquidate = async (params) => {
|
|
|
2087
2087
|
const { connection, signer } = params;
|
|
2088
2088
|
const { ixs, addressLookupTableAccounts } = await getLiquidateIx({
|
|
2089
2089
|
...params,
|
|
2090
|
-
signer
|
|
2090
|
+
signer,
|
|
2091
|
+
to: new PublicKey("11111111111111111111111111111111")
|
|
2091
2092
|
});
|
|
2092
2093
|
const latestBlockhash = await connection.getLatestBlockhash();
|
|
2093
2094
|
const messageV0 = new TransactionMessage({
|
package/dist/index.mjs
CHANGED