@raydium-io/raydium-sdk-v2 0.2.8-alpha → 0.2.10-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.js.map +1 -1
- package/lib/api/api.mjs +1 -1
- package/lib/api/api.mjs.map +1 -1
- package/lib/api/index.js.map +1 -1
- package/lib/api/index.mjs +1 -1
- package/lib/api/index.mjs.map +1 -1
- package/lib/index.d.ts +2 -2
- 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/raydium/account/account.d.ts +2 -2
- package/lib/raydium/clmm/clmm.d.ts +2 -2
- package/lib/raydium/clmm/index.d.ts +2 -2
- package/lib/raydium/clmm/instrument.d.ts +1 -1
- package/lib/raydium/clmm/layout.d.ts +1 -1
- package/lib/raydium/clmm/type.d.ts +1 -1
- package/lib/raydium/clmm/utils/math.d.ts +1 -1
- package/lib/raydium/clmm/utils/pool.d.ts +1 -1
- package/lib/raydium/clmm/utils/position.d.ts +1 -1
- package/lib/raydium/clmm/utils/tick.d.ts +1 -1
- package/lib/raydium/clmm/utils/tickQuery.d.ts +1 -1
- package/lib/raydium/clmm/utils/tickarrayBitmap.d.ts +1 -1
- package/lib/raydium/cpmm/cpmm.d.ts +2 -2
- package/lib/raydium/cpmm/layout.d.ts +1 -1
- package/lib/raydium/farm/farm.d.ts +2 -2
- package/lib/raydium/ido/ido.d.ts +2 -2
- package/lib/raydium/ido/index.d.ts +2 -2
- package/lib/raydium/index.d.ts +2 -2
- 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/launchpad/index.d.ts +2 -2
- package/lib/raydium/launchpad/launchpad.d.ts +2 -2
- package/lib/raydium/launchpad/layout.d.ts +1 -1
- package/lib/raydium/liquidity/layout.d.ts +2 -2
- package/lib/raydium/liquidity/liquidity.d.ts +2 -2
- package/lib/raydium/marketV2/createMarket.d.ts +2 -2
- package/lib/raydium/marketV2/index.d.ts +2 -2
- package/lib/raydium/moduleBase.d.ts +2 -2
- package/lib/raydium/raydium.d.ts +2 -2
- 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/token.d.ts +2 -2
- package/lib/raydium/tradeV2/index.d.ts +1 -1
- package/lib/raydium/tradeV2/instrument.d.ts +1 -1
- package/lib/raydium/tradeV2/trade.d.ts +2 -2
- package/lib/raydium/tradeV2/type.d.ts +1 -1
- package/lib/raydium/utils1216/index.d.ts +2 -2
- package/lib/raydium/utils1216/utils1216.d.ts +2 -2
- package/lib/{raydium-a0e78f8b.d.ts → raydium-0ce2c946.d.ts} +2 -2
- package/package.json +1 -1
- package/src/api/api.ts +0 -1
- package/src/raydium/raydium.ts +0 -1
- /package/lib/{type-0c2ce595.d.ts → type-dabc7a99.d.ts} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import '../../api-c81dd6be.js';
|
|
3
|
-
export { n as default } from '../../raydium-
|
|
3
|
+
export { n as default } from '../../raydium-0ce2c946.js';
|
|
4
4
|
import 'axios';
|
|
5
5
|
import '../../solana/type.js';
|
|
6
6
|
import 'bn.js';
|
|
@@ -22,7 +22,7 @@ import '../liquidity/stable.js';
|
|
|
22
22
|
import '../liquidity/type.js';
|
|
23
23
|
import '../liquidity/layout.js';
|
|
24
24
|
import '../clmm/layout.js';
|
|
25
|
-
import '../../type-
|
|
25
|
+
import '../../type-dabc7a99.js';
|
|
26
26
|
import '../cpmm/type.js';
|
|
27
27
|
import '../cpmm/curve/calculator.js';
|
|
28
28
|
import '../cpmm/layout.js';
|
|
@@ -17,7 +17,7 @@ import '../../common/logger.js';
|
|
|
17
17
|
import '../../module/currency.js';
|
|
18
18
|
import '../../marshmallow/index.js';
|
|
19
19
|
import '../../marshmallow/buffer-layout.js';
|
|
20
|
-
import '../../type-
|
|
20
|
+
import '../../type-dabc7a99.js';
|
|
21
21
|
import '../clmm/layout.js';
|
|
22
22
|
import '../liquidity/type.js';
|
|
23
23
|
import '../liquidity/layout.js';
|
|
@@ -16,7 +16,7 @@ import '../../common/logger.js';
|
|
|
16
16
|
import '../../module/currency.js';
|
|
17
17
|
import '../../marshmallow/index.js';
|
|
18
18
|
import '../../marshmallow/buffer-layout.js';
|
|
19
|
-
import '../../type-
|
|
19
|
+
import '../../type-dabc7a99.js';
|
|
20
20
|
import '../clmm/layout.js';
|
|
21
21
|
import '../liquidity/type.js';
|
|
22
22
|
import '../liquidity/layout.js';
|
|
@@ -2,8 +2,8 @@ import '@solana/web3.js';
|
|
|
2
2
|
import 'bn.js';
|
|
3
3
|
import '../../api-c81dd6be.js';
|
|
4
4
|
import '../../common/txTool/txType.js';
|
|
5
|
-
export { l as default } from '../../raydium-
|
|
6
|
-
import '../../type-
|
|
5
|
+
export { l as default } from '../../raydium-0ce2c946.js';
|
|
6
|
+
import '../../type-dabc7a99.js';
|
|
7
7
|
import '../liquidity/type.js';
|
|
8
8
|
import '../cpmm/type.js';
|
|
9
9
|
import './type.js';
|
|
@@ -3,7 +3,7 @@ import BN__default from 'bn.js';
|
|
|
3
3
|
import Decimal from 'decimal.js';
|
|
4
4
|
import { bX as TransferAmountFee, ce as TokenAmount, G as PoolKeys, s as ApiV3PoolInfoItem } from '../../api-c81dd6be.js';
|
|
5
5
|
import { Token } from '../../module/token.js';
|
|
6
|
-
import { d as ComputeClmmPoolInfo } from '../../type-
|
|
6
|
+
import { d as ComputeClmmPoolInfo } from '../../type-dabc7a99.js';
|
|
7
7
|
import { ComputeAmountOutParam } from '../liquidity/type.js';
|
|
8
8
|
import { CpmmComputeData } from '../cpmm/type.js';
|
|
9
9
|
import 'axios';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { S as SHOW_INFO, d as canClaimErrorType, U as default } from '../../raydium-
|
|
1
|
+
export { S as SHOW_INFO, d as canClaimErrorType, U as default } from '../../raydium-0ce2c946.js';
|
|
2
2
|
import '@solana/web3.js';
|
|
3
3
|
import '../../api-c81dd6be.js';
|
|
4
4
|
import 'axios';
|
|
@@ -22,7 +22,7 @@ import '../liquidity/stable.js';
|
|
|
22
22
|
import '../liquidity/type.js';
|
|
23
23
|
import '../liquidity/layout.js';
|
|
24
24
|
import '../clmm/layout.js';
|
|
25
|
-
import '../../type-
|
|
25
|
+
import '../../type-dabc7a99.js';
|
|
26
26
|
import '../cpmm/type.js';
|
|
27
27
|
import '../cpmm/curve/calculator.js';
|
|
28
28
|
import '../cpmm/layout.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '../../marshmallow/index.js';
|
|
2
2
|
import '@solana/web3.js';
|
|
3
3
|
import 'bn.js';
|
|
4
|
-
export { S as SHOW_INFO, d as canClaimErrorType, U as default } from '../../raydium-
|
|
4
|
+
export { S as SHOW_INFO, d as canClaimErrorType, U as default } from '../../raydium-0ce2c946.js';
|
|
5
5
|
import '../../marshmallow/buffer-layout.js';
|
|
6
6
|
import '../../api-c81dd6be.js';
|
|
7
7
|
import 'axios';
|
|
@@ -22,7 +22,7 @@ import '../liquidity/stable.js';
|
|
|
22
22
|
import '../liquidity/type.js';
|
|
23
23
|
import '../liquidity/layout.js';
|
|
24
24
|
import '../clmm/layout.js';
|
|
25
|
-
import '../../type-
|
|
25
|
+
import '../../type-dabc7a99.js';
|
|
26
26
|
import '../cpmm/type.js';
|
|
27
27
|
import '../cpmm/curve/calculator.js';
|
|
28
28
|
import '../cpmm/layout.js';
|
|
@@ -11,7 +11,7 @@ import Decimal from 'decimal.js';
|
|
|
11
11
|
import { StableLayout } from './raydium/liquidity/stable.js';
|
|
12
12
|
import { AddLiquidityParams, RemoveParams, CreatePoolParam, CreatePoolAddress, CreateMarketAndPoolParam, ComputeAmountOutParam, ComputeAmountInParam, SwapParam, AmmRpcData } from './raydium/liquidity/type.js';
|
|
13
13
|
import { ClmmPositionLayout, PositionInfoLayout, LockClPositionLayoutV2, PoolInfoLayout } from './raydium/clmm/layout.js';
|
|
14
|
-
import { m as CreateConcentratedPool, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, I as IncreasePositionFromLiquidity, M as ManipulateLiquidityExtInfo, n as IncreasePositionFromBase, D as DecreaseLiquidity, B as ClosePositionExtInfo, L as LockPosition, J as ClmmLockAddress, H as HarvestLockPosition, s as InitRewardParams, E as InitRewardExtInfo, t as InitRewardsParams, u as SetRewardParams, v as SetRewardsParams, w as CollectRewardParams, x as CollectRewardsParams, y as HarvestAllRewardsParams, F as ClmmRpcData, d as ComputeClmmPoolInfo, l as ReturnTypeFetchMultiplePoolTickArrays } from './type-
|
|
14
|
+
import { m as CreateConcentratedPool, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, I as IncreasePositionFromLiquidity, M as ManipulateLiquidityExtInfo, n as IncreasePositionFromBase, D as DecreaseLiquidity, B as ClosePositionExtInfo, L as LockPosition, J as ClmmLockAddress, H as HarvestLockPosition, s as InitRewardParams, E as InitRewardExtInfo, t as InitRewardsParams, u as SetRewardParams, v as SetRewardsParams, w as CollectRewardParams, x as CollectRewardsParams, y as HarvestAllRewardsParams, F as ClmmRpcData, d as ComputeClmmPoolInfo, l as ReturnTypeFetchMultiplePoolTickArrays } from './type-dabc7a99.js';
|
|
15
15
|
import { CpmmRpcData, CpmmComputeData, CreateCpmmPoolParam, CreateCpmmPoolAddress, AddCpmmLiquidityParams, WithdrawCpmmLiquidityParams, CpmmSwapParams, LockCpmmLpParams, CpmmLockExtInfo, HarvestLockCpmmLpParams, HarvestMultiLockCpmmLpParams, ComputePairAmountParams } from './raydium/cpmm/type.js';
|
|
16
16
|
import { ComputeAmountOutLayout, BasicPoolInfo, ReturnTypeGetAllRoute, ComputeRoutePathType, ComputePoolType, ReturnTypeFetchMultipleInfo } from './raydium/tradeV2/type.js';
|
|
17
17
|
import { Structure } from './marshmallow/index.js';
|
|
@@ -526,11 +526,11 @@ declare class Utils1216 extends ModuleBase {
|
|
|
526
526
|
perLpLoss: BN__default;
|
|
527
527
|
totalClaimedAmount: BN__default;
|
|
528
528
|
}[], "", {
|
|
529
|
-
status: number;
|
|
530
529
|
padding: BN__default[];
|
|
531
530
|
bump: number;
|
|
532
531
|
endTime: BN__default;
|
|
533
532
|
openTime: BN__default;
|
|
533
|
+
status: number;
|
|
534
534
|
ammId: PublicKey;
|
|
535
535
|
tokenInfo: {
|
|
536
536
|
mintDecimals: number;
|
package/package.json
CHANGED
package/src/api/api.ts
CHANGED
package/src/raydium/raydium.ts
CHANGED
|
@@ -20,7 +20,6 @@ import Launchpad from "./launchpad/launchpad";
|
|
|
20
20
|
|
|
21
21
|
import TokenModule from "./token/token";
|
|
22
22
|
import { SignAllTransactions } from "./type";
|
|
23
|
-
import { getDevLookupTableCache } from "@/common";
|
|
24
23
|
|
|
25
24
|
export interface RaydiumLoadParams extends TokenAccountDataProp, Omit<RaydiumApiBatchRequestParams, "api"> {
|
|
26
25
|
/* ================= solana ================= */
|
|
File without changes
|