@0dotxyz/p0-ts-sdk 1.1.0-alpha.11 → 1.1.0-alpha.12

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.cjs CHANGED
@@ -18427,6 +18427,8 @@ function computeProjectedActiveBanksNoCpi(balances, instructions2, program) {
18427
18427
  switch (decoded.name) {
18428
18428
  case "lendingAccountBorrow":
18429
18429
  case "kaminoDeposit":
18430
+ case "driftDeposit":
18431
+ case "solendDeposit":
18430
18432
  case "lendingAccountDeposit": {
18431
18433
  const targetBank = new web3_js.PublicKey(ix?.keys[3].pubkey);
18432
18434
  const targetBalance = projectedBalances.find((b) => b.bankPk.equals(targetBank));
@@ -18442,6 +18444,8 @@ function computeProjectedActiveBanksNoCpi(balances, instructions2, program) {
18442
18444
  }
18443
18445
  case "lendingAccountRepay":
18444
18446
  case "kaminoWithdraw":
18447
+ case "driftWithdraw":
18448
+ case "solendWithdraw":
18445
18449
  case "lendingAccountWithdraw": {
18446
18450
  const targetBank = new web3_js.PublicKey(ix.keys[3].pubkey);
18447
18451
  const targetBalance = projectedBalances.find((b) => b.bankPk.equals(targetBank));
@@ -18484,6 +18488,8 @@ function computeProjectedActiveBalancesNoCpi(balances, instructions2, program, b
18484
18488
  switch (decoded.name) {
18485
18489
  // Instructions that open or add to a position
18486
18490
  case "lendingAccountDeposit":
18491
+ case "driftDeposit":
18492
+ case "solendDeposit":
18487
18493
  case "kaminoDeposit": {
18488
18494
  const targetBank = new web3_js.PublicKey(ix.keys[3].pubkey);
18489
18495
  impactedAssetsBanks.add(targetBank.toBase58());
@@ -18567,6 +18573,8 @@ function computeProjectedActiveBalancesNoCpi(balances, instructions2, program, b
18567
18573
  break;
18568
18574
  }
18569
18575
  case "lendingAccountWithdraw":
18576
+ case "driftWithdraw":
18577
+ case "solendWithdraw":
18570
18578
  case "kaminoWithdraw": {
18571
18579
  const targetBank = new web3_js.PublicKey(ix.keys[3].pubkey);
18572
18580
  impactedAssetsBanks.add(targetBank.toBase58());