@pyron-finance/pyron-client 2.5.2 → 2.5.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/dist/index.js CHANGED
@@ -23885,7 +23885,7 @@ var LendrAccountWrapper = class LendrAccountWrapper {
23885
23885
  sessionKey: session.sessionPublicKey
23886
23886
  }, "[lendr:lendr-account:depositWithSession] Depositing into lendr account, using sessions.");
23887
23887
  const { instructions: instructions$3 } = await this.makeDepositWithSessionIx(amount, bankAddress, session, depositOpts);
23888
- const txResult = await session.sendTransaction(instructions$3, { variation: "LendingAccountDeposit" });
23888
+ const txResult = await session.sendTransaction(instructions$3);
23889
23889
  this.client.logger.debug({
23890
23890
  address: this.address.toBase58(),
23891
23891
  txResult
@@ -24054,7 +24054,7 @@ var LendrAccountWrapper = class LendrAccountWrapper {
24054
24054
  repayAll
24055
24055
  }, "[lendr:lendr-account:repayWithSession] Repaying into lendr account");
24056
24056
  const { instructions: instructions$3 } = await this.makeRepayWithSessionIx(amount, bankAddress, session, repayAll, repayOpts);
24057
- const result = await session.sendTransaction(instructions$3, { variation: "LendingAccountRepay" });
24057
+ const result = await session.sendTransaction(instructions$3);
24058
24058
  this.client.logger.debug({
24059
24059
  address: this.address.toBase58(),
24060
24060
  result
@@ -24284,7 +24284,7 @@ var LendrAccountWrapper = class LendrAccountWrapper {
24284
24284
  sessionKey: session.sessionPublicKey
24285
24285
  }, "[lendr:lendr-account:withdrawWithSession] Withdrawing from lendr account");
24286
24286
  const { instructions: instructions$3 } = await this.makeWithdrawWithSessionIx(amount, bankAddress, session, withdrawAll, withdrawOpts);
24287
- const txResult = await session.sendTransaction(instructions$3, { variation: "LendingAccountWithdraw" });
24287
+ const txResult = await session.sendTransaction(instructions$3);
24288
24288
  this.client.logger.debug({
24289
24289
  address: this.address.toBase58(),
24290
24290
  txResult