@raydium-io/raydium-sdk-v2 0.0.38-alpha → 0.0.39-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.
Files changed (52) hide show
  1. package/lib/index.d.ts +2 -2
  2. package/lib/index.js +1 -1
  3. package/lib/index.js.map +1 -1
  4. package/lib/index.mjs +1 -1
  5. package/lib/index.mjs.map +1 -1
  6. package/lib/raydium/account/account.d.ts +2 -2
  7. package/lib/raydium/clmm/clmm.d.ts +2 -2
  8. package/lib/raydium/clmm/index.d.ts +2 -2
  9. package/lib/raydium/clmm/instrument.d.ts +1 -1
  10. package/lib/raydium/clmm/layout.d.ts +1 -1
  11. package/lib/raydium/clmm/type.d.ts +1 -1
  12. package/lib/raydium/clmm/utils/math.d.ts +1 -1
  13. package/lib/raydium/clmm/utils/pool.d.ts +1 -1
  14. package/lib/raydium/clmm/utils/position.d.ts +1 -1
  15. package/lib/raydium/clmm/utils/tick.d.ts +1 -1
  16. package/lib/raydium/clmm/utils/tickQuery.d.ts +1 -1
  17. package/lib/raydium/clmm/utils/tickarrayBitmap.d.ts +1 -1
  18. package/lib/raydium/cpmm/cpmm.d.ts +2 -2
  19. package/lib/raydium/cpmm/layout.d.ts +1 -1
  20. package/lib/raydium/farm/farm.d.ts +2 -2
  21. package/lib/raydium/ido/ido.d.ts +2 -2
  22. package/lib/raydium/ido/index.d.ts +2 -2
  23. package/lib/raydium/index.d.ts +2 -2
  24. package/lib/raydium/index.js +1 -1
  25. package/lib/raydium/index.js.map +1 -1
  26. package/lib/raydium/index.mjs +1 -1
  27. package/lib/raydium/index.mjs.map +1 -1
  28. package/lib/raydium/liquidity/layout.d.ts +2 -2
  29. package/lib/raydium/liquidity/liquidity.d.ts +2 -2
  30. package/lib/raydium/liquidity/liquidity.js +1 -1
  31. package/lib/raydium/liquidity/liquidity.js.map +1 -1
  32. package/lib/raydium/liquidity/liquidity.mjs +1 -1
  33. package/lib/raydium/liquidity/liquidity.mjs.map +1 -1
  34. package/lib/raydium/marketV2/createMarket.d.ts +2 -2
  35. package/lib/raydium/marketV2/index.d.ts +2 -2
  36. package/lib/raydium/moduleBase.d.ts +2 -2
  37. package/lib/raydium/raydium.d.ts +2 -2
  38. package/lib/raydium/raydium.js +1 -1
  39. package/lib/raydium/raydium.js.map +1 -1
  40. package/lib/raydium/raydium.mjs +1 -1
  41. package/lib/raydium/raydium.mjs.map +1 -1
  42. package/lib/raydium/token/token.d.ts +2 -2
  43. package/lib/raydium/tradeV2/index.d.ts +1 -1
  44. package/lib/raydium/tradeV2/instrument.d.ts +1 -1
  45. package/lib/raydium/tradeV2/trade.d.ts +2 -2
  46. package/lib/raydium/tradeV2/type.d.ts +1 -1
  47. package/lib/raydium/utils1216/index.d.ts +2 -2
  48. package/lib/raydium/utils1216/utils1216.d.ts +2 -2
  49. package/lib/{raydium-34e76972.d.ts → raydium-2631faa2.d.ts} +2 -2
  50. package/package.json +1 -1
  51. package/src/raydium/liquidity/liquidity.ts +9 -6
  52. /package/lib/{type-6d046773.d.ts → type-08d7cf11.d.ts} +0 -0
