@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.
- package/dist/index.cjs +4 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/jupiter.d.cts +7 -0
- package/dist/jupiter.d.ts +7 -0
- package/package.json +1 -1
package/dist/jupiter.d.cts
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/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 {
|