@raydium-io/raydium-sdk-v2 0.1.29-alpha → 0.1.30-alpha
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/lib/api/api.d.ts +1 -1
- package/lib/api/index.d.ts +1 -1
- package/lib/api/type.d.ts +1 -1
- package/lib/common/accountInfo.d.ts +1 -1
- package/lib/common/bignumber.d.ts +1 -1
- package/lib/common/fractionUtil.d.ts +1 -1
- package/lib/common/index.d.ts +1 -1
- package/lib/common/transfer.d.ts +1 -1
- package/lib/common/txTool/txTool.d.ts +1 -1
- package/lib/common/txTool/txUtils.d.ts +1 -1
- package/lib/common/utility.d.ts +1 -1
- package/lib/index.d.ts +3 -3
- package/lib/index.js +1 -1
- package/lib/index.js.map +1 -1
- package/lib/index.mjs +1 -1
- package/lib/index.mjs.map +1 -1
- package/lib/module/amount.d.ts +1 -1
- package/lib/module/fraction.d.ts +1 -1
- package/lib/module/index.d.ts +1 -1
- package/lib/module/percent.d.ts +1 -1
- package/lib/module/price.d.ts +1 -1
- package/lib/raydium/account/account.d.ts +3 -3
- package/lib/raydium/account/index.d.ts +1 -1
- package/lib/raydium/account/instruction.d.ts +1 -1
- package/lib/raydium/account/types.d.ts +1 -1
- package/lib/raydium/account/util.d.ts +1 -1
- package/lib/raydium/clmm/clmm.d.ts +3 -3
- package/lib/raydium/clmm/index.d.ts +3 -3
- package/lib/raydium/clmm/instrument.d.ts +2 -2
- package/lib/raydium/clmm/layout.d.ts +1 -1
- package/lib/raydium/clmm/type.d.ts +2 -2
- package/lib/raydium/clmm/utils/math.d.ts +2 -2
- package/lib/raydium/clmm/utils/pool.d.ts +2 -2
- package/lib/raydium/clmm/utils/position.d.ts +2 -2
- package/lib/raydium/clmm/utils/tick.d.ts +2 -2
- package/lib/raydium/clmm/utils/tickQuery.d.ts +2 -2
- package/lib/raydium/clmm/utils/tickarrayBitmap.d.ts +2 -2
- package/lib/raydium/cpmm/cpmm.d.ts +3 -3
- package/lib/raydium/cpmm/index.d.ts +1 -1
- package/lib/raydium/cpmm/layout.d.ts +1 -1
- package/lib/raydium/cpmm/type.d.ts +1 -1
- package/lib/raydium/farm/config.d.ts +1 -1
- package/lib/raydium/farm/farm.d.ts +3 -3
- package/lib/raydium/farm/index.d.ts +1 -1
- package/lib/raydium/farm/instruction.d.ts +1 -1
- package/lib/raydium/farm/layout.d.ts +1 -1
- package/lib/raydium/farm/type.d.ts +1 -1
- package/lib/raydium/farm/util.d.ts +1 -1
- package/lib/raydium/ido/ido.d.ts +3 -3
- package/lib/raydium/ido/index.d.ts +3 -3
- package/lib/raydium/ido/instruction.d.ts +1 -1
- package/lib/raydium/ido/type.d.ts +1 -1
- package/lib/raydium/index.d.ts +3 -3
- package/lib/raydium/index.js +1 -1
- package/lib/raydium/index.js.map +1 -1
- package/lib/raydium/index.mjs +1 -1
- package/lib/raydium/index.mjs.map +1 -1
- package/lib/raydium/liquidity/index.d.ts +1 -1
- package/lib/raydium/liquidity/instruction.d.ts +1 -1
- package/lib/raydium/liquidity/layout.d.ts +6 -6
- package/lib/raydium/liquidity/liquidity.d.ts +3 -3
- package/lib/raydium/liquidity/liquidity.js +1 -1
- package/lib/raydium/liquidity/liquidity.js.map +1 -1
- package/lib/raydium/liquidity/liquidity.mjs +1 -1
- package/lib/raydium/liquidity/liquidity.mjs.map +1 -1
- package/lib/raydium/liquidity/type.d.ts +6 -2
- package/lib/raydium/liquidity/type.js.map +1 -1
- package/lib/raydium/liquidity/utils.d.ts +1 -1
- package/lib/raydium/marketV2/createMarket.d.ts +3 -3
- package/lib/raydium/marketV2/index.d.ts +3 -3
- package/lib/raydium/moduleBase.d.ts +3 -3
- package/lib/raydium/raydium.d.ts +3 -3
- package/lib/raydium/raydium.js +1 -1
- package/lib/raydium/raydium.js.map +1 -1
- package/lib/raydium/raydium.mjs +1 -1
- package/lib/raydium/raydium.mjs.map +1 -1
- package/lib/raydium/token/constant.d.ts +1 -1
- package/lib/raydium/token/index.d.ts +1 -1
- package/lib/raydium/token/token.d.ts +3 -3
- package/lib/raydium/token/type.d.ts +1 -1
- package/lib/raydium/token/utils.d.ts +1 -1
- package/lib/raydium/tradeV2/index.d.ts +2 -2
- package/lib/raydium/tradeV2/instrument.d.ts +2 -2
- package/lib/raydium/tradeV2/trade.d.ts +3 -3
- package/lib/raydium/tradeV2/type.d.ts +2 -2
- package/lib/raydium/type.d.ts +1 -1
- package/lib/raydium/utils1216/index.d.ts +3 -3
- package/lib/raydium/utils1216/utils1216.d.ts +3 -3
- package/lib/{raydium-1e9cad89.d.ts → raydium-8871c9e8.d.ts} +4 -4
- package/lib/{type-b95eb35d.d.ts → type-0de39dab.d.ts} +1 -1
- package/package.json +1 -1
- package/src/raydium/liquidity/liquidity.ts +76 -30
- package/src/raydium/liquidity/type.ts +5 -1
- package/lib/{type-60acc172.d.ts → type-2596119f.d.ts} +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
|
2
|
-
import { l as ApiV3PoolInfoStandardItem, s as AmmV4Keys, t as AmmV5Keys, c1 as TokenAmount, bI as ComputeBudgetConfig, a9 as BigNumberish } from '../../type-
|
|
2
|
+
import { l as ApiV3PoolInfoStandardItem, s as AmmV4Keys, t as AmmV5Keys, c1 as TokenAmount, bI as ComputeBudgetConfig, a9 as BigNumberish } from '../../type-2596119f.js';
|
|
3
3
|
import { TxVersion } from '../../common/txTool/txType.js';
|
|
4
4
|
import BN__default from 'bn.js';
|
|
5
5
|
import { liquidityStateV4Layout } from './layout.js';
|
|
@@ -190,11 +190,15 @@ interface ComputeAmountOutParam {
|
|
|
190
190
|
interface SwapParam<T = TxVersion.LEGACY> {
|
|
191
191
|
poolInfo: ApiV3PoolInfoStandardItem;
|
|
192
192
|
poolKeys?: AmmV4Keys | AmmV5Keys;
|
|
193
|
-
associatedOnly: boolean;
|
|
194
193
|
amountIn: BN__default;
|
|
195
194
|
amountOut: BN__default;
|
|
196
195
|
inputMint: string;
|
|
197
196
|
fixedSide: SwapSide;
|
|
197
|
+
config?: {
|
|
198
|
+
associatedOnly?: boolean;
|
|
199
|
+
inputUseSolBalance?: boolean;
|
|
200
|
+
outputUseSolBalance?: boolean;
|
|
201
|
+
};
|
|
198
202
|
computeBudgetConfig?: ComputeBudgetConfig;
|
|
199
203
|
txVersion?: T;
|
|
200
204
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../../src/raydium/liquidity/type.ts"],"sourcesContent":["import { PublicKey } from \"@solana/web3.js\";\nimport { ApiV3PoolInfoStandardItem, AmmV4Keys, AmmV5Keys, PoolKeys } from \"@/api/type\";\nimport { TxVersion } from \"@/common/txTool/txType\";\nimport { BigNumberish } from \"@/common/bignumber\";\nimport BN from \"bn.js\";\nimport { ComputeBudgetConfig } from \"@/raydium/type\";\nimport { TokenAmount } from \"@/module/amount\";\nimport { liquidityStateV4Layout } from \"./layout\";\nimport Decimal from \"decimal.js\";\n\nexport type LiquiditySide = \"a\" | \"b\";\nexport type AmountSide = \"base\" | \"quote\";\n\nexport interface AddLiquidityParams<T = TxVersion.LEGACY> {\n poolInfo: ApiV3PoolInfoStandardItem;\n poolKeys?: AmmV4Keys | AmmV5Keys;\n payer?: PublicKey;\n amountInA: TokenAmount;\n amountInB: TokenAmount;\n fixedSide: LiquiditySide;\n config?: {\n bypassAssociatedCheck?: boolean;\n checkCreateATAOwner?: boolean;\n };\n txVersion?: T;\n computeBudgetConfig?: ComputeBudgetConfig;\n}\n\nexport interface RemoveParams<T = TxVersion.LEGACY> {\n poolInfo: ApiV3PoolInfoStandardItem;\n poolKeys?: AmmV4Keys | AmmV5Keys;\n payer?: PublicKey;\n amountIn: BN;\n config?: {\n bypassAssociatedCheck?: boolean;\n checkCreateATAOwner?: boolean;\n };\n txVersion?: T;\n computeBudgetConfig?: ComputeBudgetConfig;\n}\n\nexport interface LiquidityUserKeys {\n baseTokenAccount: PublicKey;\n quoteTokenAccount: PublicKey;\n lpTokenAccount: PublicKey;\n owner: PublicKey;\n}\n\nexport interface LiquidityAddInstructionParams {\n poolInfo: ApiV3PoolInfoStandardItem;\n poolKeys: AmmV4Keys | AmmV5Keys;\n userKeys: LiquidityUserKeys;\n baseAmountIn: BigNumberish;\n quoteAmountIn: BigNumberish;\n fixedSide: AmountSide;\n}\n\nexport interface RemoveLiquidityInstruction {\n poolInfo: ApiV3PoolInfoStandardItem;\n poolKeys: AmmV4Keys | AmmV5Keys;\n userKeys: LiquidityUserKeys;\n amountIn: BigNumberish;\n}\n\nexport interface LiquidityPoolKeys {\n // base\n id: PublicKey;\n baseMint: PublicKey;\n quoteMint: PublicKey;\n lpMint: PublicKey;\n baseDecimals: number;\n quoteDecimals: number;\n lpDecimals: number;\n // version\n version: 4 | 5;\n programId: PublicKey;\n // keys\n authority: PublicKey;\n nonce: number;\n baseVault: PublicKey;\n quoteVault: PublicKey;\n lpVault: PublicKey;\n openOrders: PublicKey;\n targetOrders: PublicKey;\n withdrawQueue: PublicKey;\n // market version\n marketVersion: 3;\n marketProgramId: PublicKey;\n // market keys\n marketId: PublicKey;\n marketAuthority: PublicKey;\n lookupTableAccount: PublicKey;\n configId: PublicKey;\n}\n\nexport interface CreatePoolParam<T> {\n programId: PublicKey;\n marketInfo: {\n marketId: PublicKey;\n programId: PublicKey;\n };\n baseMintInfo: {\n mint: PublicKey;\n decimals: number;\n };\n quoteMintInfo: {\n mint: PublicKey;\n decimals: number;\n };\n\n baseAmount: BN;\n quoteAmount: BN;\n startTime: BN;\n\n ownerInfo: {\n feePayer?: PublicKey;\n useSOLBalance?: boolean; // if has WSOL mint\n };\n associatedOnly: boolean;\n checkCreateATAOwner?: boolean;\n tokenProgram?: PublicKey;\n feeDestinationId: PublicKey;\n computeBudgetConfig?: ComputeBudgetConfig;\n txVersion?: T;\n}\n\nexport interface CreatePoolAddress {\n programId: PublicKey;\n ammId: PublicKey;\n ammAuthority: PublicKey;\n ammOpenOrders: PublicKey;\n lpMint: PublicKey;\n coinMint: PublicKey;\n pcMint: PublicKey;\n coinVault: PublicKey;\n pcVault: PublicKey;\n withdrawQueue: PublicKey;\n ammTargetOrders: PublicKey;\n poolTempLp: PublicKey;\n marketProgramId: PublicKey;\n marketId: PublicKey;\n ammConfigId: PublicKey;\n feeDestinationId: PublicKey;\n}\n\nexport interface SwapFixedInInstructionParamsV4 {\n poolKeys: AmmV4Keys | AmmV5Keys;\n userKeys: {\n tokenAccountIn: PublicKey;\n tokenAccountOut: PublicKey;\n owner: PublicKey;\n };\n amountIn: BigNumberish;\n minAmountOut: BigNumberish;\n}\n\nexport interface SwapFixedOutInstructionParamsV4 {\n poolKeys: AmmV4Keys | AmmV5Keys;\n userKeys: {\n tokenAccountIn: PublicKey;\n tokenAccountOut: PublicKey;\n owner: PublicKey;\n };\n // maximum amount in\n maxAmountIn: BigNumberish;\n amountOut: BigNumberish;\n}\n\nexport type SwapSide = \"in\" | \"out\";\nexport interface SwapInstructionParams {\n version: number;\n poolKeys: AmmV4Keys | AmmV5Keys;\n userKeys: {\n tokenAccountIn: PublicKey;\n tokenAccountOut: PublicKey;\n owner: PublicKey;\n };\n amountIn: BigNumberish;\n amountOut: BigNumberish;\n fixedSide: SwapSide;\n}\n\nexport interface InitPoolInstructionParamsV4 {\n poolKeys: AmmV4Keys | AmmV5Keys;\n userKeys: {\n lpTokenAccount: PublicKey;\n payer: PublicKey;\n };\n startTime: BigNumberish;\n}\n\nexport interface ComputeAmountOutParam {\n poolInfo: ApiV3PoolInfoStandardItem & {\n baseReserve: BN;\n quoteReserve: BN;\n version: 4 | 5;\n status: number;\n };\n mintIn: string | PublicKey;\n mintOut: string | PublicKey;\n amountIn: BN;\n slippage: number;\n}\n\nexport interface SwapParam<T = TxVersion.LEGACY> {\n poolInfo: ApiV3PoolInfoStandardItem;\n poolKeys?: AmmV4Keys | AmmV5Keys;\n
|
|
1
|
+
{"version":3,"sources":["../../../src/raydium/liquidity/type.ts"],"sourcesContent":["import { PublicKey } from \"@solana/web3.js\";\nimport { ApiV3PoolInfoStandardItem, AmmV4Keys, AmmV5Keys, PoolKeys } from \"@/api/type\";\nimport { TxVersion } from \"@/common/txTool/txType\";\nimport { BigNumberish } from \"@/common/bignumber\";\nimport BN from \"bn.js\";\nimport { ComputeBudgetConfig } from \"@/raydium/type\";\nimport { TokenAmount } from \"@/module/amount\";\nimport { liquidityStateV4Layout } from \"./layout\";\nimport Decimal from \"decimal.js\";\n\nexport type LiquiditySide = \"a\" | \"b\";\nexport type AmountSide = \"base\" | \"quote\";\n\nexport interface AddLiquidityParams<T = TxVersion.LEGACY> {\n poolInfo: ApiV3PoolInfoStandardItem;\n poolKeys?: AmmV4Keys | AmmV5Keys;\n payer?: PublicKey;\n amountInA: TokenAmount;\n amountInB: TokenAmount;\n fixedSide: LiquiditySide;\n config?: {\n bypassAssociatedCheck?: boolean;\n checkCreateATAOwner?: boolean;\n };\n txVersion?: T;\n computeBudgetConfig?: ComputeBudgetConfig;\n}\n\nexport interface RemoveParams<T = TxVersion.LEGACY> {\n poolInfo: ApiV3PoolInfoStandardItem;\n poolKeys?: AmmV4Keys | AmmV5Keys;\n payer?: PublicKey;\n amountIn: BN;\n config?: {\n bypassAssociatedCheck?: boolean;\n checkCreateATAOwner?: boolean;\n };\n txVersion?: T;\n computeBudgetConfig?: ComputeBudgetConfig;\n}\n\nexport interface LiquidityUserKeys {\n baseTokenAccount: PublicKey;\n quoteTokenAccount: PublicKey;\n lpTokenAccount: PublicKey;\n owner: PublicKey;\n}\n\nexport interface LiquidityAddInstructionParams {\n poolInfo: ApiV3PoolInfoStandardItem;\n poolKeys: AmmV4Keys | AmmV5Keys;\n userKeys: LiquidityUserKeys;\n baseAmountIn: BigNumberish;\n quoteAmountIn: BigNumberish;\n fixedSide: AmountSide;\n}\n\nexport interface RemoveLiquidityInstruction {\n poolInfo: ApiV3PoolInfoStandardItem;\n poolKeys: AmmV4Keys | AmmV5Keys;\n userKeys: LiquidityUserKeys;\n amountIn: BigNumberish;\n}\n\nexport interface LiquidityPoolKeys {\n // base\n id: PublicKey;\n baseMint: PublicKey;\n quoteMint: PublicKey;\n lpMint: PublicKey;\n baseDecimals: number;\n quoteDecimals: number;\n lpDecimals: number;\n // version\n version: 4 | 5;\n programId: PublicKey;\n // keys\n authority: PublicKey;\n nonce: number;\n baseVault: PublicKey;\n quoteVault: PublicKey;\n lpVault: PublicKey;\n openOrders: PublicKey;\n targetOrders: PublicKey;\n withdrawQueue: PublicKey;\n // market version\n marketVersion: 3;\n marketProgramId: PublicKey;\n // market keys\n marketId: PublicKey;\n marketAuthority: PublicKey;\n lookupTableAccount: PublicKey;\n configId: PublicKey;\n}\n\nexport interface CreatePoolParam<T> {\n programId: PublicKey;\n marketInfo: {\n marketId: PublicKey;\n programId: PublicKey;\n };\n baseMintInfo: {\n mint: PublicKey;\n decimals: number;\n };\n quoteMintInfo: {\n mint: PublicKey;\n decimals: number;\n };\n\n baseAmount: BN;\n quoteAmount: BN;\n startTime: BN;\n\n ownerInfo: {\n feePayer?: PublicKey;\n useSOLBalance?: boolean; // if has WSOL mint\n };\n associatedOnly: boolean;\n checkCreateATAOwner?: boolean;\n tokenProgram?: PublicKey;\n feeDestinationId: PublicKey;\n computeBudgetConfig?: ComputeBudgetConfig;\n txVersion?: T;\n}\n\nexport interface CreatePoolAddress {\n programId: PublicKey;\n ammId: PublicKey;\n ammAuthority: PublicKey;\n ammOpenOrders: PublicKey;\n lpMint: PublicKey;\n coinMint: PublicKey;\n pcMint: PublicKey;\n coinVault: PublicKey;\n pcVault: PublicKey;\n withdrawQueue: PublicKey;\n ammTargetOrders: PublicKey;\n poolTempLp: PublicKey;\n marketProgramId: PublicKey;\n marketId: PublicKey;\n ammConfigId: PublicKey;\n feeDestinationId: PublicKey;\n}\n\nexport interface SwapFixedInInstructionParamsV4 {\n poolKeys: AmmV4Keys | AmmV5Keys;\n userKeys: {\n tokenAccountIn: PublicKey;\n tokenAccountOut: PublicKey;\n owner: PublicKey;\n };\n amountIn: BigNumberish;\n minAmountOut: BigNumberish;\n}\n\nexport interface SwapFixedOutInstructionParamsV4 {\n poolKeys: AmmV4Keys | AmmV5Keys;\n userKeys: {\n tokenAccountIn: PublicKey;\n tokenAccountOut: PublicKey;\n owner: PublicKey;\n };\n // maximum amount in\n maxAmountIn: BigNumberish;\n amountOut: BigNumberish;\n}\n\nexport type SwapSide = \"in\" | \"out\";\nexport interface SwapInstructionParams {\n version: number;\n poolKeys: AmmV4Keys | AmmV5Keys;\n userKeys: {\n tokenAccountIn: PublicKey;\n tokenAccountOut: PublicKey;\n owner: PublicKey;\n };\n amountIn: BigNumberish;\n amountOut: BigNumberish;\n fixedSide: SwapSide;\n}\n\nexport interface InitPoolInstructionParamsV4 {\n poolKeys: AmmV4Keys | AmmV5Keys;\n userKeys: {\n lpTokenAccount: PublicKey;\n payer: PublicKey;\n };\n startTime: BigNumberish;\n}\n\nexport interface ComputeAmountOutParam {\n poolInfo: ApiV3PoolInfoStandardItem & {\n baseReserve: BN;\n quoteReserve: BN;\n version: 4 | 5;\n status: number;\n };\n mintIn: string | PublicKey;\n mintOut: string | PublicKey;\n amountIn: BN;\n slippage: number;\n}\n\nexport interface SwapParam<T = TxVersion.LEGACY> {\n poolInfo: ApiV3PoolInfoStandardItem;\n poolKeys?: AmmV4Keys | AmmV5Keys;\n amountIn: BN;\n amountOut: BN;\n inputMint: string;\n fixedSide: SwapSide;\n config?: {\n associatedOnly?: boolean;\n inputUseSolBalance?: boolean;\n outputUseSolBalance?: boolean;\n };\n computeBudgetConfig?: ComputeBudgetConfig;\n txVersion?: T;\n}\n\nexport type AmmRpcData = ReturnType<typeof liquidityStateV4Layout.decode> & {\n baseReserve: BN;\n quoteReserve: BN;\n mintAAmount: BN;\n mintBAmount: BN;\n poolPrice: Decimal;\n programId: PublicKey;\n};\n"],"mappings":"kWAAA","names":[]}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PublicKey, Connection } from '@solana/web3.js';
|
|
2
|
-
import { s as AmmV4Keys, t as AmmV5Keys } from '../../type-
|
|
2
|
+
import { s as AmmV4Keys, t as AmmV5Keys } from '../../type-2596119f.js';
|
|
3
3
|
import { LiquidityPoolKeys, AmmRpcData, ComputeAmountOutParam } from './type.js';
|
|
4
4
|
import BN__default from 'bn.js';
|
|
5
5
|
import '@solana/spl-token';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
export { e as default } from '../../raydium-
|
|
2
|
+
export { e as default } from '../../raydium-8871c9e8.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
import '../../type-
|
|
4
|
+
import '../../type-2596119f.js';
|
|
5
5
|
import '../../api/api.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../solana/type.js';
|
|
@@ -22,7 +22,7 @@ import '../account/layout.js';
|
|
|
22
22
|
import '../liquidity/type.js';
|
|
23
23
|
import '../liquidity/layout.js';
|
|
24
24
|
import '../liquidity/stable.js';
|
|
25
|
-
import '../../type-
|
|
25
|
+
import '../../type-0de39dab.js';
|
|
26
26
|
import '../clmm/layout.js';
|
|
27
27
|
import '../cpmm/type.js';
|
|
28
28
|
import '../cpmm/curve/calculator.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { e as default } from '../../raydium-
|
|
1
|
+
export { e as default } from '../../raydium-8871c9e8.js';
|
|
2
2
|
export { initializeMarket, makeCreateMarketInstruction } from './instrument.js';
|
|
3
3
|
export { MARKET_STATE_LAYOUT_V2 } from './layout.js';
|
|
4
4
|
import '@solana/web3.js';
|
|
5
5
|
import '../../api/api.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../solana/type.js';
|
|
8
|
-
import '../../type-
|
|
8
|
+
import '../../type-2596119f.js';
|
|
9
9
|
import 'bn.js';
|
|
10
10
|
import '@solana/spl-token';
|
|
11
11
|
import '../../common/txTool/txType.js';
|
|
@@ -24,7 +24,7 @@ import '../account/layout.js';
|
|
|
24
24
|
import '../liquidity/type.js';
|
|
25
25
|
import '../liquidity/layout.js';
|
|
26
26
|
import '../liquidity/stable.js';
|
|
27
|
-
import '../../type-
|
|
27
|
+
import '../../type-0de39dab.js';
|
|
28
28
|
import '../clmm/layout.js';
|
|
29
29
|
import '../cpmm/type.js';
|
|
30
30
|
import '../cpmm/curve/calculator.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import '../common/logger.js';
|
|
3
|
-
import '../type-
|
|
4
|
-
export { g as ModuleBaseProps, f as default } from '../raydium-
|
|
3
|
+
import '../type-2596119f.js';
|
|
4
|
+
export { g as ModuleBaseProps, f as default } from '../raydium-8871c9e8.js';
|
|
5
5
|
import 'bn.js';
|
|
6
6
|
import '@solana/spl-token';
|
|
7
7
|
import '../solana/type.js';
|
|
@@ -22,7 +22,7 @@ import './account/layout.js';
|
|
|
22
22
|
import './liquidity/type.js';
|
|
23
23
|
import './liquidity/layout.js';
|
|
24
24
|
import './liquidity/stable.js';
|
|
25
|
-
import '../type-
|
|
25
|
+
import '../type-0de39dab.js';
|
|
26
26
|
import './clmm/layout.js';
|
|
27
27
|
import './cpmm/type.js';
|
|
28
28
|
import './cpmm/curve/calculator.js';
|
package/lib/raydium/raydium.d.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import '../api/api.js';
|
|
3
|
-
import '../type-
|
|
3
|
+
import '../type-2596119f.js';
|
|
4
4
|
import '../api/url.js';
|
|
5
5
|
import '../common/owner.js';
|
|
6
6
|
import '../solana/type.js';
|
|
7
|
-
export { c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams } from '../raydium-
|
|
7
|
+
export { c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams } from '../raydium-8871c9e8.js';
|
|
8
8
|
import 'axios';
|
|
9
9
|
import 'bn.js';
|
|
10
10
|
import '@solana/spl-token';
|
|
@@ -22,7 +22,7 @@ import './account/layout.js';
|
|
|
22
22
|
import './liquidity/type.js';
|
|
23
23
|
import './liquidity/layout.js';
|
|
24
24
|
import './liquidity/stable.js';
|
|
25
|
-
import '../type-
|
|
25
|
+
import '../type-0de39dab.js';
|
|
26
26
|
import './clmm/layout.js';
|
|
27
27
|
import './cpmm/type.js';
|
|
28
28
|
import './cpmm/curve/calculator.js';
|