@jup-ag/lend 0.0.13 → 0.0.14
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/README.md +1 -1
- package/dist/borrow/index.d.mts +1 -1
- package/dist/borrow/index.d.ts +1 -1
- package/dist/borrow/index.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,7 +42,7 @@ import { getOperateIx } from "@jup-ag/lend/borrow";
|
|
|
42
42
|
const connection = new Connection("https://api.devnet.solana.com");
|
|
43
43
|
const signer = new PublicKey("signerAddress");
|
|
44
44
|
|
|
45
|
-
const { ixs,
|
|
45
|
+
const { ixs, addressLookupTableAccounts } = await getOperateIx({
|
|
46
46
|
vaultId: 1,
|
|
47
47
|
positionId: 0,
|
|
48
48
|
|
package/dist/borrow/index.d.mts
CHANGED
|
@@ -3634,7 +3634,7 @@ declare function getInitPositionContext(vaultId: number, positionId: number, sig
|
|
|
3634
3634
|
};
|
|
3635
3635
|
declare const getOperateIx: ({ vaultId, positionId, colAmount, debtAmount, connection, signer, recipient, positionOwner, }: OperateParams) => Promise<{
|
|
3636
3636
|
nftId: number;
|
|
3637
|
-
addressLookupTableAccounts:
|
|
3637
|
+
addressLookupTableAccounts: _solana_web3_js.AddressLookupTableAccount[];
|
|
3638
3638
|
ixs: TransactionInstruction[];
|
|
3639
3639
|
}>;
|
|
3640
3640
|
|
package/dist/borrow/index.d.ts
CHANGED
|
@@ -3634,7 +3634,7 @@ declare function getInitPositionContext(vaultId: number, positionId: number, sig
|
|
|
3634
3634
|
};
|
|
3635
3635
|
declare const getOperateIx: ({ vaultId, positionId, colAmount, debtAmount, connection, signer, recipient, positionOwner, }: OperateParams) => Promise<{
|
|
3636
3636
|
nftId: number;
|
|
3637
|
-
addressLookupTableAccounts:
|
|
3637
|
+
addressLookupTableAccounts: _solana_web3_js.AddressLookupTableAccount[];
|
|
3638
3638
|
ixs: TransactionInstruction[];
|
|
3639
3639
|
}>;
|
|
3640
3640
|
|
package/dist/borrow/index.mjs
CHANGED
|
@@ -1378,7 +1378,7 @@ const getOperateIx = async ({
|
|
|
1378
1378
|
]);
|
|
1379
1379
|
return {
|
|
1380
1380
|
nftId,
|
|
1381
|
-
addressLookupTableAccounts: [addressLookupTable.value],
|
|
1381
|
+
addressLookupTableAccounts: addressLookupTable.value ? [addressLookupTable.value] : [],
|
|
1382
1382
|
ixs: initPositionIx ? [initPositionIx, ...otherIxs, operateIx] : [...otherIxs, operateIx]
|
|
1383
1383
|
};
|
|
1384
1384
|
};
|