@0dotxyz/p0-ts-sdk 2.3.0-alpha.7 → 2.3.0-alpha.8

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/vendor.cjs CHANGED
@@ -32324,6 +32324,7 @@ var SwapVersion = /* @__PURE__ */ ((SwapVersion2) => {
32324
32324
  SwapVersion2[SwapVersion2["V3"] = 3] = "V3";
32325
32325
  return SwapVersion2;
32326
32326
  })(SwapVersion || {});
32327
+ var isJitoDontFront = (pubkey) => pubkey.toBase58().startsWith("jitodontfront");
32327
32328
  function deserializeSerializedInstruction(ix) {
32328
32329
  return new web3_js.TransactionInstruction({
32329
32330
  programId: new web3_js.PublicKey(Buffer.from(ix.p, "base64")),
@@ -32331,7 +32332,7 @@ function deserializeSerializedInstruction(ix) {
32331
32332
  pubkey: new web3_js.PublicKey(Buffer.from(account.p, "base64")),
32332
32333
  isSigner: account.s,
32333
32334
  isWritable: account.w
32334
- })),
32335
+ })).filter((key) => !isJitoDontFront(key.pubkey)),
32335
32336
  data: Buffer.from(ix.d, "base64")
32336
32337
  });
32337
32338
  }
@@ -32513,7 +32514,7 @@ function deserializeTitanWireInstruction(ix) {
32513
32514
  pubkey: new web3_js.PublicKey(account.p),
32514
32515
  isSigner: account.s,
32515
32516
  isWritable: account.w
32516
- })),
32517
+ })).filter((key) => !isJitoDontFront(key.pubkey)),
32517
32518
  data: Buffer.from(ix.d)
32518
32519
  });
32519
32520
  }
@@ -46537,6 +46538,7 @@ exports.initializeStakedPoolIxs = initializeStakedPoolIxs;
46537
46538
  exports.initializeStakedPoolTx = initializeStakedPoolTx;
46538
46539
  exports.instructionToTitanWire = instructionToTitanWire;
46539
46540
  exports.interpolateLinear = interpolateLinear;
46541
+ exports.isJitoDontFront = isJitoDontFront;
46540
46542
  exports.isSpotBalanceTypeVariant = isSpotBalanceTypeVariant;
46541
46543
  exports.jupLendingRewardsRateModelRawToDto = jupLendingRewardsRateModelRawToDto;
46542
46544
  exports.jupLendingStateRawToDto = jupLendingStateRawToDto;