@0dotxyz/p0-ts-sdk 2.6.0-alpha.1 → 2.6.0-alpha.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 +36 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +32 -11
- package/dist/index.d.ts +32 -11
- package/dist/index.js +35 -17
- package/dist/index.js.map +1 -1
- package/dist/instructions.d.cts +1 -1
- package/dist/instructions.d.ts +1 -1
- package/dist/jupiter.d.cts +7 -0
- package/dist/jupiter.d.ts +7 -0
- package/dist/{types-Bv7AjHar.d.ts → types-D1QBbDkU.d.ts} +4 -1
- package/dist/{types-f-ZjRBYz.d.cts → types-DrxdJJIi.d.cts} +4 -1
- package/package.json +1 -1
package/dist/instructions.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _solana_web3_js from '@solana/web3.js';
|
|
2
2
|
import { PublicKey, AccountMeta } from '@solana/web3.js';
|
|
3
3
|
import BN from 'bn.js';
|
|
4
|
-
import { M as MarginfiProgram, B as BankConfigCompactRaw, a as BankConfigOptRaw } from './types-
|
|
4
|
+
import { M as MarginfiProgram, B as BankConfigCompactRaw, a as BankConfigOptRaw } from './types-DrxdJJIi.cjs';
|
|
5
5
|
import '@coral-xyz/anchor';
|
|
6
6
|
import 'bignumber.js';
|
|
7
7
|
import './dto-rate-model.types-IT8wckYH.cjs';
|
package/dist/instructions.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _solana_web3_js from '@solana/web3.js';
|
|
2
2
|
import { PublicKey, AccountMeta } from '@solana/web3.js';
|
|
3
3
|
import BN from 'bn.js';
|
|
4
|
-
import { M as MarginfiProgram, B as BankConfigCompactRaw, a as BankConfigOptRaw } from './types-
|
|
4
|
+
import { M as MarginfiProgram, B as BankConfigCompactRaw, a as BankConfigOptRaw } from './types-D1QBbDkU.js';
|
|
5
5
|
import '@coral-xyz/anchor';
|
|
6
6
|
import 'bignumber.js';
|
|
7
7
|
import './dto-rate-model.types-IT8wckYH.js';
|
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 {
|
|
@@ -19416,6 +19416,7 @@ declare enum EmodeFlags {
|
|
|
19416
19416
|
declare enum EmodeTag {
|
|
19417
19417
|
UNSET = 0,
|
|
19418
19418
|
SOL = 501,
|
|
19419
|
+
SOL_T2 = 502,
|
|
19419
19420
|
LST_T1 = 1571,
|
|
19420
19421
|
LST_T2 = 1572,
|
|
19421
19422
|
LST_PT = 15787,
|
|
@@ -19423,7 +19424,9 @@ declare enum EmodeTag {
|
|
|
19423
19424
|
STABLE_T1 = 57481,
|
|
19424
19425
|
STABLE_T2 = 57482,
|
|
19425
19426
|
BTC_T1 = 871,
|
|
19426
|
-
BTC_T2 = 872
|
|
19427
|
+
BTC_T2 = 872,
|
|
19428
|
+
HYUSD = 47050,
|
|
19429
|
+
PT_HYUSD = 8747
|
|
19427
19430
|
}
|
|
19428
19431
|
interface EmodeSettingsType {
|
|
19429
19432
|
emodeTag: EmodeTag;
|
|
@@ -19416,6 +19416,7 @@ declare enum EmodeFlags {
|
|
|
19416
19416
|
declare enum EmodeTag {
|
|
19417
19417
|
UNSET = 0,
|
|
19418
19418
|
SOL = 501,
|
|
19419
|
+
SOL_T2 = 502,
|
|
19419
19420
|
LST_T1 = 1571,
|
|
19420
19421
|
LST_T2 = 1572,
|
|
19421
19422
|
LST_PT = 15787,
|
|
@@ -19423,7 +19424,9 @@ declare enum EmodeTag {
|
|
|
19423
19424
|
STABLE_T1 = 57481,
|
|
19424
19425
|
STABLE_T2 = 57482,
|
|
19425
19426
|
BTC_T1 = 871,
|
|
19426
|
-
BTC_T2 = 872
|
|
19427
|
+
BTC_T2 = 872,
|
|
19428
|
+
HYUSD = 47050,
|
|
19429
|
+
PT_HYUSD = 8747
|
|
19427
19430
|
}
|
|
19428
19431
|
interface EmodeSettingsType {
|
|
19429
19432
|
emodeTag: EmodeTag;
|