@lavarage/sdk 7.5.3 → 7.5.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/dist/index.js CHANGED
@@ -5450,7 +5450,7 @@ var borrowV2 = (lavarageProgram, offer, marginSOL, leverage, randomSeed, quoteTo
5450
5450
  });
5451
5451
  var openTradeV1 = (lavarageProgram, offer, jupInstruction, marginSOL, leverage, randomSeed, tokenProgram, partnerFeeRecipient, partnerFeeMarkup, computeBudgetMicroLamports, platformFeeRecipient, splitTransactions, discountBps, referralBps) => __async(void 0, null, function* () {
5452
5452
  let partnerFeeMarkupAsPkey;
5453
- const referralVaultProgram = new import_anchor2.Program(IDL, REFFERAL_VAULT_PROGRAM_ID);
5453
+ const referralVaultProgram = new import_anchor2.Program(IDL, REFFERAL_VAULT_PROGRAM_ID, lavarageProgram.provider);
5454
5454
  if (partnerFeeMarkup) {
5455
5455
  const feeBuffer = Buffer.alloc(8);
5456
5456
  feeBuffer.writeBigUInt64LE(BigInt(partnerFeeMarkup));
@@ -5664,7 +5664,7 @@ var openTradeV1 = (lavarageProgram, offer, jupInstruction, marginSOL, leverage,
5664
5664
  });
5665
5665
  var openTradeV2 = (lavarageProgram, offer, jupInstruction, marginSOL, leverage, randomSeed, quoteToken, tokenProgram, partnerFeeRecipient, partnerFeeMarkup, computeBudgetMicroLamports, platformFeeRecipient, splitTransactions, discountBps, referralBps) => __async(void 0, null, function* () {
5666
5666
  let partnerFeeMarkupAsPkey;
5667
- const referralVaultProgram = new import_anchor2.Program(IDL, REFFERAL_VAULT_PROGRAM_ID);
5667
+ const referralVaultProgram = new import_anchor2.Program(IDL, REFFERAL_VAULT_PROGRAM_ID, lavarageProgram.provider);
5668
5668
  if (partnerFeeMarkup) {
5669
5669
  const feeBuffer = Buffer.alloc(8);
5670
5670
  feeBuffer.writeBigUInt64LE(BigInt(partnerFeeMarkup));