haedal-vault-sdk 1.8.5 → 2.0.0
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/dist/index.d.ts +2 -3
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +3 -3
package/dist/index.d.ts
CHANGED
|
@@ -3,8 +3,7 @@ import { PreSwapLpChangeParams, AggregatorClient } from '@cetusprotocol/aggregat
|
|
|
3
3
|
import { PaginationArgs, DataPage, CoinPairType, TableHandle, IModule as IModule$1, Package, SuiAddressType, FullClient, CoinAsset, SuiResource } from '@cetusprotocol/common-sdk';
|
|
4
4
|
import { Pool as Pool$1, CetusClmmSDK } from '@cetusprotocol/sui-clmm-sdk';
|
|
5
5
|
import { TransactionObjectArgument, Transaction } from '@mysten/sui/transactions';
|
|
6
|
-
import
|
|
7
|
-
import { SuiPriceServiceConnection, SuiPythClient } from '@pythnetwork/pyth-sui-js';
|
|
6
|
+
import { SuiPriceServiceConnection, SuiPythClient, PriceUpdate } from '@pythnetwork/pyth-sui-js';
|
|
8
7
|
import * as CetusDlmmSDK from '@cetusprotocol/dlmm-sdk';
|
|
9
8
|
import CetusDlmmSDK__default, { DlmmPosition, BinLiquidityInfo, DlmmPool } from '@cetusprotocol/dlmm-sdk';
|
|
10
9
|
import BN from 'bn.js';
|
|
@@ -263,7 +262,7 @@ declare class PythPriceModule implements IModule {
|
|
|
263
262
|
*/
|
|
264
263
|
getLatestPrice(coinTypeList: string[], useCache?: boolean): Promise<Record<string, Price>>;
|
|
265
264
|
getPriceFeedsUpdateData(feedIds: string[]): Promise<Buffer[] | undefined>;
|
|
266
|
-
getLatestPriceFeeds(feedIds: string[]): Promise<
|
|
265
|
+
getLatestPriceFeeds(feedIds: string[]): Promise<PriceUpdate | undefined>;
|
|
267
266
|
/**
|
|
268
267
|
* Builds the payload to update Pyth price feeds with the provided coin types and transaction.
|
|
269
268
|
*
|