package/lib/index.d.ts CHANGED
@@ -16,7 +16,7 @@ export { ALL_PROGRAM_ID, AMM_STABLE, AMM_V4, CLMM_PROGRAM_ID, CREATE_CPMM_POOL_A
16
16
  export { getATAAddress } from './common/pda.js';
17
17
  export { BNDivCeil, getTransferAmountFee, getTransferAmountFeeV2, minExpirationTime } from './common/transfer.js';
18
18
  export { CacheLTA, LOOKUP_TABLE_CACHE, getMultipleLookupTableInfo } from './common/txTool/lookupTable.js';
19
- export { C as Clmm, c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams, S as SHOW_INFO, d as canClaimErrorType } from './raydium-34e76972.js';
19
+ export { C as Clmm, c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams, S as SHOW_INFO, d as canClaimErrorType } from './raydium-2631faa2.js';
20
20
  export { splAccountLayout } from './raydium/account/layout.js';
21
21
  export { GetOrCreateTokenAccountParams, HandleTokenAccountParams, SplAccount, SplAccountLayout, TokenAccount, TokenAccountRaw, getCreatedTokenAccountParams } from './raydium/account/types.js';
22
22
  export { ParseTokenAccount, generatePubKey, parseTokenAccountResp } from './raydium/account/util.js';
@@ -29,7 +29,7 @@ export { SPL_MINT_LAYOUT, SplMintLayout } from './raydium/token/layout.js';
29
29
  export { parseTokenInfo, solToWSolToken, toToken, toTokenAmount, toTokenInfo, wSolToSolToken } from './raydium/token/utils.js';
30
30
  export { ComputeAmountOutAmmLayout, ComputeAmountOutLayout, ComputeAmountOutRouteLayout, MakeSwapInstructionParam, PoolAccountInfoV4, ReturnTypeFetchMultipleInfo, ReturnTypeGetAddLiquidityDefaultPool, ReturnTypeGetAllRoute, ReturnTypeMakeSwapInstruction, ReturnTypeMakeSwapTransaction, RoutePathType } from './raydium/tradeV2/type.js';
31
31
  export { makeSwapInstruction, route1Instruction, route2Instruction, routeInstruction } from './raydium/tradeV2/instrument.js';
32
- export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, H as HarvestAllRewardsParams, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, y as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, i as ReturnTypeGetAmountsFromLiquidity, h as ReturnTypeGetLiquidityAmountOut, L as ReturnTypeGetPriceAndTick, K as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, J as TICK_ARRAY_BITMAP_SIZE, F as TICK_ARRAY_SIZE, N as Tick, P as TickArray, T as TickArrayBitmapExtensionType, V as TickArrayState, Q as TickState, W as TickUtils, U as UserPositionAccount } from './type-6d046773.js';
32
+ export { a as ApiClmmConfigInfos, A as ApiClmmPoint, C as ClmmConfigInfo, c as ClmmPoolInfo, e as ClmmPoolPersonalPosition, b as ClmmPoolRewardInfo, o as ClmmPoolRewardLayoutInfo, B as ClosePositionExtInfo, w as CollectRewardParams, x as CollectRewardsParams, d as ComputeClmmPoolInfo, m as CreateConcentratedPool, D as DecreaseLiquidity, G as GetAmountParams, H as HarvestAllRewardsParams, n as IncreasePositionFromBase, I as IncreasePositionFromLiquidity, E as InitRewardExtInfo, s as InitRewardParams, t as InitRewardsParams, M as ManipulateLiquidityExtInfo, O as OpenPositionFromBase, p as OpenPositionFromBaseExtInfo, q as OpenPositionFromLiquidity, r as OpenPositionFromLiquidityExtInfo, k as ReturnTypeComputeAmountOut, y as ReturnTypeComputeAmountOutBaseOut, j as ReturnTypeComputeAmountOutFormat, z as ReturnTypeFetchExBitmaps, l as ReturnTypeFetchMultiplePoolTickArrays, i as ReturnTypeGetAmountsFromLiquidity, h as ReturnTypeGetLiquidityAmountOut, L as ReturnTypeGetPriceAndTick, K as ReturnTypeGetTickPrice, f as ReturnTypeMakeCreatePoolTransaction, R as ReturnTypeMakeHarvestTransaction, g as ReturnTypeMakeInstructions, S as SDKParsedConcentratedInfo, u as SetRewardParams, v as SetRewardsParams, J as TICK_ARRAY_BITMAP_SIZE, F as TICK_ARRAY_SIZE, N as Tick, P as TickArray, T as TickArrayBitmapExtensionType, V as TickArrayState, Q as TickState, W as TickUtils, U as UserPositionAccount } from './type-08d7cf11.js';
33
33
  export { AmmConfigLayout, ClmmPositionLayout, ObservationInfoLayout, ObservationLayout, OperationLayout, PoolInfoLayout, PositionInfoLayout, PositionRewardInfoLayout, ProtocolPositionLayout, RewardInfo, TickArrayBitmapExtensionLayout, TickArrayLayout, TickLayout } from './raydium/clmm/layout.js';
34
34
  export { ClmmInstrument } from './raydium/clmm/instrument.js';
35
35
  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_TICK, MIN_SQRT_PRICE_X64, MIN_TICK, MaxU64, MaxUint128, NEGATIVE_ONE, ONE, Q128, Q64, TICK_SPACINGS, U64Resolution, U64_IGNORE_RANGE, ZERO, mockCreatePoolInfo, mockV3CreatePoolInfo } from './raydium/clmm/utils/constants.js';