@raydium-io/raydium-sdk-v2 0.2.1-alpha → 0.2.2-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/index.js.map +1 -1
- package/lib/api/index.mjs.map +1 -1
- package/lib/api/type.d.ts +1 -1
- package/lib/api/type.js +1 -1
- package/lib/api/type.js.map +1 -1
- package/lib/api/type.mjs.map +1 -1
- package/lib/{api-24bf4058.d.ts → api-0017263f.d.ts} +5 -0
- package/lib/common/accountInfo.d.ts +1 -1
- package/lib/common/bignumber.d.ts +1 -1
- package/lib/common/constant.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.map +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/index.js +1 -1
- package/lib/raydium/clmm/index.mjs +1 -1
- package/lib/raydium/clmm/instrument.d.ts +2 -2
- 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/curve/calculator.d.ts +1 -1
- package/lib/raydium/cpmm/curve/constantProduct.d.ts +1 -1
- package/lib/raydium/cpmm/index.d.ts +1 -1
- package/lib/raydium/cpmm/instruction.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/launchpad/curve/constantProductCurve.d.ts +1 -1
- package/lib/raydium/launchpad/curve/curve.d.ts +1 -1
- package/lib/raydium/launchpad/curve/curve.js +1 -1
- package/lib/raydium/launchpad/curve/curve.mjs +1 -1
- package/lib/raydium/launchpad/curve/curveBase.d.ts +1 -1
- package/lib/raydium/launchpad/curve/fixedPriceCurve.d.ts +1 -1
- package/lib/raydium/launchpad/curve/linearPriceCurve.d.ts +1 -1
- package/lib/raydium/launchpad/curve/linearPriceCurve.js +1 -1
- package/lib/raydium/launchpad/curve/linearPriceCurve.js.map +1 -1
- package/lib/raydium/launchpad/curve/linearPriceCurve.mjs +1 -1
- package/lib/raydium/launchpad/curve/linearPriceCurve.mjs.map +1 -1
- package/lib/raydium/launchpad/index.d.ts +3 -3
- package/lib/raydium/launchpad/launchpad.d.ts +3 -3
- package/lib/raydium/launchpad/pda.d.ts +1 -1
- package/lib/raydium/launchpad/type.d.ts +1 -1
- package/lib/raydium/liquidity/index.d.ts +1 -1
- package/lib/raydium/liquidity/instruction.d.ts +1 -1
- package/lib/raydium/liquidity/liquidity.d.ts +3 -3
- package/lib/raydium/liquidity/type.d.ts +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/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-80c3ce5d.d.ts → raydium-2d36f2ed.d.ts} +2 -2
- package/lib/{type-a20a0a77.d.ts → type-afa99d0e.d.ts} +1 -1
- package/package.json +1 -1
- package/src/api/type.ts +5 -0
package/lib/module/amount.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import 'bn.js';
|
|
2
|
-
export { cf as CurrencyAmount, ce as TokenAmount, cd as splitNumber } from '../api-
|
|
2
|
+
export { cf as CurrencyAmount, ce as TokenAmount, cd as splitNumber } from '../api-0017263f.js';
|
|
3
3
|
import '../common/logger.js';
|
|
4
4
|
import './currency.js';
|
|
5
5
|
import './token.js';
|
package/lib/module/fraction.d.ts
CHANGED
package/lib/module/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { cf as CurrencyAmount, cg as Fraction, ci as Percent, cj as Price, ce as TokenAmount, ch as _100_PERCENT, cd as splitNumber } from '../api-
|
|
1
|
+
export { cf as CurrencyAmount, cg as Fraction, ci as Percent, cj as Price, ce as TokenAmount, ch as _100_PERCENT, cd as splitNumber } from '../api-0017263f.js';
|
|
2
2
|
export { Currency, currencyEquals } from './currency.js';
|
|
3
3
|
export { WrappedBig, WrappedDecimal } from './formatter.js';
|
|
4
4
|
export { Token, TokenProps } from './token.js';
|
package/lib/module/percent.d.ts
CHANGED
package/lib/module/price.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
import '../../api-
|
|
2
|
+
import '../../api-0017263f.js';
|
|
3
3
|
import './types.js';
|
|
4
|
-
export { T as TokenAccountDataProp, A as default } from '../../raydium-
|
|
4
|
+
export { T as TokenAccountDataProp, A as default } from '../../raydium-2d36f2ed.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
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-afa99d0e.js';
|
|
26
26
|
import '../cpmm/type.js';
|
|
27
27
|
import '../cpmm/curve/calculator.js';
|
|
28
28
|
import '../cpmm/layout.js';
|
|
@@ -6,7 +6,7 @@ import '../../marshmallow/index.js';
|
|
|
6
6
|
import '@solana/web3.js';
|
|
7
7
|
import 'bn.js';
|
|
8
8
|
import '../../marshmallow/buffer-layout.js';
|
|
9
|
-
import '../../api-
|
|
9
|
+
import '../../api-0017263f.js';
|
|
10
10
|
import 'axios';
|
|
11
11
|
import '../../solana/type.js';
|
|
12
12
|
import '@solana/spl-token';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PublicKey, TransactionInstruction, Signer, Connection, Commitment } from '@solana/web3.js';
|
|
2
|
-
import { ay as AddInstructionParam, af as BigNumberish } from '../../api-
|
|
2
|
+
import { ay as AddInstructionParam, af as BigNumberish } from '../../api-0017263f.js';
|
|
3
3
|
import 'axios';
|
|
4
4
|
import '../../solana/type.js';
|
|
5
5
|
import 'bn.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
|
2
2
|
import BN__default from 'bn.js';
|
|
3
|
-
import { af as BigNumberish } from '../../api-
|
|
3
|
+
import { af as BigNumberish } from '../../api-0017263f.js';
|
|
4
4
|
import { GetStructureSchema } from '../../marshmallow/buffer-layout.js';
|
|
5
5
|
import { splAccountLayout } from './layout.js';
|
|
6
6
|
import 'axios';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { PublicKey, AccountInfo, RpcResponseAndContext, GetProgramAccountsResponse } from '@solana/web3.js';
|
|
2
2
|
import { TokenAccount, TokenAccountRaw } from './types.js';
|
|
3
3
|
import 'bn.js';
|
|
4
|
-
import '../../api-
|
|
4
|
+
import '../../api-0017263f.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../../solana/type.js';
|
|
7
7
|
import '@solana/spl-token';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import 'bn.js';
|
|
3
3
|
import 'decimal.js';
|
|
4
|
-
import '../../api-
|
|
4
|
+
import '../../api-0017263f.js';
|
|
5
5
|
import '../../common/txTool/txType.js';
|
|
6
|
-
export { C as Clmm } from '../../raydium-
|
|
6
|
+
export { C as Clmm } from '../../raydium-2d36f2ed.js';
|
|
7
7
|
import './layout.js';
|
|
8
|
-
import '../../type-
|
|
8
|
+
import '../../type-afa99d0e.js';
|
|
9
9
|
import 'axios';
|
|
10
10
|
import '../../solana/type.js';
|
|
11
11
|
import '@solana/spl-token';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { C as Clmm } from '../../raydium-
|
|
2
|
-
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, J as ClmmLockAddress, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, y as HarvestAllRewardsParams, H as HarvestLockPosition, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, L as LockPosition, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, j as ReturnTypeComputeAmountOut, k as ReturnTypeComputeAmountOutBaseOut, i as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, h as ReturnTypeGetAmountsFromLiquidity, g as ReturnTypeGetLiquidityAmountOut, Q as ReturnTypeGetPriceAndTick, P as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, N as TICK_ARRAY_BITMAP_SIZE, K as TICK_ARRAY_SIZE, V as Tick, W as TickArray, T as TickArrayBitmapExtensionType, Y as TickArrayState, X as TickState, Z as TickUtils, U as UserPositionAccount } from '../../type-
|
|
1
|
+
export { C as Clmm } from '../../raydium-2d36f2ed.js';
|
|
2
|
+
export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, J as ClmmLockAddress, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, F as ClmmRpcData, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, y as HarvestAllRewardsParams, H as HarvestLockPosition, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, L as LockPosition, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, j as ReturnTypeComputeAmountOut, k as ReturnTypeComputeAmountOutBaseOut, i as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, h as ReturnTypeGetAmountsFromLiquidity, g as ReturnTypeGetLiquidityAmountOut, Q as ReturnTypeGetPriceAndTick, P as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, N as TICK_ARRAY_BITMAP_SIZE, K as TICK_ARRAY_SIZE, V as Tick, W as TickArray, T as TickArrayBitmapExtensionType, Y as TickArrayState, X as TickState, Z as TickUtils, U as UserPositionAccount } from '../../type-afa99d0e.js';
|
|
3
3
|
export { ClmmConfigLayout, ClmmPositionLayout, LockClPositionLayoutV2, LockPositionLayout, ObservationInfoLayout, ObservationLayout, OperationLayout, PoolInfoLayout, PositionInfoLayout, PositionRewardInfoLayout, ProtocolPositionLayout, RewardInfo, TickArrayBitmapExtensionLayout, TickArrayLayout, TickLayout } from './layout.js';
|
|
4
4
|
export { ClmmInstrument } from './instrument.js';
|
|
5
5
|
export { BIT_PRECISION, FEE_RATE_DENOMINATOR, Fee, LOG_B_2_X32, LOG_B_P_ERR_MARGIN_LOWER_X64, LOG_B_P_ERR_MARGIN_UPPER_X64, MAX_SQRT_PRICE_X64, MAX_SQRT_PRICE_X64_SUB_ONE, MAX_TICK, MIN_SQRT_PRICE_X64, MIN_SQRT_PRICE_X64_ADD_ONE, MIN_TICK, MaxU64, MaxUint128, NEGATIVE_ONE, ONE, Q128, Q64, TICK_SPACINGS, U64Resolution, U64_IGNORE_RANGE, ZERO, mockCreatePoolInfo, mockV3CreatePoolInfo } from './utils/constants.js';
|
|
@@ -10,7 +10,7 @@ export { PositionUtils } from './utils/position.js';
|
|
|
10
10
|
export { FETCH_TICKARRAY_COUNT, PoolVars, TickQuery } from './utils/tickQuery.js';
|
|
11
11
|
export { EXTENSION_TICKARRAY_BITMAP_SIZE, TickArrayBitmap, TickArrayBitmapExtensionUtils } from './utils/tickarrayBitmap.js';
|
|
12
12
|
export { i16ToBytes, i32ToBytes, isZero, leadingZeros, leastSignificantBit, mostSignificantBit, trailingZeros, u16ToBytes, u32ToBytes } from './utils/util.js';
|
|
13
|
-
export { d as ApiClmmConfigInfo } from '../../api-
|
|
13
|
+
export { d as ApiClmmConfigInfo } from '../../api-0017263f.js';
|
|
14
14
|
import '@solana/web3.js';
|
|
15
15
|
import '../../api/url.js';
|
|
16
16
|
import '../../common/owner.js';
|