@raydium-io/raydium-sdk-v2 0.1.63-alpha → 0.1.64-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/{api-11ffb196.d.ts → api-f242758a.d.ts} +8 -8
- 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 +6 -6
- 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/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/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/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/token.js +1 -1
- package/lib/raydium/token/token.js.map +1 -1
- package/lib/raydium/token/token.mjs +1 -1
- package/lib/raydium/token/token.mjs.map +1 -1
- 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-a023305c.d.ts → raydium-5502e631.d.ts} +3 -3
- package/lib/{type-1bf767ed.d.ts → type-b1a9baec.d.ts} +1 -1
- package/package.json +1 -1
- package/src/raydium/raydium.ts +1 -1
- package/src/raydium/token/token.ts +1 -2
|
@@ -9,7 +9,7 @@ import '../serum/type.js';
|
|
|
9
9
|
import '@solana/web3.js';
|
|
10
10
|
import '../../marshmallow/index.js';
|
|
11
11
|
import '../../marshmallow/buffer-layout.js';
|
|
12
|
-
import '../../api-
|
|
12
|
+
import '../../api-f242758a.js';
|
|
13
13
|
import 'axios';
|
|
14
14
|
import '../../solana/type.js';
|
|
15
15
|
import '@solana/spl-token';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { TransactionInstruction, PublicKey } from '@solana/web3.js';
|
|
2
|
-
import { bL as InstructionReturn, w as AmmV4Keys, x as AmmV5Keys } from '../../api-
|
|
2
|
+
import { bL as InstructionReturn, w as AmmV4Keys, x as AmmV5Keys } from '../../api-f242758a.js';
|
|
3
3
|
import { LiquidityAddInstructionParams, RemoveLiquidityInstruction, SwapFixedInInstructionParamsV4, SwapFixedOutInstructionParamsV4, SwapInstructionParams, InitPoolInstructionParamsV4 } from './type.js';
|
|
4
4
|
import BN__default from 'bn.js';
|
|
5
5
|
import 'axios';
|
|
@@ -23,15 +23,15 @@ declare const initPoolLayout: Structure<number | BN, "", {
|
|
|
23
23
|
startTime: BN;
|
|
24
24
|
}>;
|
|
25
25
|
declare const liquidityStateV4Layout: Structure<_solana_web3_js.PublicKey | BN | BN[], "", {
|
|
26
|
+
baseMint: _solana_web3_js.PublicKey;
|
|
27
|
+
quoteMint: _solana_web3_js.PublicKey;
|
|
28
|
+
status: BN;
|
|
26
29
|
state: BN;
|
|
27
30
|
nonce: BN;
|
|
28
31
|
lpVault: _solana_web3_js.PublicKey;
|
|
29
32
|
lpMint: _solana_web3_js.PublicKey;
|
|
30
33
|
padding: BN[];
|
|
31
34
|
owner: _solana_web3_js.PublicKey;
|
|
32
|
-
status: BN;
|
|
33
|
-
baseMint: _solana_web3_js.PublicKey;
|
|
34
|
-
quoteMint: _solana_web3_js.PublicKey;
|
|
35
35
|
maxOrder: BN;
|
|
36
36
|
depth: BN;
|
|
37
37
|
baseDecimal: BN;
|
|
@@ -79,14 +79,14 @@ declare const liquidityStateV4Layout: Structure<_solana_web3_js.PublicKey | BN |
|
|
|
79
79
|
declare type LiquidityStateLayoutV4 = typeof liquidityStateV4Layout;
|
|
80
80
|
declare type LiquidityStateV4 = GetStructureSchema<LiquidityStateLayoutV4>;
|
|
81
81
|
declare const liquidityStateV5Layout: Structure<_solana_web3_js.PublicKey | BN | BN[], "", {
|
|
82
|
+
baseMint: _solana_web3_js.PublicKey;
|
|
83
|
+
quoteMint: _solana_web3_js.PublicKey;
|
|
84
|
+
status: BN;
|
|
82
85
|
state: BN;
|
|
83
86
|
nonce: BN;
|
|
84
87
|
lpMint: _solana_web3_js.PublicKey;
|
|
85
88
|
padding: BN[];
|
|
86
89
|
owner: _solana_web3_js.PublicKey;
|
|
87
|
-
status: BN;
|
|
88
|
-
baseMint: _solana_web3_js.PublicKey;
|
|
89
|
-
quoteMint: _solana_web3_js.PublicKey;
|
|
90
90
|
maxOrder: BN;
|
|
91
91
|
depth: BN;
|
|
92
92
|
baseDecimal: BN;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
import '../../api-
|
|
2
|
+
import '../../api-f242758a.js';
|
|
3
3
|
import 'bn.js';
|
|
4
4
|
import 'decimal.js';
|
|
5
5
|
import '../../common/txTool/txType.js';
|
|
6
|
-
export { L as default } from '../../raydium-
|
|
6
|
+
export { L as default } from '../../raydium-5502e631.js';
|
|
7
7
|
import './type.js';
|
|
8
8
|
import './stable.js';
|
|
9
9
|
import 'axios';
|
|
@@ -20,7 +20,7 @@ import '../../marshmallow/index.js';
|
|
|
20
20
|
import '../../marshmallow/buffer-layout.js';
|
|
21
21
|
import '../account/types.js';
|
|
22
22
|
import '../account/layout.js';
|
|
23
|
-
import '../../type-
|
|
23
|
+
import '../../type-b1a9baec.js';
|
|
24
24
|
import '../clmm/layout.js';
|
|
25
25
|
import '../cpmm/type.js';
|
|
26
26
|
import '../cpmm/curve/calculator.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PublicKey } from '@solana/web3.js';
|
|
2
|
-
import { p as ApiV3PoolInfoStandardItem, w as AmmV4Keys, x as AmmV5Keys, c5 as TokenAmount, bM as ComputeBudgetConfig, ad as BigNumberish } from '../../api-
|
|
2
|
+
import { p as ApiV3PoolInfoStandardItem, w as AmmV4Keys, x as AmmV5Keys, c5 as TokenAmount, bM as ComputeBudgetConfig, ad as BigNumberish } from '../../api-f242758a.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';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PublicKey, Connection } from '@solana/web3.js';
|
|
2
|
-
import { w as AmmV4Keys, x as AmmV5Keys } from '../../api-
|
|
2
|
+
import { w as AmmV4Keys, x as AmmV5Keys } from '../../api-f242758a.js';
|
|
3
3
|
import { LiquidityPoolKeys, AmmRpcData, ComputeAmountOutParam } from './type.js';
|
|
4
4
|
import BN__default from 'bn.js';
|
|
5
5
|
import 'axios';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
export { e as default } from '../../raydium-
|
|
2
|
+
export { e as default } from '../../raydium-5502e631.js';
|
|
3
3
|
import '../../common/txTool/txType.js';
|
|
4
|
-
import '../../api-
|
|
4
|
+
import '../../api-f242758a.js';
|
|
5
5
|
import '../../api/url.js';
|
|
6
6
|
import '../../common/owner.js';
|
|
7
7
|
import '../../solana/type.js';
|
|
@@ -21,7 +21,7 @@ import '../../module/currency.js';
|
|
|
21
21
|
import '../liquidity/type.js';
|
|
22
22
|
import '../liquidity/layout.js';
|
|
23
23
|
import '../liquidity/stable.js';
|
|
24
|
-
import '../../type-
|
|
24
|
+
import '../../type-b1a9baec.js';
|
|
25
25
|
import '../clmm/layout.js';
|
|
26
26
|
import '../cpmm/type.js';
|
|
27
27
|
import '../cpmm/curve/calculator.js';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { e as default } from '../../raydium-
|
|
1
|
+
export { e as default } from '../../raydium-5502e631.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
|
-
import '../../api-
|
|
5
|
+
import '../../api-f242758a.js';
|
|
6
6
|
import 'axios';
|
|
7
7
|
import '../../solana/type.js';
|
|
8
8
|
import 'bn.js';
|
|
@@ -23,7 +23,7 @@ import '../account/layout.js';
|
|
|
23
23
|
import '../liquidity/type.js';
|
|
24
24
|
import '../liquidity/layout.js';
|
|
25
25
|
import '../liquidity/stable.js';
|
|
26
|
-
import '../../type-
|
|
26
|
+
import '../../type-b1a9baec.js';
|
|
27
27
|
import '../clmm/layout.js';
|
|
28
28
|
import '../cpmm/type.js';
|
|
29
29
|
import '../cpmm/curve/calculator.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
2
|
import '../common/logger.js';
|
|
3
|
-
import '../api-
|
|
4
|
-
export { g as ModuleBaseProps, f as default } from '../raydium-
|
|
3
|
+
import '../api-f242758a.js';
|
|
4
|
+
export { g as ModuleBaseProps, f as default } from '../raydium-5502e631.js';
|
|
5
5
|
import 'axios';
|
|
6
6
|
import '../solana/type.js';
|
|
7
7
|
import 'bn.js';
|
|
@@ -21,7 +21,7 @@ import './account/layout.js';
|
|
|
21
21
|
import './liquidity/type.js';
|
|
22
22
|
import './liquidity/layout.js';
|
|
23
23
|
import './liquidity/stable.js';
|
|
24
|
-
import '../type-
|
|
24
|
+
import '../type-b1a9baec.js';
|
|
25
25
|
import './clmm/layout.js';
|
|
26
26
|
import './cpmm/type.js';
|
|
27
27
|
import './cpmm/curve/calculator.js';
|
package/lib/raydium/raydium.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import '@solana/web3.js';
|
|
2
|
-
import '../api-
|
|
2
|
+
import '../api-f242758a.js';
|
|
3
3
|
import '../api/url.js';
|
|
4
4
|
import '../common/owner.js';
|
|
5
5
|
import '../solana/type.js';
|
|
6
|
-
export { c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams } from '../raydium-
|
|
6
|
+
export { c as Raydium, a as RaydiumApiBatchRequestParams, b as RaydiumConstructorParams, R as RaydiumLoadParams } from '../raydium-5502e631.js';
|
|
7
7
|
import 'axios';
|
|
8
8
|
import 'bn.js';
|
|
9
9
|
import '@solana/spl-token';
|
|
@@ -21,7 +21,7 @@ import './account/layout.js';
|
|
|
21
21
|
import './liquidity/type.js';
|
|
22
22
|
import './liquidity/layout.js';
|
|
23
23
|
import './liquidity/stable.js';
|
|
24
|
-
import '../type-
|
|
24
|
+
import '../type-b1a9baec.js';
|
|
25
25
|
import './clmm/layout.js';
|
|
26
26
|
import './cpmm/type.js';
|
|
27
27
|
import './cpmm/curve/calculator.js';
|