@0dotxyz/p0-ts-sdk 2.5.2-alpha.0 → 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.
@@ -117,6 +117,13 @@ interface BuildGetRequest {
117
117
  payer?: string;
118
118
  wrapAndUnwrapSol?: boolean;
119
119
  destinationTokenAccount?: string;
120
+ /**
121
+ * Set to true if the transaction will be submitted as part of a Jito bundle.
122
+ * Excludes DEXes that are incompatible with Jito bundles (their routes can
123
+ * lock vote accounts, which Jito rejects with "bundles cannot lock any vote
124
+ * accounts"). Defaults to false on the API side.
125
+ */
126
+ forJitoBundle?: boolean;
120
127
  }
121
128
  /** Response from `GET /swap/v2/build`. */
122
129
  interface BuildResponse {
package/dist/jupiter.d.ts CHANGED
@@ -117,6 +117,13 @@ interface BuildGetRequest {
117
117
  payer?: string;
118
118
  wrapAndUnwrapSol?: boolean;
119
119
  destinationTokenAccount?: string;
120
+ /**
121
+ * Set to true if the transaction will be submitted as part of a Jito bundle.
122
+ * Excludes DEXes that are incompatible with Jito bundles (their routes can
123
+ * lock vote accounts, which Jito rejects with "bundles cannot lock any vote
124
+ * accounts"). Defaults to false on the API side.
125
+ */
126
+ forJitoBundle?: boolean;
120
127
  }
121
128
  /** Response from `GET /swap/v2/build`. */
122
129
  interface BuildResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@0dotxyz/p0-ts-sdk",
3
- "version": "2.5.2-alpha.0",
3
+ "version": "2.5.3",
4
4
  "packageManager": "pnpm@10.32.1",
5
5
  "description": "TypeScript SDK for P0 Protocol - A Solana DeFi lending protocol",
6
6
  "type": "module",